[sendmail] virtusertable not being used or not working
I've had a problem with virtual email addresses on one of my servers. Basically, the email address email@example.com translates to the account enquireasi (which is /sbin/nologin).
I can send email from firstname.lastname@example.org, but not receive email to it. I can, however, receive email to email@example.com. This suggests virtusertable isn't being read or used.
Everything was fine until I added a new email address to virtusertable this morning, ran it through m4, and restarted sendmail.
I haven't upgraded sendmail, or made any other changes to the configuration. I only restarted it because of the change to virtusertable.
Here is a copy of virtusertable: Removed
Here is a copy of sendmail.mc: Removed
Here is the reference to virtusertable in sendmail.mc...
FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable.db')dnl
This is the correct address, as evidenced by entering this at the command prompt: ll /etc/mail/virtusertable.db
I restored the old virtusertable, and the problem didn't go away. After much searching, trial and error, I'm at a loss to know why I'm getting mail bounce back with this message:
SMTP error from remote mail server after RCPT TO:<firstname.lastname@example.org>:
host asureimage.com [18.104.22.168]: 550 5.1.1 <email@example.com>... User unknown
/var/log/maillog show this...
Jun 8 11:25:30 asureimage sendmail: STARTTLS=server, relay=uranus.***-***.com [193.***.***.29], version=TLSv1/SSLv3, verify=NO, cipher=DHE-RSA-AES256-SHA, bits=256/256
Jun 8 11:25:30 asureimage sendmail: ***: <firstname.lastname@example.org>... User unknown
Jun 8 11:25:30 asureimage sendmail: ***: from=<email@example.com>, size=1757, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=uranus.***-***.com [193.***.***.29]
What is the output of:
Thanks for your help :)
Here's the salient part...
Naturally, your solution worked immediately and my virtual email addresses are being directed to the underlying accounts.
Thank you very much.
|All times are GMT -5. The time now is 03:42 AM.|