Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem trying to use both .forward files and virtusertable

Status
Not open for further replies.

omanuela

Programmer
Aug 26, 2009
1
AW
Hi,

We have the following scenario:

On our servers (Linux RedHat Enterprise), we have users in the form of user@domain.tld (e.g. john@tek-tips.com). This is to prevent name clashes between different domain names hosted on the same server.

However, in order for emails to be delivered to these users, we have to setup a mapping for each user in the virtusertable (i.e. john@tek-tips.com john\@tek-tips.com)

This works well, with one exception. When a user wants to setup email forwarding (or vacation message), the system creates a .forward file. This .forward file is completely ignored by Sendmail when there is an entry for that user in the virtusertable.

Is there a way to make the virtusertable and .forward work together?

Right now, I set up the forwarding by making changes to the virtusertable, but due to the volume of users on these systems, it would be much better if they can do it themselves via the .forward file.

Thanks,

Otmar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top