procmail
[Top] [All Lists]

Re: .procmailrc without home dir

2005-08-25 01:16:13

Hello,

Professional Software Engineering wrote:
At 15:25 2005-08-23 +0200, Jose Marcio Martins da Cruz wrote:

I have a server where users doesn't have home directories - only mail boxex.

In fact, this is for users having a pop account. For the moment, they have an
unix account without shell and with a common shared directory.

The first goal is to find a way to allow users to do redirection (.forward -
this is easy and already solved). The second one is to allow users to set up
vacation. This may be solved based on your recipe. There is an web interface
allowing users to manage this.

Thanks.

JM


Well, how is your MTA delivering to the user mailboxes?  Are they "virtual 
pop" or somesuch, or real local users (say, present in the /etc/passwd 
file).  If the former, you're likely going to need to examine your virtual 
pop setup for some way to invoke procmail (if not, you might end up having 
to invoke procmail from MTA aliases for EACH USER).  If they're real users, 
you could try using the /etc/procmailrc file to do generic stuff, followed 
by something like:

         DROPPRIVS=YES
         SWITCHRC=/some/path/$LOGUSER.procmailrc

or something to that effect

-- 
 ---------------------------------------------------------------
 Jose Marcio MARTINS DA CRUZ           Tel. :(33) 01.40.51.93.41
 Ecole des Mines de Paris              http://j-chkmail.ensmp.fr
 60, bd Saint Michel                http://www.ensmp.fr/~martins
 75272 - PARIS CEDEX 06      
mailto:Jose-Marcio(_dot_)Martins(_at_)ensmp(_dot_)fr

____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>