Re: [Exim] procmail and exim

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Stelios Asmargianakis
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [Exim] procmail and exim
My.procmailrc is quit simple just for testing

bash-2.05$ cat .procmailrc
:0:
* ^From:.*asmar@medisign\.gr
/dev/null

If i use a .forward file
bash-2.05$ cat .forward.old
|/usr/bin/procmail

then i can't get any email and when i am turning it off(simply rename)
the filters are working but as i say before only at /var/spool/mail and
not at /home/myaccount/mail

The local_dilevery transport is:

local_delivery:
driver = appendfile
file =
"${extract{5}{:}{${lookup{$local_part}lsearch{/etc/passwd}{$value}}}}/mail/inbox"
delivery_date_add
envelope_to_add
return_path_add
user = $local_part
group = mail
mode = 0660

local_sa_delivery:
driver = appendfile
file =
"${extract{5}{:}{${lookup{$local_part}lsearch{/etc/passwd}{$value}}}}/mail/inbox"
delivery_date_add
envelope_to_add
return_path_add
user = $local_part
group = mail
mode = 0660
transport_filter = "/usr/bin/spamc"

Thanks a lot for the answers