[courier-users] disable cram-md5 for POP3 - how?

2008-07-22 Thread Christian G. von Busse
Hi,

I'm probably just being too blind, but I've been searching docs and
the web for a few days now without success, so I thought I might try
asking here:

How can I disable cram-md5 for POP3 logins? Or - better - how can I
tell Courier to announce that it only accepts plain and login?

I'm running courier with mysql support for authentication, and the
password is encrypted in mysql (has to be for some other installed
programs). Apparently, this is causing some trouble with courier in
cram-md5 logins, so I'd like to disable that.

Thanks in advance for any helpful hints! - Christian


-
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=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] IMAP_TLS_REQUIRED

2008-07-22 Thread Bernd Wurst
Hi Sam.

On Wednesday 23 July 2008, Sam Varshavchik wrote:
> It's in the imapd-ssl file.

What does this file have to do with the non-SSL-imapd? I thought this file 
would only be parsed for the imapd-ssl, which is generally independant from 
non-SSL imapd.

But, however, this setting isn't present there either.
The only occurance of this setting has been inside pop3d-ssl. I removed that 
and restarted courier with no effect.


> I just tested this, and IMAP_TLS_REQUIRED still works as expected.

For completeness:

# egrep -v '^(#|$)' /etc/courier/imapd-ssl
MAXDAEMONS=100
MAXPERIP=10
SSLPORT=993
SSLADDRESS=0
SSLPIDFILE=/var/run/courier/imapd-ssl.pid
SSLLOGGEROPTS="-name=imapd-ssl"
IMAPDSSLSTART="YES"
IMAPDSTARTTLS=YES
IMAP_TLS_REQUIRED=0
COURIERTLS=/usr/bin/couriertls
TLS_KX_LIST=ALL
TLS_COMPRESSION=ALL
TLS_CERTS=X509
TLS_CERTFILE=/etc/ssl/private/schokokeks.org.pem
TLS_VERIFYPEER=NONE
TLS_CACHEFILE=/var/lib/courier/couriersslcache
TLS_CACHESIZE=524288
MAILDIRPATH=.maildir


But I thought the files are parsed like that:

For imapd: just imapd
For imapd-ssl: imapd and then imapd-ssl

Parsing imapd-ssl for non-ssl imapd does not really make sense, does it?

regards, Bernd

-- 
If a man steals your wife,
there's no better revenge than to let him keep her


signature.asc
Description: This is a digitally signed message part.
-
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=100&url=/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Error, relay 534 Message header size, from Ne wegg.com EmailCart app?

2008-07-22 Thread Jesse Molina

Setting BOFHHEADERLIMIT to something unreasonably large did not fix 
this.  Otherwise, my bofh file is empty.

Also, I don't see any way to change that max 5000 bytes per line 
limitation, assuming that's still hard coded/default.



Jesse Molina wrote:
> Thanks for the advice.  The bofh file was the first place I looked, and 
> the only thing I have configured is a couple of spamtraps.
> 
> Which means, this message is hitting the defaults, if that is in case 
> the trouble.
> 
> 
> 
> Bowie Bailey wrote:
>> I have seen this problem before.  It used to be part of my normal build
>> procedure to increase the headerlimit in the code before I built a new
>> Courier rpm.  The current versions have a configuration variable you can
>> use to adjust the limit.
>>
>> Add this to your /etc/courier/bofh file (and then restart courier):
>>
>> opt BOFHHEADERLIMIT=(new limit in bytes)
>>
>> The default is 100,000 bytes.
>>
>> Check the man page for 'courier' for more info on bofh options.
>>
> 

-- 
# Jesse Molina
# Mail = [EMAIL PROTECTED]
# Page = [EMAIL PROTECTED]
# Cell = 1.602.323.7608
# Web  = http://www.opendreams.net/jesse/



-
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=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] server-side email list?

2008-07-22 Thread Sam Varshavchik

Steve Poe writes:


Most of the users I support have their own contact/email
list via Thunderbird or Outlook?

Does Courier support the option of a server-contact list
that users can add to? With sales people and administrative
people, it common that they need to contact/email the same
people.


