<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='color:#1F497D'>As a bit of extra knowledge, if
you don’t know the exact package name, from the CLI:<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>aptitude search libasl<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>That will return a list of any
packages that you have in the cache that have libasl in them. Then hit it with
apt-get install <package name>. If you don’t see the package you’re
looking for, make sure you run:<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>apt-get update<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Then retry the search.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Matt Unger<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
tclug-list-bounces@mn-linux.org [mailto:tclug-list-bounces@mn-linux.org] <b>On
Behalf Of </b>Smith, Craig A<br>
<b>Sent:</b> Thursday, March 11, 2010 6:25 PM<br>
<b>To:</b> tclug-list@mn-linux.org<br>
<b>Subject:</b> [tclug-list] Postfix, Comcast, Relayhost and port 587<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I run a hobby server on a Comcast residential connection. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>A number of years ago, I noticed larger organizations
(Gmail, etc) began rejecting email from dynamic ip. The solution was a “smart
host” to relay email. Comcast would accept connections on port 25 and forward
from their well-know (unblocked) ip address. Here’s the line I added to
/etc/postfix/main.cf that made it work.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal> relayhost = smtp.comcast.net<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Last year, there was discussion on this list about Comcast
blocking port 25. I was unaffected at that time. <o:p></o:p></p>
<p class=MsoNormal><a
href="http://archives.mn-linux.org/pipermail/tclug-list/2009-February/thread.html">http://archives.mn-linux.org/pipermail/tclug-list/2009-February/thread.html</a>
<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>However, last month on or after Feb 8, 2010, Comcast
stopped accepting my port 25 connections. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal> $ telnet smtp.comcast.net 25<o:p></o:p></p>
<p class=MsoNormal> Trying 76.96.30.117...<o:p></o:p></p>
<p class=MsoNormal> telnet: Unable to connect to remote host: Connection
timed out<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I called Comcast and they said “that’s right, use port
587.” I can telnet to port 587 , but I believe this requires authentication,
presumably with my Comcast credentials. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I’ve reconfigure postfix for port 587 per <o:p></o:p></p>
<p class=MsoNormal><a
href="http://www.kclug.org/pipermail/kclug/2008-February/032558.html">http://www.kclug.org/pipermail/kclug/2008-February/032558.html</a>
<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>and setup <span style='font-size:10.0pt'>SMTP Authentication
per </span><o:p></o:p></p>
<p class=MsoNormal><a href="http://www.freelock.com/kb/postfix-relayhost">http://www.freelock.com/kb/postfix-relayhost</a>
<o:p></o:p></p>
<p class=MsoNormal>but I’m stuck on the last step:<o:p></o:p></p>
<p class=MsoNormal style='text-autospace:none'><o:p> </o:p></p>
<p class=MsoNormal style='text-autospace:none'> # urpmi --media main
libsasl2-plug-login libsasl2-plug-plain<o:p></o:p></p>
<p class=MsoNormal style='text-autospace:none'> bash: urpmi: command not
found<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Can someone supply the magical apt-get incantation to get me
started?<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I’m running postfix 2.3.8 on Debian and can live with only
out-going mail. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>