On 26.10.17 14:30, chaouche yacine wrote:
Make sure you're using the /etc/aliases is actually used as your alias_database

alias_database only configures which file is upraded when newaliases is run,
nothing more and nothing less.

if you want postfix to use the alias database, you must add it into
alias_maps.

root@messagerie[10.10.10.19] ~ # postconf alias_database
alias_database = hash:/etc/aliases
root@messagerie[10.10.10.19] ~ #
Here's mine

root@messagerie[10.10.10.19] ~ # cat /etc/aliases
# /etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
root: serveur
clamav: root

run:

postconf alias_maps

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Micro$oft random number generator: 0, 0, 0, 4.33e+67, 0, 0, 0...

Reply via email to