Re: [courier-users] Classless reverse dns and mail delivery
On Thursday 03 September 2009 19:52:07 Joseph C. Lininger wrote: Good afternoon, This is done in a way such that a reverse lookup looks a little different than normal by introducing an extra CNAME lookup step (see example below) and I'm simply wondering if I could run into problems with certain smtp servers when delivering mail to them from my courier server (slash.sentinel.dk). You should have no problems as long as the resolver used by the mail server you're delivering to handles it properly. To my knowledge, all of them do. A cname is a perfectly reasonable response to a request for a ptr, and should just cause the resolver to restart the lookup with the name specified in the cname response. It results in some extra overhead, but that's a problem any time you use cname records. Thanks. What I was hoping to hear. :-) Best regards, Frederik Dannemare -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Classless reverse dns and mail delivery
Hi Sorry if this is slightly off-topic. For the first time I've had to deal with classless reverse dns for a /25 subnet assigned to me. Thus, I've asked my IP provider to delgate rdns for the entire /25 to my dns servers. This is done in a way such that a reverse lookup looks a little different than normal by introducing an extra CNAME lookup step (see example below) and I'm simply wondering if I could run into problems with certain smtp servers when delivering mail to them from my courier server (slash.sentinel.dk). frede...@fda-lenny:~$ host 95.128.25.121 121.25.128.95.in-addr.arpa is an alias for 121.0.25.128.95.in-addr.arpa. 121.0.25.128.95.in-addr.arpa domain name pointer slash.sentinel.dk. frede...@fda-lenny:~$ dig -x 95.128.25.121 ; DiG 9.5.1-P3 -x 95.128.25.121 ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 49385 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 0 ;; QUESTION SECTION: ;121.25.128.95.in-addr.arpa.IN PTR ;; ANSWER SECTION: 121.25.128.95.in-addr.arpa. 86394 INCNAME 121.0.25.128.95.in-addr.arpa. 121.0.25.128.95.in-addr.arpa. 10794 IN PTR slash.sentinel.dk. ;; AUTHORITY SECTION: 0.25.128.95.in-addr.arpa. 4918 IN NS ns01.sifira-ums.dk. 0.25.128.95.in-addr.arpa. 4918 IN NS ns02.sifira-ums.dk. ;; Query time: 0 msec ;; SERVER: 192.168.1.33#53(192.168.1.33) ;; WHEN: Thu Sep 3 16:34:37 2009 ;; MSG SIZE rcvd: 144 Best regards, Frederik Dannemare -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Alias and duplicate emails
On Tuesday 10 February 2009 16:34, fjar Uno al día wrote: Hi, just a small question, is there a way to avoid getting the same email twice when it's sent to you and an alias you're in? Many times users don't know exactly who's listed in the alias, and they think the server is duplicating emails. I can't seem to find anything about this in the mail list. Haven't tried it myself but I believe the noduplicates filter in Courier pythonfilter can help you. From http://phantom.dragonsdawn.net/~gordon/courier-pythonfilter/latest/README : noduplicates: If courier receives a message with multiple aliases that expand to the same address, the message may be delivered to that address multiple times. This module checks for, and removes the duplicates. B/R, Frederik Dannemare pgpbEnFeHExvP.pgp Description: PGP signature -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Log analyser for Courier mail logs
On Friday 23 January 2009 04:57, Tim Lyth wrote: Hi all, Apart from courier-analog, can anyone recommend any log analyser programs that can read courier mail logs? I use my own little analyzer to show me the things I care about. The code may not be as effective (speed-wise) as it could be, but it gets the job done and I'm happy with it. It's available at http://sentinel.dk/courier-mail-statistics.sh I simply run it once a week from cron. A weekly report looks like this: http://sentinel.dk/courier-mail-statistics.txt B/R, Frederik Dannemare -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] lost sent mails - monthly rotation
On Tuesday 18 November 2008 15:21, Lorenzo Perone wrote: Hi, I've had several cases of lost and/or misordered mails in the Sent maildir, actually this has been happening more than once in the combination between courier (v. 0.54.0) and, specifically, Apple's Mail client, both in its Leopard (3.5) incarnation, and in its Tiger version. I don't know who of the two (server or client) is actually reponsible for this, nonetheless, as you can imagine, it is very annoying to say the least. What happens is, that upon syncing over imap, the client loses many of its sent mails, or, I've seen also cases where they just were in the wrong auto-rotated month maildir. Anyone ever experienced this problem and came up with a solution / workaround? Could it be that the mail client is configured to only show subscribed folders? I've seen this multiple times with KMail, for instance. The cure in KMail is to merely deselect Show only subscribed folders for the IMAP account in question (alternatively, make sure to manually subscribe to new sent subfolders on a monthly basis or so). -- Frederik Dannemare - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Debian package of courier-pythonfilter available [WAS Re: greylisting]
On Thursday 30 October 2008 17:15, Frederik Dannemare wrote: Speaking of packages... I've just finished a Debian package of v1.4. I've been an official maintainer for the Debian Project for a couple of years (although I've been pretty much inactive for more than a year now), so the quality of my package should be good even if it's an initial release. I currently don't handle starting the filter post-installation as well as stopping of the filter if the package is later removed. Same for stopping and starting the filter between upgrades. That will come with the next release. All sources - as well as a binary .deb for i386 - is available at: http://sentinel.dk/linux/debian/packages/courier-pythonfilter/ I just did a new build (still named 1.4-1, though) with support for stopping and starting the filter at install/deinstall-time and between version upgrades. I also created two tiny man pages for pythonfilter and pythonfilter.quaratine just to make lintian shut up. :) Suggestions and general feedback is welcome. Output of build process (in case anybody is interested?) : [EMAIL PROTECTED]:~/debian/courier-pythonfilter-1.4$ dpkg-buildpackage -rfakeroot -k9D9A238E dpkg-buildpackage: source package is courier-pythonfilter dpkg-buildpackage: source version is 1.4-1 dpkg-buildpackage: source changed by Frederik Dannemare [EMAIL PROTECTED] dpkg-buildpackage: host architecture i386 dpkg-buildpackage: source version without epoch 1.4-1 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. python setup.py clean running clean rm -rf build/ dh_clean dpkg-source -b courier-pythonfilter-1.4 dpkg-source: building courier-pythonfilter using existing courier-pythonfilter_1.4.orig.tar.gz dpkg-source: building courier-pythonfilter in courier-pythonfilter_1.4-1.diff.gz dpkg-source: building courier-pythonfilter in courier-pythonfilter_1.4-1.dsc debian/rules build dh_testdir # Add here commands to configure the package. touch configure-stamp dh_testdir # Add here commands to compile the package. python setup.py build running build running build_py creating build creating build/lib creating build/lib/courier copying courier/authdaemon.py - build/lib/courier copying courier/control.py - build/lib/courier copying courier/__init__.py - build/lib/courier copying courier/config.py - build/lib/courier copying courier/xfilter.py - build/lib/courier copying courier/quarantine.py - build/lib/courier creating build/lib/pythonfilter copying filters/deliveredto.py - build/lib/pythonfilter copying filters/whitelist_relayclients.py - build/lib/pythonfilter copying filters/greylist.py - build/lib/pythonfilter copying filters/nosuccessdsn.py - build/lib/pythonfilter copying filters/localsenders.py - build/lib/pythonfilter copying filters/spamassassin.py - build/lib/pythonfilter copying filters/whitelist_auth.py - build/lib/pythonfilter copying filters/whitelist_dnswl.py - build/lib/pythonfilter copying filters/noduplicates.py - build/lib/pythonfilter copying filters/whitelist_block.py - build/lib/pythonfilter copying filters/ratelimit.py - build/lib/pythonfilter copying filters/__init__.py - build/lib/pythonfilter copying filters/privateaddr.py - build/lib/pythonfilter copying filters/attachments.py - build/lib/pythonfilter copying filters/TtlDb.py - build/lib/pythonfilter copying filters/quota.py - build/lib/pythonfilter copying filters/debug.py - build/lib/pythonfilter copying filters/clamav.py - build/lib/pythonfilter copying filters/whitelist_spf.py - build/lib/pythonfilter copying filters/dialback.py - build/lib/pythonfilter copying filters/spfcheck.py - build/lib/pythonfilter copying filters/comeagain.py - build/lib/pythonfilter copying filters/add_signature.py - build/lib/pythonfilter copying filters/auto_whitelist.py - build/lib/pythonfilter running build_scripts creating build/scripts-2.4 copying and adjusting pythonfilter - build/scripts-2.4 copying and adjusting pythonfilter-quarantine - build/scripts-2.4 changing mode of build/scripts-2.4/pythonfilter from 644 to 755 changing mode of build/scripts-2.4/pythonfilter-quarantine from 644 to 755 touch build-stamp fakeroot debian/rules binary dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/courier-pythonfilter. python setup.py install --root=debian/courier-pythonfilter running install running build running build_py running build_scripts running install_lib creating debian/courier-pythonfilter/usr/lib/python2.4 creating debian/courier-pythonfilter/usr/lib/python2.4/site-packages creating debian/courier-pythonfilter/usr/lib/python2.4/site-packages/courier copying build/lib/courier/authdaemon.py - debian/courier-pythonfilter/usr/lib/python2.4/site-packages/courier copying build/lib/courier/control.py - debian/courier-pythonfilter/usr/lib/python2.4/site-packages/courier copying build/lib/courier/__init__.py - debian
Re: [courier-users] greylisting
On Wednesday 29 October 2008 16:40, Gordon Messmer wrote: Frederik Dannemare wrote: I made these short notes when I installed it (a year ago, or so): Users should stick to the installation instructions in the README file. There are just five commands. :) True. My Bad. I simply had no recollection of the official installation instructions and somehow assumed they were extremely verbose (or something - I dunno really :-) ) and just wanted to provide my non-verbose personal notes (something I do for everything I install and/or configure, unless I know I will be able to remember every little detail of it years from now). It has saved me countless hours through the years... # Do not greylist certain good but bad-behaving servers. # whitelist_block must be active for this to be honoured. Sadly, that whitelist document is no longer available. Ah, bummer. Would it be worth including (in your courier-pythonfilter sources) whatever latest version you (or me or anybody else) have downloaded at some point? Best regards, Frederik Dannemare - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] greylisting
On Thursday 30 October 2008 16:35, Gordon Messmer wrote: Frederik Dannemare wrote: True. My Bad. I simply had no recollection of the official installation instructions and somehow assumed they were extremely verbose (or something - I dunno really :-) ) and just wanted to provide my non-verbose personal notes (something I do for everything I install and/or configure, unless I know I will be able to remember every little detail of it years from now). It has saved me countless hours through the years... Which is exactly why I package most software. ;) Speaking of packages... I've just finished a Debian package of v1.4. I've been an official maintainer for the Debian Project for a couple of years (although I've been pretty much inactive for more than a year now), so the quality of my package should be good even if it's an initial release. I currently don't handle starting the filter post-installation as well as stopping of the filter if the package is later removed. Same for stopping and starting the filter between upgrades. That will come with the next release. All sources - as well as a binary .deb for i386 - is available at: http://sentinel.dk/linux/debian/packages/courier-pythonfilter/ Sadly, that whitelist document is no longer available. Ah, bummer. Would it be worth including (in your courier-pythonfilter sources) whatever latest version you (or me or anybody else) have downloaded at some point? I suppose it might. I don't think I have a copy of it at all. For what it's worth I have made my nogreylisting file available at: http://sentinel.dk/files/etc_courier_smtpaccess_nogreylisting (however, it is at least one year old) Best regards, Frederik Dannemare pgpxfMIahnE3J.pgp Description: PGP signature - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] greylisting
On Sunday 26 October 2008 13:23, Tim Lyth wrote: I'm pretty sure that there's a .deb version of pythonfilter available somewhere - I run Debian, but I can't remember how I installed pythonfilter on my server. I made these short notes when I installed it (a year ago, or so): # Download and extract courier-pythonfilter # su - frederik wget http://phantom.dragonsdawn.net/~gordon/courier-pythonfilter/courier-pythonfilter-0.23.tar.gz tar zxf courier-pythonfilter-0.23.tar.gz logout # Run the setup step as root. # This will place files in /usr/lib/python2.4/site-packages/courier # and /usr/lib/python2.4/site-packages/pythonfilter. Also, a config file, # pythonfilter.conf, is placed in /etc, and pythonfilter itself is placed # in /usr/bin. # python setup.py install # Create custom config file. # cp /etc/pythonfilter.conf /etc/pythonfilter.conf.orig cat EOF /etc/pythonfilter.conf noduplicates auto_whitelist whitelist_relayclients whitelist_auth whitelist_block greylist EOF # Do not greylist certain good but bad-behaving servers. # whitelist_block must be active for this to be honoured. # wget -O - 'http://cvs.puremagic.com/viewcvs/*checkout*/greylisting/schema/whitelist_ip.txt?rev=1.16' \ | grep '^[[:digit:]]' | sed -e 's/[[:blank:]].*\|$/\tallow,BLOCK/' \ /etc/courier/smtpaccess/nogreylisting makesmtpaccess # A few extra manual steps are also required. # mkdir -p /var/state/pythonfilter chown daemon:daemon /var/state/pythonfilter ln -s /usr/bin/pythonfilter /usr/lib/courier/filters/ filterctl start pythonfilter Best regards, Frederik Dannemare - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] HELO with fully qualified domain name
On Friday 22 August 2008 09:14, Bernd Wurst wrote: On a debian system, you don't need to append the domain to /etc/hostname. Am am not a Debian admin but I have access to a debian machine with this config, verified this immediately. :) So there must be a way to specify the domain name the system lives in. Hi The answer to this one probably lies in /etc/hosts where I'm guessing the FQDN is found. From man 1 hostname on a Debian Etch system (and, I suppose, most other Linux platforms as well): THE FQDN You can’t change the FQDN (as returned by hostname --fqdn) or the DNS domain name (as returned by dnsdomainname) with this command. The FQDN of the system is the name that the resolver(3) returns for the host name. Technically: The FQDN is the name gethostbyname(2) returns for the host name returned by gethostname(2). The DNS domain name is the part after the first dot. Therefore it depends on the configuration (usually in /etc/host.conf) how you can change it. Usually (if the hosts file is parsed before DNS or NIS) you can change it in /etc/hosts. Best regards, Frederik Dannemare - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Web based mail archive interface for couriermlm
On Sunday 23 March 2008 01:51, Gordon Messmer wrote: Mark Constable wrote: Wondering if anyone is aware of any method for providing a web based searchable archive of mailing lists maintained by couriermlm? I did something like that for Mailman using these directions: http://wpkg.org/Integrating_Mailman_with_a_Swish-e_search_engine I'm pretty sure that something similar could be done for couriermlm. Maybe you could adapt that process and publish new documentation? 4-5 years ago I used Lurker with couriermlm. Liked it. Looking through some old notes, here is what I found: # (mailing list example is [EMAIL PROTECTED]) # Set at least 'admin_name' and 'admin_address' in /etc/lurker/lurker.conf # Add mailing list to /etc/lurker/lurker.conf.local: # group = lists heading = Mailing Lists list = svg_at_sentinel_dot_dk title = SVG List language = da address = [EMAIL PROTECTED] link = http://sentinel.dk/svg description = SVG Project Team Mailing List # Create sentinel.dk/svg/.mailfilter (chmod 600): # logfile maildrop-filter-log cc /home/courier/sentinel.dk/svg/lurker.mbox to | couriermlm msg Listdir # Run lurker-index every hour from cron: # 00 * * * * lurker-index -v -b 5 -l svg_at_sentinel_dot_dk -i /home/courier/sentinel.dk/svg/lurker.mbox B/R, Frederik Dannemare - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Kolab article.
On Monday 05 March 2007 18:27, Otto Solares wrote: On Mon, Mar 05, 2007 at 02:42:40PM +0100, Pawel Tecza wrote: Sam Varshavchik [EMAIL PROTECTED] writes: Pawel Tecza writes: [...] Pawel: We have 60,000+ Maildirs with XFS. Yeah, I would probably go with XFS as well. At my former workplace, we had more than 32000 customer mail boxes for a particular mail domain and with a typical mail directory structure (e.g. example.org/peter, example.org/john, example.org/jane, etc), one will run into a subdir limitation with ext3. For example, try this on an ext3 filesystem: mkdir /tmp/foo; cd /tmp/foo; for x in $(seq 1 32005); do mkdir $x; done You should see output similar to this: mkdir: cannot create directory `31999': Too many links mkdir: cannot create directory `32000': Too many links mkdir: cannot create directory `32001': Too many links mkdir: cannot create directory `32002': Too many links mkdir: cannot create directory `32003': Too many links mkdir: cannot create directory `32004': Too many links mkdir: cannot create directory `32005': Too many links -- B/R, Frederik Dannemare - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Kolab article.
On Tuesday 06 March 2007 12:02, Pawel Tecza wrote: Frederik Dannemare [EMAIL PROTECTED] writes: [...] Yeah, I would probably go with XFS as well. At my former workplace, we had more than 32000 customer mail boxes for a particular mail domain and with a typical mail directory structure (e.g. example.org/peter, example.org/john, example.org/jane, etc), one will run into a subdir limitation with ext3. What's the subdir limitation for XFS? Isn't the same like for ext3? It is higher, but I'm not sure how high, though. Just tested with 64000 subdirs on an XFS filesystem and it didn't complain. You can easy work-around a problem with the limitation adding subdirs for all your domains, e.g. example.org/001/peter, example.org/002/john, example.org/003/jane, etc. I agree that it seems a little more complicated, but if you store a path to users Maildir in a data base, that it's no problem. True. -- B/R, Frederik Dannemare - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] dovecot to courier-imap
On Monday 09 October 2006 21:09, Michael J. Knox wrote: Hi, I am currently using dovecot as an imap server. However, I would like to move to courier. I have looked around and not seen anything that strikes me as a potential problem. Has anyone here on this list performed this change themselves and could shed some light on potential issues that I might face? Can't say I have, but I'm curious about what made you decide to switch away from dovecot? I'm asking because I usually only see people do the opposite; namely migrating to dovecot from something else. Usually people state that they migrate to dovecot due to its light-weightness/speedyness, but being a happy courier-imap user/admin for several years, i have no idea whether it's actually the case or not. B/R, Frederik Dannemare - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Complete newbie
On Saturday 17 June 2006 16:23, Lloyd Zusman wrote: [ cut ] In summary, I guess I would say that it's not recommended to install courier on debian unless you use the unstable packages or else build it from source. Well, I have been running Courier SMTP/IMAP on Debian Stable ever since Woody was released in 2002. Haven't had a single problem worth mentioning. It's been rock solid for me in every aspect I can think of. Sure, I may be missing out on some of the newer features, but so far just I haven't had a need to upgrade (and should the need ever arise, I would probably just consider backporting the version from Unstable myself). In conclusion I'd say: Courier from Debian Stable will work for many, and they will be happy with it knowing that it's not a moving target (hence the word stable). And likely most bugs are already known (and there may be known workarounds for these) as opposed to brand new releases where vital code may have changed and new features have been added (with the possibility of breaking other things). New is not always better... B/R, Frederik Dannemare ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Content-Transfer-Encoding: 8bit in emails
Hi, this is not entirely a Courier matter, but more a general MIME question. The thing is, I use lurker to archive mails for a couriermlm list but when people post with these headers Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit it breaks the subject line (thus, breaking threading in lurker) when a subject line contains non-ASCII (e.g. Danish chars. æøåÆØÅ). See phenomenon on http://sentinel.dk/lurker/list/dansk-gruppen.da.html where a white space appears in the middle of a word in subject lines with æøåÆØÅ (only where mail is 8bit). Is this because people use 8bit (unencoded?) when they should in fact use Quoted-Printable instead? Thanks in advance, -- Frederik Dannemare | http://sentinel.dk | http://linuxworlddomination.dk http://qa.debian.org/developer.php?login=Frederik+Dannemare http://www.ubuntulinux.org/wiki/FrederikDannemare Key fingerprint = 30CF 7AD3 17D9 1A63 A730 ECA6 0D4C 2C97 9D9A 238E --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id5hix ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] To MX or not...
On Thursday 20 January 2005 09:54, Martijn Lievaart wrote: Julian Mehnle said: Jay Lee [EMAIL PROTECTED] wrote: You will lose mailinglist mail? Huh?? I never had such a problem. Why would that happen? After the mailtroubles are restored, I get a notification from the mailinglist which mails could not be delivered. In that sense you don't loose mail, you just have to get it yourself. [ snip ] And some mailing lists will also unsubscribe you after x number of mails that bounces, so one may also have to re-subscribe to some lists. I have seen this happen with lkml a couple of times. -- Frederik Dannemare | mailto:[EMAIL PROTECTED] http://qa.debian.org/developer.php?login=Frederik+Dannemare http://frederik.dannemare.net | http://www.linuxworlddomination.dk --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Courier::Filter 0.16
On Wednesday 19 January 2005 03:56, Scott wrote: Julian Mehnle wrote: Courier::Filter 0.16 has been released on CPAN[1]. The most important changes are: * Added the ClamAVd filter module for malware filtering using a ClamAV `clamd` dameon. Before I dive into this new release, does that mean that I can quit using amavis and instead use courier perl-filter to call clamd instead? Not that this answers your question, but you could also quit using amavis and instead head for ClamCour http://www.becrux.com/index.php?page=projectsname=clamcour. I discovered ClamCour myself only a couple of weeks ago and I have been very happy with it as a replacement for amavisd-new. On my Pentium 166MHz with only 32 MB RAM it really makes a difference as ClamCour is more light on CPU and memory usage. -- Frederik Dannemare | mailto:[EMAIL PROTECTED] http://qa.debian.org/developer.php?login=Frederik+Dannemare http://frederik.dannemare.net | http://www.linuxworlddomination.dk --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Why on earth is couriermlm case-sensitive (wrt. subscribers' addresses)?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have had to add several of my subscribers to a list more than once, because they sometimes use a mix of upper and lower case characters. E.g., if I manually subscribe a person as [EMAIL PROTECTED], but he writes to the list as [EMAIL PROTECTED], he will get a bounce with You are not subscribed to this mailing list. I have searched the list archives for an answer as to how one can overcome this problem, but without much luck. Any feedback on this issue will be much appreciated. Best regards, - -- Frederik Dannemare | mailto:[EMAIL PROTECTED] http://qa.debian.org/developer.php?login=Frederik+Dannemare http://frederik.dannemare.net | http://www.linuxworlddomination.dk Key fingerprint: BB7B 078A 0DBF 7663 180A F84A 2D25 FAD5 9C4E B5A8 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBNZrgLSX61ZxOtagRAvJqAJ448OvvSwvSYr3rprvwbLOybT2z5wCgi5Qk m0PMtFqxnM/YwAXvzGc4zik= =iqVf -END PGP SIGNATURE- --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47alloc_id808op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Why on earth is couriermlm case-sensitive (wrt. subscribers' addresses)?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 01 September 2004 13:10, Alex Titov wrote: Take a look at locallowercase config file in docs http://www.courier-mta.org/?courier.html Probably that's what you need Nope. locallowercase doesn't have a saying with regards to my problem with couriermlm and subscriber addresses. But yes, I do have touched a locallowercase (for other reasons - local mailbox delivery). Thanks for your reply, anyway. Best regards, - -- Frederik Dannemare | mailto:[EMAIL PROTECTED] http://qa.debian.org/developer.php?login=Frederik+Dannemare http://frederik.dannemare.net | http://www.linuxworlddomination.dk Key fingerprint: BB7B 078A 0DBF 7663 180A F84A 2D25 FAD5 9C4E B5A8 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBNcgZLSX61ZxOtagRAkwjAJ9/7DdQcJVKxockTPLbT134mkJdwQCdG430 t9aUbD1N0Gcg+QOZTOuo7bU= =AG7k -END PGP SIGNATURE- --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47alloc_id808op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Why on earth is couriermlm case-sensitive (wrt. subscribers' addresses)?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 01 September 2004 13:15, Sam Varshavchik wrote: Frederik Dannemare writes: Hi, I have had to add several of my subscribers to a list more than once, because they sometimes use a mix of upper and lower case characters. E.g., if I manually subscribe a person as [EMAIL PROTECTED], but he writes to the list as [EMAIL PROTECTED], he will get a bounce with You are not subscribed to this mailing list. I have searched the list archives for an answer as to how one can overcome this problem, but without much luck. Any feedback on this issue will be much appreciated. RFC 2822 refers to RFC 2821 for details on mailbox format. RFC 2821 specifies that mailbox addresses are case sensitive. An individual installation may use case insensitive mailboxes, but an external mail server cannot make that assumption. Bugger. Well, on the other hand, I really appreciate that courier is more rfc compliant than most mailing software out there (at least this is the impression I have of courier). Thanks for the answer. Best regards, - -- Frederik Dannemare | mailto:[EMAIL PROTECTED] http://qa.debian.org/developer.php?login=Frederik+Dannemare http://frederik.dannemare.net | http://www.linuxworlddomination.dk Key fingerprint: BB7B 078A 0DBF 7663 180A F84A 2D25 FAD5 9C4E B5A8 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBNcpELSX61ZxOtagRAlbfAKCnGNjLKo7NOIkpX4pkDe8yU5s1aACcCBrZ ATmNyt96sAPPka6F6NToMSE= =J9OG -END PGP SIGNATURE- --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idP47alloc_id808op=click ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] logfile analysis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 12 August 2004 09:38, Terrel Shumway wrote: It's pretty scary to try to get something useful from courier's logs because there is no standard format for log messages. First: does anyone have a greppy perl script or such that will make sense of the log files? I am in the process of writing a small (and probably clumsy - I'm not much of a shell script genius) shell script. Not even sure if it'll work 100% with other shells than bash. www.sentinel.dk/cookbook/courier-mail-statistics.sh One should have geoip installed as well (not a requirement, though). The output it generates looks like this: /var/log/mail.log.4.gz (Jul 4 06:48:02 - Jul 11 06:46:40) (weekly report) Processed mail: Incoming: 4352, Outgoing: 498 Relay attempts: 17 Mail sent to hosted domain but with unknown user: 1190 IP addresses behind relay attempts (top ten): 62.42.15.137 ES, Spain 4 218.5.109.188CN, China 4 208.31.42.77 US, United States 4 61.249.159.157 KR, Korea, Republic of 1 222.101.168.37 KR, Korea, Republic of 1 211.180.125.238 KR, Korea, Republic of 1 210.64.169.222 TW, Taiwan 1 195.228.231.80 HU, Hungary 1 IP addresses behind user unknown attempts (probably spammers) (top ten): 80.98.168.39 HU, Hungary31 62.68.170.228HU, Hungary29 65.254.39.234US, United States 28 195.228.164.82 HU, Hungary25 82.100.12.61 CZ, Czech Republic 24 62.65.166.4 SK, Slovakia 21 62.168.123.42SK, Slovakia 21 209.51.152.146 US, United States 20 212.92.26.195HU, Hungary19 194.88.52.2 HU, Hungary19 B/R, - -- Frederik Dannemare | mailto:[EMAIL PROTECTED] http://qa.debian.org/developer.php?login=Frederik+Dannemare http://frederik.dannemare.net | http://www.linuxworlddomination.dk Key fingerprint: BB7B 078A 0DBF 7663 180A F84A 2D25 FAD5 9C4E B5A8 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBHc/9LSX61ZxOtagRAuVNAJ49Jusvzf6TViPS69aDJSeqb/Ks0ACgj6QJ J2umjS/NES3gEK96XUPqvHc= =GY9C -END PGP SIGNATURE- --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Catch-all for virtual user/domain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 31 July 2004 19:38, Topper Harley wrote: Hello all, I'm having trouble configuring courier aliases. I have a virtual user on a virtual domain in a Mysql record : - [EMAIL PROTECTED] This vuser/vhost works fine, I can send email to it and retrieve email from it. Now I'd like to make this vuser a catch-all on vdomain.com I tried adding : @vdomain.com: [EMAIL PROTECTED] and @vdomain.com: webmaster to my aliases file and ran makealiases each time but every attempt to send mail to [EMAIL PROTECTED] gets a 550 user unknown error. Any idea what's wrong ? You should be able to do it kinda like this: mailhost:~# su - courier mailhost:~$ mkdir -p /home/courier/vdomain.com/alias mailhost:~$ echo [EMAIL PROTECTED] \ /home/courier/vdomain.com/alias/.courier-default mailhost:~$ mysql -u courier -p courier mysql INSERT INTO users VALUES ('[EMAIL PROTECTED]',UID,GID, - 'passwd_not_needed','/home/courier/vdomain.com/alias'); Let us know if it works. - -- Frederik Dannemare | mailto:[EMAIL PROTECTED] GnuPG key: search for 'dannemare' on http://pgpkeys.mit.edu Key fingerprint: BB7B 078A 0DBF 7663 180A F84A 2D25 FAD5 9C4E B5A8 http://frederik.dannemare.net | http://www.linuxworlddomination.dk -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBDD+6LSX61ZxOtagRAoeFAJ9u8NbO70yltcz/53DYdLFZCrCBWQCgoJrI WvkPT8Ds7gMTejOsNFKV1qY= =L42/ -END PGP SIGNATURE- --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Catch-all for virtual user/domain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 01 August 2004 02:56, Frederik Dannemare wrote: On Saturday 31 July 2004 19:38, Topper Harley wrote: [ snip ] You should be able to do it kinda like this: mailhost:~# su - courier mailhost:~$ mkdir -p /home/courier/vdomain.com/alias mailhost:~$ echo [EMAIL PROTECTED] \ /home/courier/vdomain.com/alias/.courier-default mailhost:~$ mysql -u courier -p courier mysql INSERT INTO users VALUES ('[EMAIL PROTECTED]',UID,GID, - 'passwd_not_needed','/home/courier/vdomain.com/alias'); Let us know if it works. Another way to do it, I think, would be to do something along the lines of: mailhost:~# echo | /usr/bin/maildrop -d courier \ /etc/courier/aliasdir/.courier-default mailhost:~# chmod u+s /usr/bin/maildrop# maildrop needs to be setuid root here, I believe (pls correct me, if I'm wrong) cat EOF /home/courier/.mailfilter logfile /home/courier/maildrop-filter-log if ( ( /^To:[EMAIL PROTECTED]/ ) || ( /^Cc:[EMAIL PROTECTED]/ ) ) { to /home/courier/vdomain.com/webmaster/Maildir } if ( /^To:.*/ ) { to /dev/null } EOF - -- Frederik Dannemare | mailto:[EMAIL PROTECTED] GnuPG key: search for 'dannemare' on http://pgpkeys.mit.edu Key fingerprint: BB7B 078A 0DBF 7663 180A F84A 2D25 FAD5 9C4E B5A8 http://frederik.dannemare.net | http://www.linuxworlddomination.dk -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBDEMuLSX61ZxOtagRAqmPAJoCX+WO12Rg+ruz6Gkssy5swz9E5wCggaZE iiSd47bH1Tp4X6vIzOGDGa8= =S8Lm -END PGP SIGNATURE- --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] dorewrite
Hi, I've been using Courier (smtp imap w/mysql) for a few months now, and I really don't mind that it is very strict when it comes to RFCs. However, I host mail for a few friends and family members, who really dislike not being able to receive mail from e.g. hotmail. Especially, when they receive an email with a binary attachment such as an image (it's rather difficult to see the image when it becomes a simple plain text attachment ;). To get around this, I simply took the source code (0.38.1) and grep'ed for dorewrite, and I changes all (about a handful) dorewrite=1 to dorewrite=0. I actually know nothing about c/c++ code, so it may infact break things. However, it seems to work for me. Receiving wacky-formatted emails is now possible (at least I haven't noticed anything bad happening yet). I know it is not the right thing to do, but I have really tried to make friends and familiy understand that it is an issue with bad email clients and not my mail server. But, you know, they just want to be able to receive email from anywhere no matter how broken a sender's email client may be. Like other Courier users I'd really appreciate if this thing gets implemented as a compile-time option, but on the other hand, I can understand why Sam and the other developers won't implement it. Broken email clients should really be fixed instead. Regards, Frederik Dannemare ___ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users