[Postfixbuch-users] selektives Relaying

Robert Felber r.felber at ek-muc.de
Do Jul 28 10:00:56 CEST 2005


On Thu, Jul 28, 2005 at 09:47:33AM +0200, Andreas Schulze wrote:
> ... also doch restriction_classes ...

Ja, wobei das aber richtig in arbeit ausarten kann und bloatet ist:
Simpler wuesst ichs aber im moment nicht.

smtpd_restriction_classes = check_client1 check_client2

check_client1 = check_client_access hash:/path/to/client1
check_client2 = check_client_access hash:/path/to/client2

smtpd_recipient_restrictions =
    check_sender_access hash:/path/to/internal_sender_checks
    check_client_access hash:/path/to/failed_sender_check
    permit_mynetworks
    reject_unauth_destination
    
file internal_sender_checks:
.bar.tld check_client1
.foo.tld check_client2

file client1:
192.168.0.2 OK
 
file client2:
192.168.0.3 OK
 
file failed_sender_check:
192.168.0.2 REJECT wrong sender domain used
192.168.0.3 REJECT wrong sender domain used
 
-- 
Robert Felber (EDV-Leitung)
Autohaus Erich Kuttendreier 
Drosselweg 21
81827 Muenchen

Tel: +49 (0) 89 / 453 12-86
Fax: +49 (0) 89 / 453 12-80

PGP: 896CF30B
PGP-Fingerprint: A43A A57E ECF4 F80F FDFC  285A 0A7F B077 896C F30B



Mehr Informationen über die Mailingliste Postfixbuch-users