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

Notices


Reply
  Search this Thread
Old 12-31-2006, 07:24 AM   #1
humbletech99
Member
 
Registered: Jun 2005
Posts: 374

Rep: Reputation: 30
Postfix mail bounce backs to linux hosts


All my servers use mailx with ssmtp to send email messages via my Postfix mail server for events and scripts.

I've noticed quite a lot of bounce back messages going from the mail server "MAILER DAEMON" back to each root@host.mydomain.com which of course doesn't get through since there is nothing to receive it on the hosts.

This leaves stuff stuck in the queue until it is dropped by Postfix, the MTA on the mail server. Snort then alerts on these failed connection attempts as port scans which is also annoying.

Is there a way to tell Postfix to not do bounce backs to *.mydomain.com so that the messages are immediately dropped if failed with a notifications to postmaster (which is aliased to me).

I'd also like to know why they are being bounced, is there a way to look inside the emails in the queue?
 
Old 12-31-2006, 10:21 AM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
As to why the mail is being bounced, look in the mail log ( something like /var/log/maillog ). You can use postcat to read the files in the queue.

Instead of telling postfix to drop messages, it might be better to put a valid return address on outgoing messages from the ssmtp machine. That way, you'd be able to read any future bounce messages and know when and why they occurred.

Last edited by Berhanie; 12-31-2006 at 10:28 AM.
 
  


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
Bounce selected users in virtual domain with Postfix? annekaelber Linux - Software 5 10-18-2007 01:58 PM
Postfix - Bounce AND forward? wachaca Linux - Server 1 12-12-2006 08:33 PM
Postfix RBL Bounce Messages must die! thewonka Linux - Software 5 08-08-2006 01:54 PM
Postfix Bounce Mail To sender when error is found heero82 Linux - Software 1 10-14-2005 03:46 PM
Postfix ---------- Loop backs to myself joseph Linux - General 0 08-20-2003 04:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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