Forum Discussion
Stephan_87795
Sep 23, 2008Nimbostratus
sender address in eMails sent by postfix
Hello all,
I am trying to use postfix-settings (/etc/postfix/) for sending mails from the bigIP directly to my account.
By default the sender address is like "root@mydomain.tld",...
Stephan_87795
Sep 25, 2008Nimbostratus
OK - I tried several things before so maybe they work in co-incidence:
LTM-Version is 9.4.4 Build 73.1 HF1
all my examples are to understand as myuser@mydomain.com
just replace those with your user / domain
config:
in /etc/postfix/aliases:
I changed any alias from root to myuser, the last one as well -> root: myuser
Then use the command 'newaliases' to rebuild aliases.db
in /etc/postfix/canonical:
root myuser@mydomain
root@bigIPs_hostname myuser@mydomain
root@localhost myuser@mydomain
root@mydomain myuser@mydomain
root@mydomain.com myuser@mydomain
then create the map with postmap /etc/postfix/canonical
in etc/postfix/main.cf:
mydomain = mydomain.com
myorigin = $mydomain
relayhost = [ip.of.your.smtpserver] (mind the brackets)
sender_canonical_maps = hash:/etc/postfix/canonical
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases
then, restart postfix.
From that point, it worked for me...
Best Regards,
Stephan
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects