Discussion:
SOLVED: Re: MailScanner is processing queue every 300 seconds.
Armando Montiel
2013-11-30 13:20:29 UTC
Permalink
Hi,

Thank you Martin.

You have pointed me to the right direction, but I would like to share why I
never think in this value before:

My "Delivery Method" was in "queue", so I was mind blocked about not change
this parameter. I was convinced that this value have no relationship with
my "batch" behavior.
Another value hat was necessary to change was not in MailScanner but
master.cf in Postfix:

cleanup, flush, pickup and qmgr values was setup to "unix", but the new
delivery method was unable to handle. I need to change qmgr value to "fifo"
in order to get this working.

Now I have delays with less than 20 seconds, which is pretty good, but I
dont know already if this will handle my users the next monday.

I will investigate which "fifo|unix" values have better performance under
Postfix and a heavy imap usage under Cyrus-imapd.

Thank you again.
Batch is the clue word there specifically the setting is
http://www.mailscanner.info/MailScanner.conf.index.html#Delivery%20Method
This is how is should work in batches but a 5 min interval isnt right
I'd check the setting to call the second mta (sendmail2) setting is correct
Martin
Hi,
I am using a mail server solution where MailScanner is used with postfix
+ cyrus-imapd.
Any clue about why this combination of software spends 300 seconds (5
minutes) to process and deliver email?
This is like my server take a look in the queue and process this in a
batch way, not individually.
The best time I get in this scenario is when a email is received in the
queue 15 or 20 seconds before the last processing cycle of 5 minutes has
been performed.
Sometime in the past this didn't happened but I am lost looking for a
possible reason.
Which MailScanner variables could make this effect?
Thank you.
--
--
Martin Hepworth, CISSP
Oxford, UK
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20131130/d43a0549/attachment.html
Martin Hepworth
2013-11-30 15:40:21 UTC
Permalink
Might be best to have the scanner part running on a separate machine to the
mail server. Reduces issues with performance queries but also means
internal email (between your own users) doesnt get scanned which keeps
performance up

Also means if the mailscanner bit fails uou can still transit internal email
Post by Armando Montiel
Hi,
Thank you Martin.
You have pointed me to the right direction, but I would like to share why
My "Delivery Method" was in "queue", so I was mind blocked about not
change this parameter. I was convinced that this value have no relationship
with my "batch" behavior.
Another value hat was necessary to change was not in MailScanner but
cleanup, flush, pickup and qmgr values was setup to "unix", but the new
delivery method was unable to handle. I need to change qmgr value to "fifo"
in order to get this working.
Now I have delays with less than 20 seconds, which is pretty good, but I
dont know already if this will handle my users the next monday.
I will investigate which "fifo|unix" values have better performance under
Postfix and a heavy imap usage under Cyrus-imapd.
Thank you again.
El nov 29, 2013 3:53 PM, "Martin Hepworth" <maxsec at gmail.com<javascript:_e({}, 'cvml', 'maxsec at gmail.com');>>
Batch is the clue word there specifically the setting is
http://www.mailscanner.info/MailScanner.conf.index.html#Delivery%20Method
This is how is should work in batches but a 5 min interval isnt right
I'd check the setting to call the second mta (sendmail2) setting is correct
Martin
Hi,
I am using a mail server solution where MailScanner is used with postfix
+ cyrus-imapd.
Any clue about why this combination of software spends 300 seconds (5
minutes) to process and deliver email?
This is like my server take a look in the queue and process this in a
batch way, not individually.
The best time I get in this scenario is when a email is received in the
queue 15 or 20 seconds before the last processing cycle of 5 minutes has
been performed.
Sometime in the past this didn't happened but I am lost looking for a
possible reason.
Which MailScanner variables could make this effect?
Thank you.
--
--
Martin Hepworth, CISSP
Oxford, UK
--
MailScanner mailing list
mailscanner at lists.mailscanner.info <javascript:_e({}, 'cvml',
'mailscanner at lists.mailscanner.info');>
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
--
--
Martin Hepworth, CISSP
Oxford, UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20131130/7ccc8c2f/attachment.html
Armando Montiel
2013-12-03 03:15:16 UTC
Permalink
Hi,

The server is now running smootly after the "Black Friday" mailing
increase and also
this monday (our peak hours are at the beginning of the week), and
everithing looks good.

Thank you guys!
Post by Martin Hepworth
Might be best to have the scanner part running on a separate machine
to the mail server. Reduces issues with performance queries but also
means internal email (between your own users) doesnt get scanned which
keeps performance up
Also means if the mailscanner bit fails uou can still transit internal email
Hi,
Thank you Martin.
You have pointed me to the right direction, but I would like to
My "Delivery Method" was in "queue", so I was mind blocked about
not change this parameter. I was convinced that this value have no
relationship with my "batch" behavior.
Another value hat was necessary to change was not in MailScanner
cleanup, flush, pickup and qmgr values was setup to "unix", but
the new delivery method was unable to handle. I need to change
qmgr value to "fifo" in order to get this working.
Now I have delays with less than 20 seconds, which is pretty good,
but I dont know already if this will handle my users the next monday.
I will investigate which "fifo|unix" values have better
performance under Postfix and a heavy imap usage under Cyrus-imapd.
Thank you again.
El nov 29, 2013 3:53 PM, "Martin Hepworth" <maxsec at gmail.com
Batch is the clue word there specifically the setting
is http://www.mailscanner.info/MailScanner.conf.index.html#Delivery%20Method
This is how is should work in batches but a 5 min interval isnt right
I'd check the setting to call the second mta (sendmail2) setting is correct
Martin
Hi,
I am using a mail server solution where MailScanner is
used with postfix + cyrus-imapd.
Any clue about why this combination of software spends 300
seconds (5 minutes) to process and deliver email?
This is like my server take a look in the queue and
process this in a batch way, not individually.
The best time I get in this scenario is when a email is
received in the queue 15 or 20 seconds before the last
processing cycle of 5 minutes has been performed.
Sometime in the past this didn't happened but I am lost
looking for a possible reason.
Which MailScanner variables could make this effect?
Thank you.
--
--
Martin Hepworth, CISSP
Oxford, UK
--
MailScanner mailing list
mailscanner at lists.mailscanner.info <javascript:_e({}, 'cvml',
'mailscanner at lists.mailscanner.info');>
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
--
--
Martin Hepworth, CISSP
Oxford, UK
Loading...