Re: [courier-users] Pythonfilter not running

This is a discussion on Re: [courier-users] Pythonfilter not running within the Courier-Imap forums, part of the Mail Servers and Related category; This is a multi-part message in MIME format. --===============2075670204== Content-Type: multipart/alternative; boundary="------------040200030701040703070203" This is ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-12-2007
Jérôme Blion
 
Posts: n/a
Default Re: [courier-users] Pythonfilter not running

This is a multi-part message in MIME format.
--===============2075670204==
Content-Type: multipart/alternative;
boundary="------------040200030701040703070203"

This is a multi-part message in MIME format.
--------------040200030701040703070203
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

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=<root@s im-plage.com>,module=esmtp,host=free.fr,addr=<jerome. blion@free.fr>
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=<root@sim-plage.com>,addr=<jerome.blion@free.fr>:
250 ok 1178995653 qp 27389
May 12 20:47:26 ns300321 courieresmtp:
id=000000E0.46460BB4.000047EE,from=<root@sim-plage.com>,addr=<jerome.blion@free.fr>,size=444,su ccess:
delivered: mx1.free.fr [212.27.48.6]
May 12 20:47:26 ns300321 courieresmtp:
id=000000E0.46460BB4.000047EE,from=<root@sim-plage.com>,addr=<jerome.blion@free.fr>,size=444,st atus:
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=<jerome .blion@free.fr>,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=<jerome.blion@f ree.fr>,addr=<jerome@ns300321.ovh.net>,size=1421,s uccess:
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.

