5 msgposftix and local relay
6 msgBlocked by SMTP server
6 msgSplitting my mailhub in two
2 msgPatch skipping to Postfix-2.3.8 ?
12 msgSystem Requirement.
15 msgTLS library problem: decryption failed or bad r...
13 msgOverride virtual_alias_maps
22 msgsetup spamassassin with amavis-new and postfix
9 msgAgain on: hotmail users can't receive any email...
2 msgRelay help
11 msgNew Postfix installation has mail stuck in queu...
2 msgpostfix: outgoing emails lack domain
10 msgregexp to avoid majordomo spam and some anti-sp...
6 msgforward_pathdirective seemingly being ignored.
5 msgSuspend local delivery from a script?
2 msgreject_unknown_reverse_client_hostname - not fo...
2 msgtutorial how to setup postfix with virtual supp...

selective reject_unverified_recipient
\ Dhawal Doshy (17 Mar 2007)
. \ Sandy Drobic (17 Mar 2007)
. . \ Dhawal Doshy (17 Mar 2007)

12 msgtimeout after DATA revisited
2 msgSlightly odd postfix behavior
Subject:Re: selective reject_unverified_recipient
Group:Postfix-users
From:Sandy Drobic
Date:17 Mar 2007


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