Topic: Postfix, transport delivery is 0
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): v0.9.8
- Linux/BSD distribution name and version: Ubuntu 18.04.1 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Remote MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Nope
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I recently migrated my v0.9.8 install using an external mysql database to a new virtual machine (Debian -> Ubuntu).
Everything went well untill I noticed a big issue...
Currently I'm experiencing issues regarding Postfix transfering emails to dovecot.
I'm able to authorize, send emails and view current emails, sogo works fine aswell. But the moment an external email gets received postfix will not send it over to dovecot. Logs show it's trying to use the transport 'private/0' which shouldn't be that I'm assuming, I have no knowledge in postfix and haven't been tinkering with it enough to fully understand the issue, though I'd like this issue to be fixed asap.
Postfix logs regarding issue:
Aug 2 16:07:57 mail postfix/qmgr[3188]: warning: connect to transport private/0: No such file or directory
Aug 2 16:07:57 mail postfix/qmgr[3188]: 19C096147E: from=<someone-1@other-domain.tld>, size=80234, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/qmgr[3188]: 1112561470: from=<someone-2@domain.tld>, size=7971, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/qmgr[3188]: B9D4861186: from=<someone-2@domain.tld>, size=3000, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/qmgr[3188]: EDE8E61445: from=<no-reply@forum.iredmail.org>, size=2548, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/qmgr[3188]: EFD39611D8: from=<noreply@github.com>, size=10955, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/qmgr[3188]: A1FD561185: from=<root@mail.domain.tld>, size=1505, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/qmgr[3188]: 4A240611B2: from=<root@mail.domain.tld>, size=1730, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/qmgr[3188]: 41EE1611A5: from=<noreply@github.com>, size=13801, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/qmgr[3188]: 931BD6141D: from=<noreply@github.com>, size=12039, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/qmgr[3188]: 5246E613EC: from=<noreply@github.com>, size=10483, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/qmgr[3188]: 5180261409: from=<root@mail.domain.tld>, size=1730, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/qmgr[3188]: 23C60611D9: from=<root@mail.domain.tld>, size=1505, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/qmgr[3188]: D098B613E6: from=<noreply.gitlab@domain.tld>, size=7712, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/qmgr[3188]: D452F611BF: from=<noreply@github.com>, size=10499, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/qmgr[3188]: D3ADC6140F: from=<nijs.thibaut@gmail.com>, size=3123, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/qmgr[3188]: 699F6611D7: from=<someone-1@other-domain.tld>, size=11062, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/qmgr[3188]: 6B19661448: from=<noreply@github.com>, size=10871, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/qmgr[3188]: 304096149B: from=<private-user@gmail.com>, size=3126, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/qmgr[3188]: 3FA0061191: from=<root@mail.domain.tld>, size=1505, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/qmgr[3188]: C5BD261437: from=<noreply-dmarc-support@google.com>, size=4248, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/qmgr[3188]: 78DAB61446: from=<someone-2@domain.tld>, size=3481, nrcpt=1 (queue active)
Aug 2 16:07:57 mail postfix/error[3194]: 18180613F3: to=<someone-2@domain.tld>, relay=none, delay=317, delays=317/0.1/0/0.04, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3196]: 19C096147E: to=<someone-3@domain.tld>, relay=none, delay=324, delays=324/0.09/0/0.02, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3194]: 1112561470: to=<someone-3@domain.tld>, relay=none, delay=326, delays=326/0.1/0/0.02, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3196]: EDE8E61445: to=<someone-2@domain.tld>, relay=none, delay=321, delays=321/0.11/0/0.02, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3198]: B9D4861186: to=<someone-2@domain.tld>, relay=none, delay=333, delays=333/0.11/0/0.02, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3194]: EFD39611D8: to=<someone-2@domain.tld>, relay=none, delay=324, delays=324/0.11/0/0.02, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3196]: A1FD561185: to=<someone-2@domain.tld>, relay=none, delay=333, delays=333/0.12/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3198]: 4A240611B2: to=<someone-2@domain.tld>, relay=none, delay=323, delays=323/0.11/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3200]: 41EE1611A5: to=<someone-2@domain.tld>, relay=none, delay=320, delays=320/0.12/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3200]: 5180261409: to=<someone-2@domain.tld>, relay=none, delay=319, delays=319/0.12/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3194]: 5246E613EC: to=<someone-2@domain.tld>, relay=none, delay=323, delays=323/0.12/0/0.02, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3196]: 931BD6141D: to=<someone-2@domain.tld>, relay=none, delay=331, delays=331/0.12/0/0.02, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3200]: D452F611BF: to=<someone-2@domain.tld>, relay=none, delay=332, delays=331/0.13/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3198]: 23C60611D9: to=<someone-2@domain.tld>, relay=none, delay=333, delays=333/0.12/0/0.02, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3194]: D098B613E6: to=<someone-2@domain.tld>, relay=none, delay=319, delays=318/0.13/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3196]: D3ADC6140F: to=<someone-2@domain.tld>, relay=none, delay=326, delays=325/0.13/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3194]: 6B19661448: to=<someone-2@domain.tld>, relay=none, delay=329, delays=329/0.12/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3202]: 699F6611D7: to=<someone-2@domain.tld>, relay=none, delay=330, delays=330/0.13/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3200]: 304096149B: to=<someone-2@domain.tld>, relay=none, delay=333, delays=333/0.12/0/0.02, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3198]: 3FA0061191: to=<someone-2@domain.tld>, relay=none, delay=332, delays=332/0.11/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3194]: C5BD261437: to=<someone-2@domain.tld>, relay=none, delay=322, delays=322/0.12/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
Aug 2 16:07:57 mail postfix/error[3196]: 78DAB61446: to=<someone-3@domain.tld>, relay=none, delay=317, delays=317/0.11/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
allow_min_user = no
allow_percent_hack = no
biff = no
body_checks = pcre:/etc/postfix/body_checks.pcre
command_directory = /usr/sbin
compatibility_level = 2
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix/sbin
data_directory = /var/lib/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
disable_vrfy_command = yes
dovecot_destination_recipient_limit = 1
enable_original_recipient = no
header_checks = pcre:/etc/postfix/header_checks
inet_interfaces = all
inet_protocols = all
lmtp_tls_mandatory_protocols = !SSLv2 !SSLv3
lmtp_tls_protocols = !SSLv2 !SSLv3
mail_owner = postfix
mailq_path = /usr/bin/mailq
message_size_limit = 15728640
mlmmj_destination_recipient_limit = 1
mydestination = $myhostname, localhost, localhost.localdomain
mydomain = mail.domain.tld
myhostname = mail.domain.tld
mynetworks = 127.0.0.1 [::1]
myorigin = mail.domain.tld
newaliases_path = /usr/bin/newaliases
postscreen_access_list = permit_mynetworks cidr:/etc/postfix/postscreen_access.cidr
postscreen_blacklist_action = drop
postscreen_dnsbl_action = drop
postscreen_dnsbl_reply_map = texthash:/etc/postfix/postscreen_dnsbl_reply
postscreen_dnsbl_sites = zen.spamhaus.org=127.0.0.[2..11]*3 b.barracudacentral.org=127.0.0.2*2 bl.spamcop.net*2 cbl.abuseat.org*2 bl.mailspike.net multi.surbl.org psbl.surriel.com bl.spameatingmonkey.net bl.blocklist.de spam.spamrats.com auth.spamrats.com bl.blocklist.de
postscreen_dnsbl_threshold = 2
postscreen_dnsbl_whitelist_threshold = -2
postscreen_greet_action = drop
proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps $smtpd_sender_restrictions $sender_dependent_relayhost_maps
queue_directory = /var/spool/postfix
recipient_bcc_maps = proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_user.cf proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_domain.cf
recipient_delimiter = +
relay_domains = $mydestination proxy:mysql:/etc/postfix/mysql/relay_domains.cf
sender_bcc_maps = proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_domain.cf
sender_dependent_relayhost_maps = proxy:mysql:/etc/postfix/mysql/sender_dependent_relayhost_maps.cf
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp-amavis_destination_recipient_limit = 1
smtp_tls_CAfile = $smtpd_tls_CAfile
smtp_tls_CApath = /etc/ssl/certs
smtp_tls_loglevel = 1
smtp_tls_mandatory_protocols = !SSLv2 !SSLv3
smtp_tls_note_starttls_offer = yes
smtp_tls_protocols = !SSLv2 !SSLv3
smtp_tls_security_level = may
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:7777
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks permit_sasl_authenticated check_helo_access pcre:/etc/postfix/helo_access.pcre reject_non_fqdn_helo_hostname reject_unknown_helo_hostname
smtpd_recipient_restrictions = reject_non_fqdn_recipient reject_unlisted_recipient check_policy_service inet:127.0.0.1:7777 permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = yes
smtpd_sasl_path = private/dovecot-auth
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql/sender_login_maps.cf
smtpd_sender_restrictions = reject_unknown_sender_domain reject_non_fqdn_sender reject_unlisted_sender permit_mynetworks permit_sasl_authenticated check_sender_access pcre:/etc/postfix/sender_access.pcre
smtpd_tls_CAfile = /etc/ssl/certs/mine.full.crt
smtpd_tls_CApath = /etc/ssl/certs
smtpd_tls_cert_file = /etc/ssl/certs/mine.crt
smtpd_tls_dh1024_param_file = /etc/ssl/dh2048_param.pem
smtpd_tls_dh512_param_file = /etc/ssl/dh512_param.pem
smtpd_tls_exclude_ciphers = aNULL, eNULL, EXPORT, DES, RC4, MD5, PSK, aECDH, EDH-DSS-DES-CBC3-SHA, EDH-RSA-DES-CDC3-SHA, KRB5-DE5, CBC3-SHA
smtpd_tls_key_file = /etc/ssl/private/mine.key
smtpd_tls_loglevel = 1
smtpd_tls_mandatory_protocols = !SSLv2 !SSLv3
smtpd_tls_protocols = !SSLv2 !SSLv3
smtpd_tls_security_level = may
swap_bangpath = no
tls_random_source = dev:/dev/urandom
transport_maps = proxy:mysql:/etc/postfix/mysql/transport_maps_user.cf proxy:mysql:/etc/postfix/mysql/transport_maps_maillist.cf proxy:mysql:/etc/postfix/mysql/transport_maps_domain.cf
unknown_local_recipient_reject_code = 550
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql/virtual_alias_maps.cf proxy:mysql:/etc/postfix/mysql/domain_alias_maps.cf proxy:mysql:/etc/postfix/mysql/catchall_maps.cf proxy:mysql:/etc/postfix/mysql/domain_alias_catchall_maps.cf
virtual_gid_maps = static:2000
virtual_mailbox_base = /mnt/mail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_maps.cf
virtual_minimum_uid = 2000
virtual_transport = dovecot
virtual_uid_maps = static:2000
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.