It will allow postfix to reject mail for invalid addresses.
Such mail
will not even be queued by postfix and will end up stuck in
the queue at
the sender's MTA. If you don't use a local recipients map
postfix will
accept all email not already blocked by
smtpd_XXX_restrictions, will eat
up resources in your anti-spam/virus and dbmail setups and
will create
backscatter for invalid addresses.
There are no cons I am aware of. Just make damn sure
local_recipients_map covers all valid addresses.
Jim Douglas wrote:
>> From: Paul J Stevens <paul nfg.nl>
>> Reply-To: DBMail mailinglist <dbmail dbmail.org>
>> To: DBMail mailinglist <dbmail dbmail.org>
>> Subject: Re: [Dbmail] (no subject)
>> Date: Sun, 18 Feb 2007 23:27:23 +0100
>>
>>
>> Yes Jim,
>>
>> setting up a local_recipients_map is a *good*
thing.
>>
>>
>> Jim Douglas wrote:
>> > I am a victim of massive amounts or email
being rejected(that did not
>> > originate from my server) and sent to a user
that does not exist on my
>> > server, which in turn gets forwarded to the
admin email address. I
>> want
>> > to Reject Unknown Local Recipients with
Postfix/DBMAIL.
>> >
>> > This is what's happening,
>> > http:/
/www.postfix.org/BACKSCATTER_README.html
>> >
>> > I have this setting in mail.cf,
>> > mailbox_transport = dbmail-lmtp:localhost:24
>> > local_recipient_maps =
mysql:/etc/postfix/sql-recipients.cf
>> >
>> > this is sql-recipients.cf,
>> > user = dbmail
>> > password = mypw
>> > hosts = localhost
>> > dbname = dbmail
>> > table = dbmail_aliases
>> > select_field = alias
>> > where_field = alias
>> >
>> > And the postfix docs say,
>> >
>> > "If a local username or address is not
listed in $local_recipient_maps,
>> > then the Postfix SMTP server will reject the
address with "User unknown
>> > in local recipient table"
>> >
>> >
http://www.postfix.org/LOCAL_RECIPIENT_README.html..
>> >
>> > ...is this a dbmail config setting I need to
change?
>> >
>> > Thanks,
>> > Jim
>> >
>> >
____________________________________________________________
_____
>> > Don�t miss your chance to WIN 10 hours of
private jet travel from
>> > Microsoft® Office Live
>> > http://clk.atdmt.com/MRT/go/mcrssaub0540002499mrt/di
rect/01/
>> >
>> >
_______________________________________________
>> > DBmail mailing list
>> > DBmail dbmail.org
>> > htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
>> >
>>
>>
>> --
>>
____________________________________________________________
____
>> Paul Stevens
paul at nfg.nl
>> NET FACILITIES GROUP GPG/PGP:
1024D/11F8CD31
>> The Netherlands________________________________http://www.nfg.nl
>> _______________________________________________
>> DBmail mailing list
>> DBmail dbmail.org
>> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
>
>
> Why?
>
> I have to weed through 500+ emals at this point and I'm
trying to weight
> the pros and cons.
>
> Jim
>
>
____________________________________________________________
_____
> Don�t miss your chance to WIN 10 hours of private jet
travel from
> Microsoft® Office Live
> http://clk.atdmt.com/MRT/go/mcrssaub0540002499mrt/di
rect/01/
>
> _______________________________________________
> DBmail mailing list
> DBmail dbmail.org
> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
>
--
____________________________________________________________
____
Paul Stevens paul at
nfg.nl
NET FACILITIES GROUP GPG/PGP:
1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail dbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
|