[courier-users] Flaw / implicit size limit in maildirquota system?
Hi all, I'm using courier-0.49.0 and must say I like it very much, but... When trying to set a maildir quota size limit with maildirmake -q sizelimit ./Maildir I run in to the following problem: When setting the size to 2147483648S (that is 2 x 1024^3, or 2 GBytes) the ./Maildir/maildirsize file is generated with an empty first line where the quota should be. Setting it to 2147483647S (one bytes less than 2 GB) works like a charm... Further expiriments have shown that the implicit size limit is 2147483647 bytes and that: - multiples of 2147483648 bytes result in an empty quota line in the ./Maildir/maildirsize file - values for 3,5,7,9 etc GB result in a quota of 1073741824 (1024^3, or 1GB) bytes. To me it seems a problem with a signed in stead of unsigned (long) integer somewhere, but I'm not enough of a programmer to pinpoint that from the source. This behaviour also goes for the IMAP server quota reporting. When manually entering 5368709120 bytes (5 GB) as the quota in the maildirsize file, the IMAP quota shows 1 GB. I can imagine that the same problem exists in other quota-dependent code like maildrop/deliverquota etc. Can anyone comfirm all this and if so... What can I do to solve this? Greetz, Vincent. --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] REPOST: Wildcard domains and webadmin?
Does anyone have thoughts about this query that I posted a day or so ago? Thanks. Repost: In the non-webadmin world, if I want courier to handle mail for all domains of the form example.com and *.example.com, I put the following two lines into esmtpacceptmailfor: example.com .example.com And in this same non-webadmin world, I believe that I only should be putting this into hosteddomains (i.e., leave the wildcard domain out of hosteddomains): example.com However, when using webadmin, I can't figure out how to cause this to occur. If on the Mail server name and local domains screen I add both example.com and .example.com to Locally-hosted domains, both esmtpacceptmailfor and hosteddomains end up looking like this: example.com .example.com I'd like to end up with both versions in esmtpacceptmailfor but only the non-wildcard version in hosteddomains. And I want nothing in locals, by the way. How do I make all this happen with webadmin? Thanks in advance. -- Lloyd Zusman [EMAIL PROTECTED] God bless you. --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Flaw / implicit size limit in maildirquota system?
Vincent Verhagen writes: This behaviour also goes for the IMAP server quota reporting. When manually entering 5368709120 bytes (5 GB) as the quota in the maildirsize file, the IMAP quota shows 1 GB. I can imagine that the same problem exists in other quota-dependent code like maildrop/deliverquota etc. Can anyone comfirm all this and if so... What can I do to solve this? Upgrade to a 64-bit operating system. You are running into the limitations of a 32-bit platforms. pgpmAMdSXERVc.pgp Description: PGP signature
Re: [courier-users] REPOST: Wildcard domains and webadmin?
Lloyd Zusman writes: Does anyone have thoughts about this query that I posted a day or so ago? Thanks. Repost: In the non-webadmin world, if I want courier to handle mail for all domains of the form example.com and *.example.com, I put the following two lines into esmtpacceptmailfor: example.com .example.com And in this same non-webadmin world, I believe that I only should be putting this into hosteddomains (i.e., leave the wildcard domain out of hosteddomains): example.com No, you also need .example.com there, too. pgpCyrPsxC6jm.pgp Description: PGP signature
Re: [courier-users] Flaw / implicit size limit in maildirquota system?
Sam Varshavchik wrote: Vincent Verhagen writes: This behaviour also goes for the IMAP server quota reporting. When manually entering 5368709120 bytes (5 GB) as the quota in the maildirsize file, the IMAP quota shows 1 GB. I can imagine that the same problem exists in other quota-dependent code like maildrop/deliverquota etc. Can anyone comfirm all this and if so... What can I do to solve this? Upgrade to a 64-bit operating system. You are running into the limitations of a 32-bit platforms. Hm, I thought that the largest value for an unsigned integer on a 32-bit platform would be 2^32 , e.g. 4294967296? For a signed integer it's 2^(32-1), or 2147483648; that's true. Anyway, wouldn't it be a better idea to specify the quota value in kilobytes or even megabytes? I can't think of a situation where I'd need the granularity of byte-level quota sizes. --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Flaw / implicit size limit in maildirquota system?
Vincent Verhagen writes: Sam Varshavchik wrote: Vincent Verhagen writes: This behaviour also goes for the IMAP server quota reporting. When manually entering 5368709120 bytes (5 GB) as the quota in the maildirsize file, the IMAP quota shows 1 GB. I can imagine that the same problem exists in other quota-dependent code like maildrop/deliverquota etc. Can anyone comfirm all this and if so... What can I do to solve this? Upgrade to a 64-bit operating system. You are running into the limitations of a 32-bit platforms. Hm, I thought that the largest value for an unsigned integer on a 32-bit platform would be 2^32 , e.g. 4294967296? For a signed integer it's 2^(32-1), or 2147483648; that's true. And the file offset datatype is a signed type. pgpdpyOOIijsx.pgp Description: PGP signature
Re: [courier-users] REPOST: Wildcard domains and webadmin?
In the non-webadmin world, if I want courier to handle mail for all domains of the form example.com and *.example.com, I put the following two lines into esmtpacceptmailfor: example.com .example.com And in this same non-webadmin world, I believe that I only should be putting this into hosteddomains (i.e., leave the wildcard domain out of hosteddomains): example.com No, you also need .example.com there, too. And my $.02 as to why it's this way: having two entries allows one to handle *.example.com differently than example.com. That's important. best, Jeff --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] smarthost in esmtproutes not followed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 People, I have an esmtproutes file like this: TAB: [$SMARTHOST_IP] I tried with nothing in front of the :, and with one space (chr32). Anyway, mail is not relayed through the smarthost, but MX records are looked up and used. What is wrong? Courier is version 0.48.2.20050203 (Gentoo ebuild). - -- Arturo Buanzo Busleiman - www.buanzo.com.ar - GNU/Linux Documentation President, Open Information System Security Group - Argentina Counter Manager for Argentina - Usas Linux? Anotate: http://counter.li.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCg22xAlpOsGhXcE0RAtGrAJ9HviKnfSowvZEwF0vg6rahGiAnzACfY+z0 Wbfy1tA+TILOguHJOwqfprU= =eKAj -END PGP SIGNATURE- begin:vcard fn:Arturo 'Buanzo' Busleiman n:Busleiman;Arturo org:OISSG, Linux Counter, Wholenet, SOLAR, CaFeLUG adr:BA;;Argentina email;internet:[EMAIL PROTECTED] title:President OISSG.Ar, Argentina Country manager Linux Counter x-mozilla-html:FALSE url:http://www.buanzo.com.ar version:2.1 end:vcard
Re: [courier-users] smarthost in esmtproutes not followed
Arturo 'Buanzo' Busleiman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 People, I have an esmtproutes file like this: TAB: [$SMARTHOST_IP] :[$SMARTHOST_IP] No Tab http://www.courier-mta.org/courier.html I tried with nothing in front of the :, and with one space (chr32). Anyway, mail is not relayed through the smarthost, but MX records are looked up and used. What is wrong? Courier is version 0.48.2.20050203 (Gentoo ebuild). --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[Fwd: Re: [courier-users] Flaw / implicit size limit in maildirquota system?]
VV :: By error mailed this to Sam only earlier this afternoon; this is for the mailing list. Sam Varshavchik wrote: Upgrade to a 64-bit operating system. You are running into the limitations of a 32-bit platforms. Hm, I thought that the largest value for an unsigned integer on a 32-bit platform would be 2^32 , e.g. 4294967296? For a signed integer it's 2^(32-1), or 2147483648; that's true. And the file offset datatype is a signed type. Now I'm a bit lost, I'm sorry... As far as I can see the value for maildir quota size has nothing to do with file offset. It's an arbitrary number that is calculated by the addition of the S=x values from maildir++ filenames or filesizes from stat(). Why not make that an unsigned long long int (64 bits) so the quota size limit can be much higher than 2^31? In my opinion this has nothing to do with platform type at all and is this simply a bug? --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: REPOST: Wildcard domains and webadmin?
Jeff Potter Wrote: Sam wrote: Lloyd Zusman wrote: [ ... ] And in this same non-webadmin world, I believe that I only should be putting this into hosteddomains (i.e., leave the wildcard domain out of hosteddomains): example.com No, you also need .example.com there, too. And my $.02 as to why it's this way: having two entries allows one to handle *.example.com differently than example.com. That's important. Thanks to both of you. For some reason, I never knew that wildcard domains were legal in hosteddomains. I think it's because I hadn't read the changes to the hosteddomains docs that you (Jeff) put in place 1-1/2 years ago (for 0.44.3, on 2003-11-23). But this brings up another question: how do I use webadmin to handle *.example.com exactly the same as example.com in the hosteddomains file? Specifically, how do I use webadmin to create wildcard DNS entries in hosteddomains per the Note at the bottom of this section in the documenation for makehosteddomains? ``WILDCARD DNS'' Wildcard DNS is supported for hosteddomains by placing a single period character before the domain name. For example, the hosted domain entry ``.domain.com'' will cause Courier to accept mail for ``anything.domain.com''. Courier will accept mail for [EMAIL PROTECTED] and attempt to deliver it to the local mailbox [EMAIL PROTECTED], and if that fails then attempt to deliver the mail to the local mailbox [EMAIL PROTECTED], then finally [EMAIL PROTECTED] Note: There is a period after the '@' character. If you want all mail for ``any.thing.domain.com'' to be delivered as though it were sent to ``domain.com'', you should define an alias for the domain, for example: domain.com .domain.comTABdomain.com In other words, how do I get an .example.comTABexample.com entry into hostededdomains via webadmin? Thanks. -- Lloyd Zusman [EMAIL PROTECTED] God bless you. --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] configure: WARNING:
ldap.h: present but cannot be compiled configure: WARNING: ldap.h: check for missing prerequisite headers? configure: WARNING: ldap.h: see the Autoconf documentation configure: WARNING: ldap.h: section Present But Cannot Be Compiled configure: WARNING: ldap.h: proceeding with the preprocessor's result configure: WARNING: ldap.h: in the future, the compiler will take precedence configure: WARNING: ## -- ## configure: WARNING: ## Report this to courier-users@lists.sourceforge.net ## configure: WARNING: ## -- ## checking for ldap.h... yes - Utiba Pty Ltd This message has been scanned for viruses and dangerous content by Utiba mail server and is believed to be clean. --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] FW: Courier users
Title: Message Hello, My Name is Noel I work fro Robert Half Technology in Philadelphia. I am looking for someone that has a strong Linux background that supported Courier Mail server. My business partner is working with Sam V on the same project. The client is in down town Philadelphia. Looking for people that has administered and supported 5 thousand users. Please call me on the below # I will give you more details. Noel Jeffrey Robert Half Technology Information Technology Professionals 1735 Market St., 25th FL Philadelphia, Pa 19103 (P) 215.568.1513 (F) 215.564.1968 email: Noel.Jeffrey@rht.com please visit our website at:www.rht.com
[courier-users] courier-mta + spamassassin : delete high spam
Hello, I'm using spamd + courier-mta Is it possible to delete email with high spam score ? thanks ! --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Orphaned messages in .../var/msgs/* without msgq/* queue files?
Greg Earle writes: On 5/6/05 9:07 PM, Sam Varshavchik [EMAIL PROTECTED] wrote: Greg Earle writes: This is a bit strange ... I've just discovered that on my production server (Courier 0.45.6) I've got a small bunch of old mails from a very particular timeframe (starting 9:54 PM March 27, last one 1:16 AM March 28) that somehow got trapped in their respective directories under .../courier/var/msgs/*, but they cannot be flushed because there are no longer corresponding entries for them under .../courier/var/msgq/*. I have no idea how this happened. Is there any way to flush these by hand, or otherwise generate msgq entries for them so that courier flush will flush them? (Or should I just silently delete them and hope no one will notice :-) ) Stop Courier, courier stop Delete them by hand, then courier start. Sorry Sam, I wasn't clear on my definition of flush ... what I meant was flush in the sense of flush them from the queue, i.e. to deliver them - not to delete/trash them. I was wondering if there was some way to take orphaned .../var/msgs/*/{C,D}* files that are missing their corresponding .../var/msgq/*/C*.* queue control file and somehow re-gen said ../var/msgq/*/C*.* queue files such that the orphaned messages can actually be delivered - I looked at some of these orphaned messages and, despite the late date I discovered them, should still be delivered. Well, the first step is to get the crap out of the queue directories. Instead of deleting the orphaned files, move them out of there someplace else. Once you have a clean mail queue, then you can figure out how to salvage whatever you've got left. If you don't have the D file -- the actual contents of the message -- you won't be able to magically restore it out of thin air, so there's nothing that you can do with the C file, alone. If you have the D file, but not the C file, you have the contents of the E-mail message, but you no longer have the message's sender address, and its recipient list. Although you can examine the message's headers and deduce the message's apparent return address and recipient list, it's going to be an educated guess at the most, because the message's headers do not necessary reflect its sender and recipients, after taking into account Bccs and forwarded. But, you should still be able to make a fairly good guess as to where the message came from and where it was supposed to go. Then, just take the message's D file, and run the sendmail command with the -f option giving the message's return address, and listing the apparent recipients on the command line. pgpKmFclGZ2Xs.pgp Description: PGP signature