Re: [Exim] HELP: can't stop relaying

Etusivu
Poista viesti
Vastaa
Lähettäjä: Patrice Fournier
Päiväys:  
Vastaanottaja: Wolfgang.Fuertbauer
Kopio: exim-users
Aihe: Re: [Exim] HELP: can't stop relaying
Quoting Wolfgang.Fuertbauer@???:

> Hi,
>
> who can help me please?
> a little bit confused; can't stop relaying the following mail:


> acl_check_rcpt:
>
> # Accept if the source is local SMTP (i.e. not over TCP/IP). We do
> this
> by
> # testing for an empty sending host field.
>
> accept hosts = :


The following accept rule should be removed, it makes the rest of the
local domains rules not that useful... and there is already a rule to
accept mail fro local_domains (as long as some other tests match). ACLs
are checked in the order they appear.

> accept domains = +local_domains



> # RBL
>
>   deny    hosts = +rbl_hosts
>           message = host is listed in $dnslist_domain
>           dnslists =
> blackholes.mail-abuse.org:dialups.mail-abuse.org:relays.mail-abuse.org

>
> # Deny if the local part contains @ or % or / or | or !. These are
> rarely
> # found in genuine local parts, but are often tried by people looking
> to
> # circumvent relaying restrictions.
>
>   deny    local_parts   = ^.*[@%!/|]

>
> # Accept mail to postmaster in any local domain, regardless of the
> source,
> # and without verifying the sender.


This one is probably the culprit as you tell Exim to accept any mail if it
can verify the helo string.

>   accept  verify                = helo


[...]


--
Patrice Fournier
pfournier@???