Re: [courier-users] The 456 Address Unavailable error message.

2008-04-14 Thread Gordon Messmer
Glenn R. Martin wrote:
 On 13 Apr 2008, at 10:20 , Glenn R. Martin wrote:
   
 On 13 Apr 2008, at 04:18 , Gordon Messmer wrote:

 
 Glenn R. Martin wrote:
   
 All i can tell is one that was rejected due to bad DNS (we were
 testing by hand and someone typo'd). Is there anyway to clear this?
 
 That won't cause backscatter suppression.  Suppression only happens
 when courier accepts a message for delivery, and isn't able to complete  
 it. You should look for errors logged by courierlocal or maildrop.
   
 Neither program omits anything to the log.
 
 Any ideas on how to get more information?

Well, all you've told us is that you're getting the address 
unavailable message in SMTP, which indicates that you're having local 
delivery problems, and that you can't find the problems in your mail 
logs.  Post the last couple of weeks worth of mail logs somewhere, and 
maybe someone can point out the problem.  You haven't given us much to 
work with so far.


-
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


Re: [courier-users] greylist pythonfilter before DATA command

2008-04-14 Thread Gordon Messmer
Paweł Tęcza wrote:
 I'm curious whether it's possible to invoke greylist (or another) filter
 of pythonfilter by Gordon Messmer _before_ DATA command of SMTP protocol.
   

pythonfilter uses the courierfilter interface, so the answer is no.  
Courier also offers the localmailfilter interface which can run before 
the DATA command.  You could write a greylist filter with that interface.


-
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


Re: [courier-users] greylist pythonfilter before DATA command

2008-04-14 Thread Gordon Messmer
Lorenzo Perone wrote:
 Some time ago there were several  discussions on the matter
 on this list, and if I remember correctly what Sam said, the major
 issue seems to be that the message's mime structure is parsed
 before the filters...

That limitation was preventing courierfilters from safely modifying the 
message contents, but it has been removed.  courierfilters can now 
modify messages.


-
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


Re: [courier-users] greylist pythonfilter before DATA command

2008-04-14 Thread Paweł Tęcza

On So, 2008-04-12 at 13:57 +0200, Lorenzo Perone wrote:
 Hi, I'm using courier since 2002 and love it. It's stable and flexible.
 I also would advocate a filter architecture such as milter, which has
 several event handlers and would suit, among others, to the
 purpose you mention. It is the only feature missing to courier.
 Afaik there is no way to emulate it at this time.

Hello Lorenzo,

Thanks a lot for your fast reply! It's a pity that I can not
do it with pythonfilter, but it is not a big problem for me.
It's rather my request, so I can use greylist pythonfilter after
DATA command of SMTP protocol too.

My best regards,

Pawel



-
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


Re: [courier-users] limit number of imap-logins per user

2008-04-14 Thread Sam Varshavchik

Bernd Wurst writes:


Hi Sam.


On Sunday 13 April 2008, Sam Varshavchik wrote:

It's MAXCPERIP, not MAXPERIP.


Oh, so this variable is called different from the one used by the 
startup-script? Is this intended? :)


Yes, MAXPERIP is globally set. A different one is needed for individual 
overrides.


Is it true that one does *not* need to do anything to make smtpaccess file to 
take effect (after running makesmtpaccess) but one has to send couriertcpd a 
HUP to re-read this new imapaccess file?


Yes, but do that by running couriertcpd -pid=$PIDFILE -restart.




pgpLH4CPsO6RE.pgp
Description: 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


Re: [courier-users] greylist pythonfilter before DATA command

2008-04-14 Thread Paweł Tęcza

On Pn, 2008-04-14 at 00:02 -0700, Gordon Messmer wrote:
 Paweł Tęcza wrote:
  I'm curious whether it's possible to invoke greylist (or another) filter
  of pythonfilter by Gordon Messmer _before_ DATA command of SMTP protocol.

 
 pythonfilter uses the courierfilter interface, so the answer is no.  
 Courier also offers the localmailfilter interface which can run before 
 the DATA command.  You could write a greylist filter with that interface.

