Re: MailScanner with Sendmail
Penbrock wrote: > Thanks alot I now have MailScanner scanning all my messages :). How ever I > have one minor(?) problem, sendmail movers messages to the mqueue.in , > MailScanner scans them and moves them to the /mqueue like it should,... > but the messages just sit there. Do I now need to change procmail? You need to start a queuerunner on that particular queuedirectory. Something like: sendmail -oQ/var/spool/mqueue -q (assuming that mqueue is in /var/spool). Try running this manually first and add the -v flag to see what's happening. After that you can either do queueruns from cron using the same command line or start another sendmail daemon (-bd -q15m) process. Regards, Henk > > > > -Original Message- > From: Matt Collier [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 07, 2004 5:22 AM > To: [EMAIL PROTECTED] > Subject: Re: MailScanner with Sendmail > > > On Tuesday 07 December 2004 00:23, Penbrock wrote: > > I am a newbie trying to learn our office servers so I have put a system > up > > at home just like the ones our office uses for the ISP servers. I am > > trying to play around to find better ways to work things and I have come > > across MailScanner. I think I have it all installed on my testing system > > how ever I can not find any Doc's on how to tell Sendmail to start > calling > > MailScanner. Can anyone help me out here or direct me to some doc's on > > using it on a Debian server with Sendmail? > > > > Thanks for any direction you can give this old MS user trying to learn > > Linux > > > > Ken > > You'll need to tell sendmail to just queue the mail for delivery, not > actually > deliver it. > > in /etc/mail/sendmail.conf, you'll something like: > DAEMON_PARMS="-bd -OPrivacyOptions=noetrn -ODeliveryMode=queueonly > -OQueueDirectory=/var/spool/mqueue.in"; > > then get Mailscanner to pick up the mail from the queue, scan it, and put > it > back into sendmail's delivery queue. > > in /etc/MailScanner/MailScanner.conf: > Incoming Queue Dir = /var/spool/mqueue.in > Outgoing Queue Dir = /var/spool/mqueue > > sendmail doesn't directly call mailscanner, both run as separate processes > and > just put the necessary files where the other can find them, > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > -- Henk Roose - [EMAIL PROTECTED] CWI - Centrum voor Wiskunde en Informatica Centre for Mathematics and Computer Science Amsterdam (NL) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Jesus Help Me !
On Mon, Jan 12, 2004 at 02:02:27PM +1100, Craig Sanders wrote: > this mailing list is for the discussion of the Debian GNU/Linux operating > system in Internet Service Provider environments. that's why it's called > "debian-isp". note that it is *not* called "Divine Assistance" or anything > similar. I totally agree -- get off the list. There must be someplace else where you can ventilate this cosmic debris (in the biblical sense of the word that is). -- Henk Roose - [EMAIL PROTECTED] CWI - Centrum voor Wiskunde en Informatica Centre for Mathematics and Computer Science Amsterdam (NL)
Re: Jesus Help Me !
On Mon, Jan 12, 2004 at 02:02:27PM +1100, Craig Sanders wrote: > this mailing list is for the discussion of the Debian GNU/Linux operating > system in Internet Service Provider environments. that's why it's called > "debian-isp". note that it is *not* called "Divine Assistance" or anything > similar. I totally agree -- get off the list. There must be someplace else where you can ventilate this cosmic debris (in the biblical sense of the word that is). -- Henk Roose - [EMAIL PROTECTED] CWI - Centrum voor Wiskunde en Informatica Centre for Mathematics and Computer Science Amsterdam (NL) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Sendmail & Queuing
Jason, On Tue, Dec 02, 2003 at 10:19:07AM -0500, Jason McMullen wrote: > > I'm running into an odd issue. We have 2 servers that act as > "front-end" MX hosts running Sendmail. These servers then smarthost all > mail back to a main server. This works well at keeping the main server > unloaded due to dictionary attacks and whatnot. The problem we're > seeing is the MX hosts bogging down when trying to deliver mail to the > main host. > > Does anyone have any tried and true methods for getting Sendmail to be a > little "nicer" about its queuing strategy? Or is the best option qmail > or another MTA? Make sure that SingleThreadDelivery is turned off on the MX. On the smarthost however make sure it's not dropping connections too early. Look at the the REFUSE_LA and QUEUE_LA (sendmail must have the correct LA_TYPE compiled in). Also look at the CONNECTION_RATE_THROTTLE and MAX_DAEMON_CHILDREN parameters. It may also help to pay attention to which host is resolving what. Hope this helps. -- Henk Roose - [EMAIL PROTECTED] CWI - Centrum voor Wiskunde en Informatica Centre for Mathematics and Computer Science Amsterdam (NL)
Re: Sendmail & Queuing
Jason, On Tue, Dec 02, 2003 at 10:19:07AM -0500, Jason McMullen wrote: > > I'm running into an odd issue. We have 2 servers that act as > "front-end" MX hosts running Sendmail. These servers then smarthost all > mail back to a main server. This works well at keeping the main server > unloaded due to dictionary attacks and whatnot. The problem we're > seeing is the MX hosts bogging down when trying to deliver mail to the > main host. > > Does anyone have any tried and true methods for getting Sendmail to be a > little "nicer" about its queuing strategy? Or is the best option qmail > or another MTA? Make sure that SingleThreadDelivery is turned off on the MX. On the smarthost however make sure it's not dropping connections too early. Look at the the REFUSE_LA and QUEUE_LA (sendmail must have the correct LA_TYPE compiled in). Also look at the CONNECTION_RATE_THROTTLE and MAX_DAEMON_CHILDREN parameters. It may also help to pay attention to which host is resolving what. Hope this helps. -- Henk Roose - [EMAIL PROTECTED] CWI - Centrum voor Wiskunde en Informatica Centre for Mathematics and Computer Science Amsterdam (NL) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]