--------------040200030701040703070203
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Gordon Messmer a &eacute;crit&nbsp;:
<blockquote cite="mid:46460727.6010604@eburg.com" type="cite">
<pre wrap="">J&eacute;r&ocirc;me Blion wrote:
</pre>
<blockquote type="cite">
<pre wrap=""># cat /usr/lib/courier/etc/enablefiltering
esmtp
local
</pre>
</blockquote>
<pre wrap=""><!---->
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.
</pre>
</blockquote>
Hello, <br>
<br>
Thank you for your fast reply.<br>
I corrected my enablefiltering file.<br>
I restarted courier (and courierfilter)<br>
<br>
More over, I created an account on the box who can receive mails.<br>
So I can send mails from any mail server in order to test whatever I
want.<br>
<br>
I have the following outputs: <br>
<br>
May 12 20:47:06 ns300321 courierfilter: Starting pythonfilter<br>
May 12 20:47:06 ns300321 courierfilter: Initialized the "debug" python
filter<br>
May 12 20:47:06 ns300321 courierfilter: Initialized the "clamdfilter"
python filter<br>
May 12 20:47:06 ns300321 courierfilter: Initialized the "nosuccessdsn"
python filter<br>
May 12 20:47:06 ns300321 courierd: Loading STATIC transport module
libraries.<br>
May 12 20:47:06 ns300321 courierd: Courier 0.55.1 Copyright 1999-2005
Double Precision, Inc.<br>
May 12 20:47:06 ns300321 courierd: Installing [0/0]<br>
May 12 20:47:06 ns300321 courierd: Installing uucp<br>
May 12 20:47:06 ns300321 courierd: Installed: module.uucp - Courier
0.55.1 Copyright 1999-2005 Double Precision, Inc.<br>
May 12 20:47:06 ns300321 courierd: Installing local<br>
May 12 20:47:06 ns300321 courierd: Installed: module.local - Courier
0.55.1 Copyright 1999-2005 Double Precision, Inc.<br>
May 12 20:47:06 ns300321 courierd: Installing fax<br>
May 12 20:47:06 ns300321 courierd: Installed: module.fax - Courier
0.55.1 Copyright 1999-2005 Double Precision, Inc.<br>
May 12 20:47:06 ns300321 courierd: Installing esmtp<br>
May 12 20:47:06 ns300321 courierd: Installed: module.esmtp - Courier
0.55.1 Copyright 1999-2005 Double Precision, Inc.<br>
May 12 20:47:06 ns300321 courierd: Installing dsn<br>
May 12 20:47:06 ns300321 courierd: Installed: module.dsn - Courier
0.55.1 Copyright 1999-2005 Double Precision, Inc.<br>
May 12 20:47:06 ns300321 courierd: Initializing uucp<br>
May 12 20:47:06 ns300321 courierd: Initializing local<br>
May 12 20:47:06 ns300321 courierd: Initializing fax<br>
May 12 20:47:06 ns300321 courierd: Initializing esmtp<br>
May 12 20:47:06 ns300321 courierd: Initializing dsn<br>
May 12 20:47:06 ns300321 courierd: Started ./courieruucp, pid=18341,
maxdels=4, maxhost=4, maxrcpt=16<br>
May 12 20:47:06 ns300321 courierd: Started ./courierlocal, pid=18342,
maxdels=10, maxhost=4, maxrcpt=1<br>
May 12 20:47:06 ns300321 courierd: Started ./courierfax, pid=18345,
maxdels=1, maxhost=1, maxrcpt=1<br>
May 12 20:47:06 ns300321 courierd: Started ./courieresmtp, pid=18346,
maxdels=40, maxhost=4, maxrcpt=100<br>
May 12 20:47:06 ns300321 courierd: Started ./courierdsn, pid=18348,
maxdels=4, maxhost=1, maxrcpt=1<br>
May 12 20:47:06 ns300321 courierd: queuelo=200, queuehi=400<br>
May 12 20:47:06 ns300321 courierd: Purging /usr/lib/courier/var/msgq<br>
May 12 20:47:06 ns300321 courierd: Purging /usr/lib/courier/var/msgs<br>
May 12 20:47:06 ns300321 courierd: Waiting.&nbsp; shutdown time=Sat May 26
20:47:06 2007, wakeup time=Sat May 12 20:49:29 2007, queuedelivering=1,
inprogress=0<br>
May 12 20:47:16 ns300321 courierd:
newmsg,id=000000E0.46460BB4.000047EE: dns; localhost (localhost
[127.0.0.1])<br>
May 12 20:47:16 ns300321 courierd:
started,id=000000E0.46460BB4.000047EE,from=<a
class="moz-txt-link-rfc2396E" href="mailto:root@sim-plage.com">&lt;root@sim-plage.com&gt;</a>,module=esmtp,host=free.fr,addr=<a
class="moz-txt-link-rfc2396E" href="mailto:jerome.blion@free.fr">&lt;jerome.blio n@free.fr&gt;</a><br>
May 12 20:47:16 ns300321 courierd: Waiting.&nbsp; shutdown time=none, wakeup
time=Sat May 12 20:49:29 2007, queuedelivering=2, inprogress=1<br>
May 12 20:47:26 ns300321 courieresmtp:
id=000000E0.46460BB4.000047EE,from=<a class="moz-txt-link-rfc2396E"
href="mailto:root@sim-plage.com">&lt;root@sim-plage.com&gt;</a>,addr=<a
class="moz-txt-link-rfc2396E" href="mailto:jerome.blion@free.fr">&lt;jerome.blio n@free.fr&gt;</a>:
250 ok 1178995653 qp 27389<br>
May 12 20:47:26 ns300321 courieresmtp:
id=000000E0.46460BB4.000047EE,from=<a class="moz-txt-link-rfc2396E"
href="mailto:root@sim-plage.com">&lt;root@sim-plage.com&gt;</a>,addr=<a
class="moz-txt-link-rfc2396E" href="mailto:jerome.blion@free.fr">&lt;jerome.blio n@free.fr&gt;</a>,size=444,success:
delivered: mx1.free.fr [212.27.48.6]<br>
May 12 20:47:26 ns300321 courieresmtp:
id=000000E0.46460BB4.000047EE,from=<a class="moz-txt-link-rfc2396E"
href="mailto:root@sim-plage.com">&lt;root@sim-plage.com&gt;</a>,addr=<a
class="moz-txt-link-rfc2396E" href="mailto:jerome.blion@free.fr">&lt;jerome.blio n@free.fr&gt;</a>,size=444,status:
success<br>
May 12 20:47:26 ns300321 courierd:
completed,id=000000E0.46460BB4.000047EE<br>
May 12 20:47:26 ns300321 courierd: Waiting.&nbsp; shutdown time=Sat May 26
20:47:06 2007, wakeup time=Sat May 12 20:49:29 2007, queuedelivering=1,
inprogress=0<br>
<br>
If I try to send a mail TO this server, here is the output: <br>
<br>
May 12 20:03:01 ns300321 courieresmtpd: started,ip=[::ffff:212.27.42.35]<br>
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])<br>
May 12 20:03:01 ns300321 courierd:
started,id=000000D9.46460155.00004146,from=<a
class="moz-txt-link-rfc2396E" href="mailto:jerome.blion@free.fr">&lt;jerome.blio n@free.fr&gt;</a>,module=local,host=jerome!!1!1!/home/courier/domains/sim-plage.com/jerome!/home/courier/domains/sim-plage.com/jerome!,addr=&lt;jerome&gt;<br>
May 12 20:03:01 ns300321 courierd: Waiting.&nbsp; shutdown time=none, wakeup
time=none, queuedelivering=1, inprogress=1<br>
May 12 20:03:01 ns300321 courierlocal:
id=000000D9.46460155.00004146,from=<a class="moz-txt-link-rfc2396E"
href="mailto:jerome.blion@free.fr">&lt;jerome.blio n@free.fr&gt;</a>,addr=<a
class="moz-txt-link-rfc2396E" href="mailto:jerome@ns300321.ovh.net">&lt;jerome@n s300321.ovh.net&gt;</a>,size=1421,success:
Message delivered.<br>
May 12 20:03:01 ns300321 courierd:
completed,id=000000D9.46460155.00004146<br>
May 12 20:03:01 ns300321 courierd: Waiting.&nbsp; shutdown time=Sat May 26
19:59:09 2007, wakeup time=Sat May 26 19:59:09 2007, queuedelivering=0,
inprogress=0<br>
<br>
Do you have some ideas about the fact I don't see any debug data pieces?<br>
<br>
Jerome Blion.<br>
</body>
</html>

--------------040200030701040703070203--



--===============2075670204==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
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/
--===============2075670204==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users

--===============2075670204==--


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:13 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0