Re: [exim] Restrict sending to hotmail from non network addr…

Góra strony
Delete this message
Reply to this message
Autor: Frank DeChellis
Data:  
Dla: Frank DeChellis, exim-users
Temat: Re: [exim] Restrict sending to hotmail from non network address



>
>  deny    message       = Cannot send mail from IAW server to certain domains

if you are not connected to IAW Network IAW-Error-991
>            domains       = +picky_domains
>            hosts         = !+relay_from_hosts

>
> Picky_domains being a file that has hotmail.com listed in it.
>
> Relay_from_hosts being a list of IPs permitted to use my SMTP
>


When I implement the script above, I get the following in my
/var/log/exim/main:

2009-06-21 11:48:56 1MIPHs-0001ql-9O H=snt0-omc2-s35.snt0.hotmail.com
[65.55.90.110] F=<xxxxxx@???> temporarily rejected after DATA:
cannot test domains condition in DATA ACL

File permissions are good.

What I want is for exim to return the error message if somebody targets a
domain listed in picky_domains but the message is not originating on our
network.

Is my script to simple for what I am trying to accomplish?

Thanks
Frank


Frank DeChellis
President, Internet Access Worldwide
Welland, Ontario, Canada
www.iaw.com