LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-25-2007, 01:39 PM   #1
icebyte
LQ Newbie
 
Registered: Mar 2006
Location: norway
Distribution: debian
Posts: 15

Rep: Reputation: 0
Mail not being sent with sendmail or postfix


Hi

I have beeen trying to setup sendmail and postfix as relaying mail servers, but i get the same problem with both. I only run one mail server at a time, i have just tried both to see if there were any difference.

I first configure which hosts that should be allowed to connect to the servers and then who should be allowed to use the servers to send mail. After trying the telnet test on port 25 its seems to work, but when checking the mail queue and the logs i see that no mail is actually being sent, its just somehow stuck in the mail queue and usually times out. When checking the mail logs its the same thing, its says the delivery times out (i guess its the delivery, but it at least says it times out).

So, the problem is that the mail is never being sent, it just stays in the mail queue without being sent and in the mail queue and the logs it says that it times out (probably the delivery).

Does someone know a solution to this or know why this is happening? All help is appericiated, thanks.

Last edited by icebyte; 09-25-2007 at 01:41 PM.
 
Old 09-26-2007, 12:34 AM   #2
shailesh_mishra
Member
 
Registered: Nov 2006
Location: India
Distribution: RHEL 4
Posts: 34

Rep: Reputation: 15
first of all,stick to one mail server.SendMail or Postfix.Both are the mail servers which will deliver mails and both will require time.Postfix will require less time and i use Postfix.There are hardly 4 or 5 parameters which are required to be changed for a first timer.
 
Old 09-28-2007, 01:56 AM   #3
hondo
Member
 
Registered: Jul 2005
Location: norway
Posts: 198

Rep: Reputation: 33
Please read the post before you reply. As i said in the first post i only used one mail server at a time and the reason i was trying out postfix too is because i had problems with sendmail. If you think its that easy to set up, then please share your knowledge.

Is there someone else who knows what this problem is?
 
Old 09-28-2007, 03:18 AM   #4
shailesh_mishra
Member
 
Registered: Nov 2006
Location: India
Distribution: RHEL 4
Posts: 34

Rep: Reputation: 15
Quote:
As i said in the first post i only used one mail server at a time
I just told you make up your mind which mail server you want to use.
Quote:
first of all,stick to one mail server.SendMail or Postfix.
i wish some one else will definitely help you. Best of luck.
 
Old 09-28-2007, 11:52 PM   #5
leandean
Member
 
Registered: Oct 2005
Location: Burley, WA
Distribution: Sabayon, Debian
Posts: 278

Rep: Reputation: Disabled
It would help if you explained a bit more about your basic machine configuration (ie: firewall settings) and post the last part of postfix/main.cf.
 
Old 09-30-2007, 02:11 AM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
What exactly does your maillog tell you at around the time you are attempting to send a message (it's best to cut and paste and certainly don't paraphrase)?

Shouldn't be too hard to fix
 
  


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
Import Mail from /var/spool/mail (sendmail) to a MailDir Format in Postfix shawnbishop Linux - Software 0 04-06-2006 10:44 AM
sendmail to postfix - no more mail! ooorah Linux - Newbie 5 11-13-2004 02:51 PM
mail, sendmail, postfix problems colabus Linux - Newbie 0 10-21-2004 01:36 AM
sendmail or postfix with squirrel mail illtbagu Linux - Software 8 06-19-2003 01:16 AM
Mail groups - Postfix/Sendmail claeseke Linux - Networking 1 01-20-2003 09:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:22 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