> My server is a Cobalt Raq4. I have several users who have .forward files in
> their user directory.  I have noticed that mails sent using .forward files
> are NOT passed through SA.

I don't know anything about Cobalt Raq4.  But let's say you are
typical and are using procmail as the local mail delivery agent.  Then
a user only needs a .procmailrc file and if present the procmail
program will read it and act upon the rules there.

However, sendmail, postfix, exim, etc. will only hand to the local
mail delivery agent (procmail) as a default action.  Having a .forward
file is an explicit action.  If a .forward file exists then it will do
whatever it is told to do there explicitly.  If you are forwarding
your mail in a .forward then it will forward the mail and never invode
procmail.  Therefore users with .forward files need to say explicitly
that they want procmail if that is what they want.

  "|IFS=' ';exec /usr/bin/procmail || exit 75 #usernamehere"

That is a typical .forward file entry.  The quotes are in the file and
so don't strip those off, a common source of confusion.

> The GUI on the cobalt will not allow more than one address in the "Forward
> Email To" box, so the only way to force one users mail to several addresses
> is with a .forward, so I have no option there..

Once you get the mail in procmail it is nicest to forward from there.
It is possible to add other addresses to the .forward file.  But
forward them with procmail and you have more control.  Here is an
example .procmailrc snippet which will forward all mail to the
specified address.

  :0c
  ! [EMAIL PROTECTED]

Always test your mail configuration by sending test messages after
making changes.  Simple mistakes can bounce your mail.

Bob

_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to