On 9/16/2009 1:34 PM, LuKreme wrote:
I have a user who is constantly mistyping a specific domain that he
sends mail to on a regular basis. This has been going on for a couple of
years, and every time he complains to be about messages not being
delivered, or 'being eaten' or something. He is convinced, every time,
that my server is doing something wrong.
Every time I peruse the logs, find his typo, and sent him log lines.
This works for a few days, or weeks, maybe. Then the cycle repeats. He's
old, and essentially untrainable.
I'm tired of it, and being related to him, I can't fire him.
So, I am wondering if I can do something in postfix to rewrite the
domain in question (at least the typo is consistent).
So, given example.com and given that he emails multiple addresses at
example.com and given that he typos it as exapmle.com and given that
exapmle.com 1) exists 2) doesn't accept mail connections 3) is not a
domain that anyone has ever intentionally tried to send mail to — given
all that, is there something I can do in postfix to simply rewrite
exapmle\.com$ to example.com?
Something in smtpd_recipient_restrictions, I'm guessing?
you can add a virtual_alias_maps entry to rewrite it. This
works for any domain.
u...@yaho.com u...@yahoo.com
-- Noel Jones
-- Noel Jones