Re: [courier-users] VirusScan

2001-12-06 Thread Gordon Messmer

On Thu, 6 Dec 2001, Svetozar Mihailov - Dynacord Bulgaria Ltd wrote:

> Is there someone try to write filter for courier to scan all mail with
> antivirus software ( example McAffee NAI )?

Yes.  I am.  I've built a "pythonfilter" application for courier's global
filtering mechanism.  It's under 200 lines of just python, and interfaces
with courierfilter.  It should be very resilient to failures, and it's
multithreaded.  It loads python modules from a user-defined directory and
hands each message to each module.  If the modules don't reject it, then 
pythonfilter will approve it.  If any module rejects it, pythonfilter 
immediately passes that failure back to courierfilter.

On top of that, I'm going to port portions of the qmail-scanner (whose 
performance is terrible!) to python, as modules for pythonfilter.  Once 
finished, it will have support for all of the virus scanners supported by 
qmail-scanner.

-- 
If I had a dollar for every brain that you don't have,
I'd have one dollar. - Squidward to SpongeBob


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] SHUTDOWN: respawnhi limit reached.

2001-12-06 Thread Gordon Messmer

On Thu, 6 Dec 2001, Johannes Erdfelt wrote:

> Checking the logs I found this message:
> 
> Dec  6 04:24:21 quattro courierd: SHUTDOWN: respawnhi limit reached.
...
> Searching a bit, I see I had the same problem someone else had:
> 
> http://www.ultraviolet.org/mail-archives/courier.2001/5628.html

That was me.

> The mail server is busy much of the time, but I don't think it's busy
> enough to naturally hit the respawnhi timeout. It looks like somehow
> courier missed that a child finished and that's why it hit the respawnhi
> timeout.

I was wrong about that.  The child processes are still legitimately 
running.  As fate would have it just as I started this email, I was pulled 
in to some mail server issues and noticed that the respawnhi thing had 
happened again.  All of the couriersmtp processes were stuck in a read() 
system call on fd 5.  I have the control file from a couple, and there are 
lots of DNS failures recorded.

It's much too late to do any debugging right now, but I'll be over this 
tomorrow.  In any case, it's not that courierd isn't harvesting children, 
it's that the children are blocking on an unprotected read().  (I thought 
they all had alarms in place...  /me shrugs)

> The system is Linux 2.2 running Courier 0.35.1. I had planned on
> upgrading to 0.36.1, but I don't see anything in the changelogs about
> this.

My system, too.  Mine's running on SlackWare 8.  Yours?

None of the Red Hat systems I run courier on have this issue, but none of 
them are very high traffic systems, either.

-- 
If I had a dollar for every brain that you don't have,
I'd have one dollar. - Squidward to SpongeBob


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: Mailfilter

2001-12-06 Thread Gordon Messmer

On Thu, 6 Dec 2001, Sam Varshavchik wrote:

> Svetozar Mihailov - Dynacord Bulgaria Ltd writes: 
> 
> >> The mail filter is free to judge the message's worthiness by reading its contents 
>and/or control file(s)
> >> as soon as a second consecutive newline character is received.
> > 
> > Is mailfilter can change content of message? ( may be try to disinfect? )
> 
> No. 

I was about to ask about this myself.  What consequences will befall the 
mortals who attempt to modify the message body or control files?

If a module can't modify the original, then I suppose what I'll do is
rewrite the message, privately submit a cleaned version of the message
into the queue, and reject the original with a message indicating that the
message will be cleaned and received by the intended recipient.

The other thing I was going to ask you was about the control files.  My 
python filter gets the full path to the message body, but after that it 
just reads the queue name from the socket, AFAICT.  Aren't the control 
file names supposed to come through as well?

-- 
If I had a dollar for every brain that you don't have,
I'd have one dollar. - Squidward to SpongeBob


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] VirusScan

2001-12-06 Thread Mark Constable

On Fri, 7 Dec 2001 06:30, Ken Jones wrote:

> Take a look at efilter 0.2 http://www.inter7.com/eps/
> It scans incoming email and rejects mail with suspect
> attachments.

That looks interesting and a good start to some
non-proprietory virus checking software. If anyone
gets this to work with courier **PLEASE** post how
(or to me personally if it's OT),ie; where's eps.h ?

--markc

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: THREAD REFERENCES

2001-12-06 Thread Jeff Tucker

--On Thursday, December 06, 2001 10:30 PM + Sam Varshavchik 
<[EMAIL PROTECTED]> wrote:

> Jeff Tucker writes:
>>
>> For instance, here's a line from an IMAP log:
>> A7 THREAD REFERENCES us-ascii ALL
>> * THREAD (1)(2)((5)(6)(8))((3)(7))((4)(9)(10))((11)(13))(12)
>> A7 OK THREAD done.
>>
>> Message 3 was a new thread and message 7 was a reply to message 3, with
>> a  References: header that pointed back to message 3. However, they seem
>> to  be on the same hierarchial level.
>
> I don't think so.  I believe that this reply indicates that 7 is a reply
> to 3.  9 is a reply to 4, and 10 is a reply to 9, etc...
>
> --
> Sam
>

That's not the way I read the standard. Here's a small quote from the 
document at:
http://www.ietf.org/internet-drafts/draft-ietf-imapext-thread-07.txt

Note that parentheses enclose a unit of a message and all its children. As 
message numbers progress _within parentheses_ you get a message and its 
children. Anyway, here's the example. Let me know what you think.

Example:S: * THREAD (2)(3 6 (4 23)(44 7 96))

  The first thread consists only of message 2.  The second thread
  consists of the messages 3 (parent) and 6 (child), after which it
  splits into two subthreads; the first of which contains messages 4
  (child of 6, sibling of 44) and 23 (child of 4), and the second of
  which contains messages 44 (child of 6, sibling of 4), 7 (child of
  44), and 96 (child of 7).  Since some later messages are parents
  of earlier messages, the messages were probably moved from some
  other mailbox at different times.

  -- 2

  -- 3
 \-- 6
 |-- 4
 |   \-- 23
 |
 \-- 44
  \-- 7
  \-- 96



Jeff
-- 
Jeff Tucker
Williams Consulting, Inc.
[EMAIL PROTECTED]

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] over quota redirect

2001-12-06 Thread Robert


hello,
Is there and easy way to redirect messages to a holding area/admins
mailbox when an account goes over quota?
Now the message seems to vanish. (maybe I did something wrong)
tia
Robert


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Mailfilter

2001-12-06 Thread Sam Varshavchik

Svetozar Mihailov - Dynacord Bulgaria Ltd writes: 

> Hi,
> As described in courierfilter.html: 
> 
>> The mail filter is free to judge the message's worthiness by reading its contents 
>and/or control file(s)
>> as soon as a second consecutive newline character is received.
> 
> Is mailfilter can change content of message? ( may be try to disinfect? )

No. 

-- 
Sam 


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: imapd-ssl hiccup

2001-12-06 Thread Sam Varshavchik

Jay Haskins writes: 

> 
> I am in the process of building  a new  courier-imap server and received 
> 
> the following error when trying to connect through SSL: 
> 
> imapd-ssl: starttls: accept: error:0407106B:rsa
> routines:RSA_padding_check_PKCS1_type_2:block type is not 02 
> 
> Sorry if this is a newbie question, but courier-imap installed so easily 
> 
> the first time I never had any issues... 
> 
> Any help is appreciated.

Your mail client probably needs the server protocol to be adjusted. 

Adjust TLS_PROTOCOL in imapd-ssl config file. 

-- 
Sam 


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: THREAD REFERENCES

2001-12-06 Thread Sam Varshavchik

Jeff Tucker writes: 

> Does THREAD REFERENCES fully work? 
> 
> Mulberry supports sorting by thread. Using Courier IMAP from the middle of 
> October, I rarely see messages at more than one level of hierarchy, even 
> when they have valid References: headers. 
> 
> For instance, here's a line from an IMAP log:
> A7 THREAD REFERENCES us-ascii ALL
> * THREAD (1)(2)((5)(6)(8))((3)(7))((4)(9)(10))((11)(13))(12)
> A7 OK THREAD done. 
> 
> Message 3 was a new thread and message 7 was a reply to message 3, with a 
> References: header that pointed back to message 3. However, they seem to 
> be on the same hierarchial level.

I don't think so.  I believe that this reply indicates that 7 is a reply to 
3. 

9 is a reply to 4, and 10 is a reply to 9, etc... 


-- 
Sam 


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Mailfilter

2001-12-06 Thread Svetozar Mihailov - Dynacord Bulgaria Ltd



Hi,
As described in courierfilter.html:
 
> The mail filter is free to judge the message's 
worthiness by reading its contents and/or control file(s)
> as soon as a second consecutive newline 
character is received.
 
Is mailfilter can change content of message? ( may 
be try to disinfect? )
 
> The final 
verdict is rendered by writing back a result code on the same socket. The result 
code follows
> the 
same format as regular SMTP replies (even though the message may not have been 
received via SMTP),
> and 
can be used to communicate acceptance, temporary failure, or a permanent 
failure. If its a failure, then the
> text 
portion of the result code will be used, if possible. The result code may be a 
multiline response, just like a
> regular 
SMTP reply.
 
It is possible mailfilter answer to submit module 
to drop and forgot about this message at all. Mailfilter can send via sendmail 
notification to sender and recipient what is happend ( virus found 
)
 
Svetozar Mihailov


[courier-users] SHUTDOWN: respawnhi limit reached.

2001-12-06 Thread Johannes Erdfelt

So I noticed that I hadn't received any email today and went digging.
courierd wasn't running. I started it and received a huge flood or
messages.

Checking the logs I found this message:

Dec  6 04:24:21 quattro courierd: SHUTDOWN: respawnhi limit reached.

and then for the next couple of hours until I forcefully stopped it and
restarted it:

Dec  6 04:24:53 quattro courierd: Waiting.  shutdown time=none, wakeup time=none, 
queuedelivering=1, inprogress=1

Searching a bit, I see I had the same problem someone else had:

http://www.ultraviolet.org/mail-archives/courier.2001/5628.html

The mail server is busy much of the time, but I don't think it's busy
enough to naturally hit the respawnhi timeout. It looks like somehow
courier missed that a child finished and that's why it hit the respawnhi
timeout.

The system is Linux 2.2 running Courier 0.35.1. I had planned on
upgrading to 0.36.1, but I don't see anything in the changelogs about
this.

I did *not* specify the --with-waitfunc option during configure. It was
built from the included spec file.

JE


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] VirusScan

2001-12-06 Thread Ken Jones

On 2001.12.07 00:12 Svetozar Mihailov - Dynacord Bulgaria Ltd wrote:
> Hi,
> 
> Is there someone try to write filter for courier to scan all mail with
> antivirus software ( example McAffee NAI )?
> 
> I don't want to move to sendmail/qmail because my users use M$ windows
> and every week I must clean 50 PC from some new W32 worm.
> 
> Thanks in advance,
> Svetozar Mihailov
> 

Take a look at efilter 0.2

http://www.inter7.com/eps/

It scans incoming email and rejects mail with suspect
attachments.

Ken Jones

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] VirusScan

2001-12-06 Thread Svetozar Mihailov - Dynacord Bulgaria Ltd



Hi,
 
Is there someone try to write filter for courier to 
scan all mail with antivirus software ( example McAffee NAI )?
 
I don't want to move to sendmail/qmail because 
my users use M$ windows and every week I must clean 50 PC from some 
new W32 worm.
 
Thanks in advance,
Svetozar Mihailov


[courier-users] imapd-ssl hiccup

2001-12-06 Thread Jay Haskins


I am in the process of building  a new  courier-imap server and received

the following error when trying to connect through SSL:

imapd-ssl: starttls: accept: error:0407106B:rsa
routines:RSA_padding_check_PKCS1_type_2:block type is not 02

Sorry if this is a newbie question, but courier-imap installed so easily

the first time I never had any issues...

Any help is appreciated.

Thanks,

JH


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] RFC822 offending mail addresses

2001-12-06 Thread Valdas Andrulis

Then there will be another patch, until all rfc will be broken...

Valdas


On Thu, 6 Dec 2001, Bill Williamson wrote:

> DoCoMo is the 3g cellular network in japan.
> 
> That'd be like trying to tell SprintPCS that their email is slightly wrong,
> could they change it.  If you get a resonce at all, it'll be a canned "yeah
> whatever."
> 
> - Original Message -
> From: "Sysop" <[EMAIL PROTECTED]>
> To: "Nat Sakimura" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday, December 06, 2001 12:55 PM
> Subject: Re: [courier-users] RFC822 offending mail addresses
> 
> 
> > Why can't you make that company change it's policy?
> >
> > Nat Sakimura wrote:
> >
> > >NTT DoCoMo now seems to be recommending to their users the address with .
> at
> > >the end of their username.
> > >e.g. [EMAIL PROTECTED]
> > >This is outrageous as it offends RFC822, but for the time being we have
> to
> > >live with it, and we do not want ot replace courier-mta to something like
> > >postfix just because of it.
> > >
> > >Has anyone had similar experience? If so, how did you solve it?
> > >
> > >Regards,
> > >
> > >Nat


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] RFC822 offending mail addresses

2001-12-06 Thread Bill Williamson
DoCoMo is the 3g cellular network in japan.

That'd be like trying to tell SprintPCS that their email is slightly wrong,
could they change it.  If you get a resonce at all, it'll be a canned "yeah
whatever."

- Original Message -
From: "Sysop" <[EMAIL PROTECTED]>
To: "Nat Sakimura" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, December 06, 2001 12:55 PM
Subject: Re: [courier-users] RFC822 offending mail addresses


> Why can't you make that company change it's policy?
>
> Nat Sakimura wrote:
>
> >NTT DoCoMo now seems to be recommending to their users the address with .
at
> >the end of their username.
> >e.g. [EMAIL PROTECTED]
> >This is outrageous as it offends RFC822, but for the time being we have
to
> >live with it, and we do not want ot replace courier-mta to something like
> >postfix just because of it.
> >
> >Has anyone had similar experience? If so, how did you solve it?
> >
> >Regards,
> >
> >Nat
> >
> >
> >___
> >courier-users mailing list
> >[EMAIL PROTECTED]
> >Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
> >
>
>
>
> ___
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>
>


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] RFC822 offending mail addresses

2001-12-06 Thread Sysop
oh ouch. I've seen user.name@ but never user.@ how very odd...

Bill Williamson wrote:

>DoCoMo is the 3g cellular network in japan.
>
>That'd be like trying to tell SprintPCS that their email is slightly wrong,
>could they change it.  If you get a resonce at all, it'll be a canned "yeah
>whatever."
>
>- Original Message -
>From: "Sysop" <[EMAIL PROTECTED]>
>To: "Nat Sakimura" <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>Sent: Thursday, December 06, 2001 12:55 PM
>Subject: Re: [courier-users] RFC822 offending mail addresses
>
>
>>Why can't you make that company change it's policy?
>>
>>Nat Sakimura wrote:
>>
>>>NTT DoCoMo now seems to be recommending to their users the address with .
>>>
>at
>
>>>the end of their username.
>>>e.g. [EMAIL PROTECTED]
>>>This is outrageous as it offends RFC822, but for the time being we have
>>>
>to
>
>>>live with it, and we do not want ot replace courier-mta to something like
>>>postfix just because of it.
>>>
>>>Has anyone had similar experience? If so, how did you solve it?
>>>
>>>Regards,
>>>
>>>Nat
>>>
>>>
>>>___
>>>courier-users mailing list
>>>[EMAIL PROTECTED]
>>>Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>>>
>>
>>
>>___
>>courier-users mailing list
>>[EMAIL PROTECTED]
>>Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>>
>>
>
>
>___
>courier-users mailing list
>[EMAIL PROTECTED]
>Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>



___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] RFC822 offending mail addresses

2001-12-06 Thread Sysop
Why can't you make that company change it's policy?

Nat Sakimura wrote:

>NTT DoCoMo now seems to be recommending to their users the address with . at
>the end of their username.
>e.g. [EMAIL PROTECTED]
>This is outrageous as it offends RFC822, but for the time being we have to
>live with it, and we do not want ot replace courier-mta to something like
>postfix just because of it.
>
>Has anyone had similar experience? If so, how did you solve it?
>
>Regards,
>
>Nat
>
>
>___
>courier-users mailing list
>[EMAIL PROTECTED]
>Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>



___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] RFC822 offending mail addresses

2001-12-06 Thread Nat Sakimura
NTT DoCoMo now seems to be recommending to their users the address with . at
the end of their username.
e.g. [EMAIL PROTECTED]
This is outrageous as it offends RFC822, but for the time being we have to
live with it, and we do not want ot replace courier-mta to something like
postfix just because of it.

Has anyone had similar experience? If so, how did you solve it?

Regards,

Nat


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Mail still stuck

2001-12-06 Thread Roland Schneider

--Steve Shockley wrote on 06.12.2001 00:49 -0500:

> I just installed 0.36.1 plus the patch mentioned before by Roland Schneider,
> and I'm still getting the 'Invalid argument' in the logs.  I'll paste the
> logs below, just in case there's something boneheaded or obvious I'm
> missing...

Uncomment the lines in courier/module.esmtp/esmtpclient.c:177,
recompile, restart, tail -f /var/maillog in another window,
and if the $PID shows up run:

/usr/local/bin/strace -p $PID -a 60 -s 200 -o $TMP/strace.$PID

This should show which syscall sets errno to EINVAL.
If it's from a connect() duplicate the patch to the new location.

I also strongly recommend to put a fqdn in to etc/me, this will
save you some other troubles like mx-looping and invalid hostname.

Roland


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] THREAD REFERENCES

2001-12-06 Thread Jeff Tucker


--On Thursday, December 06, 2001 8:39 AM -0600 Bill Williamson 
<[EMAIL PROTECTED]> wrote:

> Using *gasp* outlook express 6 here with a full vanilla courier install,
> and it's working fine.  The "courier 0.36.1" thread is 4 messages deep.
>
> OE6 may use a different method, though, but it does seem to work for me.
>
> --Bill


I'm not sure if OE6 uses THREAD REFERENCES or if it threads based on 
In-Reply-To or what.

For the thread you mentioned, I have four messages. They all appear on the 
same hierarchial level. My server responds with a very long THREAD 
response, but here's the relevant snippet cut from the middle of the line:

((1246)(1248)(1250)(1251))

I'll admit that I haven't gone and read the RFC extension for this, but if 
nested parentheses are used to indicate different thread levels like I 
suspect, then Courier doesn't seem to be responding correctly. A quick 
check of the headers for these four messages shows that the last three all 
seem to have valid References: headers.

I do very occasionally get a couple levels of hierarchy:
(97 (102)(117 (121)(125)))

However, this is very rare and on a list like courier-users, you would 
expect to see threads with many layers of hierarchy all the time.

Jeff
-- 
Jeff Tucker
Williams Consulting, Inc.
[EMAIL PROTECTED]

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: disable case-sensitive email addresses

2001-12-06 Thread Bill Michell

Rico Hauke writes:

> does anybody know how to disable case-sensitive email addresses in 
> courier-0.36.1 so that e.g. [EMAIL PROTECTED] will be sent to 
> [EMAIL PROTECTED]??  
> 
Yes. 

You can disable case sensitivity on *incoming* messages. Search for 
locallowercase in INSTALL. Ensure you understand the implications. 

You can't disable case sensitivity on *outgoing* messages. If is perfectly 
valid (perhaps unexpected, but valid) for [EMAIL PROTECTED] to be 
different to [EMAIL PROTECTED] if somedomain.com want to set things up 
that way. 

-- 
Bill Michell
[EMAIL PROTECTED] (home) 

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] THREAD REFERENCES

2001-12-06 Thread Bill Williamson

Using *gasp* outlook express 6 here with a full vanilla courier install, and
it's working fine.  The "courier 0.36.1" thread is 4 messages deep.

OE6 may use a different method, though, but it does seem to work for me.

--Bill
- Original Message -
From: "Jeff Tucker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 05, 2001 11:37 PM
Subject: [courier-users] THREAD REFERENCES


> Does THREAD REFERENCES fully work?
>
> Mulberry supports sorting by thread. Using Courier IMAP from the middle of
> October, I rarely see messages at more than one level of hierarchy, even
> when they have valid References: headers.
>
> For instance, here's a line from an IMAP log:
> A7 THREAD REFERENCES us-ascii ALL
> * THREAD (1)(2)((5)(6)(8))((3)(7))((4)(9)(10))((11)(13))(12)
> A7 OK THREAD done.
>
> Message 3 was a new thread and message 7 was a reply to message 3, with a
> References: header that pointed back to message 3. However, they seem to
be
> on the same hierarchial level.
>
> I've saved all of the Courier mailing list for the last month or so. I
find
> that I get one or two at most levels of messages, even in long threads.
>
> Is this supposed to work? I can provide better IMAP logs if necessary, but
> I assume it's pretty easy to recreate.
>
> Thanks
> Jeff
>
>
> --
> Jeff Tucker
> Williams Consulting, Inc.
> [EMAIL PROTECTED]
>
> ___
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>
>


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] disable case-sensitive email addresses

2001-12-06 Thread Rico Hauke


hello, 

does anybody know how to disable case-sensitive email addresses in 
courier-0.36.1 so that e.g. [EMAIL PROTECTED] will be sent to 
[EMAIL PROTECTED]?? 

thanks in advance,
Rico 

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Problem with imap

2001-12-06 Thread Polerio Babao
Greetings,
 
To all people who had installed imap with horde and imp.
 
I have had installed courier-imap, and imapd and pop3d is working. when I configure our php with imap, it gives some failure, it says cannot find rfc..
 
how can i make the installation look for the location of that file. I locate this rfc and it is there in courier-imap directory. I'ved used already the --with-imap=/usr/.. option and --with-imap only option.
 
I hope you would give us some advice.
Thanks.
Polerio T. Babao Jr.II 43-A Bagong Lote, Potrero Malabon, M.M. 
3640810 
Get your FREE download of MSN Explorer at http://explorer.msn.com

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] RE: Imap connections broken midway

2001-12-06 Thread Meganathan, Balasubramaniam

Hi all,

I solved that problem.
This is due to timeout occurring in "select" in  writeflush()
function.(imapwrite.c file)

In qmail, they are using 1200 seconds as timeout, I set the same here. It is
working fine.

Any comments !.

Thanks
Mega 

-Original Message-
From: Meganathan, Balasubramaniam 
Sent: Tuesday, December 04, 2001 6:19 PM
To: '[EMAIL PROTECTED]'
Subject: Imap connections broken midway


Hi all,

We have the following problem.

I have set up "Imapd" as follows:

#!/bin/sh -f

exec env - IMAP_CAPABILITY="IMAP4rev1 CHILDREN NAMESPACE 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT AUTH=CRAM-MD5 
AUTH=CRAM-SHA1" /u/bmega/work/imap_udb/tcpserver -c 2000 -u 
bmega 0 8143 /u/bmega/work/imap_udb/imaplogin 
/u/bmega/work/imap_udb/checkpassword 
/u/bmega/work/imap_udb/imapd Maildir &

