Unable to send mail via comcast

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to send mail via comcast

Avi Schwartz-13
I was notified by Comcast that I need to make changes to the way I send
email via their servers.  The changes required a port change and start
using username and password.  To test that this works I used Thunderbird
and set the following:


Server Name: smtp.comcast.net

Port: 587

Use name and password are checked and the User Name box contains my user
name

Use secure connection: No


Using these setting I am able to send emails via their servers but
obviously this is not what I want to do, this was just testing that
these settings are valid.


I then changed my main.cf to have the following lines:


relayhost=smtp.comcast.net:587

smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =



In sasl_passwd I entered the following information:


smtp.comcast.net      my_user_name:my_password


did a postmap on the file to create sasl_passwd.db and reloaded the
configuration using postfix reload.


When I try to send an email via my server I find the following in the log:


May 10 15:15:11 coral postfix/qmgr[4449]: 73A64F64001:
from=<[hidden email]>, size=1117, nrcpt=1 (queue active)
May 10 15:15:11 coral postfix/smtp[6660]: connect to
smtp.comcast.net[76.96.30.117]: Connection refused (port 587)
May 10 15:15:11 coral postfix/smtp[6660]: 73A64F64001:
to=<[hidden email]>, relay=none, delay=2253, delays=2253/0.02/0.16/0,
dsn=4.4.1, status=deferred (connect to smtp.comcast.net[76.96.30.117]:
Connection refused)


At this point I am not sure where to go from here.



Using telnet I can see the following:


avi@minnow:~$ telnet smtp.comcast.net 587
Trying 76.96.30.117...
Connected to smtp.g.comcast.net.
Escape character is '^]'.
220 OMTA06.emeryville.ca.mail.comcast.net comcast ESMTP server ready
EHLO cfftechnologies.com
250-OMTA06.emeryville.ca.mail.comcast.net hello [67.184.234.114],
pleased to meet you
250-HELP
250-AUTH LOGIN PLAIN CRAM-MD5
250-SIZE 15728640
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-STARTTLS
250 OK


Avi

Reply | Threaded
Open this post in threaded view
|

Re: Unable to send mail via comcast

Noel Jones-2
Avi Schwartz wrote:

> I was notified by Comcast that I need to make changes to the way I send
> email via their servers.  The changes required a port change and start
> using username and password.  To test that this works I used Thunderbird
> and set the following:
>
>
> Server Name: smtp.comcast.net
>
> Port: 587
>
> Use name and password are checked and the User Name box contains my user
> name
>
> Use secure connection: No
>
>
> Using these setting I am able to send emails via their servers but
> obviously this is not what I want to do, this was just testing that
> these settings are valid.
>
>
> I then changed my main.cf to have the following lines:
>
>
> relayhost=smtp.comcast.net:587
>

You should enclose the hostname in brackets here, but I don't
think this is the cause of your problem right now.

relayhost = [smtp.comcast.net]:587

> smtp_sasl_auth_enable = yes
> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
> smtp_sasl_security_options =
>
>
>
> In sasl_passwd I entered the following information:
>
>
> smtp.comcast.net      my_user_name:my_password
>
>
> did a postmap on the file to create sasl_passwd.db and reloaded the
> configuration using postfix reload.
>
>
> When I try to send an email via my server I find the following in the log:
>
>
> May 10 15:15:11 coral postfix/qmgr[4449]: 73A64F64001:
> from=<[hidden email]>, size=1117, nrcpt=1 (queue active)
> May 10 15:15:11 coral postfix/smtp[6660]: connect to
> smtp.comcast.net[76.96.30.117]: Connection refused (port 587)
> May 10 15:15:11 coral postfix/smtp[6660]: 73A64F64001:
> to=<[hidden email]>, relay=none, delay=2253, delays=2253/0.02/0.16/0,
> dsn=4.4.1, status=deferred (connect to smtp.comcast.net[76.96.30.117]:
> Connection refused)
>
>
> At this point I am not sure where to go from here.
>
>

Sounds like a firewall problem on the mail server.

>
> Using telnet I can see the following:
>
>
> avi@minnow:~$ telnet smtp.comcast.net 587
> Trying 76.96.30.117...
> Connected to smtp.g.comcast.net.
> Escape character is '^]'.
> 220 OMTA06.emeryville.ca.mail.comcast.net comcast ESMTP server ready
> EHLO cfftechnologies.com
> 250-OMTA06.emeryville.ca.mail.comcast.net hello [67.184.234.114],
> pleased to meet you
> 250-HELP
> 250-AUTH LOGIN PLAIN CRAM-MD5
> 250-SIZE 15728640
> 250-ENHANCEDSTATUSCODES
> 250-8BITMIME
> 250-STARTTLS
> 250 OK
>

Was this telnet test from the same server?

--
Noel Jones
Reply | Threaded
Open this post in threaded view
|

Re: Unable to send mail via comcast

Arne Hoffmann-2
In reply to this post by Avi Schwartz-13
Avi Schwartz wrote:

> When I try to send an email via my server I find the following in the log:
>
> May 10 15:15:11 coral postfix/qmgr[4449]: 73A64F64001:
> from=<[hidden email]>, size=1117, nrcpt=1 (queue active)
> May 10 15:15:11 coral postfix/smtp[6660]: connect to
> smtp.comcast.net[76.96.30.117]: Connection refused (port 587)
> May 10 15:15:11 coral postfix/smtp[6660]: 73A64F64001:
> to=<[hidden email]>, relay=none, delay=2253, delays=2253/0.02/0.16/0,
> dsn=4.4.1, status=deferred (connect to smtp.comcast.net[76.96.30.117]:
> Connection refused)

This is a problem with some kind of packet filter or firewall, not a problem
with your Postfix config.

> Using telnet I can see the following:
>
> avi@minnow:~$ telnet smtp.comcast.net 587
> Trying 76.96.30.117...
> Connected to smtp.g.comcast.net.

OK, this seems to be a different machine ('minnow'). Try to connect to
smtp.comcast.net with a telnet client from coral (should fail with
'connection refused'). Check the packet filter on coral.
Reply | Threaded
Open this post in threaded view
|

Re: Unable to send mail via comcast

Avi Schwartz-13
Arne Hoffmann wrote:

> Avi Schwartz wrote:
>  
>> When I try to send an email via my server I find the following in the log:
>>
>> May 10 15:15:11 coral postfix/qmgr[4449]: 73A64F64001:
>> from=<[hidden email]>, size=1117, nrcpt=1 (queue active)
>> May 10 15:15:11 coral postfix/smtp[6660]: connect to
>> smtp.comcast.net[76.96.30.117]: Connection refused (port 587)
>> May 10 15:15:11 coral postfix/smtp[6660]: 73A64F64001:
>> to=<[hidden email]>, relay=none, delay=2253, delays=2253/0.02/0.16/0,
>> dsn=4.4.1, status=deferred (connect to smtp.comcast.net[76.96.30.117]:
>> Connection refused)
>>    
>
> This is a problem with some kind of packet filter or firewall, not a problem
> with your Postfix config.
>
>  
>> Using telnet I can see the following:
>>
>> avi@minnow:~$ telnet smtp.comcast.net 587
>> Trying 76.96.30.117...
>> Connected to smtp.g.comcast.net.
>>    
>
> OK, this seems to be a different machine ('minnow'). Try to connect to
> smtp.comcast.net with a telnet client from coral (should fail with
> 'connection refused'). Check the packet filter on coral.
>  

Arne and Noel, you are fantastic!  It was indeed a problem with my
firewall, now all is working.

Many many thanks!

Avi