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
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