myhostname should be different from mydomain in postfix's main.cf - use mail. to avoid confusion

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-03-16 11:59:52 +01:00
parent d3e902ac63
commit 236ba6abfb
12 changed files with 15 additions and 12 deletions

View File

@@ -34,7 +34,8 @@ transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = <SERVERNAME>
mydomain = <SERVERNAME>
myhostname = mail.$mydomain
program_directory = /usr/lib/postfix
masquerade_domains =
mydestination = $myhostname $mydomain localhost localhost.$mydomain