12 messages in net.sourceforge.lists.courier-sqwebmailRe: [sqwebmail] Can from: changing be...
FromSent OnAttachments
Craig ColesFeb 13, 2005 7:57 am 
Sam VarshavchikFeb 13, 2005 1:00 pm 
Craig ColesFeb 13, 2005 4:48 pm 
Sam VarshavchikFeb 13, 2005 5:11 pm 
Craig ColesFeb 13, 2005 5:37 pm 
Sam VarshavchikFeb 13, 2005 7:10 pm 
Brian CandlerFeb 14, 2005 1:24 am 
Craig ColesFeb 14, 2005 7:16 am 
Brian CandlerFeb 14, 2005 8:23 am 
Craig ColesFeb 14, 2005 9:38 am 
Brian CandlerFeb 14, 2005 11:14 am 
Craig ColesFeb 14, 2005 12:08 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [sqwebmail] Can from: changing be disabledActions...
From:Brian Candler (B.Ca@pobox.com)
Date:Feb 14, 2005 1:24:55 am
List:net.sourceforge.lists.courier-sqwebmail

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.