LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-10-2006, 10:37 AM   #1
dlublink
Member
 
Registered: Oct 2004
Location: Canada
Distribution: Ubuntu
Posts: 330

Rep: Reputation: 30
helo fqdn restriction


Hello,

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?

Thanks,

David
 
Old 10-13-2006, 09:26 PM   #2
WindowBreaker
Member
 
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 "sallysoccermom@yahoo.com". You reject my message because of a non-fqdn hostname. But, you also send "postmaster@yahoo.com" and poor old "sallysoccermom@yahoo.com" 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.

Cheers

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


Reply


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 LinuxQuestions.org 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 LinuxQuestions.org Member Intro 2 04-02-2004 12:06 AM

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

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