Thanks and sorry about the proprietary distro-ese slip up...
The version of procmail is 3.22.13
The mail has to originally be delivering to the USER. However, if you have
a global procmailrc (/etc/procmailrc) then that will be processed BEFORE
the user's own procmailrc. It's not advised to use the global procmailrc
to do generic final delivery, but rather use it to pre-process messages
(central virus and spam filtering for instance), someimes with final
delivery, but generally not for ALL mail passing through the global
procmailrc - otherwise local users can't use procmail.
It appears that the users own procmailrc is not being processed.
Out the box the procmail I have has the following in the global config file
# send mail through SpamAssassin
:
: :0 H
: * ^X-Spam-Status:.*Yes
: {
: EXITCODE=67
: :0:
: spam
: }
I take it that means that all mail is filtered for spam before delivery?
What I want is to create a rc that is unique to a particular user but even
when I place the .procmailrc in the home file it appears to not to be seen -
in other words it does not carry out the desired functions. It was only when
I placed the rc in the global .procmailrc that it did anything.
I use Sendmail as my MTA and have Spamassasin running
I have created Virtual Servers using webmin
I have created mail accounts
(mail is delivered to /var/spool/mail/[USER_MailBox]
I have placed the .procmailrc in the /home/[user]
I have added the rc instruction in .procmailrc
Mike
-----Original Message-----
From: procmail-bounces(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
[mailto:procmail-bounces(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE] On Behalf Of
Professional
Software Engineering
Sent: Thursday, 8 December 2005 4:08 PM
To: procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
Subject: Re: procmail for individual users on server
At 15:22 2005-12-08 +1100, MailingList wrote:
I am trying to get procmail functioning on my low level web/mail server (I
am quite new at this) running Fed2.
I take it you're referring to a Red Hat distro. We don't speak proprietary
distro-ese here. Unless someone is running that particular distro, we
couldn't tell you what version or procmail is necessarily installed by the
developers of that distribution.
I have been able to create a simple recipe that simply forwards mail to a
different address. However, I don t want it to forward all mail just mail
for particular accounts. I believe that this can be done by using local
.procmailrc files in the HOME directories of users.
You really should use MTA *ALIASES* for this.
Try as I might I cannot get it see this user file only the global rc. Is
there a setting in sendmail that turns on the ability to look past the
global and see the user .procmailrc file?
The mail has to originally be delivering to the USER. However, if you have
a global procmailrc (/etc/procmailrc) then that will be processed BEFORE
the user's own procmailrc. It's not advised to use the global procmailrc
to do generic final delivery, but rather use it to pre-process messages
(central virus and spam filtering for instance), someimes with final
delivery, but generally not for ALL mail passing through the global
procmailrc - otherwise local users can't use procmail.
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer:
<http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail