walter neyder
2006-Aug-07 12:49 UTC
[Pkg-exim4-users] blacklist/whitelist for relay-domains
Hello, first of all thanks for the good work done in the exim4-package. We?ve got the following mail-setup: 2 Mailserver MailA used as Pop3/Imap server MailB used as smtp-server, also used as Backup for MailA Both Debian Sarge with Exim4.50, using the non-split configuration MailB has also a MX-Record for our domains, forwards incoming mail to MailA This configuration ist working fine (with courier, greylisting, ldap, mailscanner, backup via rsync over ssh) Where I fail is using the whitelist/blacklist on MailB, as it seems it?s only used for local-domains Though I?ve looked carefully in the config and in the docs, I don?t see, why the acl doesn?t work for relay-domains. Can anyone give me a hint, if it is possible, to change the default acl to work in this way (and where), or I do have to write a new one? best regards walter neyder ********************************************** walter neyder volkshilfe ober?sterreich edv glimpfingerstr. 48, 4020 linz, austria phone: +43.732.3405.110 fax: +43.732.3405.199 mobil: +43.676.8734.1110 http://www.volkshilfe-ooe.at ********************************************** Save Our Social Europe - Save with a Click! http://www.soseurope.org/1028,,,2.html ********************************************** Vorratsdatenspeicherung ist keine L?sung! http://www.dataretentionisnosolution.com/index.php?lang=de ____________ Virus checked by G DATA AntiVirusKit
On Mon, Aug 07, 2006 at 02:48:46PM +0200, walter neyder wrote:> Where I fail is using the whitelist/blacklist on MailB, as it seems it?s > only used for local-domains > Though I?ve looked carefully in the config and in the docs, I don?t see, why > the acl doesn?t work for relay-domains.In exim4 4.50''s default config, the blacklists are processed early, while relay_domains is handled late. There is no reason why the blacklists shouldn''t work for relayed messages as well. Please experiment with exim4 -d -bh <blacklisted address>, maybe this does help. Please not that you shouldn''t check with a postmaster recipient and not from a host that your mail server relays for, these two special cases are handled earlier than the black lists. Recommended reading: acl_check_rcpt and spec.txt chapter 39. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835