procmail
[Top] [All Lists]

Re: Fetchmail and Procmail

2006-06-25 06:28:52
On 25 Jun 2006, at 06:39 , Gerard Seibert wrote:
      mda "/usr/bin/procmail -d $s"

I understand what the '-d' is for, but what is the '$s' required for?

the -d flag for procmail says:

        -d recipient ...
             This  turns  on  explicit  delivery  mode, delivery will  
be to the
             local user recipient.  This, of course, only is possible  
if  proc-
             mail  has  root privileges (or if procmail is already  
running with
             the recipient's euid and  egid).   Procmail  will   
setuid  to  the
             intended recipients and delivers the mail as if it were  
invoked by
             the recipient with no arguments (i.e.,  if  no  rcfile   
is  found,
             delivery is like ordinary mail).  This option is  
incompatible with
             -p.


So, the $s is the recipient in fetchmail which will be passed to the  
procmail process.


-- 
...I started playing Myst at 4:30 in the afternoon and looked up  
suddenly and realized it was February.


____________________________________________________________
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>