LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-20-2005, 09:12 AM   #1
onesandtwos
LQ Newbie
 
Registered: Oct 2005
Location: North Wales
Distribution: Mandriva LE2005
Posts: 18

Rep: Reputation: 0
Question PostFix Null Clients


Hello,

I've been setting up a LAMP webserver that needs to send mail from noreply@domain.com but not receive any emails using postfix.

Getting postfix to send mail is ok when the domain it is sending to is external (different to domain.com). However, if the domain is the same as #myhostname (domain.com) then i'm guessing linux tries to relay that message internally which produces an error in syslog as given below....

Dec 20 14:43:43 webserver postfix/smtp[7170]: connect to mail.domain.com[xxx.xxx.xxx.xxx]: Connection timed out (port 25)
Dec 20 14:43:43 webserver postfix/smtp[7170]: 9392F17DC97: to=<m.kay@domain.com>, relay=none, delay=2596, status=deferred (connect to mail.domain.com[xxx.xxx.xxx.xxx]: Connection timed out)

... where xxx.xxx.xxx.xxx is the IP of my router.

Reading the documentation I am guessing I am trying to setup a "Null Client" but I'm not exactly sure

To do this it says....

/etc/postfix/main.cf:
myorigin = domain.com
relayhost = domain.com
local_transport = error:local delivery is disabled

/etc/postfix/master.cf:
Comment out the SMTP server entry
Comment out the local delivery agent entry

I'm really new to Postfix and email servers in general and I don't know what "Comment out the local delivery agent entry" and "Comment out the SMTP server entry" is referring to

Would appreciate any help someone could give
 
  


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 send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 6 09-23-2019 10:09 PM
fstab-sync: error: libhal_ctx_init_direct: (null): (null) rpz Linux - Hardware 1 11-01-2005 05:42 AM
postfix config as null client webwiznz Linux - Networking 0 05-31-2004 07:52 AM
Anyway to let ONE X clients to see the actions which operated by another X clients? proxyz Linux - Software 0 03-16-2004 12:44 AM
can't start postfix ./postfix status error jules_fraser Linux - Software 3 12-06-2003 06:33 PM

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

All times are GMT -5. The time now is 03:14 PM.

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