RE: [Mimedefang] Separate Filters for Separate Recipients
Thanks for the help I got from all of you. I'm using sendmail version 8.12.10-1 on a WhiteBox Enterprise Linux 3.0 distribution (same as RedHat). I notices that the startup script already starts up a second instance of sendmail but uses the same queue interval as for the regular queue, 1 hour on my system. I didn't wait that long when I tested my setup earlier so that's why I thought the messages did not get delivered. I fixed the problem by adding the following line to /etc/sysconfig/sendmail: SMQUEUE=2m This will ensure that my messages are delivered within 2 minutes. Thanks again for your help, Kjell -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kelson Vibber Sent: Tuesday, May 04, 2004 5:12 PM To: [EMAIL PROTECTED] Subject: RE: [Mimedefang] Separate Filters for Separate Recipients At 04:43 PM 5/4/2004, Kjell Uddeborg wrote: >It does seem to split up the messages based on the recipients but they do >not get delivered until I restart the sendmail server. Have you ever seen >this problem before? Anything MD resends goes into the submission queue, not the regular queue. You need to run a second instance of Sendmail as a queue runner. See the MIMEDefang README for more detail, but essentially what you need is: sendmail -Ac -q5m This will start a second sendmail process which will run through the submission queue every five minutes. Kelson Vibber SpeedGate Communications ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
RE: [Mimedefang] Separate Filters for Separate Recipients
On Tue, 4 May 2004, Kjell Uddeborg wrote: > It does seem to split up the messages based on the recipients but > they do not get delivered until I restart the sendmail server. Have > you ever seen this problem before? You need to ensure you're running Sendmail 8.12 or later. You also need two queue runners: The regular one, and a clientmqueue runner started with the "-Ac" flag. Consult the Sendmail documentation for details. Regards, David. ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
Re: [Mimedefang] Separate Filters for Separate Recipients
You know, I looked for the answer to this in the FAQ and the docs but didn't find it so if so one can point to an "official" answer, it would be good. There is a small note in the changelog but that's all I could find, perhaps a FAQ entry is in order. Anyway Kjell, you probably either don't have a sendmail client submission queue runner or it is running at intervals such as 1 hour so there is a significant delay on mail delivery. Run ps -auxwww | grep sendmail and look for something like this: smmsp22168 0.0 0.0 4720 1492 ?SApr30 0:01 sendmail: Queue [EMAIL PROTECTED]:05:00 for /var/spool/clientmqueue If you do have it, look into how to adjust the time interval for your particular linux distribution/unix system. If you don't have it, you need to modify your initialization script for sendmail. If you need more help, need to know what sendmail you are running, what linux/unix you are running and how you installed sendmail. Regards, KAM > It does seem to split up the messages based on the recipients but they do not get delivered until I restart the sendmail server. Have you ever seen this problem before? ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
RE: [Mimedefang] Separate Filters for Separate Recipients
At 04:43 PM 5/4/2004, Kjell Uddeborg wrote: It does seem to split up the messages based on the recipients but they do not get delivered until I restart the sendmail server. Have you ever seen this problem before? Anything MD resends goes into the submission queue, not the regular queue. You need to run a second instance of Sendmail as a queue runner. See the MIMEDefang README for more detail, but essentially what you need is: sendmail -Ac -q5m This will start a second sendmail process which will run through the submission queue every five minutes. Kelson Vibber SpeedGate Communications ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
RE: [Mimedefang] Separate Filters for Separate Recipients
David, Thanks for your help. I added the following lines to the beginning of filter_begin: sub filter_begin () { # Stream messages by recipients if (stream_by_recipient()) { return; } . . . It does seem to split up the messages based on the recipients but they do not get delivered until I restart the sendmail server. Have you ever seen this problem before? Thanks for your help, Kjell -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of David F. Skoll Sent: Tuesday, May 04, 2004 11:10 AM To: [EMAIL PROTECTED] Subject: Re: [Mimedefang] Separate Filters for Separate Recipients On Tue, 4 May 2004, Kjell Uddeborg wrote: > I suppose the correct way to solve this is to split up the message > in two different messages and then process them separately. But how > can I do this? See stream_by_domain and stream_by_recipient in the mimedefang-filter(5) man page. -- David. ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
Re: [Mimedefang] Separate Filters for Separate Recipients
On Tue, 4 May 2004, Kjell Uddeborg wrote: > I suppose the correct way to solve this is to split up the message > in two different messages and then process them separately. But how > can I do this? See stream_by_domain and stream_by_recipient in the mimedefang-filter(5) man page. -- David. ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang