PythonFilter

View: New views
6 Messages — Rating Filter:   Alert me  

PythonFilter

by newbie-13 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi guys

 

I’m using the pythonfilter in courier. The comeback module has been causing some issues for me with Squirrelmail. I want to disable the filter when the email originates from localhost. Is there a way to disable the comeback filter for localhost(127.0.0.1)? The problem is it fails the first time you send a email. This is fine for me, but not my users.

 

Thanks


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
courier-users mailing list
courier-users@...
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Re: PythonFilter

by Joseph C. Lininger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

> I’m using the pythonfilter in courier. The comeback module has been causing some
> issues for me with Squirrelmail. I want to disable the filter when the email originates
> from localhost. Is there a way to disable the comeback filter for localhost(127.0.0.1)?
> The problem is it fails the first time you send a email. This is fine for me, but
> not my users.

If you are going to use comeagain or greylist, you should probably also
be using one or more of the whitelist modules. whitelist_auth and
whitelist_relayclient are the two that are applicable in your specific
case. You probably also want to use whitelist_block since there are some
mail servers out there that will not retry if they get a temporary fail
the first time.
- --
Those of you who think they know everything are very annoying to those
of us who actually do.
Joseph C. Lininger, <jbahm@...>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iQEcBAEBCAAGBQJK9ZccAAoJEMh8jNraUiwq9CIH/3v2+RlPabEW6oA3qUkPS/0Y
PNrZ5ZYm1q/Qq5J5UmmV9X+xEa7/ahri//mnugCirhRQ1/E9HO02/gA7DJOpCV0H
Ni73LfKb6jxWjHqe/DikH1/g3jVn7fqLU3KAYariiHOjl1xhDJQlXV1d4qKFqWKe
kJr2lLT7GKaANmEyrI2D167CEgY0qbZozT7uHDkgT6u5r5M2HamlIw7PuwIgm3P2
dtnkRJGEChBVuklFvqWbnZx+UXEp/4Mo9c7cfsOPtSOkhbpOJVRjrbhZ0Ei50mqP
xIeue6HcsT2ZMP7fmuh7fUYNDbVBFV+19HQM04M9+utdmQ8/39AoaKkxZr9kWt4=
=0tXm
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
courier-users mailing list
courier-users@...
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Re: PythonFilter

by Jerome Blion :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Lourik Malan a écrit :

Hi guys

 

I’m using the pythonfilter in courier. The comeback module has been causing some issues for me with Squirrelmail. I want to disable the filter when the email originates from localhost. Is there a way to disable the comeback filter for localhost(127.0.0.1)? The problem is it fails the first time you send a email. This is fine for me, but not my users.

 

Thanks

Hello, in enablefiltering, you should have smtp local
Remove local :)
That's all.

HTH.
Jerome Blion.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
courier-users mailing list
courier-users@...
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Re: PythonFilter

by newbie-13 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi

 

In enablefiltering I only have esmtp, I have changed it to smtp but now nothing is filtered.

 

Lourik

 

From: Jérôme Blion [mailto:jerome.blion@...]
Sent: 07 November 2009 09:38 PM
To: Lourik Malan
Cc: courier-users@...
Subject: Re: [courier-users] PythonFilter

 

Lourik Malan a écrit :

Hi guys

 

I’m using the pythonfilter in courier. The comeback module has been causing some issues for me with Squirrelmail. I want to disable the filter when the email originates from localhost. Is there a way to disable the comeback filter for localhost(127.0.0.1)? The problem is it fails the first time you send a email. This is fine for me, but not my users.

 

Thanks

Hello, in enablefiltering, you should have smtp local
Remove local :)
That's all.

HTH.
Jerome Blion.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
courier-users mailing list
courier-users@...
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Re: PythonFilter

by newbie-13 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

Whitelist_auth, and whitelist_relayclient is enabled. Do I need to change any settings in pythonfilter-modules.conf? and what are they? Thanks

