Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

check outbound mail reception - HOWTO?

Status
Not open for further replies.

lexje

Technical User
Aug 6, 2004
2
BE
Hi forum,

Sorry in advance if my question is 'newbee-ish' but I am fairly new to Postfix.
I'm running Ubuntu 7.10
Server is behind a firewall and ISP blocks port 25.
We have mail forwarded by No-IP mail service on port 2525.
Internal mail sending and receiving works perfect.
We have adapted master.cf like this:
---------------------
# smtp inet n - - - - smtpd
# -o content_filter=smtp-amavis:[127.0.0.1]:10024
2525 inet n - - - - smtpd
-o content_filter=smtp-amavis:[127.0.0.1]:10024
----------------------
I have tested successfully from local network:
telnet mailserver 2525
This works perfect.

Problem is mail from the internet will not make it to Postfix server.
My main.cf contains this line:
---------------------------------
mynetworks = 127.0.0.0/8, 192.168.80.0/24
---------------------------------
Could this be the reason I will not receive mail from outside?
Do I have to include the IP address from my router connected to my ISP? If yes, how to solve this with dynamic IP?

Do you have any suggestions on how to check incoming mail from outside / internet.

Thanks a lot for your help!!

Erwin
 
Ok guys, narrowing down on this problem:
I discovered a config error in the firewall. This is solved now, and using Iptraf, I can see No-IP connect to my server now.

But the test service at No-IP comes up with this error now:
2525: Invalid response (non 220)

In my mail logs I notice following:
May 5 10:07:57 mail postfix/smtpd[3106]: connect from mail1.no-ip.com[204.16.252.100]
May 5 10:07:57 mail postfix/smtpd[3106]: lost connection after CONNECT from mail1.no-ip.com[204.16.252.100]
May 5 10:07:57 mail postfix/smtpd[3106]: disconnect from mail1.no-ip.com[204.16.252.100]

At this point I'm quite sure I have something wrong in my config of Postfix...
But what??

Any pointer greatly appreciated!!

Erwin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top