[courier-users] setuid/setgid problem, mail from website not sent
On Sun, 09 Jul 2017 12:14:59 + courier-users-requ...@lists.sourceforge.net wrote: > From: Markus Wanner <mar...@bluegap.ch> > To: courier-users@lists.sourceforge.net > Subject: Re: [courier-users] setuid/setgid problem, mail from website not > sent > Date: Sat, 8 Jul 2017 21:11:11 +0200 > > On 07/06/2017 12:13 PM, Matus UHLAR - fantomas wrote: > > On 06.07.17 12:43, Bernd Plagge wrote: > >> thank you VERY much! > >> This was the answer. > >> > >> Just for the record: > >> I had to downgrade my Debian system due to issues with the new Debian > >> packages. > >> Seems that the permissions on the sendmail wrapper were not set > >> correctly by the installation program. > > > > I believe debian developer either knows what permissions to set up, or > > should be informed if that causes troubles... > > I'd rather guess the OP had to downgrade due to the maildrop issue in > stretch, which I'm still trying to solve. > > Kind Regards > > Markus Wanner Hi Markus, well yes, the new Courier Debian version hit my users badly ... and in the end I decided to downgrade. Don't get me wrong! I really very much appreciate somebody taking on the challenge of maintaining a pretty big and important package! I've been using Debian for almost 20 years and appreciate the more conservative upgrading pace (i.e. in comparison to Ubuntu). However, the Stretch upgrade was pretty bumpy due to major changes in several important packages. (PHP 7, PHP7.0-fpm, slapd, tinydns, Samba and a perl syntax check) Please, if there are still issues with Maildrop (or something else) we need to fully understand the issue and have at least a manual workaround. If I restart a server after the upgrade and then discover issue this means most time a very long night - without any guarantee to solve the problem. Aber trotz allem, vielen Dank fuer Muehe und Einsatz! Bernd -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] setuid/setgid problem, mail from website not sent
Hi Sam, thank you VERY much! This was the answer. Just for the record: I had to downgrade my Debian system due to issues with the new Debian packages. Seems that the permissions on the sendmail wrapper were not set correctly by the installation program. Again, thank you very much! On Thu, 06 Jul 2017 03:03:37 + courier-users-requ...@lists.sourceforge.net wrote: > From: Sam Varshavchik <mr...@courier-mta.com> > To: courier-users@lists.sourceforge.net > Subject: Re: [courier-users] setuid/setgid problem, mail from website not > sent > Date: Wed, 05 Jul 2017 17:55:26 -0400 > > Bernd Plagge writes: > > > Hi > > > > I'm trying to send mail from website mail, or webmail. > > However, sending doesn't work, > > > > Log entries: > > > > Jul 06 00:25:45 linde lighttpd[1182]: setuid/setgid: Operation not permitted > > Jul 06 00:25:45 linde lighttpd[1182]: /cgi-bin/FormMail.pl: close sendmail > > pipe failed, mailprog=[/usr/lib/sendmail -oi -t] at (eval 9) line 108. > > > > The courier sendmail program: > > s -l /usr/sbin/sendmail > > -rwxr-sr-x 1 root courier 59120 Jan 26 2015 /usr/sbin/sendmail > > > > > > What can I do to solve this problem? > > Permissions on the sendmail wrapper should be setuid root, not setgid. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] setuid/setgid problem, mail from website not sent
Hi I'm trying to send mail from website mail, or webmail. However, sending doesn't work, Log entries: Jul 06 00:25:45 linde lighttpd[1182]: setuid/setgid: Operation not permitted Jul 06 00:25:45 linde lighttpd[1182]: /cgi-bin/FormMail.pl: close sendmail pipe failed, mailprog=[/usr/lib/sendmail -oi -t] at (eval 9) line 108. The courier sendmail program: s -l /usr/sbin/sendmail -rwxr-sr-x 1 root courier 59120 Jan 26 2015 /usr/sbin/sendmail What can I do to solve this problem? Best regards, Bernd -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Blacklisted email addresses not cleared
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi all I recently found some cases were blacklisted email addresses (recorded in /var/lib/courier/track) were not cleared by the "courier clear user@domain" command. Permissions for the directory are: linde:/var/lib/courier# ls -l total 544 drwxr-x--- 2 daemon daemon 4096 Jul 5 00:05 allfilters drwxr-x--- 2 daemon daemon 4096 Nov 29 2010 calendar - -rw--- 1 root root 524288 Jul 5 23:04 couriersslcache drwxr-x--- 2 daemon daemon 4096 May 21 2016 filters drwxr-xr-x 4 daemon daemon 4096 Jul 5 23:21 msgq drwxr-x--- 7 daemon daemon 4096 Jul 5 23:25 msgs drwxrwx--- 5 daemon daemon 4096 Jul 5 22:08 tmp drwxr-xr-x 2 daemon daemon 4096 Jul 5 23:29 track I ran strace and here is the result: mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7421000 set_thread_area({entry_number:-1, base_addr:0xb7421700, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 (entry_number:6) mprotect(0xb75d5000, 8192, PROT_READ) = 0 mprotect(0xb75f7000, 4096, PROT_READ) = 0 mprotect(0xb764c000, 4096, PROT_READ) = 0 mprotect(0xb77be000, 24576, PROT_READ) = 0 mprotect(0x8051000, 4096, PROT_READ)= 0 mprotect(0xb77fe000, 4096, PROT_READ) = 0 munmap(0xb77c8000, 48644) = 0 brk(NULL) = 0x9816000 brk(0x983b000) = 0x983b000 chdir("/usr") = 0 setgid32(1) = 0 getuid32() = 0 setgroups32(1, [1]) = 0 setuid32(1) = 0 open("/var/lib/courier/track/416462", O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0666) = 3 _llseek(3, 0, [173], SEEK_END) = 0 fstat64(3, {st_mode=S_IFREG|0644, st_size=173, ...}) = 0 write(3, "1499264814 aem...@domain.com"..., 33) = 33 close(3)= 0 fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0 write(1, "m...@domain.com cleared.\n", 30) = 30 exit_group(0) = ? I'm running Courier 0.73 (Debian upgrade failed). Sorry, I'm not very good at reading traces. Any ideas what the reason might be? Thanks for any help! Bernd -BEGIN PGP SIGNATURE- iQIzBAEBCAAdFiEEV/J6xcvB3zWv0k2ZmovHNYOpMokFAllc+M8ACgkQmovHNYOp MonVvw/+JqXjPutUSCc06vo6fNfcheO7Ut+DG6Fu1gt1eMPxHh9sJQn1/t3V0cBT UiB9NrTZQ35TWZ1RILBzFt8sLxjyRXL0UvhGkf5T0hDqbAs0U9OA85NT8MjHv8Hw zDxtChL6BMqjQ+fWFsemZXNSZv/yg+7ciPQv2fldIXU4coWL3r9Ewir1DpWwg2Ip GgPDiHpRSRS5em8uQmDHsqZI5xH4mgQBaZ9IRh3W3JS1rKYnTF+LTS2O7x+RnQdg hDWk5n0i1G4fsxKcm/IkARH5hxAvD49zuFvZUC7GMNULRNpwKQEtwE9Fp3jWt0qi n/ygz9PXfuuTURf6MYBEZF8eNjuv3MmiQxTiGqjCoG/bh67e2xHBWDH9Q6bOKWIo SaM2fURFMqP1W3SQ7gqPnjCSK3RWpgmePve7eh+QVKAGyCmOCwfTbVGKJbGuzenZ 9B756yfhA7r33vdZHsm0PnVFR7df05Saw2ukuqJW2VRPE6OteABRNAVq/bXBLxF0 B/H+sqRsmY7/HH+LH4CSNLzl86WwABqUe4TQ+Btlr19VwvdZlcLMYJzXe3wKsaei wSKMK7HVQLE8/sHrrrq3z1wr/nyxRdaEPfYF9o66R5OJLZ0tpQk1lh6YFboPgV4x SGMx44lGaaG6WUmr337sIZIee/dH39dxIDLJvdID5xNi6qIrDTg= =+ESq -END PGP SIGNATURE- -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] journald logging - for the record
The issue has been resolved. Here are the details for the record. Goal was: use journald logging without additional syslog/rsyslog files Linux-version: Debian 8.7 (jessie) Two conditions must be met: 1) /dev/log must be a symlink to /run/systemd/journal/dev-log (/run/systemd/journal/dev-log did exist but /dev/log was no symlink) -> remove /dev/log and create the link -> ln -s /run/systemd/jurnal/dev/log /dev/log 2) If you mask syslog-ng or rsyslog and then remove the packages syminks in /etc/systemd/system/ are not removed) -> manually remove /etc/systemd/system/syslog-ng -> /dev/null and/or /etc/systemd/system/rsyslog -> /dev/null Now restart socket and service: 1) restart the journald socket -> systemctl restart systemd-journald.socket 2) restart the journald service -> systemctl restart systemd-journald.service Finally check with journalctl -f that logging works. Cheers, Bernd On Fri, 24 Mar 2017 20:17:20 + courier-users-requ...@lists.sourceforge.net wrote: > Subject: Re: [courier-users] journald logging > Date: Thu, 23 Mar 2017 13:56:55 -0700 > Content-Transfer-Encoding: 7bit > > On 03/22/2017 01:32 AM, Bernd Plagge wrote: > > It seems that you're running journal without syslog, rsyslog or syslog-ng. > > Is this correct? > > The default configuration for CentOS 7 runs journald as the primary log > recipient ("lsof /dev/log" will show systemd and systemd-journal), and > rsyslogd using journald as a message source ("sModLoad imjournal" > appears in rsyslog.conf). > > The journal's content doesn't depend on rsyslogd running. I see the > same log patterns with rsyslogd running that I do when rsyslogd is stopped. > > > Does this require particular journald.conf settings? > > It shouldn't. > > > Do you happen to have a link to the configuration description. > > > Not that I can find. -- Bernd Plagge - プラゲ ベェアント pgpKVqYqrJ_qf.pgp Description: OpenPGP digital signature -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] journald logging
Thanks Gordon! > On Fri, 24 Mar 2017 20:17:20 + > From: Gordon Messmer <gordon.mess...@gmail.com> > > On 03/22/2017 01:32 AM, Bernd Plagge wrote: > > It seems that you're running journal without syslog, rsyslog or syslog-ng. > > Is this correct? > > The default configuration for CentOS 7 runs journald as the primary log > recipient ("lsof /dev/log" will show systemd and systemd-journal), and > rsyslogd using journald as a message source ("sModLoad imjournal" > appears in rsyslog.conf). > > The journal's content doesn't depend on rsyslogd running. I see the > same log patterns with rsyslogd running that I do when rsyslogd is stopped. > > > Does this require particular journald.conf settings? > > It shouldn't. > > > Do you happen to have a link to the configuration description. > > > Not that I can find. -- Bernd Plagge - プラゲ ベェアント pgpz9I8hQtij6.pgp Description: OpenPGP digital signature -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] journald logging
>From: Gordon Messmer <gordon.mess...@gmail.com> >To: courier-users@lists.sourceforge.net >Subject: Re: [courier-users] journald logging >Date: Tue, 21 Mar 2017 09:58:31 -0700 >Content-Transfer-Encoding: 7bit >On 03/21/2017 02:12 AM, Bernd Plagge wrote: >> Now I find imap and pop messages in the log but no delivery result or >> messages about incoming mails. It seems that half of the Courier >messages >> does not make it into the journal. >I'm seeing all of the expected logs, including courierd entries, in the >journal on CentOS 7 hosts. Courier was built and installed using rpm >and its included spec file. Hi Gordon, I'm running Courier 0.73.1-1.6 on Debian 8. Not sure if this makes a difference. It seems that you're running journal without syslog, rsyslog or syslog-ng. Is this correct? Does this require particular journald.conf settings? Do you happen to have a link to the configuration description. Thanks, Bernd -- Bernd Plagge - プラゲ ベェアント pgpap_bFVvXFB.pgp Description: OpenPGP digital signature -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] journald logging
Hi Sam, thanks for a great product! Times are changing and with the introduction of systemd also comes journald. Seems that running syslog in addition to journald is not very good. So, I switched syslog off. Now I find imap and pop messages in the log but no delivery result or messages about incoming mails. It seems that half of the Courier messages does not make it into the journal. Are there any settings I've overseen? Courier logging is turned on but maybe there are additional journald settings. Any help is appreciated. Cheers, Bernard -- Bernd Plagge - プラゲ ベェアント First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有) mail: bpla...@choicenet.ne.jp - url: http://www.choicenet.ne.jp pgpv7aeaT2WtP.pgp Description: OpenPGP digital signature -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] courier-users Digest, Vol 128, Issue 2
On Thu, 08 Dec 2016 03:04:39 + courier-users-requ...@lists.sourceforge.net wrote: > From: Gordon Messmer <gordon.mess...@gmail.com> > To: courier-users@lists.sourceforge.net > Subject: Re: [courier-users] Release quarantine messages - pythonfilter > Date: Wed, 7 Dec 2016 19:04:26 -0800 > Content-Transfer-Encoding: 7bit > > On 12/07/2016 01:12 AM, Bernd Plagge wrote: > > However, I always got a message saying that the message was not found > > So, I wrote a small program to list the keys in the database: > > > > /var/lib/pythonfilter/quarantine# ./dbmtest.pl msgs.db > > 203720L > > Seems you've hit a bug in pythonfilter. I haven't seen inodes > represented that way on any of the systems I've used. What platform and > what release of python are you using? > > I think you can work around this by patching quarantine.py: > > diff -r 20cc13ea1a4b courier/quarantine.py > --- a/courier/quarantine.pyFri Nov 25 16:38:07 2016 -0800 > +++ b/courier/quarantine.pyWed Dec 07 18:59:32 2016 -0800 > @@ -187,6 +187,8 @@ > (dbm, lock) = _getDb() > if requestedId in dbm: > quarantinePaths = pickle.loads(dbm[requestedId])[1] > +elif requestedId + 'L' in dbm: > +quarantinePaths = pickle.loads(dbm[requestedId + 'L'])[1] > else: > quarantinePaths = None > # Unlock the DB > > > As the program reads the 'r' headers it will never match the 'R' header > > Or am I wrong?? > > getControlData()['r'] isn't just the "r" lines. It's a list of lists, > each of which contains the rewritten recipient address, the original > recipient address, and zero or more characters indicating DSN behavior. > Hi Gordon, thanks for the quick answer. I'm using Debian (Jessie) and Python 2.7. Just applied your patch; hopefully this works. Thanks a lot, Bernard -- Bernd Plagge - プラゲ ベェアント First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有) mail: bpla...@choicenet.ne.jp - url: http://www.choicenet.ne.jp Tel: 03-6379 2516 - Fax: 03-6379-2686 VoIP: sip:bpla...@bluesip.net ** FREE Web Assessment:http://choicenet.ne.jp/en/website_assessment.html Web Sites: http://choicenet.ne.jp/en/websites.html Web Design: http://choicenet.ne.jp/en/webdesign.html Web Hosting:http://choicenet.ne.jp/en/hosting.html Net Support:http://choicenet.ne.jp/en/netsupport.html *** 無料ウエブサイト評価 http://choicenet.ne.jp/jp/website_assessment.html ウエブサイト: http://choicenet.ne.jp/jp/websites.html ウエブデザイン:http://choicenet.ne.jp/jp/webdesign.html ウエブホスティング: http://choicenet.ne.jp/jp/hosting.html ネットワークサポート: http://choicenet.ne.jp/jp/netsupport.html pgpJD5YYJAMJ8.pgp Description: OpenPGP digital signature -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/xeonphi___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Release quarantine messages - pythonfilter
Hello, I'm having some problems to release quarantine messages - actually some customer wants to release a message. The link is like this: Quarantine release address: quarantine-3451cb7b-00b9-43d0-87a2-327f44882f7a-206...@choicenet.ne.jp Here 206328 is the ID of the message is the quarantine database: var/lib/pythonfilter/quarantine/msgs.db However, I always got a message saying that the message was not found So, I wrote a small program to list the keys in the database: /var/lib/pythonfilter/quarantine# ./dbmtest.pl msgs.db 203720L 206242L 206330L 206332L 206328L Here all keys seems to have a trailing 'L'. This is the Python release function: def release(requestedId, address): # Open and lock the quarantine DB (dbm, lock) = _getDb() if dbm.has_key(requestedId): (qtime, quarantinePaths) = pickle.loads(dbm[requestedId]) else: (qtime, quarantinePaths) = (None, None) # Unlock the DB _closeDb(dbm, lock) # If quarantinePaths is None, then an invalid ID was requested. if not quarantinePaths: # Alert the user that his request failed sendFailureNotice(requestedId, address) return # Load message with XFilter qmsg = courier.xfilter.XFilter('quarantine', quarantinePaths[0], quarantinePaths[1]) # Check the recipients for one matching the requestor for x in qmsg.getControlData()['r']:<- read 'r' control data if(x[0] == address or x[1] == address or x[1] == '%s%s' % ('rfc822;', address)): # Inject the message with "submit" for requestor qmsg.submitInject('local', [x]) return # If no address matched, alert the user that the request was invalid. sendFailureNotice(requestedId, address) The program reads the message control data in the corresponding file (here: C206328 ) which looks like this: (sender email) (server ip address) e t M00030620.58477259.35A9 rjohn.sm...@domain.com <-- 'r' Rrfc822;john.sm...@domain.com <-- 'R' N As the program reads the 'r' headers it will never match the 'R' header Or am I wrong?? Actually the program returns a 'message not found' mail if either the mail is not found in the database or if the release requester is not not one of the mail recipients. I don't complain about this but it is a bit unclear. My real concern is if the IDs in the release link are correct - or not. Could anybody shed some light on this? Thanks a lot! -- Bernd Plagge - プラゲ ベェアント pgpSHvVFQH7oZ.pgp Description: OpenPGP digital signature -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/xeonphi___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] mailing list moderation
Hi Sam, This has already been addressed in 0.71. The current version of Courier should handle these moderation replies just fine. Thanks for your answer. That's great. I'm hoping that the Debian upgrade becomes at least available in the wheezy backports. Bernd signature.asc Description: PGP signature -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Mailing List moderation
Hi Sam, thanks! Yesterday I sent a cc moderation (failed as before). Today I did not sign it but left the footer block - and it failed as well. So it seems that the signature is not the problem. I had a look at the cmlmmoderate.C program (version 0.68.2-1 Debian) and this is pretty straight forward - searching for 'no', 'reject', additional message and filename/token. It uses the std::getline function. There is a module_getline in moduledel.c which checks for EOF or '\n'. Could this be the problem - as the footer is in Unicode and contains Japanese? --- part of the second message - quoted printable - Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, 19 Dec 2014 01:17:01 +0900 erp-ledger-moder...@erp-online.jp wrote: =3D=3DCUT HERE=3D=3D Insert any rejection notice here. =3D=3DCUT HERE=3D=3D =20 The following message has been previously send to you for moderation, but no response has been received. You will receive periodic reminders to moderate this message until you do the following. To approve this message and post it to the mailing list, reply to this message. To reject this message, reply to this message and prepend the word no to the subject line of the reply. To reject this message and return it to the sender, reply to this message and prepend the word reject to the subject line. =20 If you would like, you can enter text to be included in the rejection not= ice. You must enter the text above, between the =3D=3DCUT HERE=3D=3D lines. =20 Do NOT delete the =3D=3DCUT HERE=3D=3D lines, they must be present. Also= , please make sure that your mail client formats your reply as plain text, and not rich text, or HTML. =20 In all cases, make sure that the following codes are included in the reply message: =20 [1418876026.18926.linde] [BIOHNAIDOBNOHBCLGNPCGBGIDMIDIKDI] --=20 Bernd Plagge - =E3=83=97=E3=83=A9=E3=82=B2 =E3=83=99=E3=82=A7=E3=82=A2=E3= =83=B3=E3=83=88=20 First Choice Internet Ltd., Tokyo - =E3=83=95=E3=82=A1=E3=83=BC=E3=82=B9=E3= =83=88=E3=83=BB=E3=83=81=E3=83=A7=E3=82=A4=E3=82=B9=E3=83=BB=E3=82=A4=E3=83= =B3=E3=82=BF=E3=83=BC=E3=83=8D=E3=83=83=E3=83=88(=E6=9C=89) -- end of snip Thanks, Bernd On Wed, 17 Dec 2014 03:25:11 + courier-users-requ...@lists.sourceforge.net wrote: So, it seems that the moderation mail is not recognized if it signed and/or contains some characters found in the signature. While I recognise that I can just switch signing off and remove the signature part this is easily forgotten. Maybe you can address this in one of the future releases. Not sure offhand why your signed messages are a problem. I can see how PGP- MIME signed messages might be a problem, but looks like you're using old- style inline PGP signatures. Your message looks like an ordinary base64-encoded message. Once decoded, the tokens look fine to me. couriermlm shouldn't have an issue with decoding encoded messages. Try this: reply to a moderation message, and add a cc to yourself, to capture an exact copy of the entire message that got sent – including all of its headers. Then, looking at the entire, pristine message, might result in some additional clues. -- Bernd Plagge - プラゲ ベェアント First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有) mail: bpla...@choicenet.ne.jp - url: http://www.choicenet.ne.jp Tel: 03-6379 2516 - Fax: 03-6379-2686 VoIP: sip:bpla...@bluesip.net ** FREE Web Assessment:http://choicenet.ne.jp/en/website_assessment.html Web Sites: http://choicenet.ne.jp/en/websites.html Web Design: http://choicenet.ne.jp/en/webdesign.html Web Hosting:http://choicenet.ne.jp/en/hosting.html Net Support:http://choicenet.ne.jp/en/netsupport.html *** 無料ウエブサイト評価 http://choicenet.ne.jp/jp/website_assessment.html ウエブサイト: http://choicenet.ne.jp/jp/websites.html ウエブデザイン:http://choicenet.ne.jp/jp/webdesign.html ウエブホスティング: http://choicenet.ne.jp/jp/hosting.html ネットワークサポート: http://choicenet.ne.jp/jp/netsupport.html signature.asc Description: PGP signature -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Mailing List moderation
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Sam, thank you very much for your excellent mail server which I've been using happily for many year! I've a minor issue with mailing list moderation. As you can see I'm signing my mails and I have a biggish signature with some web links. When I receive a moderation request and simply reply to it it won't be recognized and the post will not be sent to the list. If, however, I delete the signature block AND don't sign the message everything works perfectly. So, it seems that the moderation mail is not recognized if it signed and/or contains some characters found in the signature. While I recognise that I can just switch signing off and remove the signature part this is easily forgotten. Maybe you can address this in one of the future releases. Thanks again, Bernd - -- Moderation Mail - Content-Transfer-Encoding: base64 - -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Wed, 17 Dec 2014 08:14:06 +0900 erp-ledger-moder...@erp-online.jp wrote: ==CUT HERE== Insert any rejection notice here. ==CUT HERE== (std text removed) In all cases, make sure that the following codes are included in the reply message: [1418771645.11708.linde] [NOMJPAGBPEPBHBKEEIHFFLPAMHDFLHAG] - - -- Bernd Plagge - プラゲ ベェアント First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有) mail: bpla...@choicenet.ne.jp - url: http://www.choicenet.ne.jp Tel: 03-6379 2516 - Fax: 03-6379-2686 Tel-Germany: +49-89-721010-57887 - VoIP: sip:bpla...@bluesip.net ** FREE Web Assessment:http://choicenet.ne.jp/en/website_assessment.html Web Sites: http://choicenet.ne.jp/en/websites.html Web Design: http://choicenet.ne.jp/en/webdesign.html Web Hosting:http://choicenet.ne.jp/en/hosting.html Net Support:http://choicenet.ne.jp/en/netsupport.html *** 無料ウエブサイト評価 http://choicenet.ne.jp/jp/website_assessment.html ウエブサイト: http://choicenet.ne.jp/jp/websites.html ウエブデザイン:http://choicenet.ne.jp/jp/webdesign.html ウエブホスティング: http://choicenet.ne.jp/jp/hosting.html ネットワークサポート: http://choicenet.ne.jp/jp/netsupport.html - -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJUkL0nAAoJEJqLxzWDqTKJJS8P/RVjeJPGmQxgJ8iuwXyLvtJV RWZYaFiktDjFLSRPYAfEfIz7gZJ9NTKf/xdgmlWokmj+uZ3CYh4NJZppJTMNfxgS Jfa7Owfl7JxyYsKeInehdMNeSDAiMhRDhYcgsUqcfO9bcHPsP0xdg2PVHdp7x5V4 EmwS4bxV/6t/f3Ia+UQrkAyAQLGt5ZGomP25NqtHeJSL2LEesO7EILwUkrZL+JSZ P2moR4yg5z4LU8QDH0xaGUyLPOahxnR5HR/LoqkaTj9ec9Zwz7kjEfBDd+6xPCLb MOtp+oMtrpHvJzsvkcBuOjQt5G2BNrNW4XuTtHXn/YYQQispqJluccG7GnZalUOy XLET2ziSgYiW80DbL4H9uBy8bRzBIssuBmL14ccqq6gJRVfBDRq0XNQFvFP880Ks jBCWF/OxC+pRTX91Bxb4IP5udRnYCsYJkauqfQydU2n1xv8tTdtadiYFdbcb+1xs ZYZ8aSfyeq1QcUrrnpGYkPLfSRulIcWPjiVYsu2JlMbDBoGej9qBw3AnjgB7EkJQ TlLS9ccxQlQdZLeZDwl88FXRa7VNmvCc8+/XM1ceQYw0UjITaFjfRJatOOJtiYxj 4iL1Dj9hYMUVjaT+JhXDGu+UXNRU+Oq9RtDQR/67Nz/WN5e3s2tuSmcZG1kXCRW6 URXJirtexubfZKxSzuNj =EznX - -END PGP SIGNATURE - --- server rejection --- Dec 17 08:16:05 courierlocal: id=00025CDA.5490BD35.2E88,from=bpla...@choicenet.ne.jp,addr=erp-ledger-moder...@erp-online.jp: Invalid moderation message. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJUkL7YAAoJEJqLxzWDqTKJSykQAJ1+jBYEO56MJ7yAJILrmdkR jBi96xS4fYxReu1Kh6uJE8GRE0/rYWGlujjohHmBePh3eMM0S1mOEHKBRXshAAC8 G54SRo3qcwKoHiXCIlRIEM8xDB3mZ1ZgnVRfyxhfNAStOzEWBDNvQBaJ6F55D8ST 4HfeUZZjbqFohzSg59r2nOAa7Aa4rrGmPGjjjoXHzy8WzP2rQt+fNAQcY6kHdbfL AHh2H9+KkM+x7az0fQ9IGpuTjyAgj2fzF/RUoNWtGcEwSGPi7FsEwPBsxM2suwkB gXUY30i4QbaWaJZZetwiR/WkLEp+H3BHyQsjrU3n5hgw1hW70K/R3V/nGnBT6KU8 AAlDxCFU6YKJJeRSW3SgvPmjDT12QB8DDpQpotmqGpUvFOjSaldYReI3EO/l50dv ZUtv/rUtnVxBjr/BJqnj2IqHOLVZU/8MdQfEKke1ViUfFQixAzOmVEARqHgo2KGZ sk3uSu7AtWodNhduJg59AMfVGDGk5OzWitwzbH3lEwJX7ZVcctBAZf5icYHl/ghs PB468CDwVAjuGAPAer0vATe2RyArcrwOCgLsLC5T2eWQUnPWh1sxUScjhfa3euvh tjY28AWgZ1PIufn0v5Z6NZ++aYs2NDEmg2BrVTiqOCni3dZXuvoW0HtkSL+9gw+W +2hSL8ePFHna++DTHQGT =vKgb -END PGP SIGNATURE- -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Logging help
On Fri, 04 Apr 2014 12:58:37 + courier-users-requ...@lists.sourceforge.net wrote: On 4/4/2014 8:28 AM, Lisa Muir wrote: Guys, I thought I had this one covered, all SMTP must be authenticated on our server. It is very evident from examining increased server load that we are being used as a SPAM relay and have not yet hit a blacklist. Looks like a website got hacked and an email account details must have been in there. For the life of me, when I search mail.log etc I can't find the username of the user who authenticated an SMTP session. I'd like to quickly enable this in my logs so that I can shut down the compromised account, if anyone has a quick heads up I'd appreciate it. On my server, I see a line like this in the logs: courierd: newmsg,id=0022805E.533E911D.19DB, auth=x...@xxx.xxx If I enabled a setting to get this, I can't find it now. -- Bowie Hi, I think you find this line: newmsg,id=0022805E.533E911D.19DB, auth=x...@xxx.xxx in the mail queue files - should be in /var/lib/courier/msgq can't verify it right now because the mail queue is empty. BTW, you check your mail queue with the 'mailq' command. Bernd signature.asc Description: PGP signature -- ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] courier-users Digest, Vol 95, Issue 4
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Tim check below. Regards, Bernd On Sat, 08 Mar 2014 12:36:35 + courier-users-requ...@lists.sourceforge.net wrote: distribution information. a login lilspe...@example.com secret a NO Login failed. Login ID: lilspe...@example.com I'm seeing this in the mail logs: Mar 8 12:24:23 ip-172-31-41-226 authdaemond: received auth request, service=imap, authtype=login Mar 8 12:24:23 ip-172-31-41-226 authdaemond: FAIL, all modules rejected Mar 8 12:24:23 ip-172-31-41-226 imapd: LOGIN FAILED, user=lilspenny@example, Authdaemond checked: user=lilspenny@example - - get authdaemond to check the correct Login ID. - -- Bernd Plagge - プラゲ ベェアント First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有) mail: bpla...@choicenet.ne.jp - url: http://www.choicenet.ne.jp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJTGyfpAAoJEJqLxzWDqTKJuF4P/R8RuhDCYbqFXbWRd+9q29x/ kGbgTWBYPDB6kqiScVbbigeFFOmxwxvcbGGk2an2TyHDzS0SvGjARswGVlIL1kec tbQMpxxAaMf2QIbO8TmBjQH66VOpVTuOi/ptWKHO496ijxiFRWV+YULYXy+dFowQ B5rpzFLbBvW9jPg7GBsj+pYk4sepvB+boOurZnBtEH2bWa1+NLQIUWUuqzgYpUjR cC8mnTCL1ccT3y2J6cxNqRICq8DB+66UgHGj8RpfJZb/TPozboVDmobIoHPqlBfD tFNXNluuaA1HYowZp7jJqVbBEknFvKObcGcZr+qOImzkke/YsnCYWhqoYPmTxSZU k/6/CYK3Jkm8dEHxkTkb3TRnPhPjnhY/mTPOLkuHdnhJ3pxvbBtGyangJoIP9SfM MR1MVQjWcneDHo8LaOGEL8E9SjDOkEZ1yqZ7X0A8ffPA/PcnXnAW9AgyFnA9MNcW r0GnUrxrCDfixIg81hccanWkQeKcCUcdt3GiC6pJ6//3xyytt3m9aZgtVyTuN2Sv 5l+6ImyFnLqJnlaG15Q4JUzRw350q+a0ZDyafS5R4lkEflJxulpDlg2iNbNILH85 fX6jkiSKdQOWkFXCJFpulkLUiMxIsKZzbqnb6FSnXrLdJmaLQTtwZXEE4xZ+zphm K5IcU+wG3WXRbiu8lKdY =rUj0 -END PGP SIGNATURE- -- Subversion Kills Productivity. Get off Subversion Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] SSL error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I found the following error message in the system log: Courier-ssl: accept error 1408A0C1 SSL routines: SSL_GET_CLIENT_HELLO: no shared cipher What is the reason for this error message? Is it serious? What can/should I do to get rid of it? Thanks! Bernd -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlEgtbcACgkQpYU8M8PbPV5/BgCgsMD1ZIztg+tF/tkZgdUJzriW 39YAoIgUDMkclAIsCI+u6P/UTpkuhYCc =p7wu -END PGP SIGNATURE- -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Hotmail problems with header size
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Courier couldn't receive a hotmail message due to the header size limit: Feb 5 13:56:27 linde courieresmtpd: error,relay=:::65.54.190.222,from=pierresav...@hotmail.com: 534 Message header size ?exceeds policy limit. Is this a common feature/problem? Should I adjust the header size and if so where do I do this. Thanks! Bernd -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlEgtRgACgkQpYU8M8PbPV7P5ACgtz9pI/hZfm1BGTdRl6s4B+Lm 2v8An3DvB2UCe7zDsCT1uHSv/LrgoLV0 =YPVP -END PGP SIGNATURE- -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Hotmail problems with header size
On Sun, 17 Feb 2013 15:27:46 + courier-users-requ...@lists.sourceforge.net wrote: 差出人: Sam Varshavchik mr...@courier-mta.com 宛先: courier-users@lists.sourceforge.net 件名: Re: [courier-users] Hotmail problems with header size 日付: Sun, 17 Feb 2013 10:27:38 -0500 Bernd Plagge writes: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Courier couldn't receive a hotmail message due to the header size limit: Feb 5 13:56:27 linde courieresmtpd: error,relay=::: 65.54.190.222,from=pierresav...@hotmail.com: 534 Message header size ? exceeds policy limit. Is this a common feature/problem? Should I adjust the header size and if so where do I do this. The most likely answer here is that Hotmail was hacked and is being used to send garbled spam. You can adjust one of the two header limit parameters in the bofh file, man courier, and search for BOFHHEADERLIMIT. But, really, do you really want to accept crap with 100,000 bytes in its header? Sam, a friend tried to sent the mail from his hotmail account and it was returned several times. As this error prevents you from receiving the mail in the first place I have no idea if this happened just once or often. On the other hand 100,000 bytes is a lot - and unless others are having the same problem I can probably ignore it. Anyway, thanks for help and explanation! signature.asc Description: PGP signature -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] SSL error
On Sun, 17 Feb 2013 15:27:46 + courier-users-requ...@lists.sourceforge.net wrote: 差出人: Sam Varshavchik mr...@courier-mta.com 宛先: courier-users@lists.sourceforge.net 件名: Re: [courier-users] SSL error 日付: Sun, 17 Feb 2013 10:25:49 -0500 Bernd Plagge writes: Hi, I found the following error message in the system log: Courier-ssl: accept error 1408A0C1 SSL routines: SSL_GET_CLIENT_HELLO: no shared cipher What is the reason for this error message? Is it serious? What can/should I do to get rid of it? This means that the sender failed to negotiate TLS because no shared ciphers were in common. Each time an encrypted connections gets established between two parties, they have to agree on a common encryption parameters. When Courier is built against OpenSSL (default), the OpenSSL configuration is controlled by TLS_CIPHER_LIST, if Courier is built against GnuTLS, it comes from TLS_PRIORITY. Most likely, you're using the default configuration which disables low- security ciphers, and the other side can only do low-security ciphers, hence there was no common cipher. Sam, thanks for the explanation. I'll leave the default then; looks fine to me. signature.asc Description: PGP signature -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] courier-users] ERROR: Could not access vacation message
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 22 Jun 2011 12:05:18 + courier-users-requ...@lists.sourceforge.net wrote: 差出人: kibirango moses kibsmo...@gmail.com 宛先: courier-users@lists.sourceforge.net 件名: [courier-users] ERROR: Could not access vacation message 日付: Wed, 22 Jun 2011 09:48:29 +0300 Content-Transfer-Encoding: 7bit Hullo users, I am using squirrelmail 1.4.20 and installed the courier vacation plugin on acitivating the vacation autoresponder and Keep copies of incoming messages in this account and there after submitting , it gives me the error below Could not access vacation message. Could users kindly help me on fixing this. Thanx in advance This plugin is not working. Contact me at bpla...@choicenet.ne.jp for an alternative plugin. Best regards, Bernd -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk4B3XUACgkQpYU8M8PbPV5jdACfQjMK35wPNIRpBTo1FDXqC0FZ vcIAoMnYMAJv22oXgoi2fr1k32GfDuw1 =YAYL -END PGP SIGNATURE- -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Sending FAX using T.38
Hallo Michelle, some years ago I did some research about this. This is how I see it: - T.38 is a protocol for sending faxes over the internet (ie. SIP is not suitable) - the only program I know is t38modem. Using this program you can define virtual modems using Hayes commands With T38modem you define a virtual end points. You could have one end point in Strassbourg and another one in Paris. You could then send faxes to a fax machine in Paris. T.38 is a data transmission standard with no relation to email. T.37 is the standard to send faxes via email. T.37 is actually supported by many modern fax machines. T.37 is also referred to as iFax, Internet Fax, or Store-forward-fax. For technical details check here: http://www.cantata.com/support/download/t37_dev_notes.pdf My VoIP provider in Muenchen (CNN, http://www.bluesip.net) supports fax sending, fax receiving and mail2fax. You may want to check the details. I personally use a 14,400 Nissei faxmodem to receive faxes (and to send them to my email account) and to send faxes (using a fax.ppd driver) using the efax debian package. I made the (primitive) fax.ppd driver. Using this driver you can specify the fax number when printing/sending the fax. It works with Gedit but not with OpenOffice. Hope this helps, Bernd On Tue, 14 Jun 2011 12:06:37 + courier-users-requ...@lists.sourceforge.net wrote: 差出人: Sam Varshavchik mr...@courier-mta.com 宛先: Courier Users courier-users@lists.sourceforge.net 件名: Re: [courier-users] Sending FAX using T.38 日付: Mon, 13 Jun 2011 16:27:33 -0400 Michelle Konzack writes: Hello *, currently I use courier-faxmail and it works perfectly using an old and payed USR Sportster Vi 14400 connected to an Vodafone EasyBox 803 A, but this makes not realy sense, because the EasyBox supoort T.38 FAX So my questions are: 1) Does someone has already build scripts with courier-faxmail using T.38? 2) Which commandline tools exist, to send PS and PDF using T.38? (In case, I have to write my own scripts with some maildrop and or /procmail rules) Courier hands off all the stuff to sendfax, for faxing. The support, if any needs to be in sendfax. signature.asc Description: PGP signature -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] courierfilter - not removing lock file?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 21 Apr 2011 12:04:40 + courier-users-requ...@lists.sourceforge.net wrote: 差出人: Sam Varshavchik mr...@courier-mta.com 宛先: courier-users@lists.sourceforge.net 件名: Re: [courier-users] courierfilter - not removing lock file? 日付: Thu, 21 Apr 2011 00:01:44 -0400 Bernd Plagge writes: Hi, I'm running courier version 0.65.0 on Debian. When I stopped courier-mta today I got a courierfilter Alarm message. When restarting courier-mta filters were not restarted. After some searching I found out that courierfilter stop didn't remove the /var/lib/courier/filters/.lock file. Is this a known problem or what might have caused it? An individual filter was stuck in a loop and refused to terminate upon request. Sam, thanks! Couldn't verify this. Maybe I restart the server the weekend. In any case I'll keep an eye on this. Regards, Bernd -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk2wXaMACgkQpYU8M8PbPV7+WgCfY1ipURnZVnOFXuHwKQYael8/ YWwAn0vflTKpL+AwFT4zytAHezSGoPN2 =lDf/ -END PGP SIGNATURE- -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] courierfilter - not removing lock file?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm running courier version 0.65.0 on Debian. When I stopped courier-mta today I got a courierfilter Alarm message. When restarting courier-mta filters were not restarted. After some searching I found out that courierfilter stop didn't remove the /var/lib/courier/filters/.lock file. Is this a known problem or what might have caused it? Thanks for any hints. Bernd -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEUEARECAAYFAk2voeMACgkQpYU8M8PbPV5tLwCggstD4gu2M76qCupm6HmXCo3+ qmMAliRJKJh1X6jCT+w1ySgSI8SOfUA= =QJkA -END PGP SIGNATURE- -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] courier-users Digest, Vol 60, Issue 6
Hi, I think I changed from vopopmail and qmailadmin about 5 years ago. Now I'm using Courier for everything (pop3, smtp, imap, webmail). Courier is a well integrated and well maintained product. Thanks Sam! I'm a very happy user. Virtual domains are well supported by Courier. Conversion from xyz to Courier i.e. any conversion of a life system needs to be well planned. The first thing to do is to understand how to set up and operate Courier. This is best done by setting up a test system. Once you're happy with the daily operating, managing domains and managing mail accounts you need to plan the conversion process. Hope this helps, Bernd On Mon, 11 Apr 2011 12:05:11 + courier-users-requ...@lists.sourceforge.net wrote: 差出人: Vini v...@fugspbr.org 宛先: courier-users@lists.sourceforge.net 件名: [courier-users] Courier GUI replacement for qmailadmin 日付: Mon, 11 Apr 2011 15:24:08 +1000 Content-Transfer-Encoding: 7bit Hi All, I have been using courier with vpopmail and qmailadmin for a while and although it all works well I would prefer to use some sort of GUI that is made for Courier. Is there any GUI that is available for Courier that could do a similar job to what qmailadmin does? How are you guys managing multiple domains? I am assuming that many of you have custom applications but building my own is not an option considering the small size. Thanks Vini signature.asc Description: PGP signature -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] pythonfilter error checking
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 12 Oct 2010 11:40:36 + courier-users-requ...@lists.sourceforge.net wrote: 差出人: Jérôme Blion jerome.bl...@free.fr 宛先: courier-users@lists.sourceforge.net 件名: Re: [courier-users] pythonfilter error checking 日付: Mon, 11 Oct 2010 17:03:51 +0200 Content-Transfer-Encoding: 7bit Hello, Did you try to use pyclamd instead of pyclamav ? Best regards. Jerome Blion. Hi Jerome, yes, I have pyclamd installed as well. Seems that that problem is really due to incorrect freshclam updates. Wrote a quick wget script to download the right files. So far it works. Cheers, Bernd -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAky0Y0MACgkQpYU8M8PbPV6YFACgt+37SuEVQn/2WmvHE4IRSrYp 8rQAn3BU/vnzJsWMutH2PW699wCdElFx =MddF -END PGP SIGNATURE- -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] pythonfilter error checking
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 12 Oct 2010 11:40:36 + courier-users-requ...@lists.sourceforge.net wrote: 差出人: Gordon Messmer yiny...@eburg.com 宛先: courier-users@lists.sourceforge.net 件名: Re: [courier-users] pythonfilter error checking 日付: Mon, 11 Oct 2010 20:48:31 -0700 Content-Transfer-Encoding: 7bit On 10/11/2010 07:01 AM, Bernd Plagge wrote: Soon after that I got another LibClamAV courierfilter: LibClamAV Error: cl_free: engine == NULL error. I'm pretty sure that's what happens when you update to a newer clamav than pyclamav supports. The pyclamav maintainer doesn't have support for releases newer than 0.95. Patches are available. Would it be possible to include a test for the correct clamav database versionand throw up an error if 'daily.cvd' doesn't exist? If that's actually the problem: no. pythonfilter doesn't have access to the internals of clamav. Gordon, actually no. It seems that during virus database update just the daily.cvd file disappeared. Received a daily.cld instead but LibClamAV doesn't like this. Thanks anyway! Bernd -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAky0YygACgkQpYU8M8PbPV6MfQCeONCuzJwJE9me+FJz/ZINxrKM IqgAn1unMlKQQO5hyafBQtylldJG36WP =KrqW -END PGP SIGNATURE- -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] pythonfilter error checking
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I might have found the reason for those LibClamAV errors which (almost) nobody else seems to have. Today I ran aptitude which also updated all clamav packages. During installation I opted for the standard package configuration - as I didn't make any configuration changes. Soon after that I got another LibClamAV courierfilter: LibClamAV Error: cl_free: engine == NULL error. While trying to find the problem I also tested the pythonfilter clamav.py program i.e. the included python modules. - - --- python Python 2.5.2 (r252:60911, Jan 24 2010, 14:53:14) [GCC 4.3.2] on linux2 Type help, copyright, credits or license for more information. import sys import pyclamav help(pyclamav) pyclamav.version() '0.4.1' pyclamav.get_version() LibClamAV Error: cl_cvdhead: Can't open file /var/lib/clamav//daily.cvd ('0.96.3', 0, 0) - - --- Where I had a /var/lib/clamav/daily.cvd file before there was now a /var/lib/clamav/daily.cld file. It seems that 'daily.cvd' is the compressed version of 'daily.cld'. The clamav-freshclam package's standard configuration contains 'CompressLocalDatabase no'. So, the first database upgrade after the program upgrade downloaded the daily.cld file. Unfortunately pyclamav doesn't seem to understand the uncompressed format. As a result Courier will block all messages to be sent. Would it be possible to include a test for the correct clamav database versionand throw up an error if 'daily.cvd' doesn't exist? This would be very helpful and remove a potential mail disruption. Cheers, Bernd -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkyzGM8ACgkQpYU8M8PbPV4B6wCfUc0WP68hkkMJGTX7lDm9dNVA mMEAn0f0rroxWwu+xjxXRgF3iqe8FTje =NZgl -END PGP SIGNATURE- -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] pythonfilter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 差出人: Bernd Plagge bpla...@choicenet.ne.jp 宛先: courier-users@lists.sourceforge.net 件名: [courier-users] pythonfilter problems 日付: Sun, 10 Oct 2010 00:40:54 +0900 Content-Transfer-Encoding: base64 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've two related pythonfilter problems and hope to get some help. First problem is the quarantine release process. .. Thanks Gordon; I'll give that a try. Cheers, Bernd -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkyxsWkACgkQpYU8M8PbPV72YwCfaQWLhqUYUjGtxUbaTtvL97rJ zLIAn1nDbIyDKZd4GNayAPDZLEC7WXNm =8x9K -END PGP SIGNATURE- -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] pythonfilter problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've two related pythonfilter problems and hope to get some help. First problem is the quarantine release process. pythonfilter-modules.conf contains: ... [clamav.py] localSocket = '/tmp/clamd' action = 'quarantine' [Quarantine] siteid = '7d35f0b0-492a-47c6-b513-f28bd50476d3' dir = '/var/lib/pythonfilter/quarantine' days = 14 notifyRecipient = 1 alsoNotify = 'alsom...@somedomain.com' userRelease = 1 Notification received (parts) was: Received: from mserv.mydomain.com ([:::127.0.0.1]) by mserv.mydomain.com with esmtp; Sat, 09 Oct 2010 21:02:53 +0900 id 8096.4CB059ED.2AE6 From: Mail Quarantine System postmas...@mserv.mydomain.com To: i...@mydomain.com Subject: Quarantine notice Message ID: courier.4cb059ed.2...@mydomain.com Date: Sat, 09 Oct 2010 21:02:53 +0900 You received a message that was quarantined because: The virus ClamAV-Test-File was found in the message . If this was a message that you were expecting, and you know that it is safe to continue, then forward this message to the following address to release the quarantined message. . Quarantine release address: quarantine-7d35f0b0-4a07-40a6-b513-f28bd50476d3-32...@mserv.mydomain.com Therefore I forwarded the email to the quarantine address: Oct 9 21:04:44 mserv courierd: newmsg,id=8071.4CB05A5C.2B05: dns; mypc ([:::183.105.22.32]) Oct 9 21:04:44 mserv courierd: started,id=8071.4CB05A5C.2B05,from=i...@mydomain.com,module=esmtp,host=mserv.mydomain.com,addr=quarantine-7d35f0b0-4a07-40a6-b513-f28bd50476d3-32...@mserv.mydomain.com Oct 9 21:04:44 mserv courierd: Waiting. shutdown time=none, wakeup time=Sat Oct 9 21:08:39 2010, queuedelivering=5, inprogress=1 Oct 9 21:04:44 mserv courieresmtp: id=8071.4CB05A5C.2B05,from=i...@mydomain.com,addr=quarantine-7d35f0b0-4a07-40a6-b513-f28bd50476d3-32...@mserv.mydomain.com: configuration error: mail loops back to myself (MX problem). Oct 9 21:04:44 mserv courieresmtp: id=8071.4CB05A5C.2B05,from=i...@mydomain.com,addr=quarantine-7d35f0b0-4a07-40a6-b513-f28bd50476d3-32...@mserv.mydomain.com,status: failure Oct 9 21:04:44 mserv courierd: completed,id=8071.4CB05A5C.2B05 Oct 9 21:04:44 mserv courierd: started,id=8071.4CB05A5C.2B05,from=,module=dsn,host=,addr=i...@mydomain.com Oct 9 21:04:44 mserv courierd: Waiting. shutdown time=none, wakeup time=Sat Oct 9 21:08:39 2010, queuedelivering=5, inprogress=1 Oct 9 21:04:44 mserv courierd: newmsg,id=8096.4CB05A5C.2B0A: dns; localhost (localhost [127.0.0.1]) Oct 9 21:04:44 mserv courierd: started,id=8096.4CB05A5C.2B0A,from=,module=local,host=info!!950!950!/home/mydomain.com/mail/info!!,addr=info Oct 9 21:04:44 mserv courierd: Waiting. shutdown time=none, wakeup time=Sat Oct 9 21:08:39 2010, queuedelivering=6, inprogress=2 Oct 9 21:04:44 mserv courierd: completed,id=8071.4CB05A5C.2B05 Which sent a mail back complaining about a mail loop - --- UNDELIVERABLE MAIL Your message to the following recipients cannot be delivered: quarantine-7d35f0b0-4a07-40a6-b513-f28bd50476d3-32...@mserv.mydomain.com: configuration error: mail loops back to myself (MX problem). - --- = Note that I don't have 'local' in the 'enablefiltering' configuration file! Also note that the sender address is empty! Problem 2: Because of this problem I thought I just disable the quarantine release and the alsoNotify: - --- pythonfilter-modules.conf: ... [clamav.py] localSocket = '/tmp/clamd' action = 'quarantine' [Quarantine] siteid = '7d35f0b0-492a-47c6-b513-f28bd50476d3' dir = '/var/lib/pythonfilter/quarantine' days = 14 notifyRecipient = 1 alsoNotify = '' userRelease = 0 This crashed the filter because of the empty alsoNotify: - -- - - (test) virus mail arrives: Oct 9 21:19:43 mserv courieresmtpd: started,ip=[:::213.165.64.23] Oct 9 21:19:43 mserv courieresmtpd: HELO mail.gmx.net Oct 9 21:19:44 mserv courieresmtpd: MAIL FROM:j...@yahoo.com Oct 9 21:19:45 mserv courieresmtpd: RCPT TO:i...@mydomain.com Oct 9 21:19:45 mserv courieresmtpd: DATA Oct 9 21:19:46 mserv courieresmtpd: started,ip=[:::193.26.13.231] - - virus message to recipient - but FROM address is empty Oct 9 21:19:46 mserv courieresmtpd: started,ip=[:::127.0.0.1] Oct 9 21:19:46 mserv courieresmtpd: ehlo mserv.mydomain.com Oct 9 21:19:46 mserv courieresmtpd: mail FROM: size=955 Oct 9 21:19:46 mserv courieresmtpd: rcpt TO:i...@mydomain.com Oct 9 21:19:46 mserv courieresmtpd: data Oct 9 21:19:46 mserv courierd: newmsg,id=8097.4CB05DE2.2D17: dns; mserv.mydomain.com ([:::127.0.0.1]) Oct 9 21:19:46 mserv courierd: started,id=8097.4CB05DE2.2D17,from=,module=local,host=info!!950!950!/home/mydomain.com/mail/info!!,addr=info - -
[courier-users] Postgresql
On Tue, 24 Aug 2010 12:06:33 + courier-users-requ...@lists.sourceforge.net wrote: The statement Can not get it to work doesn't really contain anything which might allow someone to help you. First I need to know, how to get PostgreSQl working... Maybe I should subscribe to the postgresql list Greetings PMC OS Can't be that difficult. ls /etc/postgresql/8.3/main/ environment pg_hba.conf pg_ident.conf postgresql.conf start.conf Then please check pg_hba.conf and possibly postgresql.conf. As Gordon already mentioned Postgres has a sophisticated authentication system and you need to ENABLE TCP connections in pg_hba.conf. Gruss, Bernd PS: Ein Kunde von mir, EDV Leiter einer mittelstaendischen Firma, hat seinen Mitarbeitern immer gesagt: LESEN BILDET! Tue es - und sei freundlich, wenn Du Hilfe willst! Schliesslich ist keiner verpflichtet, zu helfen! signature.asc Description: PGP signature -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] (solved) clamAV, courierfilter , pythonfilter, problem after upgrade
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 16 Apr 2010 12:05:26 + courier-users-requ...@lists.sourceforge.net wrote: Bernd Plagge bpla...@choicenet.ne.jp wrote on 2010-Apr-16: I'm using Debian. this morning the pythonfilter clamav module stopped working. ClamAV version 0.94 is not valid any more. What repositories are you using for clamav? We run Debian Lenny, and we get clamav from the debian volatile repository. It has up-to-date versions that work out-of-the-box with the python-clamav package from debian and pythonfilter-1.6 (the latest). No patching required. So our apt sources.list file has: deb http://volatile.debian.org/debian-volatile lenny/volatile main HTH Jeff Jansen Jeff, thanks for your comments. Yes, I get the clamav database updates from the volatile repository as well. ClamAV version 0.94 is not supported any more. However, the stable package python-clamav 0.4.1-1+b1 depends on libclamav5 (= 0.94.dfsg). As the name suggests this version does not support ClamAV ver 0.95, the currently used version. Finally, I solved the problem by upgrading to python-clamav 0.4.1-1.1+b1 depending on libclamav6 (= 0.95.3+dfsg); this is a testing package. So, it seems that if you're using ClamAV 0.95 you need to upgrade python-clamav to use the testing package. Finally, the ClamAV version you're actually using shows in the freshclam log: freshclam daemon 0.95.3 (OS: linux-gnu, ARCH: i386, CPU: i486) ClamAV update process started at Sat Apr 17 13:31:08 2010 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.95.3 Recommended version: 0.96 Regards, Bernd -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkvJPLsACgkQpYU8M8PbPV7OswCdFNxlR4DUDPlRXXRQV7vU+71t sB0An1Uas4v2cayIs/VJS9A1TyybtZ9W =PgKo -END PGP SIGNATURE- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] clamAV, courierfilter , pythonfilter, problem after upgrade
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello I'm using Debian. this morning the pythonfilter clamav module stopped working. ClamAV version 0.94 is not valid any more. Although I have libclamav 0.95 installed there was apparently a problem with the database version: Apr 16 09:38:56 linde courierfilter: LibClamAV Error: Problem parsing database at line 742 Apr 16 09:38:57 linde courierfilter: LibClamAV Error: Can't load daily.ndb: Malformed database Searching the net I found a pyclamav.c patch (from Gordon). So I downloaded the patch and rebuilt the python-clamav_0.4.1 Debian package. This converted the database and the clamav module started. In addition I upgraded to pythonfilter 1.6 (lastest version). However, now I get below error: Apr 16 13:21:48 linde courierfilter: LibClamAV Error: cl_free: engine == NULL Apr 16 13:21:48 linde courierfilter: LibClamAV Error: cl_load: engine == NULL Apr 16 13:21:48 linde courierfilter: pythonfilter clamav reject,from=mail...@x.jp,addr=abcd...@y.jp: 554 Null argument passed to function Btw, courier is verion 0.60. Any ideas? Is this an error in pythonfilter? Cheers, Bernd -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkvH6vAACgkQpYU8M8PbPV4exACgiOLVdow5EKQBT/dmIBJtfYNC I4kAoLDLzbXFGyutKCpL/Z646pRlGqPG =VcE9 -END PGP SIGNATURE- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Couriersite - a new courier project for 2010
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff, while I'm currently using some self-developed tools (combination of PHP, ldap addressbook, shell scripts) for domain and mail administration I really appreciate your contribution. I'm also sure that many people use them and in addition your tools will be a valuable addition to Courier. Thanks again! Bernd Bernd Plagge - プラゲ ベェアント First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有) mail: bpla...@choicenet.ne.jp - url: http://www.choicenet.ne.jp On Sun, 03 Jan 2010 12:04:33 + courier-users-requ...@lists.sourceforge.net wrote: From: Jeff Jansen jeff.jan...@kkoncepts.net To: Courier Users List courier-users@lists.sourceforge.net Subject: [courier-users] Couriersite - a new courier project for 2010 Date: Sun, 03 Jan 2010 08:31:59 +0800 Content-Transfer-Encoding: 7bit I've been very happily using courier for more than 10 years now, and over that time my email administration tools have gone from vi to bash scripts to perl scripts to simple web scripts to full-blown web programs. I've been meaning for the past year or so to clean this stuff up and turn it loose so others could use it as well, but life being what it is, I've not gotten around to it. Finally my very patient wife encouraged me to take this week of vacation between Christmas and New Year's to actually do the work and get it out the door. So here it is, my little contribution to my favorite mail server... Couriersite is a web program (written in perl) designed to allow relatively easy administration of courier email servers. It is also designed to allow others to administer different parts of the email system, thereby making less work for the overworked and under paid email administrator! To that end, it provides four programs: * Siteadmin - which allows someone to administer the entire email server (all services, domains, users, mailing lists, etc.). * Domainadmin - which allows someone to administer a single email domain (settings, users, and mailinglists). * Listadmin - which allows someone to administer a single mailing list. * Useradmin - which allows someone to administer a single email user. The installer sets up the complete courier email suite (if it's not already installed) as well as spamassassin and clamav. So you get all of courier as well as AV and spam scanning working out-of-the-box. If you enable webdav in your web server, it also allows users to upload and share their calendars with other email users in their email domain (all email users access calendars using their own email usernames and passwords) or with anyone using a generic username and password. The site administrator has complete control over what runs and what doesn't, but then they can delegate administration of domains and mailinglists to others if they choose. Moreover, users can log into the Useradmin program and administer their own email address including changing their password, setting forwarding addresses, spam controls (if enabled), calendar sharing (if enabled), and creating a vacation/auto reply (with an optional automatic stop date). The real point of the program is to get others to do my work for me, laziness being a chief virtue of most IT professionals! :-) The tar ball of the files (with the installation script) can be found at http://www.kkoncepts.net/courier/files;. Installation instructions are available in the tar ball or you can read them on-line here - http://www.kkoncepts.net/courier/readme;. DEFINITELY read this before you install. There's some caveats you need to know before you push the INSTALL button - like the installer thinks that you are running on a clean Debian system! Many of the gory details (which you definitely also should read) can be found at http://www.kkoncepts.net/courier/details; I'm a systems administrator, not a programmer, so if you see problems, bugs, security issues, etc., please let me know. I'm sure that someone more gifted than I could write this much better. But it scratches where I itch and makes my life easier. So hopefully it can do the same for others. Jeff Jansen -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAktB8XEACgkQpYU8M8PbPV5NBwCgwR1Tzi6MUp62bURD3bGl6yVU 7fcAnRVhBGFhw+NnvCaL6W0dmRrYkNo+ =Xcsy -END PGP SIGNATURE- -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] DNS resolution fails
On Fri, 10 Jul 2009 12:04:53 + courier-users-requ...@lists.sourceforge.net wrote: -- testmxlookup thinks it did its job well, but did not. Inside djbdns I have the entries for both 127.0.0.1 and the IP 192.168.1.200 (inside /etc/dnscache/env/IP) Bit confused, Hi, djbdns makes distinguishes between the DNS server and the DNSCache. /etc/dnscahe refers to the DNScache, your DNS server configuration should be at /etc/tinydns. Tinydns should be listening at an internal IP address like 127.53.0.1. You need to configure tinydns to be able to resolve your hosts. Also note that Courier does not use /etc/hosts or /etc/hostname. So, there is no shortcut. Regards, Bernd -- Bernd Plagge - プラゲ ベェアント First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有) mail: bpla...@choicenet.ne.jp - url: http://www.choicenet.ne.jp signature.asc Description: PGP signature -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] badhost patch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Marcus, oh - just take it as an advise. I understand what you want to achieve but I'm telling you that this will backfire. Reason is that the assumptions are not holding anymore. The fact that other mta's are providing the same option doesn't make it more intelligent. Anyway, your server - your rules. Cheers, Bernd On Wed, 29 Apr 2009 12:03:43 + courier-users-requ...@lists.sourceforge.net wrote: Hi Bernd. Other MTA have the same option. I am just adding something I miss in courier. . Exim do that by host_reject_connection option. . Postfix by smtpd_client_restrictions option I use to block some dsl and dial-up hosts but its not the only use. Marcus - -- Bernd Plagge - プラゲ ベェアント First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkn4SksACgkQpYU8M8PbPV7TLwCgqCha5/hJvWqqL9NaiVWdrFQW IbgAoJUn/lwzHbXWofnWgzo1ySLAe3H8 =7FlC -END PGP SIGNATURE- -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] badhost patch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, no offense intended but this approach will make you reject valid mails. For one, your basic assumption is that any mail originating from a hostname including dial/adsl/dsl is just spam. This doesn't hold true in times where lines are becoming faster and companies are running their own mail server from a DSL connection. Just to give you an idea. Here in Japan fibre optics 100 Mbit lines are very common and one provider started to offer a 1 Gigbit line for a very affordable monthly flat rate. Regards, Bernd On Tue, 28 Apr 2009 01:47:33 + courier-users-requ...@lists.sourceforge.net wrote: From: Marcus Pereira mar...@task.net.br To: courier-users@lists.sourceforge.net Subject: [courier-users] badhost patch Date: Mon, 27 Apr 2009 16:44:56 -0300 Hello. Some years ago I missed a function on Courier bofh file. It was to reject connections based on the reverse dns host name. I made a patch and I use it for arround 4 years with no problems. I use mostly to block direct delivery from adsl/dial-up connections. The bofh lines look like this: badhost adsl.giga.net.tw badhost broadband.ntl.com badhost cable.primacom.net badhost dial-in.ttnet.net.tr badhost dial-up.arnes.si badhost dyn.user.ono.com badhost dsl.amrltx.swbell.net And courier will block with messages like this: 517 Host rejected: 217.217.64.81.dyn.user.ono.com Blocking hostnames and not IP networks is much more easy to mantain. I hope this helps anyone who missed that feature too. Marcus Pereira - -- Bernd Plagge - プラゲ ベェアント First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkn2arMACgkQpYU8M8PbPV7dSACfak7RTt4VRKPpdzw5tCIWr1VA uPYAoK0g7+3DLBDrqyLKhcJCT+YNfYqK =tYgC -END PGP SIGNATURE- -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Debian ssl/tls
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've been using Debian and Courier for a number of years and never experienced such problems. (I did get, however, the version mismatch error - which I managed to correct fairly easily). Therefore I don't think that this is a Debian/Ubuntu problem. You should note that re-installing a Debian/Ubuntu package will by default NOT replace your (customized) configuration files with the standard files. If you want to install the stock configuration files you need to request this during the installation process or remove the current installation files before a re-install. During a new Debian/Ubuntu installation certificates are generated as well. As there were some problems with a 4-year old certificate mentioned in this thread it seems that outdated (and faulty) Courier configuration files were just copied and kept. Regards, Bernd On Mon, 06 Apr 2009 22:01:31 + courier-users-requ...@lists.sourceforge.net wrote: From: Sam Varshavchik mr...@courier-mta.com To: courier-users@lists.sourceforge.net Subject: Re: [courier-users] couriertcpd hangs Date: Mon, 06 Apr 2009 18:01:26 -0400 Artur W. writes: Hi Marcus! Marcus Pereira wrote: if you are using Debian or Ubuntu its a bug on libgdbm3 official package. I have a package for debian 64bits: http://riba.task.com.br/libgdbm3_1.8.3-3-task1_amd64.deb It solved a similar problem for me. Yes, I'm using Debian on 64 bits machine. I have libgdbm3 in version 1.8.3-3. I will try your suggestion and give you know if it helps. p.s. Anyone know if the bug was fixed in 1.8.3-4 from unstable? So this will fix, I am sure. It is amazing! It really helped me :) I tested my mta under heavy load and it works great! Would you mind adding a comment to that Debian bug entry. Politely note that, because of it, it caused you to go off on a wild goose chase, and waste a lot of time looking for a problem somewhere else. - -- Bernd Plagge - プラゲ ベェアント First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有) * 新電話番号 - 3月16日から New Phone Number from 03/16 ** 03 - 6379 2516 mail: bpla...@choicenet.ne.jp - url: http://www.choicenet.ne.jp ** *** Campaign *** Affordable Web Sites http://choicenet.ne.jp/en/hpcampaign.html ホームページキャンペーン http://choicenet.ne.jp/jp/hpcampaign.html ** FREE Web Assessment: http://choicenet.ne.jp/en/website_assessment.html Web Design: http://choicenet.ne.jp/en/webdesign.html Web Hosting: http://choicenet.ne.jp/en/hosting.html Net Support: http://choicenet.ne.jp/en/netsupport.html *** 無料ウエブサイト評価 http://choicenet.ne.jp/jp/website_assessment.html ウエブデザイン: http://choicenet.ne.jp/jp/webdesign.html ウエブホスティング: http://choicenet.ne.jp/jp/hosting.html ネットワークサポート:http://choicenet.ne.jp/jp/netsupport.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAknam9AACgkQpYU8M8PbPV6StgCeNgWhQw8X0CY745KUcuWgSJo5 v2sAn2vT3p1I9OYq5GIiLmJCjpNZFEtC =azvI -END PGP SIGNATURE- -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] courier-users Digest, Vol 35, Issue 26
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Marcus, unfortunately nobody can help you unless you can provide details like courier configuration and logfiles. It is not that people don't want to help but they just can't without sufficient details. Your problem could be at your end as well as at your partners end. First thing to do are some test like: 1) send an email from a yahoo, google etc account to your mail address on the server in question does it arrive? if yes, then the server is basically working 2) next thing to check is your DNS configuration. There are various websites like www.dnsstuff.com; they give you a detailed report about your name server configuration. If you don't know how to do this provide your domain name here and other people can check it. 3) Email works similar to normal mail. A: I sent you a letter B: I didn't get any Possible reasons: 1) A didn't send the letter 2) A did sent the letter but the address was incorrect 3) A did sent the letter with correct address but the letter got lost 4) letter was correctly delivered but B was too lazy to get it from the letter box 5) B got the letter but didn't like the content and is just pretending that he didn't got it In Email content you as the receiver won't see it until it hits your server (this is from point 3) onward above). To solve the problem in case 1) and 2) you need to know what is happening on the other end. To ask for logfiles or returned mail errors is not unprofessional at all as the problem may well be at your customers end. 4) Most mail servers validate a domain before sending mail to a corresponding email address. If the domain doesn't resolve correctly the sender will receive a error message like 'domain xxx.com doesn't resolve' or similar. This means that either your DNS servers are not working or your customers DNS configuration is faulty. The first problem you checked under 2). Incorrect DNS configuration is much more frequent than commonly assumed. You'll hear answers like 'we don't have email problems with other domains' etc. but this claim is unfounded because somebody only becomes aware of such problems if somebody complains. In other words: there is no way that a sys admin could prove that he can reach all domains execpt yours. Using a command (Linux) command like: dig a mail server @dns-server where mail server is your mail server e.g. mail.xyz.com and dns-server is your partnsers dns server e.g. n...@important-customer.com you can find out whether your customers mail server can find you. If your DNS configuration is correct (point 2) ) and your customers mail server still can't find you then you need to contact your customers techies to solve the problem. It is not your problem. General advise is: don't be impressed if your boss (or whoever) is running wild demanding that you ensure that he gets his mail. Secondly, if you can't receive mail from a particular domain then most times the problem is on their end. Over the years I had a number of such problems and each time the problem was at the other end. The real challenge is to find and contact the partners system administrator - as mail server operation is highly automated. Even then you need somebody who is really understanding the problem AND willing to investigate. Anyway, I hope this helps, Regards, Bernd On Fri, 27 Mar 2009 12:04:08 + courier-users-requ...@lists.sourceforge.net wrote: Evidence, well I was forwarded one mail, where our marketing guy and somebody external have been addressed. The marketing guy did not receive the mail, while the other person did. I would not try to dare asking for their server logs, since the person which sent the mail which we did not receive is a business partner, and it would be an unprofessional manner if I contact one of our investors asking for their mail server logs. So all what I have is a forwarded mail, addressed to 2 persons, and one person (which uses our mailserver) did not receive the mail. I checked from that day on all mail.log mail.warn and mail.err , but there is not even any hint about this mail... Okay, you might say, the mail has never arrived at our server (that was also my guess the first times when this happened). But since we have at least 1 case per week where people wrote us, and the mail never arrived (in addition the sender never received any error or reject mail), I personally think it is a bit suspicious. - -- Bernd Plagge - プラゲ ベェアント First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAknNdXAACgkQpYU8M8PbPV5mcQCfYCHCI5t5+S7qM7+yRK0pushm 5P8An3W4htFKavk3CRnS0OYZ/+2gmbcN =KpX4 -END PGP SIGNATURE
Re: [courier-users] courier-authlib and vpopmail aka authvchkpw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 20 Feb 2009 00:11:06 + courier-users-requ...@lists.sourceforge.net wrote: From: alexus ale...@gmail.com To: Gordon Messmer yiny...@eburg.com Cc: courier-users@lists.sourceforge.net Subject: Re: [courier-users] courier-authlib and vpopmail aka authvchkpw Date: Thu, 19 Feb 2009 19:11:00 -0500 Content-Transfer-Encoding: 7bit is there a way for me to get somewhere courier-authlib-0.60.3.tar.bz2 somewhere? its no longer on sourceforge... on another note, i'll give it a shot for couerier-mta and what about mailing lists? what do you guys recommend? The easiest option is to use couriers mailing lists (couriermlm). A web interface to set certain management options is also included. If you use virtual daemons I recommend to set up multiple instances of the web interface (one per domain). Setting up a mailing list requires a number of manual steps. One important point is to ensure all mailing list files are owned by the user and group courier is running as! You may want to set up several scripts to ensure that this is done in a consistant way. Regards, Bernd - -- Bernd Plagge - プラゲ ベェアント First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有) Tel. 03-4500-7799 - Fax. 03-4400-3723 mail: bpla...@choicenet.ne.jp - url: http://www.choicenet.ne.jp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkmeAf0ACgkQpYU8M8PbPV7bYQCfc2DaJucz4vXRK1dgFZrP5IAo gZ8AnRpQx0Kd/L9/v8SK+cirMWNl3OLK =bXZU -END PGP SIGNATURE- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] courier-authlib and vpopmail aka authvchkpw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 13 Feb 2009 12:10:10 + courier-users-requ...@lists.sourceforge.net wrote: From: alexus ale...@gmail.com To: courier-users@lists.sourceforge.net Cc: s...@email-scan.com Subject: [courier-users] courier-authlib and vpopmail aka authvchkpw Date: Thu, 12 Feb 2009 11:35:03 -0500 Content-Transfer-Encoding: 7bit 0.60.4 2008-05-08 Mr. Sam s...@email-scan.com * Makefile: Drop the unmaintained authvchkpw module. --- so this is it? just like that? I don't know if you realize it, but yet a lot of us still using it and even if not majority ... there is a lot of us out there, and I don't know in terms of maintains wise, but it never gave me any problems at all, and I was happy to say I'm using Courier-IMAP w/ Courier-Authlib, now I'm screwed big time! and I don't want to use old version :-( *sigh* Can't someone help us out here? -- http://alexus.org/ I changed from qmail/vpopmail to Courier about 2 years ago. It does take planning and you want to set up a test server and make sure that you understand the main configuration options and the whole concept. SPAM prevention actually becomes easier; the main reason being Gordons pythonfilter. This is just a recommendation but I'm sure you won't regret it. Regards, Bernd - -- Bernd Plagge - プラゲ ベェアント First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有) Tel. 03-4500-7799 - Fax. 03-4400-3723 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkmVaz0ACgkQpYU8M8PbPV43UACfRCSC54iZPxfrpWilUoTO8W24 wmMAn2D9D2diOysag21EwVVMGw2Q64lF =pwwo -END PGP SIGNATURE- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] courier-users Digest, Vol 33, Issue 19
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 21 Jan 2009 06:01:19 + courier-users-requ...@lists.sourceforge.net wrote: From: Goutam Baul goutam.b...@cesc.co.in To: courier-users@lists.sourceforge.net Subject: [courier-users] Courier-POP3 -- LDAP -- Multiple Domains Date: Wed, 21 Jan 2009 09:48:41 +0530 Reply-To: goutam.b...@cesc.co.in Content-Transfer-Encoding: 7bit Dear List, How do I configure courier-pop/courier-imap/courier-authlib in a situation where 1) there are multiple domains hosted with separate name space 2) the user information is there in the LDAP table 3) the LDAP structure is something like ou=name-of-the-domain,dc=my-organization-name So far as I understand, the search base is going to be different for each of the domains. How do I tell authlib to use different basedn values? Do I use multiple entries, one for each of the domains, in the authldaprc file? Kindly give me some hints. With regards, Goutam Hi Goutam, you need to start reading. Pointers are: - get the very detailed courier installation document - get the documentation about authlib - your suggested ldap structure is not really helping you. Check the suggested ldap structure 'authldap' You do not need a different ldap ou for each virtual domain. One important field for each email user is the location of his mail files. These directories you normally want to group by domain. So, use something like: .../domain1/mailuser-1 .../domain1/mailuser-2 .../domain2/mailuser-xyz When testing authentication it is higly recommende to use authtest and to switch debugging on (in authldaprc I think). This will show you search paths and passwords in syslog. Regards, Bernd - -- Bernd Plagge - プラゲ ベェアント First Choice Internet Ltd., Tokyo - ファースト・チョイス・インターネット(有) Tel. 03-4500-7799 - Fax. 03-4400-3723 mail: bpla...@choicenet.ne.jp - url: http://www.choicenet.ne.jp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEUEARECAAYFAkl3IBgACgkQpYU8M8PbPV63sQCYqJcIdCC4OHwM74DSqa/9083M dACePNNkjkZs7JQn2psBSn1hDnsZInw= =mxz7 -END PGP SIGNATURE- -- 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] python filter howto?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ricardo, any package with the .deb extension should do. Ubuntu is using the same package manager as Debian. Regards, Bernd On Wed, 07 Jan 2009 12:09:12 + courier-users-requ...@lists.sourceforge.net wrote: To: courier-users@lists.sourceforge.net Subject: [courier-users] python filter howto? Date: Tue, 6 Jan 2009 10:47:47 -0800 Hi, I currently use the perl filter module but I'd like to switch over to the python filter module. Is there a howto somewhere? Is there a Ubuntu package for the python filter? I only see the perl filter in apt repository. Thanks Ricardo - -- B -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkllVl0ACgkQpYU8M8PbPV5RmgCfSynQIg+9N5vNrcL6w4fMMJkg oO8AnRHgykexPVaMbCYg/v1wCDAkxflj =OvY9 -END PGP SIGNATURE- -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] webmlm - unsubscribe problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, our customers get access to the webmlm interface to adjust mailinglist settings and to subscribe/unsubscribe people. After logging in you can show the whole subscriber list, mark single subscribers and unsubscribe them. However, this doesn't seem to work. Error Message: Error: unsubscribe failed shows. All files in the mailing list directory belong the global uid,gid. So I think that it can't be an ownership probem. The subscribers are added using the couriermlm import function. What could the reason be - or how can I find this out. Thanks for all help! Regards, Bernd - -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkkG58AACgkQpYU8M8PbPV4rpwCglaTALLWZqY5L9WmxpdzTd0ZX KkgAoIYJIfwdFg1VPLNvpGBzlSl/8Mmp =LvFa -END 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
[courier-users] webmlm - unsubscribe problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 We used an import file to load mailinglist subscribers when we moved from ezmlm to couriermlm. Format: [EMAIL PROTECTED] . [EMAIL PROTECTED] . [EMAIL PROTECTED] . These addresses all cause errors when you try to unsubscribe them by checking them on the webmlm admin screen and pressing 'unsubscibe selected addresses'. Manually subscribed addresses, however, can be unsubscribed. We found that the problem always occurs if there is no subscription information for a given email address. Changing the file above to the following format solves the problem: [EMAIL PROTECTED] any line comment . [EMAIL PROTECTED] add here name, explanation or whatever . [EMAIL PROTECTED] this is a famous subscriber . Please verify! Program correction shouldn't be too difficult. Kind regards, Bernd -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkkH7kUACgkQpYU8M8PbPV6TOgCeOwbzojOkSPFAKlA1ujk0kaCU UesAoLWfcrIGNPX6bX/hUGhsSY/uAt5c =K7Yf -END 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
[courier-users] LDAP user creation
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Ricardo, we have some Perl scripts and wouldn't mind to share. However I should mention that we've extended the suggested LDAP structure. Sam, if you want them let me know where to post them to. Regards, Bernd On Fri, 10 Oct 2008 12:08:02 + [EMAIL PROTECTED] wrote: From: Ricardo Kleemann [EMAIL PROTECTED] To: courier-users courier-users@lists.sourceforge.net Subject: [courier-users] ldap - easy way to create user account/Maildir directory? Date: Thu, 09 Oct 2008 20:06:26 -0700 Hi, I'm doing ldap authentication and I don't know of any tool that can automatically create an ldap entry and create the user directory, maybe there's something like that already available? Otherwise since I'm not using the regular linux adduser, I have to create a script which creates the ldap entry and creates the user directory, and does the appropriate chown for the Maildir. Is there anything out there which already takes care of this for ldap? Thanks Ricardo - -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkjwDJYACgkQpYU8M8PbPV5mKACfcIAOF46kljjWaGqpBQng4ERi 3UwAoJiBx/7PryFNZi9g/IW0wKLsqUPC =5JjJ -END 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
[courier-users] pythonfilter and spamassassin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I got mails like this: - --- Received: from someserver ([:::122.216.181.2]) by linde.someserver with esmtp; Sun, 27 Jul 2008 10:30:07 +0900 id C2BB.488BCF9F.0448 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on linde.someserver X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RDNS_NONE autolearn=no version=3.2.3 Received: from someserver ([:::122.216.181.2]) by linde.someserver with esmtp; Sun, 27 Jul 2008 10:30:05 +0900 id C2C8.488BCF9D.0443 -- in total 100 Received headers Received: (qmail 554 invoked for bounce); 27 Jul 2008 01:28:12 - Date: 27 Jul 2008 01:28:12 - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: failure notice Message-ID: [EMAIL PROTECTED] - --- Once there are more than 100 header records you get an 'Looping' exception. The exception is no problem but I didn't understand why the mail was processed multiple times. For each of the additional header lines the log showed a 'newmsg' record; so obviously it was generated by the server. It turned out that the spam test was looping. After hours of search and I checked the spamassassin pythonfilter config file. [spamassassin.py] spamcPath = '/usr/bin/spamc' maxMsgSize = 512000 #username = 'username' #rejectScore = 5 We don't run user-specific spam tests and therefore spamc is run as root. Therefore I changed the file to read like: [spamassassin.py] spamcPath = '/usr/bin/spamc' maxMsgSize = 512000 username = 'root' #rejectScore = 5 Now everything works like a charm. While this is understandable once you checked all the details I wonder whether it would be possible to check for the correct user. May be this is difficult. At the very least a comment in the README file and/or in pythonfilter-modules.conf would be very much appreciated! When investigating this problem I also check xfilter.py and the line: self.message.add_header('X-Filtered-By', filterName) suggests that it adds a header line. However, I can't find this header line in my mails although the spamassassin headers are showing fine: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on linde.choicenet.ne.jp X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=RDNS_NONE autolearn=no version=3.2.3 Thanks for pythonfilter! Regards, Bernd - -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkiL6gkACgkQpYU8M8PbPV6iCgCgrfe3lHXyFhH01qM/kFSxJA6l 3FkAoJje+fE3upIQ9rX+mcjpJcj9144t =Sjas -END 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
[courier-users] imap mail and greylisting
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm checking Squirrelmail out. Squirrelmail interfaces with Courier via imap. Also, we're using the pythonfilter with greylisting. What happened is that a mail could not be sent but was rejected with a message greylisting in action - come back in 5 min. Reading the documentation it seems that /etc/courier/enablefiltering controls what mail is filtered. This file contains just the standard esmtp entry. Therefore I was assuming that mail from local users (including hosted domains) is not filtered. (I think that Squirrelmail submits mail via PHP). Is that not correct? I check /etc/courier/imapd and enabled the Outbox function. As mail is submitted to directly to Courier (via sendmail) no error message should be returned. Is that assumption correct? The mail is sent but stays in the Outbox folder. Is this a feature? So, the problem is that users don't understand neither like come back in 5 minutes. Is there another way to accept mail from local users without a greylisting message being returned? cheers, Bernd - -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIA4gYpYU8M8PbPV4RAvVhAJsGsUAjBN+SgAvx2c9wL4WvnTATxwCfR3yf FRBD7IniKmCU6aFaG0MTpmI= =KvFz -END PGP SIGNATURE- - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] pythonfilter 1.1 - TtlDb error (greylisting.py)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I just installed pythonfilter 1.1. Everything worked fine but for the greylisting filter which couldn't be initialized. - -- Apr 13 23:44:41 linde courierfilter: Failed to run initFilter function from greylist Apr 13 23:44:41 linde courierfilter: Exception : exceptions.AttributeError:OpenError instance has no attribute 'message' Apr 13 23:44:41 linde courierfilter: File /etc/courier/filters/active/pythonfilter, line 102, in ? Apr 13 23:44:41 linde courierfilter: module.initFilter() Apr 13 23:44:41 linde courierfilter: File /usr/lib/python2.4/site-packages/pythonfilter/greylist.py, line 65, in initFilter - -- Line 64 reads: except TtlDb. Also the testttldb.py test fails (No module named TtlDb) However, the test does not fail if I manually run the import TtlDb command while being in directory /usr/lib/python2.4/site-packages/pythonfilter. So it seems to me that the module is not found although it is in the right directory. What could the problem be? Cheers, Bernd -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIAh9cpYU8M8PbPV4RAkcjAJ49hK1xaNExlYVbI3qaVZqgARP8VwCfffbY kFrS7TWZ0lrrHtxiHZiymzg= =OtPF -END PGP SIGNATURE- - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Courier Debian install
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, just to clarify this. There was not problem with the Debian installation in this case. You may have a /etc/courier/smtpaccess file or a corresponding directory. At installation time Debian asks you whether you want a single file or a directory. If you use the webadmin interface (in Debian 'courierwebadmin') data is written in directories. In any case, if there should be a particular file missing you can easily add it using a standard text editor. Hope this helps, Bernd Aha! May be this is the missing chain? I'm using Debian (latest stable), which provide me prebuilded packages, what are easy to install and configure. But some times (recommended mta for Debian is exim4) there are some informations skipped. I have no /etc/courier/smtpacces directory at all, I have an /etc/courier/smtpacces.dat - I have been checked it, but I do not now how to convert it back to human readable format. Do you know how to do it? - I'm afraid that whitout the source of smtpacces.dat file I can not recreate it expanded with FAXRELAYCLIENT which I need. - -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFH007qpYU8M8PbPV4RArwKAJ94OplhFPAUqlPGUKR82MqwWTHZNQCfXzm7 OCPQY54Z0zPz5JoMJZ/nUlA= =Cs4B -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] courier mailing list - Invalid moderation message
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, we are using Courier 0.57. Set up a mailing list for subscribers only and moderation enabled. When sending a the moderation confirmation for a posting with attachments to the list the server log says 'Invalid moderation message'. Finally I checked the source code and it seems that this message is only triggered in cmlmmoderate.C Is it correct that one of conditions for this error is that the message size exceeds 5 bytes? While I'm not really complaining about a limit - though it might be better to have a configuration option for this - I think that the error message is misleading. Also no mail was returned to the owner - so it's impossible to know the reason for the mail not being sent. Still, the moderation request was shown in the web interface - but without the message text. I could confirm it from there and the mails got sent. I'd appreciate somebody could clarify this. Thanks! Bernd - -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHzjm7pYU8M8PbPV4RArH9AJ95a+uOkAQkt8lfyboGdlNU08zUMwCffdN0 M6/qDNtwkTNXbqOxge1Xoyg= =492+ -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] courier-users Digest, Vol 22, Issue 35
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sam, thanks for your answer. I'll dig something out so that we can fix this. Bernd On Mon, 25 Feb 2008 12:20:56 -0800 [EMAIL PROTECTED] wrote: I really don't have an answer for you, I have very little knowledge of these issues. Someone with better knowledge of Japanese encoding will need to figure out what needs to be done. The only suggestion I can offer is to try to set your browser to use UTF-8, which may work better, with regards to character formatting. - -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHw1DXpYU8M8PbPV4RAvzIAJ9JCImGxLATeu60n2nUzW8hphUW/ACgiC8B /uyaafXiqVAgj6W8vUccDbY= =yOxr -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] sqwebmail - Japanese text bug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Sam, I posted this bug where Japanese text gets crippled because of incorrectly inserted soft line characters. Do you have any opinion or suggestion how to solve this? I got some users shouting at me and would like to get this resolved. Could you please give me your ideas? Thanks for a great program! Bernd - -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHwgeBpYU8M8PbPV4RAgnCAJ9xhkXsAtJdi8dDYAuIyfkwisN1pQCggUZK 7d9zJtKHtlSQ0JkiOGxgtCo= =3UES -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] reposted: cripped Japanese characters in sqwebmail
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It seems that this mail didn't make it to the list. Hello, there seems to be a bug in sqwebmail where Japanese mail get crippled i.e. characters get modified and not readable any more. The problems seems to occur when 'soft breaks' (flowed format) are inserted into the text. The text is encoded in 'quoted-printable' format and according to the RFC soft-breaks are inserted 'between words'. The problem with Japanese text is that the normal text flow does not contain spaces. This necessarily leads to lines exceeding the predetermined text length. - - From what I can see the program is searching for (single byte) space characters and then applies soft breaks. However, a single byte space character is likely to be the first or second byte of a double byte Japanese character and thus the inserted soft break destroys the character. Test (1) with lines of over 50-60 (single byte) chars length show crippled characters. Test (2) with very short lines of about 20 (single byte) chars was transmitted without problems. Text already got crippled when saved to the 'draft' folder. I have screen prints to show the problem. If you should require them please let me know where to upload them to. Cheers, Bernd - -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHvL1npYU8M8PbPV4RAq/GAJ9ASMvM8spVQSIvvm/28CfMyo4lVwCghgnZ LczFEPdmLARSHCsBmmMkpjs= =YUCn -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] courier-users Digest, Vol 22, Issue 6
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 07 Feb 2008 12:11:38 -0800 [EMAIL PROTECTED] wrote: I'm running pythonfilter only and pythonfilter writes a .lock file in /var/lib/courier/allfilters. But I also had a .lock file in /var/lib/courier/filters and it seems that 'courierfilter stop' didn't try or success to remove this file. courierfilter creates the .lock files; pythonfilter does not. If you see that happen again, use lsof to see what PID has those files opened and locked, and find out what PID is in the courierfilter.pid file. Ok, I just checked this: pythonfil 4886 daemon3u unix 0xf7aab900 2540363 /var/lib/courier/allfilters/.pythonfilter courierfi 6011 daemon 1023uW REG 254,1 0 33062 /var/lib/courier/filters/.lock (deleted) I says (deleted) but nevertheless the file still exists: drwxr-x--- 2 daemon daemon 4096 2008-01-28 11:49 . drwxr-xr-x 9 binbin4096 2008-01-11 11:53 .. - -rw--- 1 daemon daemon0 2008-01-28 11:49 .lock BTW, this is Courier 0.57-1 Debian flavour. Regards, Bernd - -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHq5/MpYU8M8PbPV4RApZBAJ98ybX1uQgG0o+6D9Z3DfIpK/8A2QCgkekY /+Zg//ufxqMr9SkgzeDDw1U= =UlG/ -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Courier mailing list - moderation requests
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, we are now using the courier mailing list. There are some points we don't quite understand. If a user is subscribed via the new web interface a moderation request is triggered (moderated list) and sent to the moderator. However, the mail address of the person who wants to subscribe is not shown. There is no placeholder on the sub4.tmpl template. How can I ensure that at least the mail address of the requester is shown? If the moderator replies to the request then in a number of cases the server says 'invalid modration request' although the sender is specified as list owner. Is there a common reason for such 'invalid moderation request' messages? Is there a way to specify several moderators for any one list? Tia, Bernd - -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHqpZ5pYU8M8PbPV4RAvSuAKClpf8ZACjilZyq/DdpgOX9FL4FXwCeNpXm YyeawHr0s/gqj5OmH+5HoQY= =MqTO -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] courierfilter - minor problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, when I tried to stop courierfilter yesterday it showed an 'Alarm' message after about 3 seconds. Coourierfilter didn't stop and re-issuing the stop command just resulted in the same message. I'm running pythonfilter only and pythonfilter writes a .lock file in /var/lib/courier/allfilters. But I also had a .lock file in /var/lib/courier/filters and it seems that 'courierfilter stop' didn't try or success to remove this file. Once I deleted /var/lib/courier/filters/.lock manually and disabled the pythonfilter I could start and stop courierfilter without problem. After enabling pythonfilter again I could normally start courierfilter. Could you please verify this? Thanks! Bernd - -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHnmPApYU8M8PbPV4RAraqAJ93T8WasrWfTfOYNJevHJ2KfmNBXgCgquUQ pGXR0HstOuB71xBXgfehpjU= =eg+s -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Pythonfilter crashed
Hi everybody, today some customers complained that they couldn't send mails. Apparently pythonfilter crashed and after that no mails were send anymore. This is what the log says: --- Jan 11 10:35:48 linde courierfilter: Stopping pythonfilter Jan 11 10:35:51 linde courierfilter: Uncaught exception in auto_whitelist doFilter function: exceptions.IOError:[Errno 2] No such file or directory: '/var/lib/courier/tmp/120001/1200015345.25260.linde.xxt.ne.jp' Jan 11 10:35:51 linde courierfilter: File /etc/courier/filters/active/pythonfilter, line 194, in processMessage Jan 11 10:35:51 linde courierfilter: replyCode = i_filter[1](bodyFile, controlFileList) Jan 11 10:35:51 linde courierfilter: File /usr/lib/python2.4/site-packages/pythonfilter/auto_whitelist.py, line 94, in doFilter Jan 11 10:35:51 linde courierfilter: if _checkWhitelist(controlFileList): Jan 11 10:35:51 linde courierfilter: File /usr/lib/python2.4/site-packages/pythonfilter/auto_whitelist.py, line 63, in _checkWhitelist Jan 11 10:35:51 linde courierfilter: sender = courier.control.getSender(controlFileList).lower() Jan 11 10:35:51 linde courierfilter: File /usr/lib/python2.4/site-packages/courier/control.py, line 83, in getSender Jan 11 10:35:51 linde courierfilter: senderLines = getLines(controlFileList, 's', 1) Jan 11 10:35:51 linde courierfilter: File /usr/lib/python2.4/site-packages/courier/control.py, line 39, in getLines Jan 11 10:35:51 linde courierfilter: cfo = open(cf) Jan 11 10:35:51 linde courierfilter: Uncaught exception in greylist doFilter function: exceptions.IOError:[Errno 2] No such file or directory: '/var/lib/courier/tmp/120001/1200015345.25260.linde.xxx.ne.jp' Jan 11 10:35:51 linde courierfilter: File /etc/courier/filters/active/pythonfilter, line 194, in processMessage Jan 11 10:35:51 linde courierfilter: replyCode = i_filter[1](bodyFile, controlFileList) Jan 11 10:35:51 linde courierfilter: File /usr/lib/python2.4/site-packages/pythonfilter/greylist.py, line 104, in doFilter Jan 11 10:35:51 linde courierfilter: sendersIP = courier.control.getSendersIP(controlFileList) Jan 11 10:35:51 linde courierfilter: File /usr/lib/python2.4/site-packages/courier/control.py, line 70, in getSendersIP Jan 11 10:35:51 linde courierfilter: sender = getSendersMta(controlFileList) Jan 11 10:35:51 linde courierfilter: File /usr/lib/python2.4/site-packages/courier/control.py, line 59, in getSendersMta Jan 11 10:35:51 linde courierfilter: senderLines = getLines(controlFileList, 'f', 1) Jan 11 10:35:51 linde courierfilter: File /usr/lib/python2.4/site-packages/courier/control.py, line 39, in getLines Jan 11 10:35:51 linde courierfilter: cfo = open(cf) Jan 11 10:35:51 linde courierfilter: Unhandled exception in thread started by function processMessage at 0xb7852294 Jan 11 10:35:51 linde courierfilter: Traceback (most recent call last): Jan 11 10:35:51 linde courierfilter: File /etc/courier/filters/active/pythonfilter, line 211, in processMessage Jan 11 10:35:51 linde courierfilter: activeSocket.send(replyCode) Jan 11 10:35:51 linde courierfilter: socket.error: (32, 'Broken pipe') Apparently one tmp file was not found... man courierfilter says that crashed filters won't be restarted. If that's the case how do I get a filter restarted - I tried filterctl stop pythonfilter and then start again. courierfilter stop and start. As the initialization period of the pythonfilter (with clamav and spamassassin module) is 2-3 seconds I noticed straight away that the pythonfilter was not being initialized anymore. Is there a single condition which ensures that courierfilter is at least trying to run a particular filter? (I noticed that file /var/lib/courier/allfilters/pythonfilter must exist). Besides that I'm worried that esmtp sending stopped (mail was till received). Is that a known feature? And if so is there a way to check automatically that the server is still working? Any help is appreciated. Thanks! Bernd -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - 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] Pythonfilter crashed
Hi Gordon, thanks for your quick answer. Pleas see below. On Thu, 10 Jan 2008 21:00:56 -0800 Gordon Messmer [EMAIL PROTECTED] wrote: If that's the case how do I get a filter restarted - I tried filterctl stop pythonfilter and then start again. courierfilter stop and start. filterctl would normally do it, unless the process is stuck in a syscall, or can't exit for some other reason. Then you might need to restart courierfilter, too. Is there a single condition which ensures that courierfilter is at least trying to run a particular filter? I'm not sure what you mean. Well I restarted courierfilter and pythonfilter did not get initialized.and started. Are there any known conditions for this to happen. Besides that I'm worried that esmtp sending stopped (mail was till received). If mail is being received, then your filters are working. If filters stop working, you'll see something like 432 Mail filters temporarily unavailable in your logs. So you are saying there is no condition where the server is still receiving mail but no mail is going out? Regards, Bernd -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - 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] Logging
Gordon, that would be great. ..just a unified message line. That would make it much easier to count and analyze it. Thanks! Bernd On Thu, 20 Dec 2007 12:09:28 -0800 [EMAIL PROTECTED] wrote: Yeah, that should be possible. I'll try to patch something up for you to test in the next day or two. I've been very busy, having recently taken up a new job. -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Logging
Hi everybody, courier and pythonfilter are working fine here! Thanks for a always getting better software! Although pythonfilter and RBL blocking are working fine we sometimes having customers complaining - not very nicely - about too much spam. My perception is that most of these complaints are unreasonable and out of proportion. The problem is, however, that the customer only sees what PASSES and not the amount of SPAM being identified and rejected. Then, when they complain or even threat to change to some other provider I find it difficult to argue ... I would like to be able to get some stats like - total number of mails addressed to some domain/mail account - number of mails rejected for various reasons like - identified by spamassassin - ip in rbl - failed SPF check - infected mail - total number of mail send by domain/mail account I do not necessarily need the details but these number would be of great help. There are lines like New message for [EMAIL PROTECTED] in the log; we could count them. Spamassassin issues lines like Identified spam .. Could we have log lines like message for [EMAIL PROTECTED] rejected by filter where filter would be SPF, blacklist, clamav ?? A unified format would help as it would greatly simplify the development of a stats program. We implemented courier-analog but it doesn't seem to give me that data. Just some thoughts. Bernd -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - SF.Net email is sponsored by: 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] maildrop in delivery mode does not filter (debian)
Holger, here is what I have: courierd:DEFAULTDELIVERY=| /usr/bin/maildrop maildrop:/usr/bin/maildrop /etc/courier/maildroprc looks like: #Maildropfile configuration # fc 2007-11-15 # if you enable the 'logfile' option and the various 'log' lines # a maildrop.log file will be created in the mail users $HOME directory! #logfile ./maildrop.log #log home directory is #log $HOME # add spam headers #xfilter spamc --config=/etc/spamassassin # if you remove the backticks (`) no $RETURNCODE will be set! `test -e $HOME/mailfilter` #log mailfilter test returns $RETURNCODE if ($RETURNCODE eq 0) { # log mailfilter found include $HOME/mailfilter exit } to $HOME exit -- note: - I put mail directly into the users home directory i.e. no Maildir directory - I have a maildirfilterconfig file in every users mail directory with the following content: #bp 2007-11-27 - for courier mail MAILDIR=$HOME MAILDIRFILTER=mailfilter -- If you put the log file somewhere else you need to make sure that it can be generated by the standard courier user you're using (I'm using courier.courier). I'm running the 0.57.0-1 version: ii courier-mta0.57.0-1 Courier Mail Server - ESMTP daemon ii courier-mta-ssl0.57.0-1 Courier Mail Server - ESMTP over SSL Hope this helps! Bernd On Sat, 01 Dec 2007 12:06:32 -0800 [EMAIL PROTECTED] wrote: 差出人: Holger Librenz [EMAIL PROTECTED] 宛先:: courier-users@lists.sourceforge.net 件名: [courier-users] maildrop in delivery mode does not filter (debian) 日付: Sat, 01 Dec 2007 20:36:45 +0100 Reply-To: courier-users@lists.sourceforge.net Hi. Since about 3 days i try to get maildrop filtering mails. My config consits of postfix, courier, sasl and ldap on a Debian 4.0 and maildrop is used as mda. My problem: maildroprc nor $HOME/.mailfilter is recognized on delivery. Here are my maildrop-related configs: `postconf | grep maildrop`: mailbox_command = /usr/bin/maildrop virtual_transport = maildrop master.cf: maildrop unix - n n - - pipe flags=ODRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} ${user} maildroprc: # our shell SHELL=/bin/bash # the default path DEFAULT=$HOME/Maildir # log file logfile /var/log/maildrop VERBOSE=5 # This get's added above each entry in the log file. # It's just a visual aid. log --- `echo maildroprc called. /tmp/maildrop.log` # include user rules - if available USERFILTER=/etc/courier/userfilters/$1 if (`test -d $USERFILTER`) { `echo Userfile $USERFILTER exists and will be included /tmp/maildrop.log` include $USERFILTER } else { `echo Userfile USERFILTER doesn't exists! /tmp/maildrop.log` } Could anybody help me? Greets Holger -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Error compiling Courier with TLS
Leigh, you' did a pretty good job in explaining it. For about 2 years or so Debian was only offering outdated packages and even I started to compile packages. While I greatly appreciate the 'standard file locations' and dependencies Debian enforces there may be good reasons to recompile a Debian package e.g. if command line values need to be changed. In such case I download the Debian source files (original source plus Debian diff), change the compile parameters in debian/rules and build the packges. This normally works UNLESS there are major program changes. Therefor, in conclusion and for the benefit of any other reader, if you need to change some compile parameters you should NOT download the tarball and compile it but the original source together with the Debian diff file and then recompile it. Just my 2 yen. Thanks, Bernd --- 差出人: Leigh S. Jones, KR6X [EMAIL PROTECTED] 宛先:: courier-users@lists.sourceforge.net 件名: Re: [courier-users] Error compiling Courier with TLS 日付: Thu, 29 Nov 2007 18:06:17 -0800 Leigh Jones writes: I don't want to tread on toes too very hard here. It seems to me that Sam Varshavchik has been clear here, but the brevity with which he has spoken belies the depth of meaning. So let me attempt to expound. If you come from the background of running a very tiny linux implementation, as in not particularly well supported, you may miss entirely the strength o -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] mail address with dot '.'
Hello, I have a serious problems. Some of our customers have mail addresses with a dot '.' between first name and last name. It seems that is is in compliance with the RFC. However, courier can't change to the corresponding subdirectory. In the (person name and domain name have been modified!) example sqwebmail - and the same is true for courier - cuts dot and everything following off when trying to change to the directory. linde sqwebmaild: [EMAIL PROTECTED]: chdir(/home/domain.co.jp/mail/m) failed!! As long as the mail address format is not illegal I need to fix this. Could anybody point me to the corresponding code. BTW, we are running courier 0.57.0.0. Cheers, Bernd -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] mail address with dot '.'
Sam, I aplogize - you're absolutely right. Somebody else entered the account info into a LDAP directory using a small perl program. That program cut the path short. Thanks for pointing me into the correct direction! Bernd Bernd Plagge writes: Hello, I have a serious problems. Some of our customers have mail addresses with a dot '.' between first name and last name. It seems that is is in compliance with the RFC. However, courier can't change to the corresponding subdirectory. In the (person name and domain name have been modified!) example sqwebmail - and the same is true for courier - cuts dot and everything following off when trying to change to the directory. linde sqwebmaild: [EMAIL PROTECTED]: chdir(/home/domain.co.jp/mail/m) failed!! Show the corresponding courier-authlib lookup for this account. -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] pythonfilter - spamassassin
On Sun, 18 Nov 2007 12:11:53 -0800 [EMAIL PROTECTED] wrote: Hello, During transaction, it's not (yet) possible to modify headers. So, before having accepted the message for delivery, there is no way to add these headers. One workaround was to modify headers and re-injecting the mail in the queue... Gordon documented this feature but spamassassin filter does not implement it. To have headers AND filtering, you will have 2 ways: - using maildrop: it means spammers will see their mail accepted. No error messages for the sender when the message is flagged - re-injecting the mail in the queue. Depending on the load on the mailserver, it's possible or not. HTH. Jerome Blion. Thanks, Jerome! re-injections seems to be the XFilter class. May be I take the maildrop road first. Bernd -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] slow sending (smtp)
It could also be ident-lookup if you did not disable it. For debugging purposes, I would recommand setting -noidentlookup and -nodnslookup in TCPDOPTS in esmtp-configuration file. You can test your DNS simply with som command-list-tools (dig, host, ...) on the server machine. cu, Bernd Yest, that helped. Thanks! -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] pythonfilter - spamassassin
Gordon, thanks for all advice! I don't disagree with you but I don't like the idea to check spam - which gets rejected - for viruses. I know that depending on the return code you continue filtering or not but wouldn't it make sense to have a sort of final filter step? You could then run the virus check on everything being left. cheers, Bernd On Mon, 19 Nov 2007 12:16:37 -0800 [EMAIL PROTECTED] wrote: Personally, I would never allow virus checking to be optional. You should run all of those except for spamassassin in your pythonfilter, and run spamassassin from maildroprc. -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] slow sending (smtp)
Hello, this is probably a configuration issue. (ldap based) authtest works like a charm but when I send mail from my notebook it takes 10-15 secs before the mail is send while it is less than a seconds with qmail. I supsect that this is a DNS problem but how can I test this? Or is there a different explanation? Any help is appreciated! Bernd -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] pythonfilter - spamassassin
Hello, I'd like to get some advise. I've just set up courier 0.57 with Gordon's pythonfilter. Pythonfilter modules used are clamav, spamassassin, whitelist_relayclients, whitelist_auth. Thas works fine and was quickly installed! Thank you! However, it seems that - the filter quietly removes all spam i.e. I don't see the actual X-Spam-Status (as before) - even non-Spam mails don't seem to get the additional header We have a number of customer who are afraid of false positives and therefore I'd like to provide a 'delete yourself / control yourself' variant e.g. by moving all spam to a different folder. So, if we used the modules whitelist_relayclients whileist_auth spfcheck greylisting in the pythonfilter and clamav spamassassin in (a) a different filter or (b) triggered by maildrop we could probably greatly reduce the amount of mail passing spam and virus check. Any comments are appreciated! Bernd -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] courierldapaliasd and ldap with SSL
Hi there, did you check that your firewall is open for port 636? Just an idea, Bernd On Tue, 25 Sep 2007 12:14:11 -0700 [EMAIL PROTECTED] wrote: 差出人: João Vale [EMAIL PROTECTED] 宛先:: courier-users@lists.sourceforge.net 件名: [courier-users] courierldapaliasd and ldap with SSL 日付: Tue, 25 Sep 2007 16:25:00 +0100 Hi, What's the correct syntax to make courierldapaliasd get its information through an LDAPS connection? Neither of these two configurations (in ldapaliasrc) seem to work: LDAP_SERVERserver LDAP_PORT 636 LDAP_SERVERldaps://server/ LDAP_PORT 636 All I get when I use courierldapaliasd query [...] is Error., and nothing shows up in the LDAP server debug info, so, as far as I can tell, it's not even reaching the server. However, using a normal connection (on port 389) it works just fine, so I'm thinking it's not because of some connectivity or certificate problem. Am I missing something? I googled it and searched the mailing list's archives but found no reference to using LDAPS with courierldapaliasd. Cheers, João Vale -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] courier-users Digest, Vol 14, Issue 29
Sam, we close this issue as it has been solved (mails are sent correctly) and otherwise there is no point to argue about. Maybe my command of English to not sufficient but the simple question was whether it is correct that the when sending a mail via PHP the host name is set to the domain of the recipient address. Example: 2 mails are sent by PHP submission: 1) mail('[EMAIL PROTECTED]', $subject, $message, $headers, 2) mail('[EMAIL PROTECTED]', $subject, $message, $headers, $param)); Log entries: Mail 1: started,id=000102C4.4671F8CC.7528,from=[EMAIL PROTECTED],module=esmtp,host=mydomain.com,addr=[EMAIL PROTECTED] Mail 2: started,id=0001044A.4671F8CC.752A,from=[EMAIL PROTECTED],module=esmtp,host=nonlocal.com,addr=[EMAIL PROTECTED] Question was: is it correct that the host is set to the host of the mail-to address? Maybe that is irrelevant - so no answer required. Thanks! Bernd On Mon, 18 Jun 2007 10:21:57 -0700 [EMAIL PROTECTED] wrote: 差出人: Bernd Plagge [EMAIL PROTECTED] 宛先:: courier-users@lists.sourceforge.net 件名: [courier-users] Problems with mails sent by PHP 日付: Mon, 18 Jun 2007 09:43:42 +0900 Hi, I'm having some problems to send mail from PHP. PHP code: rest removed! -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Problems with mails sent by PHP
Sam, while you're right in saying that the message comes from qmail you are not right in stating that I made something up in 'thin air'. The machine the mail was sent from is running Courier and it is also serving as a backup MX for some domains - although NOT for the domain in question. When I set this up I got a 454 TLS missing certificate: error and the solution was to set up a smarthost without TLS. However, this would send all mail to the primary mail host - and of course the mail for the non local domain (not hosted on that machine) was forwarded as well - and consequently rejected. So, that problem solved, the question remains whether it is correct that the $host variable is set to the domain of a non-local target email address (mail sent via PHP). Kind regards, Bernd On Mon, 18 Jun 2007 17:16:30 -0700 [EMAIL PROTECTED] wrote: 差出人: Sam Varshavchik [EMAIL PROTECTED] 宛先:: Courier-Users (E-mail) courier-users@lists.sourceforge.net 件名: Re: [courier-users] Problems with mails sent by PHP 日付: Mon, 18 Jun 2007 18:22:59 -0400 Gordon Messmer writes: Bernd Plagge wrote: Jun 15 11:26:22 tokyo courieresmtp: id=0001044A.4671F8CC.752A,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED]: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.5.3 - chkuser) My guess is that you've modified esmtpaccess/default, so that 127.0.0.1 is no longer a RELAYCLIENT. Wrong guess. The above error message is from qmail. Do you now understand why I refused to read any further past the first two lines of the original message? -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Problems with mails sent by PHP
Hi, I'm having some problems to send mail from PHP. PHP code: $to = '[EMAIL PROTECTED]'; $from = '[EMAIL PROTECTED]'; $replyto = $email; $subject = 'This is the subject'; $headers = From: .$from.\n .Reply-to: .$email.\n .MIME-Version: 1.0\n .Content-type: text/plain; charset=ISO-2022-JP\n .Content-transfer-encoding: base64\n; $param = '[EMAIL PROTECTED]'; mail('[EMAIL PROTECTED]', $subject, $message, $headers, $param)); mail($to, $subject, $message, $headers, $param)); This should send 1 mail to [EMAIL PROTECTED] and 1 mail to [EMAIL PROTECTED] Log entries: Jun 15 11:26:20 tokyo courierd: newmsg,id=000102C4.4671F8CC.7528: dns; localhost (localhost [127.0.0.1]) Jun 15 11:26:20 tokyo courierd: started,id=000102C4.4671F8CC.7528,from=[EMAIL PROTECTED],module=esmtp,host=mydomain.com,addr=[EMAIL PROTECTED] Jun 15 11:26:20 tokyo courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=1, inprogress=1 Jun 15 11:26:20 tokyo courierd: newmsg,id=0001044A.4671F8CC.752A: dns; localhost (localhost [127.0.0.1]) Jun 15 11:26:20 tokyo courierd: started,id=0001044A.4671F8CC.752A,from=[EMAIL PROTECTED],module=esmtp,host=nonlocal.com,addr=[EMAIL PROTECTED] Jun 15 11:26:20 tokyo courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=2, inprogress=2 Jun 15 11:26:22 tokyo courieresmtp: id=0001044A.4671F8CC.752A,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED]: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.5.3 - chkuser) Jun 15 11:26:22 tokyo courieresmtp: id=0001044A.4671F8CC.752A,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED],statu s: failure Jun 15 11:26:22 tokyo courierd: completed,id=0001044A.4671F8CC.752A The domains 'mydomain.com' is local, the domain 'local' is a hosted domain. 'nonlocal.com' is a completely unrelated domain. Mail for 'local.com' is forwarded to a different server. Courier seems to set the hostname to 'nonlocal.com' if the destination points to a nonlocal address. This causes the message to bounce. Is it a 'feature' to set the host name to the recipients domain? BTW, this is Courier 0.53, stock Debian distribution. Any hints are appreciated! Thanks, Bernd - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Couriermlm problem - no subscription replies
On Fri, 01 Jun 2007 03:59:25 -0700 [EMAIL PROTECTED] wrote: 差出人: Sam Varshavchik [EMAIL PROTECTED] 宛先:: courier-users@lists.sourceforge.net 件名: Re: [courier-users] Couriermlm problem - no subscription replies 日付: Thu, 31 May 2007 20:37:11 -0400 Bernd Plagge writes: On Thu, 31 May 2007 07:42:46 -0700 [EMAIL PROTECTED] wrote: 差出人: Sam Varshavchik [EMAIL PROTECTED] 宛先:: courier-users@lists.sourceforge.net 件名: Re: [courier-users] Couriermlm problem - no subscription replies 日付: Wed, 30 May 2007 18:17:44 -0400 Bernd Plagge writes: Added .courier, .courier-default, .courier-owner to the list directory. Setup ldap entry for the list user. Otherwise I use maildrop for local delivery. Now, if I send a subscription request to [EMAIL PROTECTED] (domains are changed!) the mail is delivered by courierlocal. But: Neither do I get a confirmation mail nor does the address show with couriermlm lsub dir. What did you put in .courier-default? Hi Sam, this is the content of my .courier-default file: # delivery of control messages |/usr/bin/couriermlm ctlmsg /home/enaki/mail/list1 For test purposes I replaced the command with |/bin/echo .courier-default and could see the message in the log. So, I'm sure that the file gets processed. I also played with permission and when courier can't access the file a error line like: permission problem - can't open file shows. What else can I check? I recall that you've set up certain list options: moderation, etc… Let's take it one step a time. Reset the configuration to the default list config, and try subscribing. One easy way to get back to the default settings is to edit the options file in the list directory, and remove everything except ADDRESS and LISTPW settings. Hi Sam, I did this. uid and gid for Courier are vpopmail.vchkpw - for historical reasons. Directory structure is: /home/enaki/mail/list1- mailing list /home/enaki/mail/postmaster/Maildir - for users That is, the LDAP directory is specified as /home/enaki/mail and the default Maildir directory is ./Maildir. I created the list directory : drwx--S-- vpopmail.vchkpw list1 mail to [EMAIL PROTECTED] resulted in exec: No such file or directory, broken pipe Changing the ownership to root.vchkpw resulted in unable to read .courier file Changed ownership back to vpopmail.vchkpw and the permission of .courier* files to 755. Mail was delivered but no reply back. Log for the last attempt (mails to list1-subscribe and list1-help) are: Jun 2 10:46:43 tokyo courierd: started,id=00010432.4660CC03.09D9,from=[EMAIL PROTECTED],module=local,[EMAIL PROTECTED] bscribe!64020!64020!/home/enaki/mail/list1!!,addr=[EMAIL PROTECTED] Jun 2 10:46:43 tokyo courierd: Waiting. shutdown time=none, wakeup time=Sat Jun 2 10:49:59 2007, queuedelivering=2, inprogress=1 Jun 2 10:46:43 tokyo courierlocal: id=00010432.4660CC03.09D9,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED],size=10 71,success: Message delivered. Jun 2 10:46:43 tokyo courierd: completed,id=00010432.4660CC03.09D9 Jun 2 10:46:43 tokyo courierd: Waiting. shutdown time=Sat Jun 2 10:51:43 2007, wakeup time=Sat Jun 2 10:49:59 2007, queuedelivering=1 , inprogress=0 Jun 2 10:47:11 tokyo courierd: started,id=00010414.4660CB9B.09C3,from=[EMAIL PROTECTED],module=local,[EMAIL PROTECTED] lp!64020!64020!/home/enaki/mail/list1!!,addr=[EMAIL PROTECTED] Jun 2 10:47:11 tokyo courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=1, inprogress=1 Jun 2 10:47:11 tokyo courierlocal: id=00010414.4660CB9B.09C3,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED],size=1061,su ccess: Message delivered. Jun 2 10:47:11 tokyo courierd: completed,id=00010414.4660CB9B.09C3 J Any ideas? Best regards, Bernd -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Couriermlm problem - no subscription replies
On Thu, 31 May 2007 07:42:46 -0700 [EMAIL PROTECTED] wrote: 差出人: Sam Varshavchik [EMAIL PROTECTED] 宛先:: courier-users@lists.sourceforge.net 件名: Re: [courier-users] Couriermlm problem - no subscription replies 日付: Wed, 30 May 2007 18:17:44 -0400 Bernd Plagge writes: Added .courier, .courier-default, .courier-owner to the list directory. Setup ldap entry for the list user. Otherwise I use maildrop for local delivery. Now, if I send a subscription request to [EMAIL PROTECTED] (domains are changed!) the mail is delivered by courierlocal. But: Neither do I get a confirmation mail nor does the address show with couriermlm lsub dir. What did you put in .courier-default? Hi Sam, this is the content of my .courier-default file: # delivery of control messages |/usr/bin/couriermlm ctlmsg /home/enaki/mail/list1 For test purposes I replaced the command with |/bin/echo .courier-default and could see the message in the log. So, I'm sure that the file gets processed. I also played with permission and when courier can't access the file a error line like: permission problem - can't open file shows. What else can I check? Thanks! Bernd - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Couriermlm problem - no subscription replies
Hi everybody, I got a problem with the courier mailing list. Setting up worked fine (non-root user), set the options for the web access, updated /etc/courier/webmlmrc, updated Apache configuration. Web access worked fine, set list to 'subscription moderation'. Added .courier, .courier-default, .courier-owner to the list directory. Setup ldap entry for the list user. Otherwise I use maildrop for local delivery. Now, if I send a subscription request to [EMAIL PROTECTED] (domains are changed!) the mail is delivered by courierlocal. But: Neither do I get a confirmation mail nor does the address show with couriermlm lsub dir. The same happens if I send a mail to [EMAIL PROTECTED] However, a mail to [EMAIL PROTECTED] is correctly being forwarded to the list owners email address. I spent most of the day to solve this problem but probably I'm missing something fundamental. Any advice? Below are some system log entries. Thanks, Bernd May 31 00:40:31 tokyo courierd: started,id=00010414.465D9AEF.75CC,from=[EMAIL PROTECTED],module=local,[EMAIL PROTECTED] scribe!64020!64020!/home/target/mail/list1!!,addr=[EMAIL PROTECTED] May 31 00:40:31 tokyo courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=1, inprogress=1 May 31 00:40:31 tokyo courierlocal: id=00010414.465D9AEF.75CC,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED],size=134 8,success: Message delivered. May 31 00:40:31 tokyo courierd: completed,id=00010414.465D9AEF.75CC M May 31 00:51:27 tokyo courierd: started,id=00010428.465D9D7F.7669,from=[EMAIL PROTECTED],module=local,[EMAIL PROTECTED] !owner!64020!64020!/home/target/mail/list1!!,addr=[EMAIL PROTECTED] May 31 00:51:27 tokyo courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=1, inprogress=1 May 31 00:51:27 tokyo courierlocal: id=00010428.465D9D7F.7669,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED],size=108 4,success: Message delivered. May 31 00:51:27 tokyo courierd: newmsg,id=0001043B.465D9D7F.766D: dns; localhost (localhost [127.0.0.1]) May 31 00:51:27 tokyo courierd: started,id=0001043B.465D9D7F.766D,from=[EMAIL PROTECTED],module=esmtp,host=mydomain.ne.j p,addr=[EMAIL PROTECTED] May 31 00:51:27 tokyo courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=2, inprogress=2 May 31 00:51:27 tokyo courierd: completed,id=00010428.465D9D7F.7669 May 31 00:51:27 tokyo courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=1, inprogress=1 May 31 00:51:33 tokyo courieresmtp: id=0001043B.465D9D7F.766D,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED]: 250 ok 1180540293 qp 3008 May 31 00:51:33 tokyo courieresmtp: id=0001043B.465D9D7F.766D,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED],size=131 0,success: delivered: [203.141.151.199] [203.141.151.199] May 31 00:51:33 tokyo courieresmtp: id=0001043B.465D9D7F.766D,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED],size=131 0,status: success May 31 00:51:33 tokyo courierd: completed,id=0001043B.465D9D7F.766D M Bernd -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Backup MX, alias
Hi, I have set up a server as Backup MX and it is working though not perfectly. The DNS definition for MX servers is like this: mail.domain1 10 mx mail02.domain1 20 mx In courier I defined: hosteddomains: -- mail02.domain1 esmtpacceptmailfor: -- mail02.domain1 As suggested previously in this list I'd like to set up alias for all existing mail accounts to avoid mail for invalid accounts to be accepted (and later bounced by the primary mail server). I tried it with: [EMAIL PROTECTED] - user1-domain1 but this didn't work. So, what is the correct way to set these aliases up? Any help is appreciated! Thanks, Bernd -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Feature request: support for multi-language mlm templates
Hi Mr. Sam, having used Courier imap and sqwebmail for over 5 years I'm now looking forward to replacing qmail and vpopmail with Courier as well. So, first of all: thank you very much for a great program! I'd also like to use Courier mlm (right now it is EZMLM) but we need multi-language templates. Of course I can keep non-English templates in a different directory and copy them manually but I would be nicer to be able to specify the language when creating and updating the list. Let's say you had an additional variable 'language' (en, fr, de, ja etc.) and the value of the parameter determines the source directory of the templates. Perhaps we could also have an additional CHARSET file in the directory contain the character set being used for the templates. As 'thank you' I will offer the Japanese translation g. Thanks, Bernd -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] Backup MX, alias
On Sat, 21 Apr 2007 12:05:04 -0700 [EMAIL PROTECTED] wrote: 差出人: Gordon Messmer [EMAIL PROTECTED] 宛先:: courier-users@lists.sourceforge.net 件名: Re: [courier-users] Backup MX, alias 日付: Sat, 21 Apr 2007 10:59:26 -0700 Bernd Plagge wrote: As suggested previously in this list I'd like to set up alias for all existing mail accounts to avoid mail for invalid accounts to be accepted (and later bounced by the primary mail server). I tried it with: [EMAIL PROTECTED] - user1-domain1 but this didn't work. That doesn't look like a line from an alias file. To prevent looping, you'll want to use the hostname of your primary MX, rather than the domain name in the alias destination. Naturally, the primary MX will need to consider its hostname a local domain. If your primary mx is mx1.domain1, then the alias should look like: [EMAIL PROTECTED]: [EMAIL PROTECTED] There should be no MX records in DNS for mx1.domain1. Thanks Gordon, that answers it. Best regards, Bernd - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] foul language
Hi Gordon, I appreciate your comment and you're are pretty right in asking people not to respond in the same way. Whether English is your first, second, third or whatever language is of no relevance. It is also of no relevance whether somebody is frustrated. It is self-centered and childish behaviour and won't bring the author anywhere at all. It is not the worst thing to tell the author in clear language that he is misbehaving. g Nicht wahr, Harald! Deine eigene Firma hast Du gegruendet - das ist schon nicht schlecht. Aber geht Du mit Deinen Kunden auch so um? Dann wirst Du sie wohl bald los sein! Denke mal darueber nach: Du kannst keinen zwingen, Dir zu helfen. Gruss, Bernd Sorry, if you don't read German - but sometimes you need to talk to people directly. Cheers! Bernd On Mon, 16 Apr 2007 08:18:11 -0700 [EMAIL PROTECTED] wrote: 差出人: Gordon Messmer [EMAIL PROTECTED] 宛先:: Courier Mailing-List courier-users@lists.sourceforge.net 件名: Re: [courier-users] ESMTP does NOT need DNS on localhost 日付: Mon, 16 Apr 2007 08:17:55 -0700 Lisa Muir wrote: How about you keep your foul language for the back street brothels that you were brought up in, and refrain from using it on a public email list. It it really appropriate that this become personal attacks? It's clear that English isn't Reindl's first language. He's frustrated. List members are frustrated. Responding to his post in this manner won't make that situation any better. -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] courier and ezmlm (QMQP ?)
Hi all, I looked at mailman as an replacement for ezmlm-idx but it seems to be quite hard to set up for virtual domains. From what I collected you need multiple installations unless you ensure otherwise that a given list name is only used by one (virtual) domain. Ezmlm is writing directly to qmail-queue UNLESS it finds a qmail control/qmpqservers file. In that case the mail will be handed over to a QMQP server. So, it seems that this could be used to take care of all ezmlm messages while courier is handling all standard mails. Can anybody think about any reason why this should not be working? All comments are appreciated. Bernard -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - 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] courier-users Digest, Vol 9, Issue 13
Hi, thanks for the info. I had a quick look at the mailman homepage - looks good. Alles Gute, Bernd On Tue, 09 Jan 2007 12:02:08 -0800 [EMAIL PROTECTED] wrote: 差出人: Bernd Wurst [EMAIL PROTECTED] 宛先:: courier-users@lists.sourceforge.net 件名: Re: [courier-users] Courier and ezmlm-idx 日付: Tue, 9 Jan 2007 09:22:16 +0100 Hi. Am Dienstag, 9. Januar 2007 08:44 schrieb Bernd Plagge: Alternatively I think that it should be possible to use ezmlm-idx with Courier and maildrop. Is there anybody doing this? This would be hard work to do because ezmlm-idx does not use sendmail or such a wrapper but tries to put messages directly into the QMail queue. I also tried to do this, you have to write a wrapper for the qmail-queue application. After a few tries, I gave up and used Mailman. Personally, I liked ezmlm-idx more, but our customers like Mailman because everything can be done via web interface. cu, Bernd -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - 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
[courier-users] Courier and ezmlm-idx
Hi all, we are currently using qmail, ezmlm-idx, vpopmail and courier-imap, sqwebmail but I want to change a more courier-centric installation. I quite like ezmlm-idx - mainly for international templates and DB support (subscribers can be stored in a database). Customers can set a mailinglist easily up with qmailadmin. Couriermlm seems to be quite similiar to ezmlm but I'm missing international templates, DB support and some graphical user interface. Does anybody know about a web interface for courier-mlm? Is it possible to have international templates? Alternatively I think that it should be possible to use ezmlm-idx with Courier and maildrop. Is there anybody doing this? All comments are appreciated! Bernard -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - 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
[courier-users] Calender connection, authldaprc problems in 0.54
Hi all, I just tested the newest 0.54 courier version. The good news are that the UTF-8 bug for Japanese has gone. Thanks! It seems that the webadmin interfaces doesn't like the LDAP_URI parameter which slapd 2.3 needs. (without this LDAP_URI ldap://127.0.0.1 I get a you need to specify the ldap server error). Also, it seems that the LDAP_MAILROOT parameters gets deleted if set. Sqwebmail shows a Lost connection to the calendar server when logging in. Here is the relevant part of the logfile: Jan 5 18:42:38 erle sqwebmaild: LOGIN: ip=[(null)], [EMAIL PROTECTED] Jan 5 18:42:38 erle sqwebmaild: LOGIN: ip=[(null)], password=max Jan 5 18:42:38 erle authdaemond: received auth request, service=webmail, authtype=login Jan 5 18:42:38 erle authdaemond: authldap: trying this module Jan 5 18:42:38 erle authdaemond: using search filter: ([EMAIL PROTECTED]) Jan 5 18:42:38 erle authdaemond: one entry returned, DN: [EMAIL PROTECTED],ou=hosting,o=choicenet,c=jp Jan 5 18:42:38 erle authdaemond: raw ldap entry returned: Jan 5 18:42:38 erle authdaemond: | mail: [EMAIL PROTECTED] Jan 5 18:42:38 erle authdaemond: | homeDirectory: fctest.com/mail/max Jan 5 18:42:38 erle authdaemond: | userPassword: {MD5}L/5OdzJdmnFS9whup6pRFA== Jan 5 18:42:38 erle authdaemond: | clearPassword: max Jan 5 18:42:38 erle authdaemond: | pgp: 1 Jan 5 18:42:38 erle authdaemond: authldaplib: sysusername=null, sysuserid=64020, sysgroupid=64020, homedir=/home/fctest.com/mail/max, [EMAIL PROTECTED], fullname=null, maildir=null, quota=null, options=pgp=1 Jan 5 18:42:38 erle authdaemond: authldaplib: clearpasswd=max, passwd={MD5}L/5OdzJdmnFS9whup6pRFA== Jan 5 18:42:38 erle authdaemond: rebinding with DN '[EMAIL PROTECTED],ou=hosting,o=choicenet,c=jp' to validate password Jan 5 18:42:38 erle authdaemond: authentication bind successful Jan 5 18:42:38 erle authdaemond: Authenticated: sysusername=null, sysuserid=64020, sysgroupid=64020, homedir=/home/fctest.com/mail/max, [EMAIL PROTECTED], fullname=null, maildir=null, quota=null, options=pgp=1 Jan 5 18:42:38 erle authdaemond: Authenticated: clearpasswd=max, passwd={MD5}L/5OdzJdmnFS9whup6pRFA== Jan 5 18:42:38 erle sqwebmaild: LOGIN, [EMAIL PROTECTED], ip=[192.168.0.29] Jan 5 18:42:38 erle authdaemond: received userid lookup request: max Jan 5 18:42:38 erle authdaemond: authldap: trying this module Jan 5 18:42:38 erle here! authdaemond: using search filter: ([EMAIL PROTECTED]) Jan 5 18:42:38 erle authdaemond: number of entries returned: 0 (but we need exactly 1) Jan 5 18:42:38 erle authdaemond: authldap: REJECT - try next module Jan 5 18:42:38 erle authdaemond: authpam: trying this module Jan 5 18:42:38 erle authdaemond: authpam: username 'max' not found in password file Jan 5 18:42:38 erle authdaemond: authpam: REJECT - try next module Jan 5 18:42:38 erle authdaemond: FAIL, all modules rejected While the user authenticates correctly for sqwebmail as [EMAIL PROTECTED] authdaemond uses the search filter [EMAIL PROTECTED] to the calendar connection and consequently fails. Actually the default domain is set to 'fctest.com' as well. Regards, Bernard -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - 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] courier-users Digest, Vol 9, Issue 3
Hi Steve, you can check your setup using authtest. Also, I sugest to enable debugging in authdaemond. There is a good article about debugging authentication issues on the courier homepage . Please check it. authtest [EMAIL PROTECTED] password will display all user data if successful. If you set the debug option to '2' you will also find detailed data in your systemlog. You did set up ldap using the authldap schema didn't you? Hope this helps! Bernard 差出人: Stephen Meatheringham [EMAIL PROTECTED] 宛先:: courier-users@lists.sourceforge.net 件名: [courier-users] LDAP Address Books in SQWebMail Web Interface 日付: Thu, 04 Jan 2007 13:31:16 +1100 Reply-To: [EMAIL PROTECTED] Hi All I am trying to evaluate the address book searching in the webmail (SQWebMail) interface to the courier mail server (version 0.53.3). I am running under SLES10. I am unable to get any response from this in the web interface. I have defined the information regarding my LDAP server in /usr/lib/courier/etc/ldapaddressbook: ADFAdir.adfa.edu.au 389 ou=staff,o=adfa However, typing in various last names in the search box in the web interface give nothing at all. The Courier installation documentation (p 44) under LDAP address book import indicates that the courier(8) man page should be consulted for more information. That appears only to have the same information as the installation docs?? I have run /usr/bin/ldapsearch and this gives me answers that I would expect using the following format (an example looking for a CN value of fnurk: ldapsearch -x -h dir.adfa.edu.au -b 'ou=staff,o=adfa' '(cn=fnurk)' Having dug around in the Courier installation directories I find another ldapsearch binary (in the /usr/lib/courier/share/sqwebmail directory). I can get no response from that program at all. Can anyone enlighten me as to what I am doing wrong? I also can see no way to specify what filter to use with the search. I would like to use cn for that. Thanks in advance for any suggestions or pointers. regards Stephen Meatheringham Senior Network Engineer ICTs Services, [EMAIL PROTECTED] -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - 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] courier-users Digest, Vol 8, Issue 33
Hi Sam, I have checked the saved text and it is incorrect as well. Therefore this is not a display problem. Please find attached the saved text and a corrected version. Thanks, Bernard On Thu, 28 Dec 2006 12:02:44 -0800 [EMAIL PROTECTED] wrote: Bernd Plagge writes: Hello everybody, we are using the Courier 0.53 sqwebmail in Japanese (UTF-8 encoded) and encounter some chararcter conversion problems. When entering Japanese autoresponder text in UTF-8 (browser charset and template charset are set to UTF-8) SOME characters get crippled. I entered the same text as a normal message and as an autoresponder text. The autoresponder text gets crippled while the normal message text is ok. The first thing to check is whether the actual text is ok, and just displayed wrong. After entering and saving an autoreply, look in Maildir/autoresponses and carefully examine the saved file. -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit ãããããã ãã¦ã¨é å¼µãã¾ãã Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit ãããé ãã¦ã¨é å¼µãã¾ãã - 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
[courier-users] Japanese calendar display (1)
This message bounced because of its size. As I need the images to illustrate the problem I split it into 3 pieces. Sorry for the inconvienence! This is part 1. Hello everybody, we got some problems to display calendar entries in Japanese (UTF-8). While date and time are formatted according to the locale (ja_JP.UTF-8) there comes a crippled character after the number of minutes followed by the kanji of 'second'. (see webmail03.png) It seems that this is coded in pcp.c. The display of the calendar entry in 'folders.html' is awful because the column for the date/time (column 1) is too narrow. This seems to be hard-coded with the column width set to 1%. (see webmail01.png) The same problem occurs if you display the event by clicking on the subject. (see webmail02.png). Any ideas how to solve this? Regards, Bernard -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp webmail01.png Description: PNG image - 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
[courier-users] Japanese calendar display
This message bounced because of its size. As I need the images to illustrate the problem I split it into 3 pieces. Sorry for the inconvienence! This is part 2. Hello everybody, we got some problems to display calendar entries in Japanese (UTF-8). While date and time are formatted according to the locale (ja_JP.UTF-8) there comes a crippled character after the number of minutes followed by the kanji of 'second'. (see webmail03.png) It seems that this is coded in pcp.c. The display of the calendar entry in 'folders.html' is awful because the column for the date/time (column 1) is too narrow. This seems to be hard-coded with the column width set to 1%. (see webmail01.png) The same problem occurs if you display the event by clicking on the subject. (see webmail02.png). Any ideas how to solve this? Regards, Bernard -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp webmail02.png Description: PNG image - 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
[courier-users] Japanese calendar display
This message bounced because of its size. As I need the images to illustrate the problem I split it into 3 pieces. Sorry for the inconvienence! This is part 3. Hello everybody, we got some problems to display calendar entries in Japanese (UTF-8). While date and time are formatted according to the locale (ja_JP.UTF-8) there comes a crippled character after the number of minutes followed by the kanji of 'second'. (see webmail03.png) It seems that this is coded in pcp.c. The display of the calendar entry in 'folders.html' is awful because the column for the date/time (column 1) is too narrow. This seems to be hard-coded with the column width set to 1%. (see webmail01.png) The same problem occurs if you display the event by clicking on the subject. (see webmail02.png). Any ideas how to solve this? Regards, Bernard -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp webmail03.png Description: PNG image - 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
[courier-users] Error in autoresponder.html
Hello everybody, it seems that there is a typo in the autoresponder.html webmail template. Original: [#$TEXT1=textarea style=font-family: courier; cols=75 rows=10 name=text wrap=soft class=autoresptext#] Correct: [#$TEXT1=textarea style=font-family: courier; cols=75 rows=10 name=text wrap=soft class=autoresptext#] (quote in front of 'name') prevents entry of autoresponder messages when using MS IE. Regards, Bernard -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp - 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
[courier-users] Japanese autoresponder text in Unicode
Hello everybody, we are using the Courier 0.53 sqwebmail in Japanese (UTF-8 encoded) and encounter some chararcter conversion problems. When entering Japanese autoresponder text in UTF-8 (browser charset and template charset are set to UTF-8) SOME characters get crippled. I entered the same text as a normal message and as an autoresponder text. The autoresponder text gets crippled while the normal message text is ok. Please see the attached images. (I hope images don't get detached - otherwise kindly tell me to which address I can send them). -- プラゲ ベェアント - Bernd Plagge ファースト・チョイス・インターネット(有) First Choice Internet Ltd., Tokyo Tel. 03-4500-7799 Fax. 03-4400-3723 mail: [EMAIL PROTECTED] url: http://www.choicenet.ne.jp webmail04.png Description: PNG image webmail05.png Description: PNG image - 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