Hi Michael,
On Wed, 29 May 2002 17:13:36 -0500, you wrote:

> I'm somewhat new to filters and I haven't had any luck configuring an
> "Out Of Office" filter. If anyone has any suggestions, or examples of
> filters they use for when they are out of the office, that would be
> great!

I normally would do something like this on the mail server itself, if you have
shell access, and the server runs procmail, it's so easy to do, but this isn't
really the list for that ;) You're more than welcome to contact me off list if
you want more info.
 
> The problem that I've run into is if there is a system message from my
> POP3 server, then an endless loop begins. For example, the server
> sends back a reply saying that the e-mail address is invalid (or some
> other odd error) then my filter responds saying that I'm out of
> office. Then the POP3 server rejects the e-mail because it was a
> server address and not an actual account. This continues until I turn
> off the filter. So, I could have 500 e-mails that are all from the
> looping filter.

Check for mailer-daemon@<server name (normally this is your smtp server)> or
postmaster@<domain>. But that depends on how the servers are setup.  This would
be where something like being able to add headers would come in handy.  Another
fun thing with procmail (and tools) such as formail... you do this:

formail -A "X-Loop: true" >> $SENDMAIL

This would force the email back into your mail server (from the procmail rule)
if it matches your list of rules set to send an auto-responder... then if it
bounces, it has the X-Loop header, and you can just drop the bounce... most of
the time ;)  But those are options only available if you have shell access to
the server, and your admin doesn't mind... either that... or bug your admin ;)


> Is there any way to exclude these types of e-mails from being
> responded to?

If using TB!, put the rule that matches the items you don't want to respond to
*above* the auto-responder so it gets filtered out, dropped into apropriate
folder etc... anything that slips through hits the auto-responder, and gets
processed.

-- 
Jonathan Angliss
([EMAIL PROTECTED])

________________________________________________________
Current Ver: 1.60m
FAQ        : http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://bt.ritlabs.com

Reply via email to