[Mimedefang] resending mail sent to /var/spool/mail
We had one of our internal mail servers die for a little while today and when I run mailq (I'm on a Solaris 9 system) there are 1600 messages waiting with connection refused errors in /var/spool/mqueue. However, since I'm using mimedefang with sendmail as a gateway, my sendmail processes are only looking at the mimedefang socket for messages and since sendmail is going to look in the /etc/mail/sendmail.cf file, I'm at a loss on how to get this messages delivered. Ok, just started to read the man pages and there is a -C option I can use. Any suggestions for getting these messages out and running another sendmail to check this queue? Thanks __ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
RE: [Mimedefang] resending mail sent to /var/spool/mail
Try: sendmail -q Jason A. Bertoch Network Administrator [EMAIL PROTECTED] ElectroNet Intermedia Consulting 3411 Capital Medical Blvd. Tallahassee, FL 32308 (V) 850.222.0229 (F) 850.222.8771 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Ford Sent: Thursday, January 05, 2006 4:50 PM To: mimedefang@lists.roaringpenguin.com Subject: [Mimedefang] resending mail sent to /var/spool/mail We had one of our internal mail servers die for a little while today and when I run mailq (I'm on a Solaris 9 system) there are 1600 messages waiting with connection refused errors in /var/spool/mqueue. However, since I'm using mimedefang with sendmail as a gateway, my sendmail processes are only looking at the mimedefang socket for messages and since sendmail is going to look in the /etc/mail/sendmail.cf file, I'm at a loss on how to get this messages delivered. Ok, just started to read the man pages and there is a -C option I can use. Any suggestions for getting these messages out and running another sendmail to check this queue? Thanks __ Yahoo! DSL - Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang smime.p7s Description: S/MIME cryptographic signature ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
Re: [Mimedefang] resending mail sent to /var/spool/mail
Stephen Ford wrote: We had one of our internal mail servers die for a little while today and when I run mailq (I'm on a Solaris 9 system) there are 1600 messages waiting with connection refused errors in /var/spool/mqueue. This should do it: sendmail -q -O QueueDirectory=/path/to/queue That starts a sendmail process that will run through the queue once. -- Kelson Vibber SpeedGate Communications, www.speed.net ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
Re: [Mimedefang] resending mail sent to /var/spool/mail
On Thu, Jan 05, 2006 at 02:23:32PM -0800, Kelson Vibber wrote: sendmail -q -O QueueDirectory=/path/to/queue That starts a sendmail process that will run through the queue once. If your queue is large (and the concept of large really depends on your hardware -- it could mean 1000 entries, or 5), you might also want to add one of: -OQueueSortOrder=file or -OQueueSortOrder=random to your 'sendmail -q' invocation. The default QueueSortOrder is priority, which means that before processing any queued message, the queue runner needs to read each qf file, get the priority, and then process the resulting list in priority order. Using 'file', the queue runner just processes them in filename order, which is fine if you have one queue runner. If you want to run multiple queue runners, the 'random' method is better, as the queue runners won't be trying to process the queued files in the same order Cheers, Dave -- Dave O'Neill [EMAIL PROTECTED]Roaring Penguin Software Inc. +1 (613) 231-6599 ext. 104 http://www.roaringpenguin.com/ For CanIt technical support, please mail: [EMAIL PROTECTED] ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
Re: [Mimedefang] resending mail sent to /var/spool/mail
Move the mqueue directory to something like mqueue-temp and make a new one with same permissions/owners (do this with sendmail stopped) then start sendmail, once load is low enough you can start a new sendmail process to process that mqueue-temp like this: sendmail -q -oQ/full/path/to/mqueue-temp If for some peverse reason you want to watch the mail being processed, add a -v flag to the command line above. This will run through the queue once. It will have to be run several times for all the deliverable messages to be delivered To just run the main queue do sendmail -q -v (or leave off the -v to not see output). Jim Stephen Ford wrote: Any suggestions for getting these messages out and running another sendmail to check this queue? ___ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang