On 10/28/2011 09:40 PM, Noel Jones wrote:
On 10/28/2011 4:29 PM, sean darcy wrote:
grep virtual_m main.cf | grep -v \#
virtual_mailbox_base = /home/vmail
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
cat /etc/postfix/vmailbox
# these are relative to /home/vmail
# the slashes at the end of the path mean Maildir format, not Mailbox!
test1@<mydomain> <mydomain>/test1/
@<mydomain> <mydomain>/catchall/
maillog:
Oct 28 17:04:01 mailserver postfix/master[27050]: reload -- version
2.8.5, configuration /etc/postfix
Oct 28 17:04:21 mailserver postfix/smtpd[4476]: connect from
mout.perfora.net[74.208.4.195]
Oct 28 17:04:21 mailserver postfix/smtpd[4476]: NOQUEUE: reject:
RCPT from mout.perfora.net[74.208.4.195]: 550 5.1.1
<test1@mydomain>: Recipient address rejected: User unknown in local
recipient table; from=<jbea...@newharbor.com>
to=<te...@chloegavin.com> proto=ESMTP helo=<mout.perfora.net>
Not much information for us to go on here, but I'm guessing that you
expect the recipient to be a virtual mailbox domain and postfix
thinks it's a local domain.
Don't use virtual mailbox domains in mydestination or myhostname.
http://www.postfix.org/ADDRESS_CLASS_README.html
http://www.postfix.org/VIRTUAL_README.html
If you need more help, please see
http://www.postfix.org/DEBUG_README.html#mail
unsolicited advice: catchall addresses were useful once upon a time,
but these days usually get around to biting you in the nether
regions. Save yourself future trouble and get rid of the catchall.
-- Noel Jones
Thanks for the advice. I've been going nuts tonight try to make it work.
I'm using lmtp with dovecot. It appears postfix pays no attention to
vmailbox when using lmtp. I tried local_recipient_maps = and
luser_relay = catchall@<mydomain> without any luck! dovecot doesn't seem
to have anything similar to @example.com.
So, if it's not useful, or even will bite me, I can save myself some
hours tonight!
sean