Connection Refused
Mark Sapiro
mark at msapiro.net
Thu May 21 23:41:36 UTC 2015
On 05/21/2015 04:09 PM, Mark wrote:
> I have dovecot, postfix and mailscanner. Everything runs fine, as soon i
> stop postfix and start mailscanner, no email comes through.
> if i go to http://www.dnsqueries.com
>
> and check my domain i get the follow error
> under: Connect to mail servers
> error: Failed to connect to mail.example.com.: Connection refused
> (Timeout was 5secs)
>
> if I stop mailscanner and only run postfix alone, everything works again.
>
> os: debian whezzy.
>
> I see no erros in the log file everything looks peachy so no clue whats
> wrong
>
> i have the same installation under fedora 15, and there all runs fine.
On Debian/Ubuntu, MailScanner (at least some versions) doesn't start
Postfix. You need to start both MailScanner and Postfix and you need for
example,
header_checks = regexp:/etc/postfix/header_checks
in Postfix main.cf and
/^Received:/ HOLD
in /etc/postfix/header_checks. Postfix receives the mail which always
has at least one Received: header so puts it in the HOLD Queue where
MailScanner picks it up.
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the MailScanner
mailing list