Haha guess I must have forgotten to mention : I am Mr Nice Guy in office
But one thing for sure, it doesn't pay to be nice. BUt I like it anyway hah!
No it does not pay, I know that very well. I am super nice guy most of the time
until they want to do something that they will regret and blame me for later
Ok some updates.. after a weekend of monitoring...
concurrency is at '250'
queuetimelife is at '86400' or 1 day
In PLESK control, mail is set to allow only mails from 127.0.0.1/32 (though sorry to say..
i don really understand how does the last number work.. /0, /8, /32... pardon me for my
dumb-wittedness )
-Rt0 is in place (that's how we came to so many pages! heh)
IP subnetting is not an easy subject and too involved for a forum post.
There are probably thousands of sites out there with IP Protocol and subnet information.
Here is one, I have not gone through their site, but looks like it could be useful for you.
http://www.learntosubnet.com/
Ok, now the queue is sitting comfortably at 3088, yesterday morning was 1500.
But the good thing is all my out-going mail, despite the queue... are out-gone!
at least mail is moving.. now monitoring to see how much the queue will built up..
but the mails are definitely staying 1 day only.. been checking the same message id..
it changes.. and i receive an email saying the mail i sent earlier is invalid and
beenunsent for too long and is dumped out of queue..
now to see if can control the failure notices.. which mostly are spam... :S
what you reckon?
'mostly' hmm. That is a problem, you could send them all to a blackhole
account (there is another thread on setting this up), or put qmHandle in a cronjob to run every
x hours. Both of these solutions are simple, but will affect 'ALL' failure notices, so
your clients would not even get a failure message when they mis-spell an email address. Other
than those, you would have to see if there are any Qmail addons or patches to do this. That would
require re-compiling Qmail, which if you have not done this, I do not recommend doing it on a
production server until you have done it successfully on a matching test server preferably a clone
of the production hard drive (exact same conditions).
Also what other way can i look to finetune qmail?
There are many other control files, search the Plesk forums (no matter
which version of Plesk, Qmail control files are the same and are not Plesk dependent.
See the qmail.org and qmailrocks.org sites or Google.
For the resolv.conf
since my current one is
quote:nameserver 127.0.0.1
search localdomain
I should just add it to
quote:
nameserver my.isp.dns.com
nameserver my.isp.dns.com
nameserver 127.0.0.1
search localdomain
??
Purely for performance (name lookup) purpose right?
I would put the first 3 lines you posted, I don't put the 'search localdomain'
statement in any of my servers' resolv.conf files. The primary reason to use your ISP's
nameservers is that theirs are 'caching nameservers', unless you reconfigure your Plesk server,
it is not setup to do 'caching'. So by using the ISP's you offload requests from your server to their
especially since most of the lookups for external domains will not be found in the non-existent
bind cache on your localserver. Or something like that.... IN ANY CASE, it is not required and all my servers work great without it, so why mess with a good thing?
Code:
From the Linux MAN pages (#man resolv.conf):
search Search list for host-name lookup. The search list is normally
determined from the local domain name; by default, it contains
only the local domain name. This may be changed by listing the
desired domain search path following the search keyword with
spaces or tabs separating the names. Most resolver queries will
be attempted using each component of the search path in turn
until a match is found. [color=red]Note that this process may be slow and
will generate a lot of network traffic if the servers for the
listed domains are not local, and that queries will time out if
no server is available for one of the domains.[/color]
The search list is currently limited to six domains with a total
of 256 characters.