Hi to all:

I use exim 4.63, and like use a exim filter to limit what all users of 
mydomain can send mail a account, but all domains of internet not send 
mail to this mailbox. In the exim.filter I write:

if $header_from: contains "@mydomain" and $header_to: contains 
"[EMAIL PROTECTED]" then
    unseen finish
  else
    seen finish
endif

When send a mail from @mydomain to [EMAIL PROTECTED] this work well, the 
account revice the mail.
When send a mail from @otherdomain to [EMAIL PROTECTED] this work well, 
the mail is discarded by file system
But when send mail from @otherdomain to [EMAIL PROTECTED], 
[EMAIL PROTECTED], etc.. this is discarded by file system.

The problem can be: /and $header_to: contains "[EMAIL PROTECTED]" /

Thanks in advanced.



-- 
ilimit...


*Oscar Mas*
[EMAIL PROTECTED]

ÀREA SISTEMES
0034 937 333 375
VOLTA 1, PIS 5
08224 TERRASSA.BCN

Aquest enviament és confidencial i està destinat únicament a la persona a qui 
s'ha enviat.
Pot contenir informació privada sotmesa al secret professional, la distribució 
de la qual està prohibida per la legislació vigent.

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to