This is not an email server function. Suppose that, somehow, the mail server 
does maintain such a list. How would you expect, then, all email clients to 
know about it, so they can look them up?


In general, most mail clients support looking up addresses in a systemwide 
LDAP directory. You'll need to set up your own LDAP server, and reconfigure 
all mail clients to use it. For example, in Thunderbird's address book 
window, File → New → LDAP Directory, then enter your LDAP configuration. 
There is "Lookup addresses on the mail server" option in the File → New 
menu.





pgp19d1BR31gf.pgp
Description: PGP signature
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] server-side email list?

2008-07-22 Thread Steve Poe
Most of the users I support have their own contact/email
list via Thunderbird or Outlook?

Does Courier support the option of a server-contact list
that users can add to? With sales people and administrative
people, it common that they need to contact/email the same
people.

Steve

-
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=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] whitelist/blacklist by email address?

2008-07-22 Thread Steve Poe
Very good idea. I was definitely short-sighted on this.

Where does the sender/recipient pairs get stored so I can built an  
appropriate
whitelist?

Thanks.

Steve


On Jul 22, 2008, at 4:03 PM, Gordon Messmer wrote:

> Steve Poe wrote:
>> I understand I can add a file to the /etc/courier/smtpaccess folder
>> with appropriate allow/block rules file (which I am still trying to
>> figure out. Can I do this by email address as well in addition to IP
>> address?
>
> Not with any of the included modules.  You might be interested in
> running the auto_whitelist filter for a couple of weeks before using  
> any
> of the others.
>
>
> -
> 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=100&url=/
> ___
> courier-users mailing list
> courier-users@lists.sourceforge.net
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier- 
> users


-
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=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] whitelist/blacklist by email address?

2008-07-22 Thread Sam Varshavchik

Steve Poe writes:


I understand I can add a file to the /etc/courier/smtpaccess folder
with appropriate allow/block rules file (which I am still trying to  
figure

out. Can I do this by email address as well in addition to IP address?


No.

You do realize that anyone can send you an email with a return address set 
to [EMAIL PROTECTED], so something like that would accomplish 
absolutely nothing. Furthermore, the sender's email address is not known 
well until after a connection is accepted, and these rules block connections 
from being established in the first place.




pgpK48eDcWymG.pgp
Description: PGP signature
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] whitelist/blacklist by email address?

2008-07-22 Thread Gordon Messmer
Steve Poe wrote:
> I understand I can add a file to the /etc/courier/smtpaccess folder 
> with appropriate allow/block rules file (which I am still trying to
>  figure out. Can I do this by email address as well in addition to IP
> address?

Not with any of the included modules.  You might be interested in 
running the auto_whitelist filter for a couple of weeks before using any 
of the others.


-
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=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] whitelist/blacklist by email address?

2008-07-22 Thread Steve Poe
I understand I can add a file to the /etc/courier/smtpaccess folder
with appropriate allow/block rules file (which I am still trying to  
figure
out. Can I do this by email address as well in addition to IP address?

Thanks.

Steve

-
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=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier and Pythonfilter/Greylist Installation

2008-07-22 Thread Gordon Messmer
Steve Poe wrote:
> I tried to download the whitelist shown in the README file, for the
>  whitelist_block, but it did not download. does anyone have an
> example of what would go into the nogreylisting file?

I kind of expected that to go away at some point.  :(

This is pretty close, but you'll need to check and remove invalid lines 
(like the first one):

wget -O - http://www.greylisting.org/whitelisting.shtml 2>/dev/null \
   | grep '^[[:digit:]]' | sed -e 's/[<[:blank:]].*\|$/\tallow,BLOCK/'

> So, what can we expect with the greylist program if I buy an airline
>  ticket. According to the the greylist module, if I understand it
> correctly, the message will get bounced if I did not already add them
> to the whitelist

It'll be deferred for a few minutes.  Whether or not that is permanent 
depends on the sender.  It could happen.  Usually, you'll get the mail a 
few minutes late.


-
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=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] sysconftool

2008-07-22 Thread Sam Varshavchik

Gordon Messmer writes:

I updated to Courier 0.60.0 yesterday, and I noticed a couple of things 
afterward:


1) esmtpd and esmtpd.dist contain a line that reads:
# [EMAIL PROTECTED]@
Is this left over from the 2001 "SSL simplification project"?


