On Sun, Feb 13, 2005 at 06:37:43PM -0700, Craig Coles wrote:
Thanks Sam,
I downloaded the source package and made changes to
/etc/courier/authlib/authdaemonrc 'DEFAULTOPTIONS="wbnochangingfrom=1"'
and restarted courier-authdaemond (which restarted all that was
dependant on it)
and tested.
I don't see that the nochanging worked. I can change the From field and the
message that is sent shows the from being changed. Looking at the
source shows
the return-path is correct.
You didn't say what version of sqwebmail you're using.
If it's sqwebmail-4.x (without courier-authlib), then the method is
different: you create a zero-sized file called 'nochangingfrom' in the
sqwebmail configuration directory. See if you have a file called 'nodsn' -
it will be in the same directory as that.
If it's sqwebmail-5.x (with courier-authlib), then the
DEFAULTOPTIONS="wbnochangingfrom=1" is what you need. Type
# authtest <username>
or
# authenumerate -o
to see whether accounts have picked up the option from the DEFAULTOPTIONS
field.
...thanks for the info on the gecos field, I prefer to stay with userdb
He's talking about userdb. Try something like:
fr...@flintstone.org
systempw=$1$UiteYh2/$VFv7UbN.vFChi7hBkFVLT/|uid=81|home=/var/vmail01/flintstone.org/f/r/fred|gid=81|gecos=Fred
Flintstone
However (for Sam) - 'man makeuserdb' seems to be missing information about
this field, and 'authtest' doesn't display it. Those would be nice fixes to
have.
Regards,
Brian.