On Mar 5, 2015, at 8:49 PM, Noel Jones <[email protected]> wrote:
> maybe this will help. > http://www.postfix.org/STANDARD_CONFIGURATION_README.html#some_local I’ve solved our problem. Turns out we were missing the virtual_alias_maps line in main.cf. Once I added that, things started working much better. To summarize, our current main.cf now contains the following lines: relayhost = [smtp.stanford.edu] local_transport = error:local delivery disabled smtp_use_tls = yes myhostname = seswsbackup.stanford.edu myorigin = stanford.edu virtual_alias_maps = hash:/etc/postfix/virtual And in /etc/postfix/virtual, we have just: root [email protected] Entries in maillog now show that [email protected] is being rewritten the way we want: Mar 6 10:38:30 seswsbackup postfix/smtp[4085]: 4B6ECC0A7D: to=<[email protected]>, orig_to=<root>, relay=smtp.stanford.edu[171.64.13.8]:25, delay=0.32, delays=0.11/0.13/0.05/0.03, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 83D73341215) — Kai Lanz Stanford University School of Earth Sciences