Yes, this needs to be removed, superceded by TLS_TRUSTCERTS.



2) The TLS_TRUSTCERTS setting isn't present in esmtpd-ssl or imapd-ssl, 
though it is in courierd and esmtpd.  All of those files mention the 
default from the .dist in a comment.  I'm not sure how sysconftool 


CA certificates are not required for servers, so it's not required in the 
esmtpd file, but I show TLS_TRUSTCERTS being set in both. However, if you're 
upgrading from an earlier version, the upgrade process will not reset 
your existing TLS_TRUSTCERTS setting in either file, so you probably 
inherited your settings from the previous version.


decides whether or not to insert a new setting from .dist when it does 
upgrades, but this reminds me of something that I've been thinking for 
quite a while.  sysconftool seems well conceived, but overly complex. 
It seems like the same problems could be solved instead by distributing 
.dist, and keeping  empty of all settings other than 
non-defaults.


In that case, the init script would need to be modified so that it 
sourced the .dist file first, and then .  Settings in 
 would simply override the .dist settings.


Although that's also a reasonable approach, it's better to keep all settings 
documented in a single file, and provide the current setting right next to 
its description.



Is there an advantage to sysconftool that I'm missing?


It allows to keep all settings in the single file, but yet provide some 
semi-intelligent decisions, automatically, when upgrading.




pgpsps9apaqMd.pgp
Description: PGP signature
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier and Pythonfilter/Greylist Installation

2008-07-22 Thread Gordon Messmer
Steve Poe wrote:
> Can we change the order/priority that these modules run for outbound and
> inbound?

Currently, no.  There is only one policy.

> Do we need to uncomment the sections on both the pythonfilter- 
> modules.conf and pythonfilter.conf for the modules we want to run or
> only pythonfilter-modules.conf?


Only pythonfilter.conf.  You only need to change 
pythonfilter-modules.conf if you need to change the default behavior of 
one of the modules.

pythonfilter.conf controls which modules are used.

-
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=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] IMAP_TLS_REQUIRED

2008-07-22 Thread Sam Varshavchik

Bernd Wurst writes:


Hi.

On Tuesday 22 July 2008, Sam Varshavchik wrote:

> IMAP_TLS_REQUIRED=1
> [...]
> What's up with this setting? Did the option name change in any way?
No, but if you had TLS_STARTTLS_PROTOCOL set, remove the setting and leave
it at the default.


No, this string is not present in my config.

# egrep -v '^(#|$)' /etc/courier/imapd


It's in the imapd-ssl file.

I just tested this, and IMAP_TLS_REQUIRED still works as expected.




pgp53Dsh4O40d.pgp
Description: PGP signature
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Courier and Pythonfilter/Greylist Installation

2008-07-22 Thread Steve Poe
I tried to download the whitelist shown in the README file, for the  
whitelist_block,
but it did not download. does anyone have an example of what would go  
into the nogreylisting file?

So, what can we expect with the greylist program if I buy an airline  
ticket. According to the the greylist
module, if I understand it correctly, the message will get bounced if  
I did not already add
them to the whitelist

Thanks.

Steve

On Jul 22, 2008, at 12:26 PM, Gordon Messmer wrote:

> Steve Poe wrote:
>> We're using Courier 0.53. Any gotchas in using pythonfilter 1.3?
>
> I don't think so, but I'd still recommend trying to keep that up to  
> date.
>
>> pythonfilter seems to be full of many features. If we wanted just the
>> greylist option. I am assuming we just uncomment the greylist  
>> section in
>> the pythonfilter-modules.conf?
>
> Yes.
>
>> Can we enable/disable the modules here at will?
>
> Yes.
>
>
> -
> 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=100&url=/
> ___
> courier-users mailing list
> courier-users@lists.sourceforge.net
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier- 
> users


