On Tue, Jun 25, 2013 at 03:53:53PM +0100, Craig R. Skinner wrote: > On 2013-06-25 Tue 10:14 AM |, Wietse Venema wrote: > > > > You need to show: > > > > 1 - One email address ending in localhost or localhost.$mydomain, > > > > aliases: > root: admin-acct > deamon: root
Is this the right aliases(5) file? Some systems use /etc/aliases, others /etc/mail/aliases, ... What does "postconf alias_database" output? What does "postconf alias_maps" output? Has this file been munged into a suitable indexed database? # postalias /some/aliases/file Do queries return the expected results: postmap -q daemon hash:/some/aliases/file (replace hash with the alias map database type selected in main.cf). > $ uptime | mail -s uptime daemon@localhost > > > 2 - Logfile evidence that this email address is not bounced or > > delivered by the local(8) delivery agent, > > > > Jun 25 15:25:52 server1 postfix/local[22643]: 5D6C167DC: > to=<dae...@localhost.example.com>, orig_to=<daemon@localhost>, relay=local, > delay=0.3, delays=0.15/0.06/0/0.09, dsn=2.0.0, status=sent (forwarded as > 8C25B67DF) > Jun 25 15:25:52 server1 postfix/qmgr[8437]: 5D6C167DC: removed This rewrite happened in virtual(5). Jun 25 15:25:52 server1 postfix/error[16542]: 8C25B67DF: to=<r...@example.com>, orig_to=<daemon@localhost>, relay=none, delay=0.2, delays=0.03/0.08/0/0.08, dsn=5.0.0, status=bounced (User unknown in virtual alias table) The rewrite from daemon@localhost to r...@example.com happend via virtual(5). Your environment is messed up. I'm done too. Good luck. -- Viktor.