Re: URGENT! Nagios flooding mail server but mailq is empty!
Posted: Fri Apr 07, 2017 2:20 pm
SMTP Pro's:
Connects directly to remote SMTP server. Provided you know the info, that's all you should need to get going.
If you have this info, there is a good chance the SMTP is setup properly so the remote end will not reject mail.
SMTP Con's:
Bad logging
Queue managed locally in DB and remotely at MTA.
Sendmail Pro's:
XI/Core delivers mail directly to local MTA
For simple internal email structure, it's very easy to setup.
Great logging
Queue Management
Sendmail Con's:
Setup knowledge required for relaying if a smart host is used.
Other MTA's may reject mail from the host if not setup correctly.
Working knowledge of the MTA required for administrative use
Greater possibility remote end with reject mail for various arbitrary reasons if not setup properly.
To remove all emails that are queued in the DB(this will do more than that):
in the nagiosxi database, run the following commands:
Connects directly to remote SMTP server. Provided you know the info, that's all you should need to get going.
If you have this info, there is a good chance the SMTP is setup properly so the remote end will not reject mail.
SMTP Con's:
Bad logging
Queue managed locally in DB and remotely at MTA.
Sendmail Pro's:
XI/Core delivers mail directly to local MTA
For simple internal email structure, it's very easy to setup.
Great logging
Queue Management
Sendmail Con's:
Setup knowledge required for relaying if a smart host is used.
Other MTA's may reject mail from the host if not setup correctly.
Working knowledge of the MTA required for administrative use
Greater possibility remote end with reject mail for various arbitrary reasons if not setup properly.
To remove all emails that are queued in the DB(this will do more than that):
in the nagiosxi database, run the following commands:
Code: Select all
TRUNCATE TABLE xi_meta;
TRUNCATE TABLE xi_events;
TRUNCATE TABLE xi_eventqueue;