-
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=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier and Pythonfilter/Greylist Installation

2008-07-22 Thread Steve Poe
Can we change the order/priority that these modules run for outbound and
inbound?

Do we need to uncomment the sections on both the pythonfilter- 
modules.conf
and pythonfilter.conf for the modules we want to run or only  
pythonfilter-modules.conf?


Thanks.

Steve

On Jul 22, 2008, at 12:26 PM, Gordon Messmer wrote:

> Steve Poe wrote:
>> We're using Courier 0.53. Any gotchas in using pythonfilter 1.3?
>
> I don't think so, but I'd still recommend trying to keep that up to  
> date.
>
>> pythonfilter seems to be full of many features. If we wanted just the
>> greylist option. I am assuming we just uncomment the greylist  
>> section in
>> the pythonfilter-modules.conf?
>
> Yes.
>
>> Can we enable/disable the modules here at will?
>
> Yes.
>
>
> -
> 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=100&url=/
> ___
> courier-users mailing list
> courier-users@lists.sourceforge.net
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier- 
> users


-
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=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] sysconftool

2008-07-22 Thread Gordon Messmer
I updated to Courier 0.60.0 yesterday, and I noticed a couple of things 
afterward:

1) esmtpd and esmtpd.dist contain a line that reads:
# [EMAIL PROTECTED]@
Is this left over from the 2001 "SSL simplification project"?

2) The TLS_TRUSTCERTS setting isn't present in esmtpd-ssl or imapd-ssl, 
though it is in courierd and esmtpd.  All of those files mention the 
default from the .dist in a comment.  I'm not sure how sysconftool 
decides whether or not to insert a new setting from .dist when it does 
upgrades, but this reminds me of something that I've been thinking for 
quite a while.  sysconftool seems well conceived, but overly complex. 
It seems like the same problems could be solved instead by distributing 
.dist, and keeping  empty of all settings other than 
non-defaults.

In that case, the init script would need to be modified so that it 
sourced the .dist file first, and then .  Settings in 
 would simply override the .dist settings.

As an admin, I prefer keeping the configuration files that I maintain as 
concise as possible, as it makes it much easier for me to set up a new 
host based on the configuration of another working host.

Is there an advantage to sysconftool that I'm missing?

-
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=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier and Pythonfilter/Greylist Installation

2008-07-22 Thread Gordon Messmer
Steve Poe wrote:
> We're using Courier 0.53. Any gotchas in using pythonfilter 1.3?

I don't think so, but I'd still recommend trying to keep that up to date.

> pythonfilter seems to be full of many features. If we wanted just the
> greylist option. I am assuming we just uncomment the greylist section in
> the pythonfilter-modules.conf?

Yes.

> Can we enable/disable the modules here at will?

Yes.


-
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=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Error, relay 534 Message header size, from Ne wegg.com EmailCart app?

2008-07-22 Thread Jesse Molina

Thanks for the advice.  The bofh file was the first place I looked, and 
the only thing I have configured is a couple of spamtraps.

Which means, this message is hitting the defaults, if that is in case 
the trouble.



Bowie Bailey wrote:
> 
> I have seen this problem before.  It used to be part of my normal build
> procedure to increase the headerlimit in the code before I built a new
> Courier rpm.  The current versions have a configuration variable you can
> use to adjust the limit.
> 
> Add this to your /etc/courier/bofh file (and then restart courier):
> 
> opt BOFHHEADERLIMIT=(new limit in bytes)
> 
> The default is 100,000 bytes.
> 
> Check the man page for 'courier' for more info on bofh options.
> 

-- 
# Jesse Molina
# Mail = [EMAIL PROTECTED]
# Page = [EMAIL PROTECTED]
# Cell = 1.602.323.7608
# Web  = http://www.opendreams.net/jesse/



-
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=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier and Pythonfilter/Greylist Installation

2008-07-22 Thread Steve Poe
Thanks for the feedback everyone.

We're using Courier 0.53. Any gotchas in using pythonfilter 1.3?

