Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-10-2006, 10:37 AM   #1
Registered: Oct 2004
Location: Canada
Distribution: Ubuntu
Posts: 329

Rep: Reputation: 30
helo fqdn restriction


I have a postfix server that rejects email using 'reject_non_fqdn_hostname' to block messages.

It has now happened three times in the past 2 weeks that a badly configured Microsoft Exchange server has been unable to deliver messages to my server because it is badly configured.

When my server rejects using the above mentioned message (450) I would also like it to automatically generate a message and send it to postmaster@[sending domain] and a second message to the original sending user reminding her that her message will never be delivered until her network adminstrator fixes the problem.

How might I go about doing this?


Old 10-13-2006, 09:26 PM   #2
Registered: Oct 2005
Distribution: Slackware
Posts: 228

Rep: Reputation: 40
Your intentions are honorable. That said, I would NEVER EVER EVER do that. The reason is that you will end up putting yourself on spam blacklists and unable to send mail, since you'll be rejected due to your presence on these blacklists.

For example, lets say I am a spammer. I try to send a bogus message thru your server, send 'helo bla', and give you a sender address of "". You reject my message because of a non-fqdn hostname. But, you also send "" and poor old "" a notification. To them you appear to be spamming, since they never ever sent you an email to begin with.

This will end up happing hundreds of times a day, with you sending out hundreds of notifications to innocent users. Sure a couple of them are misconfigured exchange server, but the rest are not.

My advise is to leave it as is. When a legitimate user tries sending an email that gets rejected, you'll hear about it from your user(s) - believe me. Then you can school the MS Exchange admin on how to properly setup his exchange server. Chances are he's being rejected by other SMTP servers, and you're doing him a favor by enlightening him.


Last edited by WindowBreaker; 10-13-2006 at 09:27 PM.


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
Helo people! newbie1104 Member Intro 1 01-15-2006 06:10 PM
helo me digdug4life Linux - Software 1 11-04-2005 06:33 PM
postfix loses SMTP connection after HELO josephswagner Linux - Networking 3 10-21-2004 12:30 PM
Postfix: Bad HELO???? emilioestevezz Linux - Networking 2 05-11-2004 11:20 AM
Helo My name is Frederic fmasi Member Intro 2 04-02-2004 12:06 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration