Re: [Exim] procmail and exim

Top Page
Delete this message
Reply to this message
Author: Stelios Asmargianakis
Date:  
To: exim-users
Subject: Re: [Exim] procmail and exim
Finally it works with this simple line (DEFAULT=/home/you/mail/inbox)
Is it possible to do the same with the virtual accounts which are
located at /home/myaccount/mail/my_virtual_account1/
I made a copy od .forward file and procmailrc at the "virtual mail" path
and also i change the paths but the filters are working only for the
main account.
Any suggestions?

Thanks

Kirill Miazine wrote:
> Stelios Asmargianakis wrote:
>
>>My.procmailrc is quit simple just for testing
>>
>>bash-2.05$ cat .procmailrc
>>:0:
>>* ^From:.*asmar@medisign\.gr
>>/dev/null
>
>
> Aha, you have no instructions on delivering to /home/you/mail in your
> .procmailrc. As somebody already suggested, setting
>
>     DEFAULT=/home/you/mail/inbox

>
> $DEFAULT defaults to $ORGMAIL (ORiGinal MAILbox) which is /var/mail/user
> on some systems and /var/spool/mail/user on other systems.
>
>
>>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)
>
>
> You mean you can't get anything in /home/you/mail/inbox, right?
>
>
>>the filters are working but as i say before only at /var/spool/mail and
>>not at /home/myaccount/mail
>
>
> Try setting DEFAULT as suggested abouve.
>