tcpserver :: DJB's. (qmail's)
checkpassword :: modified one for our purpose.

--

We are able to establish more than 1000 connections 
simultaneoulsy , but the problem is when we download mails 
in all the connections , only few connections(50-100/1000) 
are sustaining till we LOGOUT, others are getting broken in 
FETCH(during downloading mails).

-- we are not able to download mails in all the connections.
-- what could be the problem.

Please enlighten me, how can we sustain all the connections 
till LOGOUT. ( when we send NOOP commands , most(950/1000) 
connections are sustaining as expected, problem arises when 
we FETCH ).

--

The same setup working for qmail-pop3d, but not 
courier-imap. {{ In case of qmail-pop3d, all the 1000 
connections are sustaining till we QUIT - mails are also 
properly downloaded, so we expect same thing to work for Imapd ).

please provide me pointers to solve this problem.

Thanks in advance,
Mega 


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: Maildrop Filtering - load on system

2001-12-06 Thread Sean Rima

Originally to: Sam Varshavchik

Sam Varshavchik was alleged to have said to All
 something about [courier-users] Re: Maildrop Filtering - load on system

 SV> > I have courier.0.35 running on redhat 7.1. Maildrop does the delivery
 SV> for
 SV> > all mail locally and globally.
 SV> >
 SV> > I am having issues with maildrop filtering and delivery.
 SV> >
 SV> > I employ the following global mail filter file (maildroprc) to screen
 SV> for
 SV> > certain attachments and then if found send them to the system
 SV> administrator
 SV> > instead of the intended recipient.
 SV> >
 SV> > if(/From:.*sysadm/ || /Delivered-To:.*sysadm/)
 SV> > {
 SV> > }
 SV> > else
 SV> > if(/.*name=.*\.exe\"/:b \
 SV> > || /.*name=.*\.vbs\"/:b \
 SV> > || /.*name=.*\.scr\"/:b \
 SV> > || /.*name=.*\.pif\"/:b \
 SV> > || /.*name=.*\.bat\"/:b \
 SV> > || /.*name=.*\.com\"/:b)
 SV> > {
 SV> > to "[EMAIL PROTECTED]"
 SV> > }
 SV> >
 SV> > I also employ a sizelimit file which is set to 10mb.
 SV> >
 SV> You could use a bandaid solution of collapsing all your regexps into a
 SV> simple:
 SV>
 SV> if(/name=.*\.(exe|vbs|scr|pif|bat|com)\"/:b)
 SV> {
 SV>   ...
 SV> }
 SV>
 SV> This pattern will match much faster.
 SV>

I use the below which I have always found fast.

if ( /^[:space:]+filename=.*\.vbs\"$/:b || \
 /^[:space:]+filename=.*\.exe\"$/:b || \
 /^[:space:]+filename=.*\.com\"$/:b || \
 /^[:space:]+filename=.*\.bat\"$/:b
 {
   xfilter "$REFORMAIL -A'X-Antispam: Possible Virus'"
   /^Subject: !.*/
   xfilter "$REFORMAIL -I'Subject: [CAUTION: POSSIBLE VIRUS] $MATCH2'"
  }


I don't use this as a virii scanner simply because I forward domain mail to 
other smtp servers for people whom I host mail for. This is upto them to check 
the attachments.

On a secondary note, I am away until Jan 5 but on my return, I plan on 
converting some of the Procmail receipes for spam to Maildrop. These can be used 
as either a global maildroprc entry or for individual users .mailfilter files. 
The one that I am looking at is Spambouncer. I am around half way through them 
at the moment.

Sean

... A linux machine! because a 486 is a terrible thing to waste

<-> Gateway Information.
This message originated from a Fidonet System (http://www.fidonet.org)
and was gated at TCOB1 (http://www.tcob1.net)
Please do not respond direct to this message but via the list



___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users