Gentlemen,
I am having difficulty performing the following configuration:
in my yahoo inbox persists root as the sender.
Well I would like to appear rogerio_root@rogerdom.int or rogerio_root
I do not have much experience w / postfix, where I am going wrong or what is missing ??
Below the details of my setup:
Opensuse 13.2, postfix 2.11.3, localdomain.
/etc/postfix/main.cf:
myhostname = suse-mini2.rogerdom.int
data_directory = /var/lib/postfix
daemon_directory = /usr/lib/postfix
inet_interfaces = all
smtp_generic_maps = hash:/etc/postfix/generic
sender_canonical_maps = hash:/etc/postfix/canonical
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases
relayhost = [smtp.gmail.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_tls_CAfile = /etc/ssl/certs/ca.crt
smtp_use_tls = yes
setgid_group = maildrop
/etc/postfix/aliases:
root: rogerio_root
and newaliases to rebuild aliases.db
/etc/postfix/canonical:
root rogerio_root@rogerdom.int
root@localhost rogerio_root@rogerdom.int
root@rogerdom rogerio_root@rogerdom.int
root@suse-mini2.rogerdom.int rogerio_root@rogerdom.int
postmap /etc/postfix/canonical
I restarted my postfix
mail -s “teste from postfix” rogerio_57@yahoo.com
…
journalctl -u postfix.service
Jul 25 10:06:28 suse-zero postfix/pickup[2063]: E0AF465F5D: uid=0 from=<root>
Jul 25 10:06:28 suse-zero postfix/cleanup[2096]: E0AF465F5D: message-id=<20150725130628.E0AF465F5D@suse-mini2.rogerdom.int>
Jul 25 10:06:28 suse-zero postfix/qmgr[2064]: E0AF465F5D: from=<rogerio_root@rogerdom.int>, size=472, nrcpt=1 (queue active)
Jul 25 10:06:36 suse-zero postfix/smtp[2098]: E0AF465F5D: to=<rogerio_57@yahoo.com>, relay=smtp.gmail.com[173.194.219.108]:587, delay=
Jul 25 10:06:36 suse-zero postfix/qmgr[2064]: E0AF465F5D: removed
thank you very much!!!