... related to a previous question about trouble running postfix on Centos 5.2(Final)
Looks like postfix relies on aliases.db
which is built by newaliases.postfix
command
When I run newaliases.postfix
it just hangs indefinitely.
I have found some tips, but they weren't helpful (I've changed /etc/hosts and /etc/sysconfig/network accordingly to no effect)
Running strace newaliases.postfix
shows this
...
close(4) = 0
munmap(0x2b9bb210c000, 4096) = 0
read(0, <unfinished ...>
Apparently it's trying to read from standard input but never gets any input.
Am I supposed to feed something to newaliases?
When I try newaliases.postfix < /etc/aliases
I get
newaliases.postfix: fatal: Recipient addresses must be specified on \
the command line or via the -t option