For hours I've been sitting around this problem and I can not find a reason for it.
Since the update to 1.3.15 the sending of e-mails no longer works (I test this over roundcube to Gmail receiver). The mail reception works, but when sending always the same problem (mail.log excerpt):
Code
- Jun 26 21:25:24 v23538155999 spamd[11349]: spamd: clean message (1.3/5.0) for xxx.xxx@gmail.com:113 in 0.8 seconds, 13309 bytes.Jun 26 21:25:24 v23538155999 spamd[11349]: spamd: result: . 1 - AWL,RDNS_NONE scantime=0.8,size=13309,user=xxx.xxx@gmail.com,uid=113,required_score=5.0,rhost=v23538155999.yourvserver.net.local,raddr=127.0.0.1,rport=44861,mid=<f44cd9134790961232fdbd42637cd2f7@martel.in>,autolearn=noJun 26 21:25:24 v23538155999 postfix/qmgr[4870]: CCF071011E1: from=<xxx@xxx.in>, size=13626, nrcpt=1 (queue active)Jun 26 21:25:24 v23538155999 postfix/smtp[12690]: 04AE11011EC: to=<xxx.xxx@gmail.com>, relay=46.38.241.65[46.38.241.65]:587, conn_use=12, delay=1.7, delays=0.82/0/0/0.84, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as CCF071011E1)Jun 26 21:25:24 v23538155999 postfix/qmgr[4870]: 04AE11011EC: removedJun 26 21:25:24 v23538155999 postfix/smtpd[5221]: A56EF1011EC: client=v23538155999.yourvserver.net[46.38.241.65], sasl_method=PLAIN, sasl_username=sasl_userJun 26 21:25:24 v23538155999 postfix/cleanup[12685]: A56EF1011EC: message-id=<f44cd9134790961232fdbd42637cd2f7@martel.in>Jun 26 21:25:24 v23538155999 spamd[11358]: spamd: connection from v23538155999.yourvserver.net.local [127.0.0.1] at port 44864Jun 26 21:25:24 v23538155999 spamd[11358]: config: failed to parse line, skipping, in "(no file)": use_dcc 1Jun 26 21:25:24 v23538155999 spamd[11358]: spamd: processing message <f44cd9134790961232fdbd42637cd2f7@martel.in> for xxx.xxx@gmail.com:113Jun 26 21:25:24 v23538155999 spamd[4540]: prefork: child states: IBJun 26 21:25:25 v23538155999 spamd[11358]: spamd: clean message (1.3/5.0) for xxx.xxx@gmail.com:113 in 0.8 seconds, 13573 bytes.Jun 26 21:25:25 v23538155999 spamd[11358]: spamd: result: . 1 - AWL,RDNS_NONE scantime=0.8,size=13573,user=xxx.xxx@gmail.com,uid=113,required_score=5.0,rhost=v23538155999.yourvserver.net.local,raddr=127.0.0.1,rport=44864,mid=<f44cd9134790961232fdbd42637cd2f7@martel.in>,autolearn=noJun 26 21:25:25 v23538155999 postfix/qmgr[4870]: A56EF1011EC: from=<xxx@xxx.in>, size=13893, nrcpt=1 (queue active)Jun 26 21:25:25 v23538155999 postfix/smtp[12694]: CCF071011E1: to=<xxx.xxx@gmail.com>, relay=46.38.241.65[46.38.241.65]:587, conn_use=34, delay=1.7, delays=0.84/0/0/0.85, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as A56EF1011EC)Jun 26 21:25:25 v23538155999 postfix/qmgr[4870]: CCF071011E1: removedJun 26 21:25:25 v23538155999 postfix/smtpd[12223]: 806AF1011E1: client=v23538155999.yourvserver.net[46.38.241.65], sasl_method=PLAIN, sasl_username=sasl_userJun 26 21:25:25 v23538155999 postfix/cleanup[12791]: 806AF1011E1: message-id=<f44cd9134790961232fdbd42637cd2f7@martel.in>Jun 26 21:25:25 v23538155999 spamd[11349]: spamd: connection from v23538155999.yourvserver.net.local [127.0.0.1] at port 44867Jun 26 21:25:25 v23538155999 spamd[11349]: config: failed to parse line, skipping, in "(no file)": use_dcc 1Jun 26 21:25:25 v23538155999 spamd[11349]: spamd: processing message <f44cd9134790961232fdbd42637cd2f7@martel.in> for xxx.xxx@gmail.com:113Jun 26 21:25:25 v23538155999 spamd[4540]: prefork: child states: BIJun 26 21:25:26 v23538155999 spamd[11349]: spamd: clean message (1.3/5.0) for xxx.xxx@gmail.com:113 in 1.3 seconds, 13837 bytes.Jun 26 21:25:26 v23538155999 spamd[11349]: spamd: result: . 1 - AWL,RDNS_NONE scantime=1.3,size=13837,user=xxx.xxx@gmail.com,uid=113,required_score=5.0,rhost=v23538155999.yourvserver.net.local,raddr=127.0.0.1,rport=44867,mid=<f44cd9134790961232fdbd42637cd2f7@martel.in>,autolearn=noJun 26 21:25:26 v23538155999 postfix/qmgr[4870]: 806AF1011E1: from=<xxx@xxx.in>, size=14160, nrcpt=1 (queue active)Jun 26 21:25:26 v23538155999 postfix/smtp[12690]: A56EF1011EC: to=<xxx.xxx@gmail.com>, relay=46.38.241.65[46.38.241.65]:587, conn_use=13, delay=2.2, delays=0.85/0/0/1.4, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 806AF1011E1)Jun 26 21:25:26 v23538155999 postfix/qmgr[4870]: A56EF1011EC: removedJun 26 21:25:26 v23538155999 postfix/smtpd[5221]: DC4131011EC: client=v23538155999.yourvserver.net[46.38.241.65], sasl_method=PLAIN, sasl_username=sasl_userJun 26 21:25:26 v23538155999 postfix/smtp[12694]: 806AF1011E1: to=<xxx.xxx@gmail.com>, relay=46.38.241.65[46.38.241.65]:587, conn_use=35, delay=1.4, delays=1.4/0/0/0, dsn=5.4.0, status=bounced (host 46.38.241.65[46.38.241.65] said: 554 5.4.0 Error: too many hops (in reply to end of DATA command))Jun 26 21:25:26 v23538155999 postfix/qmgr[4870]: 806AF1011E1: removedJun 26 21:25:26 v23538155999 postfix/discard[12833]: warning: unexpected attribute nrequest from bounce socket (expecting: flags)Jun 26 21:25:26 v23538155999 postfix/discard[12833]: warning: deliver_request_get: error receiving common attributesJun 26 21:25:27 v23538155999 spamd[4540]: prefork: child states: IIJun 26 21:25:28 v23538155999 postfix/smtpd[12223]: disconnect from v23538155999.yourvserver.net[46.38.241.65]Jun 26 21:25:28 v23538155999 postfix/smtpd[5221]: disconnect from v23538155999.yourvserver.net[46.38.241.65]
Here the main.cf:
Shell-Script
- # General parametersinet_protocols = ipv4inet_interfaces = allmynetworks_style = hostsmtp_bind_address = 46.38.241.65smtp_bind_address6 = myhostname = v23538155999.yourvserver.netmydomain = v23538155999.yourvserver.net.localmyorigin = $myhostnamesmtpd_banner = $myhostname ESMTP i-MSCP 1.3.15 Managedappend_dot_mydomain = noappend_at_myorigin = yesbiff = norecipient_delimiter = +message_size_limit = 0maximal_queue_lifetime = 1dbounce_queue_lifetime = 1d# Local delivery parametersmydestination = $myhostname localhost.$mydomain localhost $mydomainalias_database = hash:/etc/aliasesalias_maps = hash:/etc/aliaseslocal_transport = locallocal_destination_concurrency_limit = 2local_destination_recipient_limit = 1local_recipient_maps = unix:passwd.byname $alias_databasemail_spool_directory = /var/mailmailbox_size_limit = 0# Virtual delivery parametersvirtual_mailbox_base = /var/mail/virtualvirtual_mailbox_limit = 0virtual_mailbox_domains = hash:/etc/postfix/imscp/domainsvirtual_mailbox_maps = hash:/etc/postfix/imscp/mailboxesvirtual_alias_domains =virtual_alias_maps = hash:/etc/postfix/imscp/aliasesvirtual_transport = maildropvirtual_destination_concurrency_limit = 2virtual_destination_recipient_limit = 1virtual_minimum_uid = 999virtual_uid_maps = static:999virtual_gid_maps = static:8# Relay parametersrelay_domains = hash:/etc/postfix/imscp/relay_domainsrelay_recipient_maps =relay_transport = relay# Transport parameterstransport_maps = hash:/etc/postfix/imscp/transport# SMTP restrictionssmtpd_helo_required = yesstrict_rfc821_envelopes = yesdisable_vrfy_command = yessmtpd_delay_reject = yessmtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_helo_hostname,reject_invalid_helo_hostname, permitsmtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated,reject_non_fqdn_sender,reject_unknown_sender_domain, permitsmtpd_relay_restrictions =smtpd_recipient_restrictions = reject_unlisted_senderreject_non_fqdn_recipientreject_unknown_recipient_domainreject_unknown_reverse_client_hostnamepermit_mynetworkspermit_sasl_authenticatedreject_unauth_destination#policyd-weight#check_policy_service inet:127.0.0.1:60001#postgray#check_policy_service inet:127.0.0.1:60000reject_unlisted_recipientreject_invalid_hostnamereject_unauth_pipelining reject_non_fqdn_sender reject_unknown_sender_domain #hosts auf blacklist sperren: #reject_rhsbl_client blackhole.securitysage.com #reject_rhsbl_sender blackhole.securitysage.com #reject_rbl_client relays.ordb.org #reject_rbl_client blackholes.easynet.nl #reject_rbl_client cbl.abuseat.org #reject_rbl_client proxies.blackholes.wirehub.net #reject_rbl_client bl.spamcop.net #reject_rbl_client sbl.spamhaus.org #reject_rbl_client opm.blitzed.org #reject_rbl_client dnsbl.njabl.org #reject_rbl_client list.dsbl.org #reject_rbl_client multihop.dsbl.org permitsmtpd_data_restrictions = reject_multi_recipient_bounce, reject_unauth_pipelining#smtpd_error_sleep_time = 5s#smtpd_soft_error_limit = 7#smtpd_hard_error_limit = 20#smtpd_client_connection_count_limit = 10#smtpd_client_connection_rate_limit = 60#smtpd_recipient_limit = 50#smtpd_recipient_overshoot_limit = 51#smtpd_client_recipient_rate_limit = 50#smtpd_client_message_rate_limit = 25#default_extra_recipient_limit = 50# i-MSCP responder parametersimscp-arpl_destination_concurrency_limit = 2imscp-arpl_destination_recipient_limit = 1# Parameters added at run-time by i-MSCP or 3rd-party components# Added by Hooks::Postfix::Smarthostrelayhost=46.38.241.65:587smtp_sasl_auth_enable=yessmtp_sasl_password_maps=hash:/etc/postfix/relay_passwdsmtp_sasl_security_options=noanonymoussmtpd_sasl_type = cyrussmtpd_sasl_authenticated_header = yesbroken_sasl_auth_clients = yesmaildrop_destination_recipient_limit = 1smtpd_sasl_path = smtpdsmtpd_sasl_security_options = noanonymoussmtpd_sasl_auth_enable = yesmaildrop_destination_concurrency_limit = 2milter_connect_macros = i j {daemon_name} v {if_name} _milter_default_action = acceptnon_smtpd_milters = unix:/spamass/spamass.sock, unix:/clamav/clamav-milter.ctlsmtpd_milters = unix:/spamass/spamass.sock, unix:/clamav/clamav-milter.ctl
master.cf:
Shell-Script
- # Postfix master process configuration file. For details on the format
- # of the file, see the master(5) manual page (command: "man 5 master").
- #
- # Do not forget to execute "postfix reload" after editing this file.
- #
- # ==========================================================================
- # service type private unpriv chroot wakeup maxproc command + args
- # (yes) (yes) (yes) (never) (100)
- # ==========================================================================
- smtp inet n - y - - smtpd
- submission inet n - y - - smtpd
- # -o smtpd_tls_security_level=encrypt
- -o smtpd_sasl_auth_enable=yes
- -o smtpd_client_restrictions=permit_sasl_authenticated,reject
- # -o milter_macro_daemon_name=ORIGINATING
- #
- smtps inet n - y - - smtpd
- -o smtpd_tls_wrappermode=yes
- -o smtpd_sasl_auth_enable=yes
- -o smtpd_client_restrictions=permit_sasl_authenticated,reject
- # -o milter_macro_daemon_name=ORIGINATING
- #628 inet n - y - - qmqpd
- pickup fifo n - y 60 1 pickup
- cleanup unix n - y - 0 cleanup
- qmgr fifo n - n 300 1 qmgr
- #qmgr fifo n - n 300 1 oqmgr
- tlsmgr unix - - y 1000? 1 tlsmgr
- rewrite unix - - y - - trivial-rewrite
- bounce unix - - y - 0 discard
- defer unix - - y - 0 bounce
- trace unix - - y - 0 bounce
- verify unix - - y - 1 verify
- flush unix n - y 1000? 0 flush
- proxymap unix - - n - - proxymap
- proxywrite unix - - n - 1 proxymap
- smtp unix - - y - - smtp
- # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
- relay unix - - y - - smtp
- -o smtp_fallback_relay=
- # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
- showq unix n - y - - showq
- error unix - - y - - error
- retry unix - - y - - error
- discard unix - - y - - discard
- local unix - n n - - local
- virtual unix - n n - - virtual
- lmtp unix - - y - - lmtp
- anvil unix - - y - 1 anvil
- scache unix - - y - 1 scache
- #
- # ====================================================================
- # Interfaces to non-Postfix software. Be sure to examine the manual
- # pages of the non-Postfix software to find out what options it wants.
- #
- # Many of the following services use the Postfix pipe(8) delivery
- # agent. See the pipe(8) man page for information about ${recipient}
- # and other message envelope options.
- # ====================================================================
- #
- # i-MSCP autoresponder
- imscp-arpl unix - n n - - pipe
- flags=O user=vmail:imscp argv=/var/www/imscp/engine/messenger/imscp-arpl-msgr $recipient
- maildrop unix - n n - - pipe
- flags=DRhu user=vmail:mail argv=maildrop -w 90 -d ${user}@${nexthop} ${extension} ${recipient} ${user} ${nexthop} ${sender}
I have ufw, clamav and spamassassin (on standard config) installed.
I hope you can help me - I am despairing: O