I need to be able to route mail to user.@ to user@. I know I can do it easily with + addressing, but the business requirement is for dot-addressing. The virtusertable file can't handle it - using user* doesn't do anything for me. The section is created dynamically by automated regression tests, so a static list in /etc/aliases won't cut it either. How do I handle this?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
At the bottom of your sendmail.mc file add the following lines:
Keep in mind that the left hand side of the rule is separated from the right hand side using tabs and not spaces. So do not copy-paste, type the rule. Next build sendmail.cf and restart sendmail according to your system's guidelines. For example in Debian and Ubuntu systems one can run |
|||