[esd-l] vacation forwarding

John D. Hardin jhardin at impsec.org
Mon Aug 28 12:48:04 PDT 2006


On Mon, 28 Aug 2006, Scott Taylor wrote:

> This is a very quiet list, I like that. ;)

The product is mature and stable...

> Is there any thing I can do to stop the .forward from replying to
> the spammers, or use procmail to skip the .forward when SPAM is
> detected?

Unfortunately the .forward file is handled deep within the bowels of
Sendmail and if present gets invoked before the LDA (e.g. procmail).

Fortunately, you can use procmail instead of the .forward file. At the
end of the user's private .procmailrc file in their home directory,
you could put:

   :0
   | /usr/bin/vacation $LOGNAME

Then you get the benefit of all the filtering (sanitizer,
spamassassin, etc.) plus the vacation reply.

PLEASE TEST THIS FIRST. I haven't actually done this myself, as I
don't use vacation.

--
 John Hardin KA7OHZ    ICQ#15735746    http://www.impsec.org/~jhardin/
 jhardin at impsec.org    FALaholic #11174    pgpk -a jhardin at impsec.org
 key: 0xB8732E79 - 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  Liberals love sex ed because it teaches kids to be safe around their
  sex organs. Conservatives love gun education because it teaches kids
  to be safe around guns. However, both believe that the other's
  education goals lead to dangers too terrible to contemplate.
-----------------------------------------------------------------------
 22 days until Talk Like a Pirate day





More information about the esd-l mailing list