LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Postfix setup problem (https://www.linuxquestions.org/questions/linux-software-2/postfix-setup-problem-892095/)

showe123 07-16-2011 06:37 PM

Postfix setup problem
 
Hi-

Can someone post their successful postfix configuration file that I can use as a template? I've been struggling for weeks to get postfix to work and I just cannot figure it out. Perhaps a peek at someone elses config will help me out.

Thanks

Tinkster 07-17-2011 12:32 AM

How about you post yours, and, even better, tell us in which
way it's failing?



Cheers,
Tink

scheidel21 07-17-2011 06:06 PM

I'll second tinkster, what is not working, will it not start up errors in the logs etc... plus your configuration would help us is helping you.

showe123 07-18-2011 11:21 AM

Basically it won't connect. The postfix service is running, I have no firewall on but it can't connect on port 25. Ive tried telnetting to port 25 and it won't connect there either so I'm assuming it has to do with that but I just wanted to be sure that my config is correct before I completely follow that angle.

Tinkster 07-18-2011 11:50 AM

What distro are you using? If postfix is running, what does netstat -anp say
about it?


Cheers,
Tink

showe123 07-18-2011 01:25 PM

Using latest CentOS. I see a lot of stuff but nothing related to postfix. Dovecot IMAP is connecting fine. Just no postifx connection.

showe123 07-18-2011 01:26 PM

Is it possible my ISP is blocking port 25? I have a business class service. They shouldn't be blocking port 25....

repo 07-18-2011 01:31 PM

Can you connect at the server?
Code:

telnet 127.0.0.1 25
Did you forward port 25 on the router to the server?
Quote:

Is it possible my ISP is blocking port 25
Why don't you ask them?

showe123 07-18-2011 01:50 PM

Yes, I did forward the port on my router. I guess I should call them. Will let you know.

Tinkster 07-18-2011 02:05 PM

Quote:

Originally Posted by showe123 (Post 4418342)
Using latest CentOS. I see a lot of stuff but nothing related to postfix. Dovecot IMAP is connecting fine. Just no postifx connection.

if netstat doesn't show any postfix process postfix isn't listening
on any port. Try
lsof -i | grep post



Cheers,
Tink

showe123 07-18-2011 02:41 PM

So basically my ISP said they shut down port 25 because it was generating too much email so I got hacked. Dammit.

showe123 07-18-2011 02:42 PM

How can I switch to port 587 in postfix?

repo 07-18-2011 02:44 PM

Quote:

So basically my ISP said they shut down port 25 because it was generating too much email so I got hacked. Dammit.
Quote:

How can I switch to port 587 in postfix?
Perhaps you should resolve the first problem before continuing?

Kind regards

showe123 07-18-2011 02:55 PM

They told me the solution was to switch to port 587

showe123 07-18-2011 03:35 PM

Bad solution?


All times are GMT -5. The time now is 01:48 PM.