Hi Gordon,

Thank you very much for your response and the hint! I can take a look
at localmailfilter, but probably it's easier to use your pythonfilter,
because it's ready now, stable and has also another useful filters :)

Thanks a lot for your filter framework and have a nice day!

Pawel



-
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] imap mail and greylisting

2008-04-14 Thread Bernd Plagge
-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


Re: [courier-users] imap mail and greylisting

2008-04-14 Thread Gordon Messmer
Bernd Plagge wrote:
 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

You need to use one of the whitelist modules to exempt localhost from
greylist filtering.


-
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 imap and mailquota

2008-04-14 Thread suresh p

Hello,

I am using courier-imap and openldap. I have a field mailQuotaSize: 100 
(1MB) stored in ldap ; and in authldaprc I set
LDAP_MAILDIRQUOTA  mailQuotaSize.

But this quota is not firing and I am able to send and read mails even when I 
have exceeded quota. Is there any other setting to be done ?

Thanks and regards,
Suresh Iyengar

-
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


Re: [courier-users] imap mail and greylisting

2008-04-14 Thread Sam Varshavchik

Bernd Plagge writes:


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?


That depends on what Squirrelmail does to send mail. If it takes the 
reasonably approach - running the sendmail command - then this is locally 
originated mail, and no filtering should occur. If it does the silly 
approach - connecting to the server's port 25 and talking SMTP, well, you 
figure it out.



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?


Yes, and yes.



pgpCJaNKQhawF.pgp
Description: 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


Re: [courier-users] courier imap and mailquota

2008-04-14 Thread Sam Varshavchik

suresh p writes:


Hello,

I am using courier-imap and openldap. I have a field mailQuotaSize: 
100 (1MB) stored in ldap ; and in authldaprc I set

LDAP_MAILDIRQUOTA  mailQuotaSize.

But this quota is not firing and I am able to send and read mails even 
when I have exceeded quota. Is there any other setting to be done ?


The quota should be given as: 100S

See http://www.courier-mta.org/maildir.html



pgptmNwhBERE6.pgp
Description: 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


Re: [courier-users] imap mail and greylisting

2008-04-14 Thread Jeff Jansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sam Varshavchik [EMAIL PROTECTED] wrote on 2008-Apr-15:
 That depends on what Squirrelmail does to send mail. If it takes the 
 reasonably approach - running the sendmail command - then this is locally 
 originated mail, and no filtering should occur. If it does the silly 
 approach - connecting to the server's port 25 and talking SMTP, well, you 
 figure it out.
 

Squirrelmail can do either - SMTP or sendmail.   But the default is
usually SMTP.  You can change it by running the config/conf.pl script in
your Squirrelmail installation directory.  Under Server Settings,
change Sendmail or SMTP to be Sendmail, and make sure the sendmail
path is correct for your installation of courier.

HTH

Jeff Jansen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIA/MtGfIHDMaiC9cRAselAJ9UQlk5o8dfB7gNYgijXrkHMh/qPgCcDnvx
4qutANh1yB+qWRJv312mqm0=
=byRu
-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


Re: [courier-users] courier imap and mailquota

2008-04-14 Thread suresh p
  


On Tue, 15 Apr 2008 Sam Varshavchik wrote :
suresh p writes:

Hello,

I am using courier-imap and openldap. I have a field mailQuotaSize: 100 
(1MB) stored in ldap ; and in authldaprc I set
LDAP_MAILDIRQUOTAÂ  mailQuotaSize.

But this quota is not firing and I am able to send and read mails even when I 
have exceeded quota. Is there any other setting to be done ?

The quota should be given as: 100S

See http://www.courier-mta.org/maildir.html


Hi,

It still isnt working. I tried diff things :

a) maildirmake -q 100S /users/pg05/suresh/Maildir

b) Added a new attribute to ldap entry , mailQuota and set it to 100S
   And changed quota entry in authldaprc. And my mailbox is more than 
  6MB in size.

Am I missing any config thing ?

Thanks and regards,
Suresh Iyengar




-
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
-
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