[NTLUG:Discuss] Comcast outbound email server
Stuart Johnston
saj at thecommune.net
Thu Feb 9 09:30:42 CST 2006
Here's an example pulled from Google:
1. Depending on your distro, you may need to install additional packages.
2. Add the following settings to /etc/postfix/main.cf:
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
# Line below permits plaintext across the wire...
smtp_sasl_security_options =
relayhost = mail.ncf.ca
3. Create /etc/postfix/sasl_passwd as follows:
mail.ncf.ca username:password
4. chown root:root /etc/postfix/sasl_passwd && chmod 600
/etc/postfix/sasl_passwd.
5. postmap /etc/postfix/sasl_passwd.
6. /etc/init.d/postfix reload
7. Now send a test mail (as a regular user), and 'tail -f
/var/log/mail.log' to verify proper results.
This example uses the relayhost which will send all outgoing mail
through the designated server. This may be easier than specifying each
domain you want to relay for.
. Daniel wrote:
> Does postfix do SMTP AUTH?
>
>> I echo Jay's comments about moving over to postfix. Adding a new
>> forwarding record with post fix involves something like the following:
>>
>> echo 'somedomain.com smtp:smtp.comcast.net:25' > /etc/postfix/transport
>> echo '.somedomain.com smtp:smtp.comcast.net:25' > /etc/postfix/transport
>> sudo /usr/local/sbin/postmap /etc/postfix/transport
>> sudo /usr/local/sbin/postfix reload
>>
>> Easily scripted, you just add domains as needed.
>>
>> BTW, speaking of Comcast: As of a few days ago, you can no longer
>> send mail to another comcast account without going through the
>> smtp.comcast.net gateway (IOW, the servers pointed to by Comcast's MX
>> records won't accept connections from Comcast-allocated IPs). Which
>> means you'll need to add comcast.net to your transport file if you go
>> with postfix!
>>
>> --Brian
>>
>> On Wed, Feb 08, 2006 at 10:09:23AM -0600, Jay Urish wrote:
>> > . Daniel wrote:
>> > > I am a really stupid person sometimes. Just wanted to say that
>> > > first-thing so that no one else needs to remind me. Sendmail config
>> > > files make me dizzy to look at them. But let me state what I want to
>> > > happen and then I will hope that someone else here is already doing
> that
>> > > and is willing to tell me how.
>> > >
>> > > I run my own personal domain at home. I connect using Comcast. I
>> > > receive email just fine but if I were to send outbound email from my
> IP
>> > > address, much of the time it is blocked in some way because I am
>> > > operating from a residential IP address. So I need to send to a
> server
>> > > that isn't blocked. My solution for now is to configure my client
>> > > software to send to alternative outgoing email servers. For now, I
> am
>> > > using my domain registrar's outbound server which requires SMTP AUTH.
> I
>> > > can set that up on my clients just fine, but I'm lost in setting it
> up
>> > > on sendmail. Sendmail, as I mentioned before, invariably results in
>> > > dizziness and nausea. (Doctors have recommended discontinuing use,
> but
>> > > I have found other MTAs confusing to get set up... Sendmail,
> basically,
>> > > just works... basically.)
>> > >
>> > > So I'm hoping someone else has conquered this problem and wouldn't
> mind
>> > > sharing with me?
>> > >
>> >
>> > 1st I think you should upgrade to postfix. Sendmail is beyond a pain to
>> > configure. If you do upgrade, look in main.cf when you are done for the
>> > smarthost config lines.. They are pretty well documented.
>> >
>> > >
>> > >
>> > > _______________________________________________
>> > > https://ntlug.org/mailman/listinfo/discuss
>> >
>> >
>> > _______________________________________________
>> > https://ntlug.org/mailman/listinfo/discuss
>>
>> _______________________________________________
>> https://ntlug.org/mailman/listinfo/discuss
>
>
>
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list