RE: [exim] need help with a filter

Pàgina inicial
Delete this message
Reply to this message
Autor: Matt Wright
Data:  
A: Matt Wright, exim-users
CC: 
Assumpte: RE: [exim] need help with a filter
Ok.. nvmd :)... got it all working now... Thanks everyone for your help!

-----Original Message-----
From: exim-users-bounces@??? [mailto:exim-users-bounces@exim.org]On
Behalf Of Matt Wright
Sent: Monday, October 31, 2005 12:00 PM
To: exim-users@???
Subject: RE: [exim] need help with a filter


Basically.. this is for my company... we have a global alias that is
delivered to all users. I just want a way to be able to drop all email
comming to that email address (currently an alias) that has come from
anywhere outside of the building.

I tried the
deny
recipients = user@???
!hosts = host-u-like.tld
idea, by putting it into my
/etc/exim4/conf.d/acl/30_exim4-config_check_rcpt under the ACL_check_rcpt:
section. Is that right? because it doesn't appear to be working correctly.

-----Original Message-----
From: exim-users-bounces@??? [mailto:exim-users-bounces@exim.org]On
Behalf Of Mark Smith
Sent: Saturday, October 29, 2005 1:42 PM
To: exim-users@???
Subject: RE: [exim] need help with a filter


> -----Original Message-----
> From: exim-users-bounces@???
> [mailto:exim-users-bounces@exim.org] On Behalf Of Matt Wright
> Sent: 29 October 2005 01:00
> To: exim-users@???
> Subject: [exim] need help with a filter
>
> I swore I'd never do this, but I've gone through all the docs
> I can, and haven't been able to find the answer anywhere, and
> I'm hoping you guys can help me.
>
> What I need is a way to check whether email that is being
> recieved for a specific address, came from a specific host.
> If it did, to deliver it as normal, if not reject it.
>
> sounds simple, but for the life of me I can't seem to find
> anything that tells me how to do it
>


This is how to do it in an ACL; do you actually need to do it in a filter?

deny
recipients = user@???
!hosts = host-u-like.tld

- Mark


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


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