HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Developers' Forum (http://www.howtoforge.com/forums/forumdisplay.php?f=18)
-   -   Postfix remote SMTP (http://www.howtoforge.com/forums/showthread.php?t=28517)

quentusrex 7th November 2008 20:07

Postfix remote SMTP
 
It seems that postfix wont' allow clients with e-mail accounts to sent e-mails through any e-mail program such as thunderbird, or outlook. I think it's because postfix is only listening on the local loopback address. Am I wrong?

How do I enable remote sending and receiving for clients?

till 8th November 2008 00:00

Postfix is listening on all IP addresses and not just on localhost if you installed postfix correcly. But your problem is most likely not relatted to the server setup at all.

Quote:

How do I enable remote sending and receiving for clients?
Enable smtp authentication in the mail client

quentusrex 8th November 2008 00:13

Did that... Imap works just fine, but the smtp part just hangs. So, I've got to figure out why the smtp portion hangs.

falko 8th November 2008 15:43

What's the output of
Code:

netstat -tap
? Any errors in your mail log?

quentusrex 8th November 2008 20:02

Alright, I've found the problem. Postfix won't even listen to any connection that isn't from localhost. So, how do I set this so that anyone can try to auth with smtp, from any ip?

quentusrex 8th November 2008 22:03

Turns out that comcast is blocking all in and outgoing smtp on port 25. So I had to change the port to 587.

It works now.

Antennipasi 17th December 2008 22:30

Quote:

Originally Posted by quentusrex (Post 154243)
Turns out that comcast is blocking all in and outgoing smtp on port 25. So I had to change the port to 587.

It works now.

did you change default listening port of Postfix?
if so, i think that is not so good way to do it, because now you have to remember this also for internal programs and services.
IMO better is to uncommet submission-line in /etc/postfix/master.cf
submission-module will then relay all incoming smtp to postfix using port 587.
for outgoing i suggest you to use comcast as a relay by modifying /etc/postfix/main.cf something like this:
Code:

RELAYHOST = your.comcast-smtp.tld user:pass
this because many mailservers out there blocks mails that are coming fro other than port 25.


All times are GMT +2. The time now is 02:14.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.