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!

Please help - .forward mod needed

Status
Not open for further replies.

ruttiger

Programmer
Nov 16, 2000
24
US
i'd really like to be able to set up a different .forward filename scheme. I know about the forwardPath var, but can't seem to figure out how to set it to what i want.
i want to host somedomain.com, and set it up so an incoming email address alias@somedomain.com.

basically i'd set up a virtuser:
@somedomain.com -> linux_user_a

and then i'd like to be able to have the .forward filenames come from the alias, like this:
/home/users/.forward-alias

this way, i'd only have to have one entry in my virtusertable.db, and life would just be more simple.

any ideas?
i've done so much reading, and can't find a premade macro to do this. $u is the result of the linux user after the aliasing.

Maybe if someone knows how to set up a macro/variable in the sendmail.cf file that would hold the value of the email address? Or maybe grab it somehow from ruleset 0?

thanks in advance!
blake
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top