On Mon, 20 Feb 2023, Rob McGee wrote:
On 2/20/2023 9:25 AM, Doug Denault wrote:
On Mon, 20 Feb 2023, Wietse Venema wrote:
Doug Denault:
On Sun, 19 Feb 2023, Viktor Dukhovni wrote:
On Sun, Feb 19, 2023 at 10:35:43PM -0500, Doug Denault wrote:
With my setup no warning is deferred errors such as 'time out' or
'Connection refused' until the message is delete from the queue.
snip
The most current message (edited for privacy):
Feb 20 09:25:14 freeport postfix/qmgr[88969]: 7883F510EBC:
from=<i...@domain1.com>, size=1943447, nrcpt=41 (queue active)
Feb 20 09:25:15 freeport postfix/smtp[67456]: 7883F510EBC:
to=<some...@domain2.com>, relay=none, delay=329206,
delays=329205/0.08/0.27/0, dsn=4.4.1, status=deferred (connect to
mcahd.com[10.86.238.4]:25: Connection refused)
The mailq output:
7883F510EBC 1943447 Thu Feb 16 13:58:29 i...@bcr-dc.com
(connect to domain2.com[10.86.238.4]:25: Connection refused)
some...@domain2.com
It appears that the real issue here may be a port 25 block placed by your
provider. Postfix settings can't change that. You would have to contact your
provider and ask to be unblocked.
I did make a mistake but port 25 is not the issue we run our mailservers.
My mistake was posting the wrong postconf. It also has the
'delay_warning_time = 8h' statement but other changes.
freeport:~doug# postconf -n
allow_untrusted_routing = no
broken_sasl_auth_clients = yes
command_directory = /usr/local/sbin
compatibility_level = 2
daemon_directory = /usr/local/libexec/postfix
data_directory = /var/db/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd
$daemon_directory/$process_name $process_id & sleep 5
delay_warning_time = 8h
html_directory = /usr/local/share/doc/postfix
inet_interfaces = $myhostname, 127.0.0.1
inet_protocols = ipv4
local_recipient_maps =
mail_owner = postfix
mailbox_size_limit = 200000000
mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 100000000
meta_directory = /usr/local/libexec/postfix
mynetworks = 147.160.157.114/32, 127.0.0.0/8, 147.160.157.240/32,
147.160.157.31/32 198.74.231.101/32 147.160.157.15/32 173.79.46.3/32
mynetworks_style = subnet
myorigin = $myhostname
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/local/share/doc/postfix
recipient_delimiter = +
relay_domains = $mydestination mail2.safeport.com bucksport.safeport.com
dovecot.safeport.com
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
shlib_directory = /usr/local/lib/postfix
smtp_generic_maps = hash:/usr/local/etc/postfix/generic
smtpd_enforce_tls = no
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = freeport.safeport.com
smtpd_sasl_path = smtpd
smtpd_tls_CAfile = /usr/local/etc/postfix/ssl/ov_safeport_ca-bundle.crt
smtpd_tls_ask_ccert = no
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /usr/local/etc/postfix/ssl/ov_safeport_com.crt
smtpd_tls_key_file = /usr/local/etc/postfix/ssl/ov_safeport_com.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_req_ccert = no
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
unknown_local_recipient_reject_code = 550
virtual_alias_domains = $virtual_alias_maps
virtual_alias_maps = hash:/usr/local/etc/postfix/virtual
regexp:/usr/local/etc/postfix/virtual.regexp
freeport:~doug#
I apologize for that error.
_____
Douglas Denault
http://www.safeport.com
d...@safeport.com
Voice: 301-217-9220
Fax: 301-217-9277