Relaying depending on sender address

Relaying depending on sender address

am 03.04.2008 12:52:41 von Dieter Braun

Hi,

We have several persons who are allowed to send mail via our server
while they are on the road. They have to authenticate with a certificate
which works well. But especially when they use dial-in connections, they
sometimes get an IP address which is listed in the blacklists (dnsbl) we
use. By default, IP addresses (check_relay) are checked before sender
addresses (check_mail -> ${verify}). Thus, if the IP address is
blacklisted, the mail is rejected as spam in spite of the certificate.

It seems to me that delay_checks won't help since it changes the order
of the checks depending in the recipients addresses. However, we want
that sendmail executes check_mail before check_relay depending on the
sender addresses. Any ideas?

Thanks,
Dieter


Mit freundlichen Grüßen,
i. A. Dr. Dieter Braun

OneVision Software AG
Network & Security
Dr.-Leo-Ritter-Str. 9
93049 Regensburg

Tel.: 0941 / 78 004 - 604
Fax: 0941 / 78 004 - 111