procmail
[Top] [All Lists]

Re: handling mail for users on vacation

2007-12-13 16:13:00
* Alan Clifford is quoted & my replies are inline below :
On Fri, 14 Dec 2007, Troy Piggins wrote:

TP> 
TP> Just after sending this I had an idea.  I could set up a cronjob, or an 
"at"
TP> task, that sets a variable, say $ON_HOLS, to "yes" or something and 
another
TP> variable, say $FWD_TO_ME, to the designated username.  Then in the global
TP> procmailrc have a rule that checks if $ON_HOLS is "yes" and if it is, 
forward
TP> to $FWD_TO_ME.
TP> 
TP> What do you think?  Better way?
TP> 
TP> 

I am not familiar with postfix but under sendmail the way to do it 
would surely be just to set up an alias in /etc/mail/aliases rather than 
using procmail.

Hmm, not a bad idea.  Postfix uses /etc/aliases similar to sendmail's, then
just run newaliases after changes are made.

-- 
Troy Piggins | http://piggo.com/~troy                           
RLU#415538                                                      ,-O   (o-    O  
                                                               O   )  //\     O 
                                                                `-O   V_/_  OOO
____________________________________________________________
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>