|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: .mailfilter trouble
From: mouss (usebsd
free.fr)
Date: Fri Nov 04 2005 - 09:34:36 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Aurelien Barrere a écrit :
> You right! I created a folder .Trash into Maildir and I updated
> .mailfilter with
>
> if ( $filter_out==1 )
> {
> # exit
> to "./Maildir/.Trash"
> }
>
>
> But unfortunately even after modification I still have mail (out of
> office in subject) forwarded instead of being rejected.See below:
>
> Nov 4 10:15:05 bounc postfix/local[27255]: 37EC8AC6C6:
> to=<X
domain.com>, relay=local, delay=0, status=sent (forwarded as
> 45D46AC6C8)
note that this is different from your pevious log. the message isn't
handled by maildrop.
>
> I have a ".forward" file in my $HOME pointing to my adress but i want
> this file being process at the last filter rule entries position.
> The problem seems that .forward file is read in first position.
>
> What i expected is : postfix->maildrop -d {USER}->.mailfilter->if
> subject=out of office->Maildir/.Trash else forward message accordind
> .forward file
My understanding of your original question as that you were only using
maildrop (your .mailfilter used "exit" or to "./Maildir/", no other
choice). did you change your mind or am I misinterpreting?
> What do you suggest to me?
how do you want to call the .forward? I suggest using maildrop only. for
forwarding, run the sendmail command from inside .mailfilter (you can
make the command read the contents of a forward config file, but make
sure postfix doesn't just deliver to .forward).
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]