Hylton Conacher (ZR1HPC) wrote:
Per Jessen wrote:
Hylton Conacher (ZR1HPC) wrote:
Hi,
I would like to know if the Postfix 'wrapper' program will start the spamd or clamd if the daemons when new email arrives, if they do not start on system boot.
I'm not sure what the "postfix wrapper program" is, but postfix certainly won't auto-start any spamd/clamd in the default configuration.
OK further explanation below: I have a local IMAP mail server that I use to store my email. Mail is retrieved from my ISP POP mail a/c by Fetchmail, passed to Postfix, who in turn commands/requests spamd and clamd to inspect the incoming mail. Once they have finished with the email it is handed back to Postfix to forward onto the IMAP server software, Courier-Imap I think.
The above is my understanding of how the mail server works.
It's a bit different: - fetchmail polls the mails from the ISP and submits them to Postfix - Postfix has a content_filter setting that feeds the mails to amavisd-new - amavisd-new is the framework that calls virus and spam scanning - after checking the mails are returned to Postfix - Postfix finally delivers the mails to the imap server (or directly to maildir) It is possible that clamd is used. That would depend on your configuration. In my case, clamd is used but will fall back to clam-scan (command line) if the daemon version is down: Apr 24 13:30:13 spamkill amavis[20655]: Using primary internal av scanner code for ClamAV-clamd Apr 24 13:30:13 spamkill amavis[20655]: Found primary av scanner H+BEDV AntiVir or CentralCommand Vexira Antivirus at /usr/bin/antivir Apr 24 13:30:13 spamkill amavis[20655]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan So I've got a command line version primary scanner (Avira), a daemonized version (clamd) as primary, and a command line secondary (clam-scan) if all else fails.
with local power restrictions here, I shutdown the IMAP mail server daily. On restart the following day, and watching the boot messages fly past while the system boots up, I occasionally see that Spamd or Clamd have 'Failed' i.e. are not 'Done'.
This must not happen. The system start must work reliable and be able to start all required daemons.
What would the command be to manually start these daemons/apps/services or will Postfix start them when new email is passed to it from Fetchmail OR should I rather reboot the system and see that none of the processes/services/apps/daemons fail?
Check if all required daemons are configured to start automatically: chkconfig postfix chkconfig amavis chkconfig clamd chkconfig cyrus/courier-imap/dovecot whatever... -- Sandy List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org