Discussion:
relaying mail through my comcast smtp server using my account
(too old to reply)
Ken McCord
2005-04-27 00:08:30 UTC
Permalink
im a comcast broadband subscriber and broadcast a
weekly newsletter to about 700 local golfers. i have
problems getting through to earthlink accounts and
some others because my mail server is on a dynamic ip
address. so how could i set it up to relay mail
through my comcast email account? i understand that
comcast requires one to log in prior to sending mail
through.
any ideas??
Make sure /etc/postfix/transport looks something like this:

.example.com smtp:[192.168.1.0]
example.com smtp:[192.168.1.0]
* smtp:smtp.comcast.net

Where example.com is your domain, and 192.168.1.0 is your internal
network. Don't forget to do a postmap /etc/postfix/transport and to
reload postfix as well.

Ken
Roger B.A. Klorese
2005-04-27 00:18:31 UTC
Permalink
Post by Ken McCord
im a comcast broadband subscriber and broadcast a
weekly newsletter to about 700 local golfers. i have
problems getting through to earthlink accounts and
some others because my mail server is on a dynamic ip
address. so how could i set it up to relay mail
through my comcast email account? i understand that
comcast requires one to log in prior to sending mail
through.
any ideas??
.example.com smtp:[192.168.1.0]
example.com smtp:[192.168.1.0]
* smtp:smtp.comcast.net
Where example.com is your domain, and 192.168.1.0 is your internal
network. Don't forget to do a postmap /etc/postfix/transport and to
reload postfix as well.
It's the configuration of client-side SMTP AUTH that's the issue too --
according to the poster, Comcast's SMTP servers require authentication.

From the docs:
"Enabling SASL authentication in the Postfix SMTP client

Turn on client-side SASL authentication, and specify a table with per-host
or per-destination username and password information. Postfix first looks
up the server hostname; if no entry is found, then Postfix looks up the
destination domain name (usually, the right-hand part of an email
address).

/etc/postfix/main.cf:
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

/etc/postfix/sasl_passwd:
foo.com username:password
bar.com username
"

...so be sure your Postfix is built with SASL enabled, then create a map
whose left-hand sides map to the Comcast SMTP servers and whose
right-hand sides include your username and password.
Brett Schroeder
2005-04-27 00:22:52 UTC
Permalink
im a comcast broadband subscriber and broadcast a
weekly newsletter to about 700 local golfers. i have
problems getting through to earthlink accounts and
some others because my mail server is on a dynamic ip
address. so how could i set it up to relay mail
through my comcast email account? i understand that
comcast requires one to log in prior to sending mail
through.
any ideas??
In my case simply setting

relayhost = [smtp.comcast.net]

in main.cf is all it took. No passwords or login are required. Their
server is configured to relay mail from all machines on it's local network.

I don't know if this name is generic to all comcast networks across the
country or not - I just tried telneting to port 25 of what I thought
were reasonable names for an ISP mail server until I found
"smtp.comcast.net".
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Ken McCord
2005-04-27 01:01:39 UTC
Permalink
im a comcast broadband subscriber and broadcast a
<snip>
It's the configuration of client-side SMTP AUTH that's the issue too --
according to the poster, Comcast's SMTP servers require authentication.
"Enabling SASL authentication in the Postfix SMTP client
<snip>
...so be sure your Postfix is built with SASL enabled, then create a map
whose left-hand sides map to the Comcast SMTP servers and whose
right-hand sides include your username and password.
Interesting. I've been using Comcast for several years and never had to
do that. Of course, that's only theoretical - I'd never host a server
on my cable modem ;)
Roger B.A. Klorese
2005-04-27 02:46:55 UTC
Permalink
Post by Ken McCord
Interesting. I've been using Comcast for several years and never had to
do that. Of course, that's only theoretical - I'd never host a server
on my cable modem ;)
I was only suggesting this *if* authentication is required. I'd be very
surprised if they required it from within their own network.

Loading...