Re: [Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

2008-10-31 Thread Joseba Torre
El Jueves, 30 de Octubre de 2008 a las 20:15, Timo Sirainen escribió: On Oct 30, 2008, at 9:02 PM, John Lightsey wrote: A little late, but I don't see any mention of /etc/lsb-release in the LSB specification. You probably want the output of /usr/bin/ lsb_release -d I don't think dovecot

Re: [Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

2008-10-30 Thread Proskurin Kirill
Charles Marcus wrote: On 10/29/2008 2:41 PM, Timo Sirainen wrote: /etc/gentoo-release Added. Hmmm... this doesn't really contain useful info though... ~ # cat /etc/gentoo release Gentoo Base System release 1.12.11.1 Looks just fine. maybe some forme of the uname command? ~ # uname -orpm

Re: [Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

2008-10-30 Thread John Lightsey
On Oct 29, 2008, at 12:39 PM, Timo Sirainen wrote: First however it checks for /etc/lsb-release and if it exists, prints DISTRIB_DESCRIPTION contents. I guess Ubuntu is the only distro currently using that file.. A little late, but I don't see any mention of /etc/lsb-release in the LSB

Re: [Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

2008-10-30 Thread Timo Sirainen
On Oct 30, 2008, at 9:02 PM, John Lightsey wrote: A little late, but I don't see any mention of /etc/lsb-release in the LSB specification. You probably want the output of /usr/bin/ lsb_release -d I don't think dovecot should execute external binaries. Sounds scary. PGP.sig Description:

Re: [Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

2008-10-29 Thread Andraž 'ruskie' Levstik
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Two more to add: /etc/sourcemage-release /etc/slackware-version :) - -- Andraž ruskie Levstik Source Mage GNU/Linux Games grimoire guru Geek/Hacker/Tinker Be sure brain is in gear before engaging mouth. Quis custodiet ipsos custodies. Ryle hira.

Re: [Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

2008-10-29 Thread Timo Sirainen
On Wed, 2008-10-29 at 19:18 +0100, Andraž 'ruskie' Levstik wrote: /etc/sourcemage-release Does this contain Sourcemage name in some way? /etc/slackware-version Does this contain Slackware name in some way? (Most seem to, but Debian is an exception and contains only lenny/sid with me, so I

Re: [Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

2008-10-29 Thread Andraž 'ruskie' Levstik
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 29 Oct 2008, Timo Sirainen wrote: On Wed, 2008-10-29 at 19:18 +0100, Andraž 'ruskie' Levstik wrote: /etc/sourcemage-release Does this contain Sourcemage name in some way? cat /etc/sourcemage-release Source Mage GNU/Linux 0.9.6.1

Re: [Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

2008-10-29 Thread Charles Marcus
On 10/29/2008, Andra~ 'ruskie' Levstik ([EMAIL PROTECTED]) wrote: Two more to add: /etc/sourcemage-release /etc/slackware-version One more: /etc/gentoo-release Hmmm... this doesn't really contain useful info though... ~ # cat /etc/gentoo release Gentoo Base System release 1.12.11.1 maybe

Re: [Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

2008-10-29 Thread Timo Sirainen
On Wed, 2008-10-29 at 19:39 +0200, Timo Sirainen wrote: The filesystem is looked up by getting the mount information for the directory in mail_location. That's not correct in all setups, but probably correct for most. I was wondering why this felt like it was too easy. dovecot -n can't easily

Re: [Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

2008-10-29 Thread Timo Sirainen
On Wed, 2008-10-29 at 14:37 -0400, Charles Marcus wrote: On 10/29/2008, Andra~ 'ruskie' Levstik ([EMAIL PROTECTED]) wrote: Two more to add: /etc/sourcemage-release /etc/slackware-version One more: /etc/gentoo-release Added. Hmmm... this doesn't really contain useful info though...

Re: [Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

2008-10-29 Thread Charles Marcus
On 10/29/2008 2:41 PM, Timo Sirainen wrote: /etc/gentoo-release Added. Hmmm... this doesn't really contain useful info though... ~ # cat /etc/gentoo release Gentoo Base System release 1.12.11.1 Looks just fine. maybe some forme of the uname command? ~ # uname -orpm

Re: [Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

2008-10-29 Thread Charles Marcus
On 10/29/2008 1:39 PM, Timo Sirainen wrote: Any other suggestions that I could add before 1.1.6 release, which I'm really trying to release today? :) Add the contents of non-default dovecot-sql.conf, dovecot-ldap.conf and maybe dovecot-db.conf to the output? ;) -- Best regards, Charles

Re: [Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

2008-10-29 Thread Timo Sirainen
On Wed, 2008-10-29 at 16:02 -0400, Charles Marcus wrote: On 10/29/2008 1:39 PM, Timo Sirainen wrote: Any other suggestions that I could add before 1.1.6 release, which I'm really trying to release today? :) Add the contents of non-default dovecot-sql.conf, dovecot-ldap.conf and maybe

[Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

2008-10-27 Thread Charles Marcus
On 10/26/2008, Bill Cole ([EMAIL PROTECTED]) wrote: As the Dovecot website says in reference to this mailing list, you should specify your Dovecot version, your OS and version (and with Linux, the specific distribution,) your CPU architecture (not everyone uses x86,) the type of filesystem you

Re: [Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

2008-10-27 Thread Scott Silva
on 10-27-2008 3:51 AM Charles Marcus spake the following: On 10/26/2008, Bill Cole ([EMAIL PROTECTED]) wrote: As the Dovecot website says in reference to this mailing list, you should specify your Dovecot version, your OS and version (and with Linux, the specific distribution,) your CPU

Re: [Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

2008-10-27 Thread Charles Marcus
On 10/27/2008 12:29 PM, Scott Silva wrote: Maybe 'dovecot -n' could also provide basic system info (it already does for the dovecot version)? I know the command varies depending on said architecture, but for most systems it could probably easily figure this out? Just a thought... Maybe it