On Tue, Oct 11, 2011 at 01:35:36PM +0200, Stefan Bertels wrote: > On Mon, 10 Oct 2011, Viktor Dukhovni wrote: > >0. ALWAYS read your logs > > I always do. Original delivery address shows up there every time I test > (p...@stefan-bertels.de). I tested using sendmail -bv, too. Same result. > > >and when asking questions, report the pertinent log entries. In > >this case the logs show the final delivery address. > > Oct 11 13:04:42 eos postfix/smtpd[14672]: D206818A2DA6: > client=unknown[192.168.1.67] > Oct 11 13:04:43 eos postfix/cleanup[14675]: D206818A2DA6: > message-id=<alpine.WNT.2.01.1110111304240.264@NFXYRCVBF> > Oct 11 13:04:43 eos postfix/qmgr[14655]: D206818A2DA6: > from=<p...@stefan-bertels.de>, size=524, nrcpt=1 (queue active) > Oct 11 13:04:43 eos postfix/smtp[14714]: D206818A2DA6: > to=<p...@stefan-bertels.de>, relay=mail.bertels.org[194.117.254.42]:587, > delay=0.61, delays=0.38/0.01/0.15/0.06, dsn=2.0.0, status=sent (250 ok > 1318331083 qp 22616) > Oct 11 13:04:43 eos postfix/qmgr[14655]: D206818A2DA6: removed
This proves that no virtual rewriting took place, so either you have not set virtual_alias_maps correctly, or you have disabled virtual alias expansion via receive_override_options. > Note: "mail.bertels.org" is my smarthost, "eos.bertels.local" is my > local machine running postfix. > > $mydestination -> eos.bertels.local, localhost.bertels.local, localhost, > bertels.local > > >1. ALWAYS use a full address on the right side of virtual > > alias tables. > > See above: I tried stefan, stefan@localhost and stefan@eos.bertels.local None of this matters yet, since the address is not rewritten. -- Viktor.