LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-16-2011, 06:37 PM   #1
showe123
Member
 
Registered: Aug 2010
Posts: 58

Rep: Reputation: 0
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
 
Old 07-17-2011, 12:32 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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



Cheers,
Tink
 
Old 07-17-2011, 06:06 PM   #3
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
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.
 
Old 07-18-2011, 11:21 AM   #4
showe123
Member
 
Registered: Aug 2010
Posts: 58

Original Poster
Rep: Reputation: 0
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.
 
Old 07-18-2011, 11:50 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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


Cheers,
Tink
 
Old 07-18-2011, 01:25 PM   #6
showe123
Member
 
Registered: Aug 2010
Posts: 58

Original Poster
Rep: Reputation: 0
Using latest CentOS. I see a lot of stuff but nothing related to postfix. Dovecot IMAP is connecting fine. Just no postifx connection.
 
Old 07-18-2011, 01:26 PM   #7
showe123
Member
 
Registered: Aug 2010
Posts: 58

Original Poster
Rep: Reputation: 0
Is it possible my ISP is blocking port 25? I have a business class service. They shouldn't be blocking port 25....
 
Old 07-18-2011, 01:31 PM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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?
 
Old 07-18-2011, 01:50 PM   #9
showe123
Member
 
Registered: Aug 2010
Posts: 58

Original Poster
Rep: Reputation: 0
Yes, I did forward the port on my router. I guess I should call them. Will let you know.
 
Old 07-18-2011, 02:05 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by showe123 View Post
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
 
Old 07-18-2011, 02:41 PM   #11
showe123
Member
 
Registered: Aug 2010
Posts: 58

Original Poster
Rep: Reputation: 0
So basically my ISP said they shut down port 25 because it was generating too much email so I got hacked. Dammit.
 
Old 07-18-2011, 02:42 PM   #12
showe123
Member
 
Registered: Aug 2010
Posts: 58

Original Poster
Rep: Reputation: 0
How can I switch to port 587 in postfix?
 
Old 07-18-2011, 02:44 PM   #13
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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
 
Old 07-18-2011, 02:55 PM   #14
showe123
Member
 
Registered: Aug 2010
Posts: 58

Original Poster
Rep: Reputation: 0
They told me the solution was to switch to port 587
 
Old 07-18-2011, 03:35 PM   #15
showe123
Member
 
Registered: Aug 2010
Posts: 58

Original Poster
Rep: Reputation: 0
Bad solution?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix setup help - smoothwall fedora postfix godaddy crecker Linux - Newbie 2 01-10-2009 12:06 AM
postfix setup help nbn792 Linux - Server 15 04-14-2007 08:10 PM
How to setup postfix cosmosedat Linux - Software 18 07-27-2006 08:58 AM
postfix setup problem deuce868 Linux - Networking 8 04-25-2004 09:40 PM
Postfix Setup Help shaggystyle Linux - Newbie 1 12-22-2003 12:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration