Re: [courier-users] Outlook weirdness
On Tuesday, April 20, 2004, at 08:02 PM, Drew Gibson wrote: The poor dweebs in our office recently suffered the wrath of the Sales Manager thanks to Outlook. A quick google on outlook 2gb limit might be revealing. Microsoft expects you to lose data when a mail box exceeds 2GB. Could this be it? This doesn't appear to be the case. The mail only totals 350MB on the server when doing a 'du -hs' in Maildir/cur. 607MB in the total directory structure of this Maildir and subfolders. But thanks for the reply. snip --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Maildrop: Completely unable to delete mail.
I'm getting to the point where I am entirely happy to grovel for assistance. As with many folk I'm using SpamAssassin and want to delete certain mails. I have checked the lists, and come up with a number of methods. None of them actually work - whatever I try, the mail _always_ gets requeued for another delivery attempt. Eventually it bounces, which given the fact that most headers are faked gives me some problems. Here are the things I've tried: First Try: --- if ( /^X-Spam-Level: *\*\*\*\*\*/ ) { log MCS - Identified SPAM for immediate delete EXITCODE=99 exit } This requeues the message with the log file containing the MCS - line only. Second Try: -- if ( /^X-Spam-Level: *\*\*\*\*\*/ ) { log MCS - Identified SPAM for immediate delete exception { to /dev/null } } This requeues the mail, leaving this in the log file: MCS - Identified SPAM for immediate delete Date: Wed Apr 21 09:28:17 2004 From: Courier mail server at zhar.savigear.com @ Subj: NOTICE: mail delivery status. File:/dev/null (11094) Third Try: -- if ( /^X-Spam-Level: *\*\*\*\*\*/ ) { log MCS - Identified SPAM for immediate delete # This scipt silently drops the message content #to |path/to/autotrash.py exception { to /dev/null } } The script itself just reads stdin and does nothing with the result. This requeues the mail, leaving one of two options in the log file depending on the exit code of the script. For a 0 exit code: MCS - Identified SPAM for immediate delete Date: Wed Apr 21 09:28:17 2004 From: Courier mail server at zhar.savigear.com @ Subj: NOTICE: mail delivery status. File:|/path/to/autotrash.py If the script exits with a 99 code, the last line reads Err!:|/path/to/autotrash.py Note that I have no maildroprc set in my global settings. Thanks in advance for your help, Matt. --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Maildrop: Completely unable to delete mail.
Dear Matt, Here is what I think your problem is: Matt Savigear wrote: I'm getting to the point where I am entirely happy to grovel for assistance. As with many folk I'm using SpamAssassin and want to delete certain mails. I have checked the lists, and come up with a number of methods. None of them actually work - whatever I try, the mail _always_ gets requeued for another delivery attempt. Eventually it bounces, which given the fact that most headers are faked gives me some problems. Here are the things I've tried: First Try: --- if ( /^X-Spam-Level: *\*\*\*\*\*/ ) { log "MCS - Identified SPAM for immediate delete" EXITCODE=99 exit } This requeues the message with the log file containing the "MCS - " line only. Second Try: -- if ( /^X-Spam-Level: *\*\*\*\*\*/ ) { log "MCS - Identified SPAM for immediate delete" exception { to /dev/null } } This requeues the mail, leaving this in the log file: MCS - Identified SPAM for immediate delete Date: Wed Apr 21 09:28:17 2004 From: "Courier mail server at zhar.savigear.com" @ Subj: NOTICE: mail delivery status. File:/dev/null (11094) I do not know for the above examples, cause I do not use SpamAssassin yet, but it seems to me that you are using an example path in the production: Third Try: -- if ( /^X-Spam-Level: *\*\*\*\*\*/ ) { log "MCS - Identified SPAM for immediate delete" # This scipt silently drops the message content #to "|path/to/autotrash.py" exception { to /dev/null } } The script itself just reads stdin and does nothing with the result. This requeues the mail, leaving one of two options in the log file depending on the exit code of the script. For a 0 exit code: MCS - Identified SPAM for immediate delete Date: Wed Apr 21 09:28:17 2004 From: "Courier mail server at zhar.savigear.com" @ Subj: NOTICE: mail delivery status. File:|/path/to/autotrash.py If the script exits with a 99 code, the last line reads Err!:|/path/to/autotrash.py Note that I have no maildroprc set in my global settings. Thanks in advance for your help, Matt. So, I would suggest that you first try to find where is exactly located that autotrash.py and to enter it's actual path into above mentioned script. Hope this helps. Best regards, Zoran --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470_id=3638=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Maildrop: Completely unable to delete mail.
So, I would suggest that you first try to find where is exactly located that autotrash.py and to enter it's actual path into above mentioned script. Sorry, that was me editing the log file entry because the original file path caused a line-wrap and made the example untidy in the mail. The actual script is being called correctly in my setup. Matt. --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Maildrop: Completely unable to delete mail.
I had a similar problem, being unable to alias an address to /dev/null, so I created a shell script (cat /dev/null) and aliased to that (|tonull.sh) I just tried this, but I get the same result as calling my python script: The log file suggests the mail has been delivered but the message gets requeued. Cheers, Matt. --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Maildrop: Completely unable to delete mail.
On Wednesday 21 April 2004 08:52, Matt Savigear wrote: I'm getting to the point where I am entirely happy to grovel for assistance. As with many folk I'm using SpamAssassin and want to delete certain mails. I have checked the lists, and come up with a number of methods. None of them actually work - whatever I try, the mail _always_ gets requeued for another delivery attempt. Eventually it bounces, which given the fact that most headers are faked gives me some problems. to /dev/null won't work because of how courier tries to deliver mail. It has to do with file locking I think - but the end result is it won't work. I'm not sure why you're having trouble with the others. Here's what I do (YMMV). I've got a user in my userdb called null. In null's $HOME directory there's a .courier file with a single newline (\n) in it (a NON-empty .courier file). When I want to drop a message I send it to null and it disappears. Hope that helps. Jeff Jansen --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] RE: Determining Courier version programmatically
Jon Nelson [EMAIL PROTECTED] wrote: On Tue, 20 Apr 2004, Lloyd Zusman wrote: Just change VERSION to COURIER_COPYRIGHT in the patch. % courier --version Courier 0.45.4.20040411 Copyright 1999-2004 Double Precision, Inc. THAT is PERFECT. Now that patch needs to be applied to most anything that a user would run. One of these days I'll look into adding a --help/-h/-? option as well. Well, the initial point of my request was how to determine the Courier version programmatically. I need this to automatically decide which features of Courier are available, i.e. which ones I can depend on. Sam Varshavchik [EMAIL PROTECTED] wrote: 'imapd --version' generates useful output. That's the imapd in bin, not in sbin. | io:~ /usr/bin/imapd --version | Courier 0.45.4 (Courier-IMAP 3.0.3)/i686-pc-linux-gnu/Tue Apr 6 14:24:50 CEST 2004 0.45.4 is about as precise a version number as is useful for the purpose. 0.45 definitely is too imprecise. 0.45.4.20040411 would be fine, but I don't think the extra precision is needed for programmatically deciding which Courier features are available. Besides, I think the --version behavior should, for all intents and purposes, be consistent between `imapd` and `courier`. --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] ISO-8859-2
When I run webmail there is information: You are using ISO-8859-2 character set, but your display is ISO-8859-2, some characters may not be displayed properly Which is a bug -- Maciek Fijalkowski Dzia³ Sieciowy ICM, Uniwersytet Warszawski [EMAIL PROTECTED](+48 22) 5520527, 8268009, fax 8284195 http://www.net.icm.edu.pl/ --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Forward
1. Bug report - when forwarding message in webmail subject header is not properly encoded (it appears if I use for example ISO-8859-2 characters) 2. Feature request - I think that not all of headers should be forwarded, take a look for example how pine deals with it. -- Maciek Fijalkowski Dzia³ Sieciowy ICM, Uniwersytet Warszawski [EMAIL PROTECTED](+48 22) 5520527, 8268009, fax 8284195 http://www.net.icm.edu.pl/ --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Maildrop: Completely unable to delete mail.
Jeff Jansen wrote: On Wednesday 21 April 2004 08:52, Matt Savigear wrote: I'm getting to the point where I am entirely happy to grovel for assistance. As with many folk I'm using SpamAssassin and want to delete certain mails. I have checked the lists, and come up with a number of methods. None of them actually work - whatever I try, the mail _always_ gets requeued for another delivery attempt. Eventually it bounces, which given the fact that most headers are faked gives me some problems. I've got a user in my userdb called "null". In null's $HOME directory there's a .courier file with a single newline (\n) in it (a NON-empty .courier file). When I want to drop a message I send it to "null" and it disappears. Hope that helps. WRT preventing spam from being delivered, I think another option that many people use are global filters... especially relating to amavis. Being that spam trapping is a not-so-precise art, however, I personally tend to just drop them into a common folder (ala Junk) and have jobs to monitor them and clean up on a regular basis -- allows me to ignore if I wish or review in case of false positives. But back to my original point: the amavis/global filter approach, while it can't modify the content of the message when used as a global filter, enables the rejection of spam much earlier in the process. The only possible drawback would be that it might not be capable of rejecting it without returning an error to the client during SMTP submission... but if this is not an issue, it might be a useful alternative. Bill --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470_id=3638=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Maildrop: Completely unable to delete mail.
--On Mittwoch, 21. April 2004 09:52 +0100 Matt Savigear [EMAIL PROTECTED] wrote: if ( /^X-Spam-Level: *\*\*\*\*\*/ ) { log MCS - Identified SPAM for immediate delete EXITCODE=99 exit } This requeues the message with the log file containing the MCS - line only. Thats the expected, and not really related to maildrop. Use EXITCODE=0 instead, see the manpage of dot-courier(5). Roland --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] sendmail error 450?
After a recent courier upgrde to .45.x (I'm running .4 but it started with the .45 series), the commandline sendmail wrapper seems to be working oddly or not at all.. if I type: sendmail [EMAIL PROTECTED] where [EMAIL PROTECTED] and __.__ are of course just @ and . I get: 450 Service temporarily unavailable. [EMAIL PROTECTED]: invalid address. Did I miss something in the config files when I upgraded? (maybe the rpm overwrote something with defaults at some point?) a quick search on the error brings up auth issues (I have smtp auth enabled, but it used to let localhost send without authenticating) -Chris --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Maildrop: Completely unable to delete mail.
Thats the expected, and not really related to maildrop. Use EXITCODE=0 instead, see the manpage of dot-courier(5). Sorry, another negative - I tried the exitcode of zero and got the same result as that for a code of 99. The log file notes that the spam has been identified, so but the message is requeued all the same. Matt. --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] sendmail error 450?
Chris Petersen wrote: After a recent courier upgrde to .45.x (I'm running .4 but it started with the .45 series), the commandline sendmail wrapper seems to be working oddly or not at all.. if I type: sendmail [EMAIL PROTECTED] where [EMAIL PROTECTED] and __.__ are of course just @ and . you cannot send a spamtrap email address to a mailing list? makes no sense... I get: 450 Service temporarily unavailable. [EMAIL PROTECTED]: invalid address. 450 Service temporarily unavailable. typically means that it cannot connect to the backend, is this only with the sendmail? are you sure its running the new version? in the right place? everything looks like proper permissions? are you sure that this is the courier sendmail? Did I miss something in the config files when I upgraded? (maybe the rpm overwrote something with defaults at some point?) a quick search on the error brings up auth issues (I have smtp auth enabled, but it used to let localhost send without authenticating) -Chris --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] sendmail error 450?
you cannot send a spamtrap email address to a mailing list? makes no sense... Everything runs on my dsl line. Even the connections coming in that get denied will slow down my connection. 450 Service temporarily unavailable. typically means that it cannot connect to the backend, is this only with the sendmail? are you sure its running the new version? in the right place? everything looks like proper permissions? are you sure that this is the courier sendmail? As far as I know, everything is running. After all, I can send this message. Versions are all fine, and the only sendmail on the system that isn't a symlink is /usr/lib/courier/bin/sendmail (rpm makes sure that I don't have any stray old versions laying around) As for permissions, etc. I don't know. But now that you mention it, root seems to be able to run sendmail just fine, but my normal user gets the error. What would this mean? -Chris --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] sendmail error 450?
Chris Petersen wrote: you cannot send a spamtrap email address to a mailing list? makes no sense... Everything runs on my dsl line. Even the connections coming in that get denied will slow down my connection. 450 Service temporarily unavailable. typically means that it cannot connect to the backend, is this only with the sendmail? are you sure its running the new version? in the right place? everything looks like proper permissions? are you sure that this is the courier sendmail? As far as I know, everything is running. After all, I can send this message. Versions are all fine, and the only sendmail on the system that isn't a symlink is /usr/lib/courier/bin/sendmail (rpm makes sure that I don't have any stray old versions laying around) As for permissions, etc. I don't know. But now that you mention it, root seems to be able to run sendmail just fine, but my normal user gets the error. What would this mean? probably the sticky bit on your sendmail is wrong it should look something like this 28 -r-s--x--x1 root daemon 28120 Apr 6 08:42 /usr/sbin/sendmail -Chris --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: Outlook weirdness
Clint Byrum writes: On Tuesday, April 20, 2004, at 08:02 PM, Drew Gibson wrote: The poor dweebs in our office recently suffered the wrath of the Sales Manager thanks to Outlook. A quick google on outlook 2gb limit might be revealing. Microsoft expects you to lose data when a mail box exceeds 2GB. Could this be it? This doesn't appear to be the case. The mail only totals 350MB on the server when doing a 'du -hs' in Maildir/cur. 607MB in the total directory structure of this Maildir and subfolders. More importantly, how big is the .pst file for said Outlook Mail Account? (p.s. don't rely too much on the 2 GB figure - Outlook will crap out at various random sizes, or number of messages...) jerry --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] sendmail error 450?
probably the sticky bit on your sendmail is wrong it should look something like this 28 -r-s--x--x1 root daemon 28120 Apr 6 08:42 /usr/sbin/sendmail looks set to me: -r-s--x--x 1 root daemon 140187 Apr 6 21:07 /usr/lib/courier/bin/sendmail* -Chris --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Maildrop: Completely unable to delete mail.
On Wed, 21 Apr 2004 [EMAIL PROTECTED] wrote: --On Mittwoch, 21. April 2004 09:52 +0100 Matt Savigear [EMAIL PROTECTED] wrote: if ( /^X-Spam-Level: *\*\*\*\*\*/ ) { log MCS - Identified SPAM for immediate delete EXITCODE=99 exit } This requeues the message with the log file containing the MCS - line only. Thats the expected, and not really related to maildrop. Use EXITCODE=0 instead, see the manpage of dot-courier(5). Um, no it isn't [expected]. First of all, EXITCODE of 99 means (and I quote *from* the dot-courier manpage): If the external command terminates with the exit code of 99, any additional delivery instructions in the file are NOT executed, but the message is considered to be successfully delivered. *If* you use an EXITCODE of 0 (as you suggest), this is what happens (again, quoting): If the external command terminates with the exit code of zero, the next delivery instruction is executed. If the command was the last delivery instruction in the file, the message is considered to be successfully delivered. So. *If* multiple delivery instructions are present, an exit code of 0 will continue with the next delivery instruction, whereas 99 will stop right there. Both are considered successful delivery exit codes. Any exit code other than 64, 65, 67, 68, 69, 70, 76, 77, 78, or 112 (or 0 or 99) is considered a *temporary* failure re-queues the message for delivery. -- Ensign Walnut approaches Dr. Crusher with caution... Jon Nelson [EMAIL PROTECTED] C and Python Code Gardener --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Courier ESMTPD Relaying Problem - need help
Hi all! I've installed the whole Courier Suite on my internet server. It uses authmysql to authorize users. This works fine for IMAP, POP3 and SMTP Authentification. So, it seems, that Courier uses the users and passwords saved in the MySQL database. But I've one small problem: Any mail coming into the system from outside will be rejected with a 513 Relaying denied. I've searched the web, mailinglists, FAQs but nobody seems to have this problem or has an answer. I think, the problem is, that the system always wants a authentification and it is unable to find out, which mail should be delivered locally. But I don't know, what I've to do, do reach this configuration. I wish to use virtual users and domains. Here is a small list of changes, that I've made in the default configuration. What did I forgot or what's wrong? In the database there is a user table and contains only one entry with a clear password, an existing maildir and homedir path, uid and gid as described in http://linuxfromscratch.org/pipermail/hints/2003-June/001733.html - I'm using this data to login to the mail system. In /etc/courier/aliases/users I've added a line for [EMAIL PROTECTED]:tabuser I'm not sure, what user I have to enter, because the virtual user in the database is identified by his email-address. So, I should use an email address there, but that is normally a forward, or? I tried both - neither a system user nor a virtual user works. In /etc/courier/esmtpd I've set AUTH_REQUIRED=0 AUTHMODULES=authdaemon ESMTPAUTH=LOGIN CRAM-MD5 /etc/courier/smtpaccess/default contains 127.0.0.1taballow,RELAYCLIENT serveriptaballiw,RELAYCLIENT I thought the AUTH_REQUIRED=0 parameter means that the system doesn't need to authorize. Hmm, I'm confused. I've added domain and .domain to /etc/courier/hosteddomains. No reaction... Where should virtual domains via MySQL should be defined. Where is the map of local users and how can I use MySQL to Thanks for any help Thoralf --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
RE: [courier-users] Courier ESMTPD Relaying Problem - need help
From: Thoralf Rickert [mailto:[EMAIL PROTECTED] But I've one small problem: Any mail coming into the system from outside will be rejected with a 513 Relaying denied. I've searched the web, mailinglists, FAQs but nobody seems to have this problem or has an answer. I think, the problem is, that the system always wants a authentification and it is unable to find out, which mail should be delivered locally. But I don't know, what I've to do, do reach this configuration. I wish to use virtual users and domains. Here is a small list of changes, that I've made in the default configuration. What did I forgot or what's wrong? [SNIP] In /etc/courier/esmtpd I've set AUTH_REQUIRED=0 AUTHMODULES=authdaemon ESMTPAUTH=LOGIN CRAM-MD5 /etc/courier/smtpaccess/default contains 127.0.0.1taballow,RELAYCLIENT serveriptaballiw,RELAYCLIENT I thought the AUTH_REQUIRED=0 parameter means that the system doesn't need to authorize. Hmm, I'm confused. I've added domain and .domain to /etc/courier/hosteddomains. No reaction... Where should virtual domains via MySQL should be defined. Where is the map of local users and how can I use MySQL to Add domain and .domain to a file in '/etc/courier/esmtpacceptmailfor.dir'. Then run 'makeacceptmailfor'. 'man makeacceptmailfor' will give you more details. hosteddomains -- domains that are hosted by your server. esmtpacceptmailfor -- domains that are accepted for delivery by your server. These lists are not necessarily the same. Bowie --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Maildrop: requeue of mail after successful delivery
I'm beginning to wonder if there's something wrong with my entire .mailfilter. It seems that anything not delivered to the default address (./.maildir) is being requeued regardless of what happens to it. Am I doing something really stupid? Here is my .courier file: |/usr/bin/maildrop Here is my .mailfilter as it currently stands: - # This is the mailfilter file to be used by maildrop on delivery # Set up logging logfile /home/matt/maildroplog.txt # Drop stuff from credit card into financial folder if( /^To: *[email protected]*/ ) { log MCS - Delivering to Financial to ./.maildir/.General.Financial } # For everyting else: Run through SpamAssassin exception { xfilter /usr/bin/spamc -u matt } # If we get a spam level of 5 or more, just bin it if ( /^X-Spam-Level: *\*\*\*\*\*/ ) { log MCS - Identified SPAM for immediate delete # Silently drop the message content #to |/home/matt/data/Development/MailScripts/autotrash.py #to |/home/matt/tonull #EXITCODE=99 #exit to ./.maildir/.Trash } # If we get less extreme spam, file in spam folder if ( /^X-Spam-Flag: *Yes/ ) { to ./.maildir/.Spam } - Currently spam is being sent to my Trash folder, but the mails are still showing up in the mail queue. I have no idea what is going on here, but I hope I've just done something dumb and easily fixed... Cheers, Matt. --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Courier ESMTPD Relaying Problem - need help
Add domain and .domain to a file in '/etc/courier/esmtpacceptmailfor.dir'. Argh - I forgot that command :( Okay - THANKS! Now messages are accepted (currently not really delivered, but this is a maildrop problem). bye Thoralf --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Re: ISO-8859-2
Maciek Fijalkowski writes: When I run webmail there is information: You are using ISO-8859-2 character set, but your display is ISO-8859-2, some characters may not be displayed properly Which is a bug And the bug being that you did not compile support for the iso-8859-2 character set, but you are still using it. You must use the --enable-unicode option, accordingly. pgp0.pgp Description: PGP signature
Re: [courier-users] Maildrop: requeue of mail after successful delivery - SOLVED
I have just recompiled courier after removing the modest optimisations I usually apply, and it seems to have fixed the problem. Apparently maildrop is sensitive to these things, causing it to exit with an 0x06 after processing a message - hence the requeue of mails. Thanks to those who sent suggestions. Matt. --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Re: ISO-8859-2
On Wed, 21 Apr 2004, Sam Varshavchik wrote: Question for Debian package maintainer: You must use the --enable-unicode option, accordingly. Do Debian packages contain courier compiled with this option? -- Grzegorz Janoszka --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Error compiling
I'm running Solaris 9 x86 and attempts to install courier-imap. I followed the INSTALL instructions but keep getting the below error messages. I have db and gdbm installed, I ran ./configure and there was no error, however, when running make and make check, the below shows up. What am I missing? Do I need something in my LD_LIBRARY_PATH? or such? $ make make[2]: *** [gdbmobj.o] Error 1 make[2]: Leaving directory `/export/tmp/courier-imap-3.0.3/gdbmobj' make[1]: *** [all] Error 2 make[1]: Leaving directory `/export/tmp/courier-imap-3.0.3/gdbmobj' make: *** [all-recursive] Error 1 $ make check make[1]: *** [bdbobj.o] Error 1 make[1]: Leaving directory `/export/tmp/courier-imap-3.0.3/bdbobj' make: *** [check-recursive] Error 1 Thanks. - Mike --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] SqWebMail login vs From: address
Hi again folks, I seem to have distilled my problems so far down to one small one: I need SqWebMail (the webmail which comes with Courier) to use a 'From:' adress which is different from the login name. Example: I log into SqWebMail (and by extension, all other Courier services) with userid 'thornel'. It is explicitly forbidden by company policy that I send email as: '[EMAIL PROTECTED]', instead I must use '[EMAIL PROTECTED]' The former address cannot appear in the title-bar at the top of the Webmail UI, and it cannot appear in the 'from' field in the webmail composer, even if it gets changed later on by a filter of some kind. It's worth noting that some users *on the same server* will log in, for example, as: 'wendys', but need to see and use the from address '[EMAIL PROTECTED]', i.e. they will need to come from a different domain. I'm willing to do a moderate amount of C coding if necessary to get this to happen, but it needs to happen if I am to use Courier at all here. The features of SqWebMail and their integration with Courier are what drew me to Courier in the first place. Any help would be appreciated. Thanks. _ Thorne Lawler Senior Systems Administrator t: +61 3 8329 2026 f: +61 3 9326 7588 e: [EMAIL PROTECTED] Microlistics A Dawson Group Company www.microlistics.com.au _ --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Error compiling
On Thu, 2004-04-22 at 09:57, Mike's List wrote: $ make make[2]: *** [gdbmobj.o] Error 1 Is there nothing between those two lines? --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Error compiling
Here's the entire thing, I didn't caught the other errors, I tought it was a directory problem and move it to /tmp to be safe... Regards, - Mike $ make make all-gmake-check FOO=BAR make[1]: Entering directory `/tmp/courier-imap-3.0.3' make[1]: Leaving directory `/tmp/courier-imap-3.0.3' Making all in numlib make[1]: Entering directory `/tmp/courier-imap-3.0.3/numlib' make all-am make[2]: Entering directory `/tmp/courier-imap-3.0.3/numlib' make[2]: Leaving directory `/tmp/courier-imap-3.0.3/numlib' make[1]: Leaving directory `/tmp/courier-imap-3.0.3/numlib' Making all in gdbmobj make[1]: Entering directory `/tmp/courier-imap-3.0.3/gdbmobj' make all-am make[2]: Entering directory `/tmp/courier-imap-3.0.3/gdbmobj' Compiling gdbmobj.c In file included from gdbmobj.c:10: gdbmobj.h:11:25: gdbm.h: No such file or directory In file included from gdbmobj.c:10: gdbmobj.h:20: error: parse error before GDBM_FILE gdbmobj.h:20: warning: no semicolon at end of struct or union gdbmobj.h:24: error: parse error before '}' token gdbmobj.c: In function `gdbmobj_init': gdbmobj.c:23: error: dereferencing pointer to incomplete type gdbmobj.c:24: error: dereferencing pointer to incomplete type gdbmobj.c:25: error: dereferencing pointer to incomplete type gdbmobj.c: In function `gdbmobj_close': gdbmobj.c:30: error: dereferencing pointer to incomplete type gdbmobj.c:32: error: dereferencing pointer to incomplete type gdbmobj.c:33: error: dereferencing pointer to incomplete type gdbmobj.c:35: error: dereferencing pointer to incomplete type gdbmobj.c:37: error: dereferencing pointer to incomplete type gdbmobj.c:38: error: dereferencing pointer to incomplete type gdbmobj.c: In function `gdbmobj_open': gdbmobj.c:44: error: `GDBM_READER' undeclared (first use in this function) gdbmobj.c:44: error: (Each undeclared identifier is reported only once gdbmobj.c:44: error: for each function it appears in.) gdbmobj.c:50: error: `GDBM_WRCREAT' undeclared (first use in this function) gdbmobj.c:54: error: `GDBM_WRITER' undeclared (first use in this function) gdbmobj.c:58: error: `GDBM_NEWDB' undeclared (first use in this function) gdbmobj.c:63: error: dereferencing pointer to incomplete type gdbmobj.c:70: error: dereferencing pointer to incomplete type gdbmobj.c:76: error: dereferencing pointer to incomplete type gdbmobj.c: In function `gdbmobj_store': gdbmobj.c:87: error: `datum' undeclared (first use in this function) gdbmobj.c:87: error: parse error before dkey gdbmobj.c:90: error: `dkey' undeclared (first use in this function) gdbmobj.c:93: error: `dval' undeclared (first use in this function) gdbmobj.c:96: error: dereferencing pointer to incomplete type gdbmobj.c:96: error: dereferencing pointer to incomplete type gdbmobj.c:98: error: `GDBM_INSERT' undeclared (first use in this function) gdbmobj.c:98: error: `GDBM_REPLACE' undeclared (first use in this function) gdbmobj.c: In function `gdbmobj_exists': gdbmobj.c:103: error: `datum' undeclared (first use in this function) gdbmobj.c:103: error: parse error before dkey gdbmobj.c:105: error: dereferencing pointer to incomplete type gdbmobj.c:107: error: `dkey' undeclared (first use in this function) gdbmobj.c:110: error: dereferencing pointer to incomplete type gdbmobj.c: In function `gdbm_dofetch': gdbmobj.c:166: error: `datum' undeclared (first use in this function) gdbmobj.c:166: error: parse error before dkey gdbmobj.c:168: error: dereferencing pointer to incomplete type gdbmobj.c:170: error: `dkey' undeclared (first use in this function) gdbmobj.c:173: error: `val' undeclared (first use in this function) gdbmobj.c:173: error: dereferencing pointer to incomplete type make[2]: *** [gdbmobj.o] Error 1 make[2]: Leaving directory `/tmp/courier-imap-3.0.3/gdbmobj' make[1]: *** [all] Error 2 make[1]: Leaving directory `/tmp/courier-imap-3.0.3/gdbmobj' make: *** [all-recursive] Error 1 On Thu, 22 Apr 2004, David Newall wrote: On Thu, 2004-04-22 at 09:57, Mike's List wrote: $ make make[2]: *** [gdbmobj.o] Error 1 Is there nothing between those two lines? --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] sendmail error 450?
On Thu, 2004-04-22 at 03:06, Chris Petersen wrote: -r-s--x--x 1 root daemon 140187 Apr 6 21:07 /usr/lib/courier/bin/sendmail* Are you running /usr/lib/courier/bin/sendmail or a sendmail from somewhere else? Run ls -l `which sendmail` to find out. --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Error compiling
On Thu, 2004-04-22 at 12:17, Mike's List wrote: $ make ... Compiling gdbmobj.c In file included from gdbmobj.c:10: gdbmobj.h:11:25: gdbm.h: No such file or directory That's the problem. (No gdbm.h.) Did you let configure work out the dbm library for itself, or did you tell it to use gdbm? Do you actually have gdbm installed? --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Error compiling
On Thu, 22 Apr 2004, David Newall wrote: On Thu, 2004-04-22 at 12:17, Mike's List wrote: $ make ... Compiling gdbmobj.c In file included from gdbmobj.c:10: gdbmobj.h:11:25: gdbm.h: No such file or directory That's the problem. (No gdbm.h.) Did you let configure work out the dbm library for itself, or did you tell it to use gdbm? Do you actually have gdbm installed? I have both db and gdbm installed and just ran ./configure and let configure figure it out. Perhaps I need to be more specific to help configure? - Mike --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Error compiling
On Thu, 2004-04-22 at 12:33, Mike's List wrote: I have both db and gdbm installed and just ran ./configure and let configure figure it out. Around line 11 of gdbmobj/gdbmobj.h reads: #includegdbm.h Change that to #includegdbm.h --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Error compiling
On Thu, 22 Apr 2004, David Newall wrote: On Thu, 2004-04-22 at 12:17, Mike's List wrote: $ make ... Compiling gdbmobj.c In file included from gdbmobj.c:10: gdbmobj.h:11:25: gdbm.h: No such file or directory That's the problem. (No gdbm.h.) Did you let configure work out the dbm library for itself, or did you tell it to use gdbm? Do you actually have gdbm installed? I think I found the problem in the FAQ, as I'm using OpenPKG and stuff get installed in /openpkg directory and not the standard /usr/local/lib, etc. But to be safe, before running ./configure, I installed GDBM and DB via sunfreeware.com as well, so there should be something in /usr/local to compare with. Regards, - Mike --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Error compiling
On Thu, 22 Apr 2004, David Newall wrote: On Thu, 2004-04-22 at 12:33, Mike's List wrote: I have both db and gdbm installed and just ran ./configure and let configure figure it out. Around line 11 of gdbmobj/gdbmobj.h reads: #includegdbm.h Change that to #includegdbm.h I edited all the files and changed the to still yields the same error messages. - Mike --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Forwarding to an address in another domain - no such domain
I want to forward a text message to a paging network, à la [EMAIL PROTECTED] I have an entry in my aliases file: [EMAIL PROTECTED]: [EMAIL PROTECTED] I'm seeing this in my logfile: Apr 21 21:18:34 hermes courierd: started,id=0003F08B.4087479A.60F0,from=[EMAIL PROTECTED],module=esmtp,host=verizon.net,addr=[EMAIL PROTECTED] Apr 21 21:18:34 hermes courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=1, inprogress=1 Apr 21 21:18:34 hermes courieresmtp: id=0003F08B.4087479A.60F0,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED]: No such domain. Apr 21 21:18:34 hermes courieresmtp: id=0003F08B.4087479A.60F0,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED],status: failure Playing around with things, it seems as if Courier doesn't like forwarding to a non-hosted domain address - how can I make this work? Thanks. --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users