On 12/23/2014 03:23 PM, Tomas Macek wrote: > Hello, I'm trying to prevent my testing postfix installation 2.8.4 > from being abused by emails that will go to the root@localhost email > address. I found out that it receives these messages accindetally, > when I tested my configuration. > The root@localhost must be accessible, when the mail comes from > localhost machine and not be accessible from the rest of the world - > that's clear. My server will receive email from many virtual domains.
That's where postfix instances becomes handy: one for local mail other for rest of the world and "smtpd_recipient_restrictions" with "reject_non_fqdn_recipient" in it. Works perfectly. -- Pagarbiai, Nerijus Kislauskas KTU ITD, Litnet valdymo centras Studentu g. 48a - 101, Kaunas tel.: (8~37) 30 06 45 mob. tel.: 8-614-93889 e-mail.: nerijus.kislaus...@ktu.lt
smime.p7s
Description: S/MIME Cryptographic Signature