On 10/23/2011 7:00 PM, Jack Fredrikson wrote: > -------------------------------------------------------------------- > *From:* Noel Jones <njo...@megan.vbhcs.org> > *To:* postfix-users@postfix.org > *Sent:* Sunday, October 23, 2011 7:02 PM > *Subject:* Re: Down To One Problem? > > So I ran these commands: > > [root@myserver jack]# /usr/sbin/postmap /etc/postfix/virtual > postmap: warning: removing zero-length database file: > /etc/postfix/virtual.db > [root@myserver jack]# /usr/sbin/postmap -q f...@bar.com > hash:/etc/postfix/virtual
Why are you running those commands? > > but how do I substitute this for the mysql lookup? > > Added this to main.cf > > virtual_alias_domains = domain1.com It's really cool how you're asked to do one thing and you try several others instead. Are you just trying random commands you find on google? > Now I'm getting lots of these: > > Oct 23 16:56:03 myserver postfix/smtp[16238]: 105915790186: > to=<f...@bar.com>, > relay=eforward1.registrar-servers.com[69.160.33.82]:25, delay=86, > delays=54/0.02/32/0.02, dsn=4.1.1, status=deferred (host > eforward1.registrar-servers.com[69.160.33.82] said: 450 4.1.1 > <lucilius.bankrup...@barinstorm.com>: Recipient address rejected: > unverified address: unknown user: "f...@bar.com" (in reply to RCPT TO > command)) The server at 69.160.33.82 is apparently doing sender address verification, and thinks f...@bar.com is not a valid address. If f...@bar.com is supposed to be a user on your system, you need to fix that. If you added bar.com to virtual_alias_domains, you must rewrite bar.comm to a different domain in virtual_alias_maps. Or maybe bar.com doesn't belong in virtual_alias_maps. Please again read http://www.postfix.org/ADDRESS_CLASS_README.html -- Noel Jones