Re: [courier-users] Re: SHUTDOWN: respawnhi limit reached.
> daemon 28027 0.0 0.0 1916 1008 ?SDec07 0:00 courieresmtp 0 ofr.pm0.net Just a BTW not a related topic, it seems that the domain pm0.net is regarded as a spam site and has been blocked by a great many sites recently. Currently it was talked about on the Exim mailing list. ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: SHUTDOWN: respawnhi limit reached.
On Fri, Dec 07, 2001, Sam Varshavchik <[EMAIL PROTECTED]> wrote: > Johannes Erdfelt writes: > > > On Thu, Dec 06, 2001, Gordon Messmer <[EMAIL PROTECTED]> wrote: > >> On Thu, 6 Dec 2001, Johannes Erdfelt wrote: > >> > The mail server is busy much of the time, but I don't think it's busy > >> > enough to naturally hit the respawnhi timeout. It looks like somehow > >> > courier missed that a child finished and that's why it hit the respawnhi > >> > timeout. > >> > >> I was wrong about that. The child processes are still legitimately > >> running. As fate would have it just as I started this email, I was pulled > >> in to some mail server issues and noticed that the respawnhi thing had > >> happened again. All of the couriersmtp processes were stuck in a read() > >> system call on fd 5. I have the control file from a couple, and there are > >> lots of DNS failures recorded. > >> > >> It's much too late to do any debugging right now, but I'll be over this > >> tomorrow. In any case, it's not that courierd isn't harvesting children, > >> it's that the children are blocking on an unprotected read(). (I thought > >> they all had alarms in place... /me shrugs) > > > > I checked for any running processes, but I couldn't find any. I do have > > lots of courier related process running (authdaemon, pop and imap) so I > > may have missed one. > > > > Either way, my system sat for 6 hours or so doing nothing. If you're > > right that there was a process still running, something is missing a > > timeout. > > > > I wonder what the longest timeout is. I guess presumably the respawnhi > > could happen at a time right after a legitimate process is spawned which > > then needs to timeout to a client, there will always be the chance that > > courier just stops delivering email for a while. > > > > respawnhi seems to need some sort of timeout, even if it's extremely > > long. > > The server is designed to restart itself only when no mail is pending. > > The problem is that the client should not be stuck like that. There's a > select() before every read from the socket, so if anything, it should be > stuck in a select(). > > Get the date of the stuck message, and review your logs to see if there are > any errors in syslog around that time, or a little bit later. Happened again, not surprisingly 7 days from when I restarted the server. I found this process hanging around: daemon 28027 0.0 0.0 1916 1008 ?SDec07 0:00 courieresmtp 0 ofr.pm0.net It's been sitting for 7 days. In the logs I see: Dec 7 22:31:29 quattro courierd: started,id=00077C44.3C118991.6D25,from=<[EMAIL PROTECTED]>,module=local,host=robjohn!!510!510!/home/robjohn!!,addr= Dec 7 22:31:29 quattro courierlocal: id=00077C44.3C118991.6D25,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>,size=3209,success: Message delivered. Dec 7 22:31:29 quattro courierd: started,id=00077C45.3C118991.6D2A,from=<[EMAIL PROTECTED]>,module=esmtp,host=mediaone.net,addr=<[EMAIL PROTECTED]> Dec 7 22:31:35 quattro courieresmtp: id=00077C45.3C118991.6D2A,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>: 550 5.7.1 <[EMAIL PROTECTED]>... Access denied Dec 7 22:31:35 quattro courieresmtp: id=00077C45.3C118991.6D2A,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>,status: failure Dec 7 22:31:35 quattro courierd: completed,id=00077C45.3C118991.6D2A Dec 7 22:31:35 quattro courierd: started,id=00077C45.3C118991.6D2A,from=<>,module=dsn,host=,addr=<[EMAIL PROTECTED]> Dec 7 22:31:35 quattro courierd: newmsg,id=00077C44.3C118997.6D32 Dec 7 22:31:35 quattro courierd: started,id=00077C44.3C118997.6D32,from=<>,module=esmtp,host=ofr.pm0.net,addr=<[EMAIL PROTECTED]> Dec 7 22:37:35 quattro courieresmtp: id=00077C44.3C118997.6D32,from=<>,addr=<[EMAIL PROTECTED]>: Connection timed out Dec 7 22:37:35 quattro courieresmtp: id=00077C44.3C118997.6D32,from=<>,addr=<[EMAIL PROTECTED]>,status: deferred I see later: Dec 7 22:42:35 quattro courierd: started,id=00077C44.3C118997.6D32,from=<>,module=esmtp,host=ofr.pm0.net,addr=<[EMAIL PROTECTED]> I don't see any other messages for id 00077C44.3C118997.6D32. An strace on the aforementioned process resulted in: quattro:~# strace -p 28027 read(6, Which just sits there. JE ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: non-suid root webmail?
Peter C. Norton writes: > In an environment where all users are virtual users, and all delivery takes > place via one uid, can the webmail binary be setuid to the virtual mail user > rather then root? You can, provided that you also use the configure script option to set the owner of the login cache directory to the same (it defaults to bin, which won't work if sqwebmail cannot set itself to run as the bin user). There will also be a similar issue with groupware calendaring, which also needs to be resolved the same way. -- Sam ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: authdaemond.ldap logging level
Leon writes: > Sorry, I just don't get it. Please consider the following logs(Original text > at bottom of file) : > > This comes from /var/log/messages > > Dec 14 11:24:44 hostname authdaemond.ldap: copy_value homeDirectory: > /users/rvw > Dec 14 11:24:44 hostname authdaemond.ldap: copy_value cn: Mae A West > Dec 14 11:24:44 hostname authdaemond.ldap: copy_value userPassword: > {crypt}password > this?? Didn't set it up myself, but I can't stop it, so I probably couldn't > have set it up anyway. :-( You compiled with DEBUG_LDAP enabled. You requested LDAP debugging information, and you got it. Recompile with DEBUG_LDAP turned off. -- Sam ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: sqwebmail empty attachement
Philippe Strauss writes: > On Thu, Dec 13, 2001 at 06:11:53PM -0500, Sam Varshavchik wrote: >> Philippe Strauss writes: >> >> >Hello! >> > >> >I'm stunt with this: on a freshly installed debian woody, >> >sqwebmail complain with this when uploading >> >an attachement: >> > >> >ERROR: You have exceeded your quota >> > >> >It's a hosted domain setup, with all mailboxes under >> > >> >/var/virtualmail/domain.com/userpart/ >> > >> >with uid and gid, virtualmail, set to 200 >> >> This error can get generated if the makemime binary is missing or >> corrupted. This is one of those things that is not expected to happen. > > Thanks Sam. > makemime is in the 'maildrop' package, but > maildrop and courier are not in sync in debian. > > I replaced makemime from debian maildrop pkg with a > hand compiled one from courier source and it now works. > > mail:/usr/src/courier-0.36.1# cp -f courier/makemime /usr/bin/makemime > > > Stephan, the maildrop / courier packaging issue is here > again under a new form :)) maildrop, when compiled from maildrop-version.tar.gz, is slightly different that maildrop compiled from courier-version.tar.gz You need to package courier-maildrop separately, which cannot be simultaneously installed with the standalone maildrop package. > ii courier-base 0.36.0-1 Courier Mail Server Suite Base System ... > ii sqwebmail 0.36.0-1 Webmail Server > ii maildrop 1.3.0-1mail delivery agent with filtering abilities No, no, no. This is the standalone version of maildrop. Can't have it installed with Courier. -- Sam ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] non-suid root webmail?
You can remove the SUID bit altogether and run apache as the virtual mail user if you would like. Setting the binary SUID to the user should work too. Steve Jacobs http://www.viaduct.com Systems Engineer Viaduct Inc. "From there to here, from here to there, funny things are everywhere." -- Dr. Seuss On Fri, 14 Dec 2001, Peter C. Norton wrote: > In an environment where all users are virtual users, and all delivery takes > place via one uid, can the webmail binary be setuid to the virtual mail user > rather then root? > > -- > The 5 year plan: > In five years we'll make up another plan. > Or just re-use this one. > > ___ > courier-users mailing list > [EMAIL PROTECTED] > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users > ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] c_rehash
On Fri, 14 Dec 2001, Roger Thomas wrote: > i run configure on linux and get this error, how do i get that c_rehash thingy? > > checking for openssl... (cached) /usr/bin/openssl > checking for c_rehash... no > checking for perl5... (cached) /usr/local/bin/perl > configure: warning: Unable to locate OpenSSL's c_rehash script in the current > configure: warning: PATH. The c_rehash script is included in the OpenSSL > configure: warning: package but may not be installed on your system. Please > configure: warning: install the c_rehash script from OpenSSL and rerun this > configure: warning: configure script. > configure: error: openssl found but c_rehash was not found. > configure: error: ./configure failed for rootcerts You're not telling us which Linux distribution you are using, but on my Red Hat system, I have: # rpm -q --whatprovides $(which c_rehash) openssl-perl-0.9.6b-7 -- Juha Take off every sig! ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: authdaemond.ldap logging level
--Leon wrote on 14.12.2001 11:44 -0600: [...] > ldap processes are running on a separate server that does the > authentication. Apologize for my "thickness" but I'm starting to get cranky. > Is there supposed to be a conf file for imapd or pop3d that I can set levels > in?? Start syslogd with -vv (check your manpages) and you will see both facility (user) and priority (info) in plaintext. Then exclude those in /etc/syslog.conf. Roland ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] non-suid root webmail?
In an environment where all users are virtual users, and all delivery takes place via one uid, can the webmail binary be setuid to the virtual mail user rather then root? -- The 5 year plan: In five years we'll make up another plan. Or just re-use this one. ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Autocreation of maildir
___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] auth problems on solaris
Larry, I searched on google and found your pam.conf. I installed it and it worked fine... thanks... schu Larry Moore wrote: > This is what I have for Session Accounting on my Solaris-7 system. > > # > # Session management > # > imapsession required/usr/lib/security/pam_sample.so.1 > pop3session required/usr/lib/security/pam_sample.so.1 > > If you search the archive you will find a complete configuration for > pam.conf for use with Courier-IMAP. > > I can't remember how long ago it was I posted it!. > > Cheers, > > Larry. > > - Original Message - > From: "Matthew Schumacher" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, December 14, 2001 7:32 AM > Subject: [courier-users] auth problems on solaris > > > >>Ok, >> >>I built and installed the courier imap server on solaris 8 but I can't >>get it to authenticate a user. I didn't see that authpwd or authshadow >>was built, so I am assuming that the configure script decided that it >>was not needed because it found the solaris pam header files. >> >>Anyway, does anyone have an example pam configuration for solaris? >> >>I saw this in the readme file: >> >>imap authrequiredpam_unix.so try_first_pass >>imap account requiredpam_unix.so >>imap session requiredpam_permit.so >> >>but solaris doesn't have a pam_permit.so >> >>I tried this: >> >>imap authrequired /usr/lib/security/$ISA/pam_unix.so.1 >>try_first_pass >>imap account required /usr/lib/security/$ISA/pam_unix.so.1 >> >>but it didn't work. >> >>The readme file says not to throw in the towel and run authpwd, but I am >>very close >> >>thanks, >> >>schu >> >> >>___ >>courier-users mailing list >>[EMAIL PROTECTED] >>Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users >> >> >> > > > ___ > courier-users mailing list > [EMAIL PROTECTED] > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users > > > -- __ Matthew Schumacher [EMAIL PROTECTED] Alaska Power and Telephone desk: 907-563-2199 x223 Systems Administrator cell: 907-240-2275 ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] alternate Maildir directory.
Hello All, How can I reconfigure courier to look for the users mail folder in ~/.Maildir instead of ~/Maildir, also, is it possible to cause courier to look for the users mail folder outside of their home directory? I understand that these things can be run with authuserdb, but I would prefer to use pam because that is where my smtp server is looking for users. Thanks -- __ Matthew Schumacher [EMAIL PROTECTED] Alaska Power and Telephone desk: 907-563-2199 x223 Systems Administrator cell: 907-240-2275 ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] qmail check host problem
Hi all , This is the first time that I use courier imap. I used courier imap with qmail and authen mysql. The structure of user's table for implementing virtual domain with qmail ,which I am using now, is +-+ | Field | +-+ | id | | crypt | | passwd | | uid | | gid | | home| | shell | | mbox_host | | start_date | | expire_date | | active | | quota_size | +-+ and I implement the virtual domain by insert the hostname in the mbox_host field.But the authmysql configuration file of courier imap don't have any parameter to support this field. And I check my mysql log file when courier imapd try to authen with mysql .It seem to send the username in username@host to compare with id field . How to split the username and host and change the query string of authentication process. Pls. help me. Link --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.306 / Virus Database: 166 - Release Date: 4/12/2544 ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Autocreation of maildir
The "real" solution? Why does there have to be one real solution? Create a Maildir in /etc/skel so every new user has one. On 14 Dec 2001, Andreas Almstadt wrote: > Unfortunatly, courier doesn't. The log said "unable to chdir". We will > solve the problem with a cron job, but I would be glad if someone have a > "real" solution. > > Andreas > > On Fri, 2001-12-14 at 17:38, [EMAIL PROTECTED] wrote: > > hi Andrea, > > I hope i am not stating the obvious however.. i do know > > from experience that postfix does.. i know this is courierd however > > did you try to simply send a mail to a local user for delivery? > > > > Regards, > > [EMAIL PROTECTED] > > > > > -- If I had a dollar for every brain that you don't have, I'd have one dollar. - Squidward to SpongeBob ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Autocreation of maildir
hi Andreas, On Fri, Dec 14, 2001 at 05:45:10PM +0100, Andreas Almstadt wrote: > Unfortunatly, courier doesn't. The log said "unable to chdir". We will > solve the problem with a cron job, but I would be glad if someone have a > "real" solution. three ways i think i would approach if i were you. 1- simply use maildirmake in a script that first checks if $HOME/Maildir/ exists and if not runs maildirmake 'making the /Maildir' 2- Since one can create a script that simply manually makes the generic /Maildir that courierd is expecting. Then append this to a script that you use to manage users accounts.. -3 i would take a look at the MDA or routine inside courierd and simply add a exec call to make the maildir if it did not exist before trying to put mail there.. or since most unique MDA allow for external command execution if used such as maildrop.. AFAIK.. then use that so that it really doesn't matter. b.t.w. i would assume that chdir() is not working because it cannot chdir since either it does not exist or does not have the rights to land there.. Since i have not hit this problem well this is pretty much solving what i do not need to therefore hope it is 'still_useful'. Hope this helps a little. Regards, [EMAIL PROTECTED] ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: authdaemond.ldap logging level
Sorry, I just don't get it. Please consider the following logs(Original text at bottom of file) : This comes from /var/log/messages Dec 14 11:24:44 hostname authdaemond.ldap: copy_value homeDirectory: /users/rvw Dec 14 11:24:44 hostname authdaemond.ldap: copy_value cn: Mae A West Dec 14 11:24:44 hostname authdaemond.ldap: copy_value userPassword: {crypt}password Dec 14 11:24:44 hostname authdaemond.ldap: before callback rc=0 Dec 14 11:24:44 hostname authdaemond.ldap: after callback rc=0 Dec 14 11:24:49 hostname authdaemond.ldap: copy_value homeDirectory: /users/beccaben Dec 14 11:24:49 hostname authdaemond.ldap: copy_value cn: beccaben Dec 14 11:24:49 hostname authdaemond.ldap: copy_value userPassword: {crypt}password Dec 14 11:24:49 hostname authdaemond.ldap: before callback rc=0 Dec 14 11:24:49 hostname authdaemond.ldap: after callback rc=0 Dec 14 11:24:49 hostname authdaemond.ldap: copy_value homeDirectory: /users/hugaswede Dec 14 11:24:49 hostname authdaemond.ldap: copy_value cn: hugadane Dec 14 11:24:49 hostname authdaemond.ldap: copy_value userPassword: {crypt}password Dec 14 11:24:49 hostname authdaemond.ldap: before callback rc=0 Dec 14 11:24:49 hostname authdaemond.ldap: after callback rc=0 Dec 14 11:24:50 hostname authdaemond.ldap: copy_value homeDirectory: /users/sue Dec 14 11:24:50 hostname authdaemond.ldap: copy_value cn: sue Dec 14 11:24:50 hostname authdaemond.ldap: copy_value userPassword: {crypt}password Dec 14 11:24:50 hostname authdaemond.ldap: before callback rc=0 Dec 14 11:24:50 hostname authdaemond.ldap: after callback rc=0 I've attempted to change logging in syslog.conf, original w/o changes that didn't help: *.info;mail.none;authpriv.none,local4.none /var/log/messages # The authpriv file has restricted access. authpriv.* /var/log/secure # Log all the mail messages in one place. mail.* /var/log/maillog only place I have found references to logged information is in sasl.h under my openldap package, but don't find anything that looks like it's openldap related with ps -ef maillog file logs mail info as I'd expect, with none of the information that shows in the messages file. Can't believe that nobody else has ever seen this?? Didn't set it up myself, but I can't stop it, so I probably couldn't have set it up anyway. :-( ldap processes are running on a separate server that does the authentication. Apologize for my "thickness" but I'm starting to get cranky. Is there supposed to be a conf file for imapd or pop3d that I can set levels in?? TIA > > I THINK I've read too much. > > > > /var/log/messages records every ldap authentication when uses login. I've > > authdaemond.ldap doesn't log anything except errors. Logins are logged by > the imap or pop3 code. > > > Should I be adding something to syslog.conf? Currently, only things to > > /var/log/messages are as follows: > > *.info;mail.none;autpriv.none,local4.none /var/log/messages > > Dumping mail.* to the bit bucket should clear the logs. > > -- > Sam ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Autocreation of maildir
Unfortunatly, courier doesn't. The log said "unable to chdir". We will solve the problem with a cron job, but I would be glad if someone have a "real" solution. Andreas On Fri, 2001-12-14 at 17:38, [EMAIL PROTECTED] wrote: > hi Andrea, > I hope i am not stating the obvious however.. i do know > from experience that postfix does.. i know this is courierd however > did you try to simply send a mail to a local user for delivery? > > Regards, > [EMAIL PROTECTED] > > -- Andreas Almstadt <[EMAIL PROTECTED]> *GONICUS GmbH * Niederlassung Nord * Postfach 74 20 * D-22832 Norderstedt * Tel. +49 (0)40 - 53 00 83 71 * Fax +49 (0)40 - 53 00 83 79 * http://www.GONICUS.de msg00473/pgp0.pgp Description: PGP signature
Re: [courier-users] c_rehash
If it's Red Hat Linux, you should install the openssl-perl package. On Fri, 14 Dec 2001, Roger Thomas wrote: > i run configure on linux and get this error, how do i get that c_rehash thingy? > > checking for openssl... (cached) /usr/bin/openssl > checking for c_rehash... no > checking for perl5... (cached) /usr/local/bin/perl > configure: warning: Unable to locate OpenSSL's c_rehash script in the current > configure: warning: PATH. The c_rehash script is included in the OpenSSL > configure: warning: package but may not be installed on your system. Please > configure: warning: install the c_rehash script from OpenSSL and rerun this > configure: warning: configure script. > configure: error: openssl found but c_rehash was not found. > configure: error: ./configure failed for rootcerts > > -- > > __ > Do You Yahoo!? > Check out Yahoo! Shopping and Yahoo! Auctions for all of > your unique holiday gifts! Buy at http://shopping.yahoo.com > or bid at http://auctions.yahoo.com > > ___ > courier-users mailing list > [EMAIL PROTECTED] > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users > -- If I had a dollar for every brain that you don't have, I'd have one dollar. - Squidward to SpongeBob ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Courier + LDAPX (fwd)
www.sunfreeware.com only has openldap-1.2.11 binaries/source. so I donwloaded the source code for OpenLDAP 2.0.15 from www.openldap.org I have all the .h and .a files in my source tree. Is that what courier is looking for specifically the compile tree .h and .a files? Please someone who has compiled courier with ldap can you give me some assitance here. -- | Jason Bone | | [EMAIL PROTECTED] | | System Administrator | -- -- Forwarded message -- Date: Thu, 13 Dec 2001 17:24:39 -0800 From: Peter C. Norton <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [courier-users] Courier + LDAPX Perhaps at www.sunfreeware.com the package includes the .h and .a files for openldap? -Peter On Thu, Dec 13, 2001 at 06:34:36PM -0600, Jason bone wrote: > I have read in the readme files where it says you need the development > libraries for OpenLDAP no matter what implementation of LDAP you are using > to get this to work. Well I am using OpenLDAP, However I am having a > little difficulty getting Development libraries for OpenLDAP of > the UltraSparc Solaris 8 flavor. The only ones I can find are Linux > development libraries for OpenLDAP. Can someone guide me to the right > place, becuase www.openldap.org doesn't have a "Package" to download > for the development libraries at all. Not even a source package. Or > at least I wasn't able to find one on their site. -- The 5 year plan: In five years we'll make up another plan. Or just re-use this one. ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: sqwebmail empty attachement
On Thu, Dec 13, 2001 at 06:11:53PM -0500, Sam Varshavchik wrote: > Philippe Strauss writes: > > >Hello! > > > >I'm stunt with this: on a freshly installed debian woody, > >sqwebmail complain with this when uploading > >an attachement: > > > > ERROR: You have exceeded your quota > > > >It's a hosted domain setup, with all mailboxes under > > > >/var/virtualmail/domain.com/userpart/ > > > >with uid and gid, virtualmail, set to 200 > > This error can get generated if the makemime binary is missing or > corrupted. This is one of those things that is not expected to happen. Thanks Sam. makemime is in the 'maildrop' package, but maildrop and courier are not in sync in debian. I replaced makemime from debian maildrop pkg with a hand compiled one from courier source and it now works. mail:/usr/src/courier-0.36.1# cp -f courier/makemime /usr/bin/makemime Stephan, the maildrop / courier packaging issue is here again under a new form :)) it's a fresh debian woody: ii courier-authda 0.36.0-1 Courier Mail Server Suite authentification d ii courier-base 0.36.0-1 Courier Mail Server Suite Base System ii courier-imap 1.3.12-1 IMAP daemon with PAM and Maildir support ii courier-ldap 0.36.0-1 LDAP support for Courier Mail Server suite ii courier-mta0.36.0-1 Mail Transport Agent of the Courier Mail Ser ii courier-pop0.36.0-1 POP3 daemon with PAM and Maildir support ii courier-webadm 0.36.0-1 Web-based Administration Tool for the Courie ii sqwebmail 0.36.0-1 Webmail Server ii maildrop 1.3.0-1mail delivery agent with filtering abilities Best Regards -- Philippe Strauss http://philou.ch/ L'indifférence est le plus grand risque de notre temps, la forme civilisée de la cruauté. -- Zenta Maurina -- ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Autocreation of maildir
Hi there, we are using the courier-mta with ldap authorization. Does somebody knows a way to autocreate a users maildir when the first mail arrives (or the first time the user check his/her mail)? Qmail haves a configfile for this purpose and I can't believe that there is no way with courier to do that. Thanks in advance Andreas -- Andreas Almstadt <[EMAIL PROTECTED]> *GONICUS GmbH * Niederlassung Nord * Postfach 74 20 * D-22832 Norderstedt * Tel. +49 (0)40 - 53 00 83 71 * Fax +49 (0)40 - 53 00 83 79 * http://www.GONICUS.de msg00469/pgp0.pgp Description: PGP signature
[courier-users] Re: thanks, and new issue
On Thu, 13 Dec 2001, Shaun Savage wrote: > I am trying to add/make a new security policy for the courier mail > server. Sendmail is easy compared with qmail or courier. This will > also be a good learning experiance for me (and others) to go through the > thinking behind creating a security policy.I am not a courier > expert, but I think selinux and courier would be good togther. I am not familiar with courier, but I'll try to provide some general guidance below. Also, just FYI, please note that the sendmail domain is just a starting point for sendmail; a more complete solution for sendmail is being developed by some folks at MITRE. > The problem is how fine grained a security policy I should make? > Should every processes have a seperate policy or should the whole > package be one security? > Should the certs be protected more than other parts? > Courier writes to the users Maildir in their home dir, only > courier_local writes to users dir. This depends on the permissions required by each courier-related process and your security goals. If several processes require essentially the same permissions, then you can place them in the same domain. Likewise, if several directories/files should be accessible in the same way by the same processes, you can place them in the same type. If you aren't sure what permissions are required, you can initially define separate domains for each process, run the system in permissive mode to collect audit messages, and then evaluate the resulting messages to see whether some of the domains should be coalesced. The script posted by Justin Smith may be helpful to you in automatically converting the audit messages to allow rules, but you still need to carefully analyze these rules to see if they meet your security goals. You should be cautious about using separate types for individual files within a single directory, although this is possible. The problem with using separate types for individual files within a single directory is ensuring that the type is preserved if the file is subsequently updated. If the existing file is merely modified in place, then the type will be preserved. However, if the update to the file involves creation of a new file, then you must take steps to ensure that the type of the new file is the same as the type of the original. One approach for doing so is to put programs that update the file into a separate domain and defining a file_type_auto_trans rule for that domain so that files created by the domain in the directory will inherit the desired type rather than the type of the parent directory by default. However, if the program creates multiple files in the same directory that must have different types, this approach will not work, so you will have to either modify the program or wrap it with another program that sets the file types properly. -- Stephen D. Smalley, NAI Labs [EMAIL PROTECTED] ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] c_rehash
i run configure on linux and get this error, how do i get that c_rehash thingy? checking for openssl... (cached) /usr/bin/openssl checking for c_rehash... no checking for perl5... (cached) /usr/local/bin/perl configure: warning: Unable to locate OpenSSL's c_rehash script in the current configure: warning: PATH. The c_rehash script is included in the OpenSSL configure: warning: package but may not be installed on your system. Please configure: warning: install the c_rehash script from OpenSSL and rerun this configure: warning: configure script. configure: error: openssl found but c_rehash was not found. configure: error: ./configure failed for rootcerts -- __ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] makedat manpage needs update
Hello, one Debian user reported to me the difference between the makedat(1) manpage and the real implementation. The manpage says: makedat textfile tmpfile gdbmfile But the program needs: Usage: /usr/bin/makedat -src=src -file=file -tmp=tmpfile -hup=hupfile [-cidr] Ciao Racke -- Die Erde bleibt keine Scheibe. --- The earth remains no disk. For projects and other business stuff please refer to COBOLT NetServices (URL: http://www.cobolt.net; Email: [EMAIL PROTECTED]; Phone: 0041-1-3884400) ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
RE: [courier-users] courierd not starting -- problem with shared libs
thank you for your help. gonna try this. -Original Message- From: Gordon Messmer [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 6:17 PM To: Gianpaolo Del Matto Cc: [EMAIL PROTECTED] Subject: RE: [courier-users] courierd not starting -- problem with shared libs Ooo... 7.0. I'd try updating your devel tools to the packages provided by 7.2. There have been a number of fixins to gcc since 7.0. Update at least gcc, but also consider binutils, libtool, autoconf, and automake, generally in that order. On Thu, 13 Dec 2001, Gianpaolo Del Matto wrote: > hello Gordon > > versions are > > ltmain.sh (GNU libtool) 1.3.5 (1.385.2.206 2000/05/27 11:12:27) gcc > version 2.96-69 2731 (Red Hat Linux 7.0) > > glibc was also updated to 2.2.4-5. > > and yes, in fact the 'old' release works fine. > > but it would be interesting to find out why the latest snapshot comes > up with this error. I think that's truly part of what's commonly > called beta-testing ;-) > > rgds, > > Gianpaolo Del Matto > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Gordon > Messmer > Sent: Thursday, December 13, 2001 4:57 AM > To: Gianpaolo Del Matto > Cc: [EMAIL PROTECTED] > Subject: Re: [courier-users] courierd not starting -- problem with > shared libs > > > On Wed, 12 Dec 2001, Gianpaolo Del Matto wrote: > > > got the following problem courier (development snapshot dec 10). > > (make > > > + make test + make install went ok though, followed exactly how > > described in the docs). however when running > > Have you tried building a release version on the same platform? > > > when manually trying /usr/lib/courier/share/courierctl.start or > > /usr/lib/courier/libexec/courier/courierd it says > > > > courierd: error while loading shared libraries: unexpected reloc > > type > > 0x35 > > Have you upgraded any of your development tools from the version > included with your OS distribution? What versions of gcc, and libtool > are installed? > > -- If I had a dollar for every brain that you don't have, I'd have one dollar. - Squidward to SpongeBob ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: Has anyone incorporated RAV Anti-virus on Courier?
Sam Varshavchik writes: > Alessandro Vesely writes: > > However, reformime is not smaller: > > it is 157Kb while the whole avfilter takes 88Kb. > > Not over here it isn't: Ooops, I'm using not stripped versions. size /usr/local/bin/reformime avfilter textdata bss dec hex filename 39161 5049664 49329c0b1 /usr/local/bin/reformime 46958 6601352 48970bf4a avfilter > [mrsam@ny bin]$ size reformime > text data bss dec hex filename > 41913 5649664 52141cbad reformime ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: deamon cannot 'chdir'
Chris writes: > Hi Todd, > > Thanks for your answer.. > The problem appeared to be that when I entered myself as a user into > the auth table I entered an incorrect UID.. > Does courier imapd cross reference the UID found in the database with > the system? Courier itself doesn't cross-check, but your operating system will. Courier doesn't change to "user chris" to deliver mail, but instead changes to "user number UID". If the user with this UID doesn't have access to chris' Maildir, then courier will have a problem delivering mail. Rather than crash horribly or discarding messages, courier lets you know that it couldn't get access to the Maildir. > The home directory in the database was correct > (/home/chris) and that was the same in /etc/passwd > I'm not sure if this was even the problem, but courier appears to be > working now. Looks like a pretty stong case to me! -- Bill Michell [EMAIL PROTECTED] (home) ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] date confusion in sqwebmail!
Dont worry much.. it is all normal . you will find the trick if u inspect it closly.. anyway..it shows the mail u recieve in the current week as day+time .. hope u got it.. regrds Kanwaljeet Singh ERNET India CAT On Fri, 14 Dec 2001 [EMAIL PROTECTED] wrote: > dear all, > > i am using qmail and sqwebmail as the front end. i have seen that in the inbox >message display screen, somtimes the date is shown as " + " and sometimes >it is shown as "". > > what is the logic? > instead of " + " can it be " + "? > > what should i do to change the format to the one desired? > > vikas > > ___ > courier-users mailing list > [EMAIL PROTECTED] > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users > ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] date confusion in sqwebmail!
dear all, i am using qmail and sqwebmail as the front end. i have seen that in the inbox message display screen, somtimes the date is shown as " + " and sometimes it is shown as "". what is the logic? instead of " + " can it be " + "? what should i do to change the format to the one desired? vikas ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] New user and small question
Hi there :o) I installed Courier on our server running OpenBSD 2.9 and it works pretty well :) But I have small trouble, which (at my opinion) is not Courier problem at all, but you should know how to help. We are using many clients. Some windoze ones (ick, ick... Outlook express 4 & 5), some unixes (Linux/BSD)... Outlook Express 4, running on NT4 SP6a have following trouble: when user connects to server, _sometimes_ it works on first time. But in majority cases, it doesn't respond while 'athorizing' - server stop responding. Courier doesn't put anything interesting to log. When ti works, it put into log following: Dec 14 09:23:49 amanda pop3d-ssl: Connection, ip=[:::217.66.165.84] Dec 14 09:23:49 amanda pop3d-ssl: LOGIN, user=ray, ip=[:::217.66.165.84] Dec 14 09:23:49 amanda pop3d-ssl: LOGOUT, user=ray, ip=[:::217.66.165.84], top=0, retr=0 When I check email immediatelly after first check, it stops in 'authorizing' phase. Courier doesn't put anythign to log. So, I guess, problem will be somewhere at fd MS client. But I have to work with them. Atfer some time (~random, minutes, sometimes after 'stop' and 'check again') it works. Everything other on NT works well (SSH connections, other pop3d server (not courier)). All other clients (y2k, linux, bsd) also works well. Please, do you have any sugestion ? I tried search Courier web and FAQ but didn't found reply. Or is here some official FAQ bigger than the one on site ? Thanx in advance, Best regards, Lada 'Ray' Lostak Unreal64 develop group http://www.unreal64.net ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] deamon cannot 'chdir'
Hi Todd, Thanks for your answer.. The problem appeared to be that when I entered myself as a user into the auth table I entered an incorrect UID.. Does courier imapd cross reference the UID found in the database with the system? The home directory in the database was correct (/home/chris) and that was the same in /etc/passwd I'm not sure if this was even the problem, but courier appears to be working now. Anyway it boils down to: It was my fault so I'll stop wasting your time ;) Thanks very much for your help Regards -- Chris, [EMAIL PROTECTED] on 14/12/2001 On Thu, 13 Dec 2001 21:02:03 -0800, Todd Lyons wrote: >Chris wanted us to know: > >>Dec 14 10:15:28 stage imapd: chdir: Permission denied > >Chances are that you have your user home directory set to >/some/home/dir >and /some/home/dir/Maildir does not exist. If that's the case, run >'/usr/lib/courier-imap/bin/maildirmake /some/home/dir/Maildir' and >try >again. Note that you must be that user when you run this (else it >creates it with root permissions, which won't work worth a crap). > >Second possible problem, find in the /usr/lib/courier- >imap/libexec/imapd.rc >file the following line (around line 44): >${exec_prefix}/bin/imapd Maildir" >Change it to >${exec_prefix}/bin/imapd ." >And see what happens. This is useful if you have the homedir >defined >as /some/home/dir/Maildir (and it does exist). ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users