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 8:23:23 am
List:net.sourceforge.lists.courier-sqwebmail

On Mon, Feb 14, 2005 at 08:16:44AM -0700, Craig Coles wrote:

My system is a Gentoo Linux, I have courier-0.48.1 installed (a Gentoo package). When I run webadmin and select the 'Webmail' link, it takes me to 47webmail. There, if I un-select the 'Allow From: header to be set ...' and save, it will create an empty file 'nochangingfrom' in /etc/courier

That's what sqwebmail-4.x uses to control that setting. sqwebmail-5.x uses account option 'wbnochangingfrom'.

I don't use the courier-MTA suite, but version 0.48.1 looks to be recent (4th Jan 2005) so I think it contains sqwebmail 5. And therefore, perhaps webadmin has not been updated yet in this regard.

In /etc/courier/authlib/authdaemonrc I have set: authmodulelist="authuserdb" ## only thing set, it is working DEFAULTOPTIONS="wbnochangingfrom=1" ## don't think it is working

authtest and authenumerate will show the users info, except the gecos field. Can't seem to find out if anything will show if the wbnochangingfrom is working...

# authtest fr@flintstone.org Authentication succeeded.

Authenticated: fr@flintstone.org (uid 81, gid 81) Home Directory: /var/vmail01/flintstone.org/f/r/fred Maildir: (none) Quota: (none) Encrypted Password: $1$UiteYh2/$VFv7UbN.vFChi7hBkFVLT/ Cleartext Password: (none) Options: wbnodsn=1,wbnochangingfrom=1,disableshared=1 ^^^^^^^^^^^^^^^^^^

Then logout of sqwebmail and log back in again.

(where would a user put this to over-ride the global like the INSTALL doc talks about?)

Since you're using authuserdb, it would go in your userdb file:

fr@flintstone.org ...as before...|options=wbnochangingfrom=0

then do 'makeuserdb' as normal.

I noticed that courier-authlib-0.53 is installed too. I'm wondering if the package maintainer has placed a dependancy on this package (separated it out) so other apps could use it too. Is this a problem? I mean the version of it?

I can't answer that - you'd have to investigate your package set, where you got it from, how it was built, and how you installed it.

I can't tell what version the actual executable is.

Also, I can't tell what version sqwebmail is from the executable, is there a way?

Not directly as far as I'm aware, although you can look at the CVS version strings for each of the source files:

# strings /usr/local/libexec/sqwebmail/sqwebmaild | grep Id

Then either look for the most recent datestamp, or compare with the CVS Ids within a source tarball.

Regards,

Brian.