Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-24-2006, 04:50 AM   #1
Registered: Jul 2004
Posts: 332

Rep: Reputation: 30
My Postfix mailserver can't send out mails directly!

I use RedHat9, and postfix mailserver.
Are there any method to make a copy of every outgoing and incoming mails (for particular user)? If there are, is it possible to send this copied mails to another address?

Best regardes

Last edited by gubak; 04-12-2007 at 11:57 PM.
Old 03-24-2006, 05:35 AM   #2
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Removing/commenting the "relayhost" line from should stop postfix from delivering all e-mail via your ISP's MTA.
Old 03-24-2006, 06:30 AM   #3
Registered: Jul 2004
Posts: 332

Original Poster
Rep: Reputation: 30
I have tired this more times. When I remove that line and I restart my mail damon, I get the following message (on the log file)after the first sent message:

Mar 24 13:28:24 ns1 postfix/smtp[9085]: AF049F4AD2: to=<>, relay=none, delay=185667, status=deferred (connect to[]: Connection timed out)

What is this?

Last edited by gubak; 10-04-2006 at 12:03 AM.
Old 03-28-2006, 01:24 PM   #4
LQ Newbie
Registered: Sep 2004
Location: Whitehorse Yukon
Distribution: debian, Fedora, Ubuntu, more...
Posts: 9

Rep: Reputation: 0

I have a machine behind my firewall. I am unable to send out emails from the nat'ed box because mail servers out in the real world see my mails as being spoofed (or whatever the term is). All my emails are tagged with the internal IP of or with its unresolvable internal hostname. The mailservers reject this kind of email as far as I know.

So, are you behind a firewall?

Unfortunatly, I have no fix for this yet. My mentor (google) hasn't yet given me an answer...

One thing to check is, can you receive email from the internet?

Old 03-28-2006, 07:09 PM   #5
Registered: Aug 2005
Location: Montreal
Distribution: OpenSuse 10.3
Posts: 65

Rep: Reputation: 15

not sure if this might be the problem ...but it could be that ur isp's mail server uses the TLS authentication system .... if that's the case you have to conbfigure postfx to issue the STARTTLS command when it connects to ur isp mail server .... though i am not sure how to do this .

to check if ur isp mail server uses TLS

open shell and type telnet <isp mail server add> 25

see if it gives any message about TLS authentication ... if it does then u know it uses TLS and u need to configure postfic appropriately.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to make postfix send mails for virtual domains? Chowroc Linux - Networking 0 12-24-2004 04:39 AM
Sendmail just to send through another mailserver chrisfirestar Linux - Software 2 05-07-2004 05:35 AM
need help with Postfix mailserver Lleb_KCir Linux - Software 1 03-31-2004 11:11 PM
LICQ: send through server OR send directly mikeshn Linux - Software 0 06-09-2003 06:14 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:30 AM.

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