pythonfilter seems to be full of many features. If we wanted just the
greylist option. I am assuming we just uncomment the greylist section in
the pythonfilter-modules.conf?

Can we enable/disable the modules here at will?

Steve


On Jul 22, 2008, at 10:52 AM, Gordon Messmer wrote:

> Steve Poe wrote:
>>
>> I was on Macro Balmer's web site to learn about / download python
>> greylisting with Courier. The
>> web site refers to courier-pythonfilter-0.9 then pythonfilter-
>> greylist. Then I found pythonfilter-1.3 which
>> has a greylist python script. Since I am new at this, I am confused  
>> as
>> to which path I should take?
>
> My advice would be to use the greylist included with pythonfilter.
>
>> We want to install the pythonfilter / greylist option for Courier,  
>> but
>> we do not want it to be active yet. Can we do the
>> install "python setup.py install" without Courier knowing the
>> pythonfilter is installed?
>
> Yes.  Courier will not use any python filters until you start
> pythonfilter according to its documentation.  Please read the README
> file. :)
>
>
>
>
> -
> 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=100&url=/
> ___
> courier-users mailing list
> courier-users@lists.sourceforge.net
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier- 
> users


-
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=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] spamassasin

2008-07-22 Thread Jérôme Blion
Jan Müller a écrit :
> I have working spamassasin, but can not get it to process courier mail.
>
> Eg: when I feed spamassasin a test mesage via the command line, it
> returns some output. But when i recieve mail via smtp, there is not
> spamassassin header. Spam still reigns.
> Here is what i did trying to follow tips from spamassassin website:
>
> in courier/etc/courier:
> DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop"
>
> and courier/etc/maildroprc:
> import USER
> if ($LOGNAME ne "")
> {
> xfilter "spamc -u $LOGNAME"
> }
> else
> {
> xfilter "spamc -u $USER"
> }
>
> What should i do next?
>
> Thank you for help.
>   
3 ideas for you:
 - reject message when SMTP connection is still opened: use 
Courier-pythonfilter with spamassassin filter. It works perfectly.
 - DEFAULTDELIVERY="|/usr/bin/spamc|/usr/lib/courier/bin/maildrop"
 - If there is nothing else in your maildroprc, you won't reject 
anything. Do you see spamassassin working in syslog ? (mail.log or 
something like that)

HTH.
Jerome Blion.

-
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=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] spamassasin

2008-07-22 Thread Jan Müller
I have working spamassasin, but can not get it to process courier mail.

Eg: when I feed spamassasin a test mesage via the command line, it
returns some output. But when i recieve mail via smtp, there is not
spamassassin header. Spam still reigns.
Here is what i did trying to follow tips from spamassassin website:

in courier/etc/courier:
DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop"

and courier/etc/maildroprc:
import USER
if ($LOGNAME ne "")
{
xfilter "spamc -u $LOGNAME"
}
else
{
xfilter "spamc -u $USER"
}

What should i do next?

Thank you for help.

-
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=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier and Pythonfilter/Greylist Installation

2008-07-22 Thread Gordon Messmer
Steve Poe wrote:
> 
> I was on Macro Balmer's web site to learn about / download python  
> greylisting with Courier. The
> web site refers to courier-pythonfilter-0.9 then pythonfilter- 
> greylist. Then I found pythonfilter-1.3 which
> has a greylist python script. Since I am new at this, I am confused as  
> to which path I should take?

My advice would be to use the greylist included with pythonfilter.

> We want to install the pythonfilter / greylist option for Courier, but  
> we do not want it to be active yet. Can we do the
> install "python setup.py install" without Courier knowing the  
> pythonfilter is installed?

Yes.  Courier will not use any python filters until you start 
pythonfilter according to its documentation.  Please read the README 
file. :)




-
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=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier and Pythonfilter/Greylist Installation

2008-07-22 Thread Jérôme Blion
Steve Poe a écrit :
> I have few questions on making Pythonfilter /greylist work with  
> Courier. I am a newbie in both areas:
>
> I was on Macro Balmer's web site to learn about / download python  
> greylisting with Courier. The
> web site refers to courier-pythonfilter-0.9 then pythonfilter- 
> greylist. Then I found pythonfilter-1.3 which
> has a greylist python script. Since I am new at this, I am confused as  
> to which path I should take?
>   
Alway prefer latest versions for new setups.

> We want to install the pythonfilter / greylist option for Courier, but  
> we do not want it to be active yet. Can we do the
> install "python setup.py install" without Courier knowing the  
> pythonfilter is installed?
>   
In the installation guide, they explain how to setup pythonfilter.

1 - you have to create a link (in /usr/lib/courier/libexec/filters on my 
servers):
lrwxrwxrwx 1 root   root   21 2008-07-16 18:28 pythonfilter -> 
/usr/bin/pythonfilter

2 - you have to run: filterctl start pythonfilter.

You can do the first step. Until you do the second step, pythonfilter 
won't filter anything.

HTH.
Jerome Blion.

-
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=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Courier and Pythonfilter/Greylist Installation

2008-07-22 Thread Steve Poe
I have few questions on making Pythonfilter /greylist work with  
Courier. I am a newbie in both areas:

I was on Macro Balmer's web site to learn about / download python  
greylisting with Courier. The
web site refers to courier-pythonfilter-0.9 then pythonfilter- 
greylist. Then I found pythonfilter-1.3 which
has a greylist python script. Since I am new at this, I am confused as  
to which path I should take?


We want to install the pythonfilter / greylist option for Courier, but  
we do not want it to be active yet. Can we do the
install "python setup.py install" without Courier knowing the  
pythonfilter is installed?


How does the Courier program/MTA know about Pythonfilter? I am  
thinking at some point, Courier has to pass
control to Pythonfilter (and back). Maybe I assume incorrectly?


Thanks for your help.


Steve




-
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=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Error, relay 534 Message header size, from Ne wegg.com EmailCart app?

2008-07-22 Thread Bowie Bailey
Jesse Molina wrote:
> Hello
> 
> I think I have found something wrong with either Courier MTA being
> unnecessarily militant/protective or a Newegg.com cgi mailer is doing
> something wrong.
> 
> To start with, I don't think this is my personal configuration.  I
> don't have any (known) policies that would prohibit this.
> 
> When trying to mail myself a shopping cart item list from this URL;
> 
> http://secure.newegg.com/Shopping/EmailCart.aspx
> 
> I get this message in my mail.err log, and the message is dropped;
> 
> error,relay=:::204.14.213.142,from=<[EMAIL PROTECTED]>: 534 Message
> header size, or recipient list, exceeds policy limit.
> 
> I grepped through the last 120 days of syslog data and found about 109
> similar messages, mostly obvious spam.  However, I found all of these
> newegg messages, which were times that I had unsuccessfully tried to
> mail myself a cart.
> 
> I would inspect the headers, but I obviously can't receive them.
> 
> I found these two historical messages on the subject;
> 
>
http://www.mail-archive.com/courier-users@lists.sourceforge.net/msg30673.htm
l
> 
> http://copilotconsulting.com/mail-archives/courier.2001/msg00490.html
> 
> 
> 
> What I am asking of the Courier-Users mailing list is this;  can you
> try to mail yourself a shopping cart from this URL and see if this
> sets off Courier's built-in restrictions on you mail server too? 
> Then, I will know this isn't just me;
> 
> http://secure.newegg.com/Shopping/EmailCart.aspx
> 
> Also, if you don't already know Newegg, it's a pretty good place to
> get new computer parts in the USA.
> 
> I get other mails from Newegg regularly. Only when trying to mail
> myself a shopping cart do I have this problem.
> 
> Please mail in your results.  Tell me I'm a kook, or that I'm right.
> Either way.
> 
> Thanks in advance for anyone willing to test.
> 
> 
> I am using courier-mta on Debian, binary packages.  Version
> courier-mta 
> 0.58.0.20080127-1.

I have seen this problem before.  It used to be part of my normal build
procedure to increase the headerlimit in the code before I built a new
Courier rpm.  The current versions have a configuration variable you can
use to adjust the limit.

