Gordon Messmer a écrit :
Jérôme Blion wrote:
# cat /usr/lib/courier/etc/enablefiltering
esmtp
local

That file needs to be just one line.  See the courier(8) man page.

You can also test filters from your desktop if you configure esmtpd to relay your mail. Under that configuration, you'd be able to use courier as your SMTP server and send mail to your existing address.
Hello,

Thank you for your fast reply.
I corrected my enablefiltering file.
I restarted courier (and courierfilter)

More over, I created an account on the box who can receive mails.
So I can send mails from any mail server in order to test whatever I want.

I have the following outputs:

May 12 20:47:06 ns300321 courierfilter: Starting pythonfilter
May 12 20:47:06 ns300321 courierfilter: Initialized the "debug" python filter May 12 20:47:06 ns300321 courierfilter: Initialized the "clamdfilter" python filter May 12 20:47:06 ns300321 courierfilter: Initialized the "nosuccessdsn" python filter May 12 20:47:06 ns300321 courierd: Loading STATIC transport module libraries. May 12 20:47:06 ns300321 courierd: Courier 0.55.1 Copyright 1999-2005 Double Precision, Inc.
May 12 20:47:06 ns300321 courierd: Installing [0/0]
May 12 20:47:06 ns300321 courierd: Installing uucp
May 12 20:47:06 ns300321 courierd: Installed: module.uucp - Courier 0.55.1 Copyright 1999-2005 Double Precision, Inc.
May 12 20:47:06 ns300321 courierd: Installing local
May 12 20:47:06 ns300321 courierd: Installed: module.local - Courier 0.55.1 Copyright 1999-2005 Double Precision, Inc.
May 12 20:47:06 ns300321 courierd: Installing fax
May 12 20:47:06 ns300321 courierd: Installed: module.fax - Courier 0.55.1 Copyright 1999-2005 Double Precision, Inc.
May 12 20:47:06 ns300321 courierd: Installing esmtp
May 12 20:47:06 ns300321 courierd: Installed: module.esmtp - Courier 0.55.1 Copyright 1999-2005 Double Precision, Inc.
May 12 20:47:06 ns300321 courierd: Installing dsn
May 12 20:47:06 ns300321 courierd: Installed: module.dsn - Courier 0.55.1 Copyright 1999-2005 Double Precision, Inc.
May 12 20:47:06 ns300321 courierd: Initializing uucp
May 12 20:47:06 ns300321 courierd: Initializing local
May 12 20:47:06 ns300321 courierd: Initializing fax
May 12 20:47:06 ns300321 courierd: Initializing esmtp
May 12 20:47:06 ns300321 courierd: Initializing dsn
May 12 20:47:06 ns300321 courierd: Started ./courieruucp, pid=18341, maxdels=4, maxhost=4, maxrcpt=16 May 12 20:47:06 ns300321 courierd: Started ./courierlocal, pid=18342, maxdels=10, maxhost=4, maxrcpt=1 May 12 20:47:06 ns300321 courierd: Started ./courierfax, pid=18345, maxdels=1, maxhost=1, maxrcpt=1 May 12 20:47:06 ns300321 courierd: Started ./courieresmtp, pid=18346, maxdels=40, maxhost=4, maxrcpt=100 May 12 20:47:06 ns300321 courierd: Started ./courierdsn, pid=18348, maxdels=4, maxhost=1, maxrcpt=1
May 12 20:47:06 ns300321 courierd: queuelo=200, queuehi=400
May 12 20:47:06 ns300321 courierd: Purging /usr/lib/courier/var/msgq
May 12 20:47:06 ns300321 courierd: Purging /usr/lib/courier/var/msgs
May 12 20:47:06 ns300321 courierd: Waiting. shutdown time=Sat May 26 20:47:06 2007, wakeup time=Sat May 12 20:49:29 2007, queuedelivering=1, inprogress=0 May 12 20:47:16 ns300321 courierd: newmsg,id=000000E0.46460BB4.000047EE: dns; localhost (localhost [127.0.0.1]) May 12 20:47:16 ns300321 courierd: started,id=000000E0.46460BB4.000047EE,from=<[EMAIL PROTECTED]>,module=esmtp,host=free.fr,addr=<[EMAIL PROTECTED]> May 12 20:47:16 ns300321 courierd: Waiting. shutdown time=none, wakeup time=Sat May 12 20:49:29 2007, queuedelivering=2, inprogress=1 May 12 20:47:26 ns300321 courieresmtp: id=000000E0.46460BB4.000047EE,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>: 250 ok 1178995653 qp 27389 May 12 20:47:26 ns300321 courieresmtp: id=000000E0.46460BB4.000047EE,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>,size=444,success: delivered: mx1.free.fr [212.27.48.6] May 12 20:47:26 ns300321 courieresmtp: id=000000E0.46460BB4.000047EE,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>,size=444,status: success
May 12 20:47:26 ns300321 courierd: completed,id=000000E0.46460BB4.000047EE
May 12 20:47:26 ns300321 courierd: Waiting. shutdown time=Sat May 26 20:47:06 2007, wakeup time=Sat May 12 20:49:29 2007, queuedelivering=1, inprogress=0

If I try to send a mail TO this server, here is the output:

May 12 20:03:01 ns300321 courieresmtpd: started,ip=[::ffff:212.27.42.35]
May 12 20:03:01 ns300321 courierd: newmsg,id=000000D9.46460155.00004146: dns; smtp5-g19.free.fr (smtp5-g19.free.fr [::ffff:212.27.42.35]) May 12 20:03:01 ns300321 courierd: started,id=000000D9.46460155.00004146,from=<[EMAIL PROTECTED]>,module=local,host=jerome!!1!1!/home/courier/domains/sim-plage.com/jerome!/home/courier/domains/sim-plage.com/jerome!,addr=<jerome> May 12 20:03:01 ns300321 courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=1, inprogress=1 May 12 20:03:01 ns300321 courierlocal: id=000000D9.46460155.00004146,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>,size=1421,success: Message delivered.
May 12 20:03:01 ns300321 courierd: completed,id=000000D9.46460155.00004146
May 12 20:03:01 ns300321 courierd: Waiting. shutdown time=Sat May 26 19:59:09 2007, wakeup time=Sat May 26 19:59:09 2007, queuedelivering=0, inprogress=0

Do you have some ideas about the fact I don't see any debug data pieces?

Jerome Blion.
-------------------------------------------------------------------------
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
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to