Class SendmailCFManager
java.lang.Object
com.aoindustries.aoserv.daemon.util.BuilderThread
com.aoindustries.aoserv.daemon.email.SendmailCFManager
- All Implemented Interfaces:
TableListener,PackageManager.PackageListener
Builds the sendmail.mc and sendmail.cf files as necessary.
TODO: SELinux to support nonstandard ports.
- Author:
- AO Industries, Inc.
-
Field Summary
Fields inherited from class com.aoindustries.aoserv.daemon.util.BuilderThread
DEFAULT_MAXIMUM_DELAY, DEFAULT_MINIMUM_DELAY, DEFAULT_PROCESS_TIMER_MAXIMUM_TIME, DEFAULT_PROCESS_TIMER_REMINDER_INTERVAL -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanstatic booleanChecks if sendmail is expected to be enabled on this server.static voidstart()Methods inherited from class com.aoindustries.aoserv.daemon.util.BuilderThread
getMaximumDelay, getMinimumDelay, getProcessTimerMaximumTime, getProcessTimerReminderInterval, getProcessTimerSubject, getRandomDelay, packageListUpdated, tableUpdated, waitForBuild
-
Method Details
-
doRebuild
protected boolean doRebuild()- Specified by:
doRebuildin classBuilderThread- Returns:
trueif successful orfalseif unsuccessful and needs to be retried.
-
start
- Throws:
IOExceptionSQLException
-
getProcessTimerDescription
- Specified by:
getProcessTimerDescriptionin classBuilderThread
-
isSendmailEnabled
Checks if sendmail is expected to be enabled on this server.This is used to know when to enable saslauthd (See
SaslauthdManager.- Throws:
IOExceptionSQLException- See Also:
-