Add this to your /etc/courier/bofh file (and then restart courier):

opt BOFHHEADERLIMIT=(new limit in bytes)

The default is 100,000 bytes.

Check the man page for 'courier' for more info on bofh options.

-- 
Bowie

-
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=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] IMAP_TLS_REQUIRED

2008-07-22 Thread Bernd Wurst
Hi.

On Tuesday 22 July 2008, Sam Varshavchik wrote:
> > IMAP_TLS_REQUIRED=1
> > [...]
> > What's up with this setting? Did the option name change in any way?
> No, but if you had TLS_STARTTLS_PROTOCOL set, remove the setting and leave
> it at the default.

No, this string is not present in my config.

# egrep -v '^(#|$)' /etc/courier/imapd
ADDRESS=0.0.0.0
PORT=143
MAXDAEMONS=50
MAXPERIP=50
PIDFILE=/var/run/courier/imapd.pid
TCPDOPTS="-nodnslookup -noidentlookup -access=/etc/courier/imapaccess.dat"
LOGGEROPTS="-name=imapd"
IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT 
THREAD=REFERENCES SORT QUOTA IDLE"
IMAP_KEYWORDS=0
IMAP_ACL=0
IMAP_CAPABILITY_ORIG="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 
AUTH=CRAM-SHA1 AUTH=CRAM-SHA256 IDLE"
IMAP_TLS_REQUIRED=1
IMAP_PROXY=1
IMAP_PROXY_FOREIGN=0
IMAP_IDLE_TIMEOUT=60
IMAP_MAILBOX_SANITY_CHECK=1
IMAP_CAPABILITY_TLS="$IMAP_CAPABILITY AUTH=PLAIN"
IMAP_CAPABILITY_TLS_ORIG="$IMAP_CAPABILITY_ORIG AUTH=PLAIN"
IMAP_DISABLETHREADSORT=0
IMAP_CHECK_ALL_FOLDERS=0
IMAP_OBSOLETE_CLIENT=0
IMAP_UMASK=022
IMAP_ULIMITD=65536
IMAP_USELOCKS=1
IMAP_SHAREDINDEXFILE=/etc/courier/shared/index
IMAP_ENHANCEDIDLE=1
IMAP_TRASHFOLDERNAME=Trash
IMAP_EMPTYTRASH=Trash:7
IMAP_MOVE_EXPUNGE_TO_TRASH=0
SENDMAIL=/usr/bin/sendmail
HEADERFROM=X-IMAP-Sender
IMAPDSTART="YES"
MAILDIRPATH=.maildir


As a workaround, I remove AUTH=PLAIN from IMAP_CAPABILITY but for some reason, 
this does not work as expected. Login is still possible without using TLS.

regards, Bernd

-- 
You're smart when you only believe half of what you hear.
You're wise when you know which half to believe.


signature.asc
Description: This is a digitally signed message part.
-
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=100&url=/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] IMAP_TLS_REQUIRED

2008-07-22 Thread Sam Varshavchik

Bernd Wurst writes:


Hi.

We have configured courier to only allow encrypted connections.
To achieve this, we have set 


##NAME: IMAP_TLS_REQUIRED:1
#
# Set IMAP_TLS_REQUIRED to 1 if you REQUIRE STARTTLS for everyone.
# (this option advertises the LOGINDISABLED IMAP capability, until STARTTLS
# is issued).

IMAP_TLS_REQUIRED=1


This has worked for some time (I hope) but now, possibly after upgrading to 
courier-0.59.0, it stopped working.


What's up with this setting? Did the option name change in any way?


No, but if you had TLS_STARTTLS_PROTOCOL set, remove the setting and leave 
it at the default.





pgpliNRtpXxVG.pgp
Description: PGP signature
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Standard Signatures

2008-07-22 Thread Peter Burden
2008/6/19 Peter Burden <[EMAIL PROTECTED]>:

>
>
> There's a new version of sigfilter available (version 1.1)

at http://web.ptwol.net/sigfilter
Documentation is bit better, code is a bit tidier and it now works with
sqwebmail.
-
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=100&url=/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users