my /etc/procmailrc does not work

vu pham vu at sivell.com
Thu Apr 30 10:10:05 PDT 2009




Bruce Marshall wrote:
> On Thursday 30 April 2009, vu pham wrote:
>  > First time I use procmail and it looks like I miss something.
>  >
>  > My /etc/procmailrc is as follows :
>  >
>  > [root at xen2vm1 etc]# cat procmailrc
>  > 0:c
>  > vu at sivell.com
>  >
>  > but any emails to me on this system is locally delivered to me on this
>  > system only and never delivered to my office email. My sendmail.mc does
>  > include ostype(linux) which include FEATURE(local_procmail).
>  > Any advice is greatly appreciated.
>  >
>  > Thanks.
>  > Vu
> 
> 
> Not sure what the line with your address is doing, but '!' is supposed 
> to "invert the condition" Maybe you wanted '|'
> 
> 
> For sending to others, I use:
> 
> 
> :0c
> | /usr/sbin/sendmail -f ace at xxx.net -oi xxxx at earthlink.net
> 

Thanks, Bruce. ! means "invert the the condition" for the condition line 
(*). For the action line, it means
---------- from man procmailrc -----
  The action line can start with the following characters:

        !      Forwards to all the specified mail addresses.
-----------------------------------

:)

Thanks,
Vu



More information about the Linux-users mailing list