[Exim] exim virtual.domains relay errormessage

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Heiko Lehmann
Datum:  
To: exim-users, hlehmann
Betreff: [Exim] exim virtual.domains relay errormessage
Hallo!

We are using a mailserver with virtual.domains.

This functions also so far. (s. log1)
However a incoming mail send to an unknown user (on a virtual Domaine),
the mailserver reject the errormail with "refused relay (sender)". (s.
log2)

The option relay_match_host_or_sender is not suitable,
since then the sender address is not checked. (s. config1)

What I can do?

Regards Heiko

--------------------------------------------------------------
- config1 ## exim-3.33
# MAIN CONFIGURATION SETTINGS #
## allow relay only if host=ourIP AND sender=virtual.domains
local_domains =
lsearch;/usr/exim/etc/local.domains:lsearch;/usr/exim/etc/virtual.domains
sender_address_relay
=lsearch;/usr/exim/etc/local.domains:lsearch;/usr/exim/etc/virtual.domains
host_accept_relay = /usr/exim/etc/sender_net_accept_relay
## match host and sender
#relay_match_host_or_sender = true

--------------------------------------------------------------
- log1
08:10:15 16bcfH-0005Xc-00 <= root@???
H=(submailbox.mydomain.de) [xx.95.57.35] U=mail P=esmtp S=499
id=E16bcf4-0005go-00@???
08:10:22 16bcfH-0005Xc-00 => foreignuser@??? R=lookuphost
T=remote_smtp H=foo.foo.de [xx.xx.220.20]
--------------------------------------------------------------
- log2
08:11:43 16bcX1-0005Vm-00 <= foreignuser@??? H=(foo.foo.De)
[xx.xx.220.20] P=esmtp S=776 id=200202150711.g1F7Bwt03497@???
08:11:44 16bcX1-0005Vm-00 => unknownuser@??? D=virtual
T=virtual_smtp H=submailbox.mydomain.de [xx.95.57.35]
08:11:44 16bcX1-0005Vm-00 Completed
08:11:44 refused relay (sender) to <foreignuser@???> from <>
H=(submailbox.mydomain.de) [xx.95.57.35] U=mail
## errormessages should be going out
--------------------------------------------------------------