Nov  8 07:54:57 couriermta courierfilter: Initialized the "auto_whitelist" python filter
Nov  8 07:54:57 couriermta courierfilter: Initialized the "whitelist_relayclients" python filter
Nov  8 07:54:57 couriermta courierfilter: Initialized the "whitelist_auth" python filter
Nov  8 07:54:57 couriermta courierfilter: Initialized the "comeagain" python filter

Lourik


-----Original Message-----
From: Joseph C. Lininger [mailto:jbahm@...]
Sent: 07 November 2009 05:50 PM
To: courier-users@...
Subject: Re: [courier-users] PythonFilter

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

> I’m using the pythonfilter in courier. The comeback module has been causing some
> issues for me with Squirrelmail. I want to disable the filter when the email originates
> from localhost. Is there a way to disable the comeback filter for localhost(127.0.0.1)?
> The problem is it fails the first time you send a email. This is fine for me, but
> not my users.

If you are going to use comeagain or greylist, you should probably also
be using one or more of the whitelist modules. whitelist_auth and
whitelist_relayclient are the two that are applicable in your specific
case. You probably also want to use whitelist_block since there are some
mail servers out there that will not retry if they get a temporary fail
the first time.
- --
Those of you who think they know everything are very annoying to those
of us who actually do.
Joseph C. Lininger, <jbahm@...>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iQEcBAEBCAAGBQJK9ZccAAoJEMh8jNraUiwq9CIH/3v2+RlPabEW6oA3qUkPS/0Y
PNrZ5ZYm1q/Qq5J5UmmV9X+xEa7/ahri//mnugCirhRQ1/E9HO02/gA7DJOpCV0H
Ni73LfKb6jxWjHqe/DikH1/g3jVn7fqLU3KAYariiHOjl1xhDJQlXV1d4qKFqWKe
kJr2lLT7GKaANmEyrI2D167CEgY0qbZozT7uHDkgT6u5r5M2HamlIw7PuwIgm3P2
dtnkRJGEChBVuklFvqWbnZx+UXEp/4Mo9c7cfsOPtSOkhbpOJVRjrbhZ0Ei50mqP
xIeue6HcsT2ZMP7fmuh7fUYNDbVBFV+19HQM04M9+utdmQ8/39AoaKkxZr9kWt4=
=0tXm
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
courier-users mailing list
courier-users@...
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
courier-users mailing list
courier-users@...
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Re: PythonFilter

by Joseph C. Lininger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

> Whitelist_auth, and whitelist_relayclient is enabled. Do I need to change any settings
> in pythonfilter-modules.conf? and what are they? Thanks

No, you don't. However, you do need to add 127.0.0.1 to smtpaccess,
making sure the RELAYCLIENT variable is set for that address. Make sure
you remember to run makesmtpaccess after doing this. Also, in
/etc/pythonfilter.conf, make sure that the whitelist modules are listed
before comeagain. You may want to place auto_whitelist before all of the
whitelist modules. That will whitelist addresses that authorized people
have sent mail to so they won't get snagged by comeagain. If you're not
using smtp auth though and just relying on the sendmail wrapper to send
mail, this won't do anything.
- --
Those of you who think they know everything are very annoying to those
of us who actually do.
Joseph C. Lininger, <jbahm@...>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iQEcBAEBCAAGBQJK+Hz8AAoJEMh8jNraUiwqs5UIAKLsoOKHsI0yZCSumsCpjDK3
YJGAR1DzaAM+/Cv+herqMM2SOl6m8E3nVPzWaREYAvWVCHg67iKHWmkaZlN0rTjk
w9jlV8BYqZuwdmnUtHzW4jf3HEXgjZBHbSIjFTxhdtgqYUAXdRaHY/PB/xzGTOnS
W+6HnG0BY4wxcMIn5bYtZEp5VqQPFhmDpYxySVGvPGB28A0ORAiJs4NvqizJL1pa
j5BjOMnlEHGPjAsY40fom2kPYA8ipGKKEYWeNM5L+SelQ3O2RmkN54xtUIKMN6FI
qJ/1CUMSDh6/7fVHfO8HieV+Nm/HZHlqRVv6+ujMOG9WCTdU+fwkMPMPmSf6y+o=
=JYFA
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
courier-users mailing list
courier-users@...
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users