On Fri, 2020-09-25 at 16:37 +0200, Erik Thuning wrote:
> Hi!
> 
> I've inherited a server environment where all the servers have local 
> postfix agents installed, relaying mail to our central email server.
> I'm 
> trying to understand the main.cf settings shared by all our servers,
> but 
> there is one setting that I can't understand:
> 
> mydestination =
> 
> Aka nothing assigned to the mydestination value. To me the
> documentation 
> makes it sound like this is an error, but I'm unclear as to the
> exact 
> consequences of forcing this setting to be blank. Mail delivery works
> as 
> expected (mostly).

<snip>

> Thanks,
> Erik Thuning

Hello Erik,

A blank entry for mydestination means 'do not deliver mail to the local
machine' and all mail will be sent to the relayhost.  This is known as
a 'null client'

See 
http://www.postfix.org/STANDARD_CONFIGURATION_README.html#null_client
for details.

Regards,

Richard

On Fri, 2020-09-25 at 16:37 +0200, Erik Thuning wrote:
> Hi!
>
> I've inherited a server environment where all the servers have local 
> postfix agents installed, relaying mail to our central email server.
> I'm 
> trying to understand the main.cf settings shared by all our servers,
> but 
> there is one setting that I can't understand:
>
> mydestination =
>
> Aka nothing assigned to the mydestination value. To me the
> documentation 
> makes it sound like this is an error, but I'm unclear as to the
> exact 
> consequences of forcing this setting to be blank. Mail delivery works
> as 
> expected (mostly).
>
> If it makes any difference, here is the complete main.cf file that
> we 
> deploy:
>
> mydomain = dsv.su.se
> myorigin = $mydomain
> mydestination =
> relayhost = [smtp.su.se]
> mynetworks = 127.0.0.0/8 [::1]/128
> inet_interfaces = loopback-only
> biff = no
> append_dot_mydomain = no
>
>
> Thanks,
> Erik Thuning

Hello Erik,

A blank entry for mydestination means 'do not deliver mail to the local machine' and all mail will be sent to the relayhost.


Regards,

Richard

Reply via email to