LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 06-17-2011, 04:52 PM   #1
jsp_1983
LQ Newbie
 
Registered: Dec 2010
Posts: 29

Rep: Reputation: 0
Can I set an auto-reply limit for Postfix?


I've just found that one of my email addresses with an auto-reply gets stuck in a loop when it receives email from senders who also have an auto-reply set up.

Is there an easy way for me to set Postfix so that it only sends one auto-reply email or so that it only sends a maximum of 1 auto-reply message per day to the sender?
 
Old 06-17-2011, 09:50 PM   #2
brasshopper
LQ Newbie
 
Registered: Apr 2004
Location: Boca Raton, Florida
Distribution: Fedora/Redhat
Posts: 8

Rep: Reputation: 3
Quote:
Originally Posted by jsp_1983 View Post
I've just found that one of my email addresses with an auto-reply gets stuck in a loop when it receives email from senders who also have an auto-reply set up.

Is there an easy way for me to set Postfix so that it only sends one auto-reply email or so that it only sends a maximum of 1 auto-reply message per day to the sender?
Hmmm. It would have helped if you had actually told us how you set up auto-reply. Most users are simply not knowledgable enough about all the ramifications of auto-reply to set it up themselves. Some things you should do:

If you are not specifically mentioned in the to: line or cc: line, do not auto-reply. This should also stop you from auto-replying to mailing lists.

You need to keep a hash so that you do not auto-reply more than once to the same place...and so on.

You should not reply to precedence junk or bulk.

You should not reply to mail from well known mailer daemons.

There is a program that comes with the system called "vacation" that does all of this stuff. Back when I was a sysadmin I would tell my users that attempting to write their own "vacation" program would result in being smacked with raw, smelly trout.

I also had a script that checked .forward files for non-standard programs. If I found one, I would see if it should be replaced with vacation.

The most important part of vacation is the database file and the ability to reply to a particular sender only once - so that it broke the daemon-autoresponder loop.
 
1 members found this post helpful.
  


Reply

Tags
email, linux, postfix


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
Ubuntu auto reply .vacation postfix vio Linux - Newbie 0 06-09-2010 10:26 AM
Vacation on Postfix = auto-reply from From: instead of CC: enigmaloops Linux - Newbie 2 08-08-2008 10:42 PM
Auto reply with postfix and procmail . my setting dosnt's work.? combilli Linux - Software 1 11-03-2006 10:16 AM
Mail auto reply novis Linux - Software 2 05-08-2006 10:44 AM
Auto reply jayakrishnan Linux - General 1 03-28-2002 05:39 AM


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