| |||||||||||||||||||||||||||||
|
Dhawal Doshy wrote: > Hello List, > > I have quite a few domains for whom we act as the front-end MX server. > Now for some domains we have control of the final destination server and > for others we don't. > > For those domains, where we do not have control we can't generate a list > of valid recipients and would like to use reject_unverified_recipient. > For others we use cdb maps. > > Is it possible to use reject_unverified_recipient in combination with > smtpd_restriction_classes for such domains? Any examples would be > appreciated :-) You don't really need a restriction class for that task: /etc/postfix/main.cf: address_verify_map = btree:/etc/postfix/address_verify smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access hash:/etc/postfix/domains_verify /etc/postfix/domains_verify: example.com reject_unverified_recipient example.org reject_unverified_recipient -- Sandy List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com
| ||||||||||||||||||||||||||||
© 2004-2010 readlist.com