Hi, I have just installed ispconfig using tutorial from perfect server with ubuntu 18.04. But on testing send email with round cube, it failed. Check on /var/log/mail.log Jan 1 02:12:01 localhost postfix/master[17181]: warning: process /usr/lib/postfix/sbin/proxymap pid 17698 exit status 1 Jan 1 02:12:01 localhost postfix/master[17181]: warning: /usr/lib/postfix/sbin/proxymap: bad command startup -- throttling Jan 1 02:12:01 localhost postfix/trivial-rewrite[17671]: warning: dict_proxy_lookup: service private/proxymap socket: Connection reset by peer Jan 1 02:12:01 localhost postfix/smtpd[17198]: warning: private/proxymap socket: service dict_proxy_open: Success /etc/postfix/master.cf submission inet n - y - - smtpd -o syslog_name=postfix/submission -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject # -o smtpd_tls_auth_only=yes # -o smtpd_reject_unlisted_recipient=no # -o smtpd_client_restrictions=$mua_client_restrictions # -o smtpd_helo_restrictions=$mua_helo_restrictions # -o smtpd_sender_restrictions=$mua_sender_restrictions # -o smtpd_recipient_restrictions= # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject # -o milter_macro_daemon_name=ORIGINATING smtps inet n - y - - smtpd -o syslog_name=postfix/smtps -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject # -o smtpd_reject_unlisted_recipient=no # -o smtpd_client_restrictions=$mua_client_restrictions # -o smtpd_helo_restrictions=$mua_helo_restrictions # -o smtpd_sender_restrictions=$mua_sender_restrictions # -o smtpd_recipient_restrictions= # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject # -o milter_macro_daemon_name=ORIGINATING What was wrong with postfix configuration ?
After restarted server , check on /var/log/mail.log Jan 1 11:41:51 localhost dovecot: imap([email protected]): Logged out in=32 out=485 Jan 1 11:41:51 localhost dovecot: imap-login: Login: user=<no-reply@mariberasur ansi.co.id>, method=PLAIN, rip=::1, lip=::1, mpid=1555, secured, session=<qafrW8 +3mrEAAAAAAAAAAAAAAAAAAAAB> Jan 1 11:41:51 localhost dovecot: imap([email protected]): Logged out in=44 out=592 Jan 1 11:42:07 localhost postfix/proxymap[1572]: fatal: bad string length 0 < 1 : \/etc\/postfix/mysql-verify_recipients.cf_dbname = Jan 1 11:42:08 localhost postfix/master[1125]: warning: process /usr/lib/postfi x/sbin/proxymap pid 1572 exit status 1 Jan 1 11:42:08 localhost postfix/master[1125]: warning: /usr/lib/postfix/sbin/p roxymap: bad command startup -- throttling Jan 1 11:42:08 localhost postfix/smtpd[1513]: warning: private/proxymap socket: service dict_proxy_open: Success Jan 1 11:43:08 localhost postfix/proxymap[1698]: fatal: bad string length 0 < 1 : \/etc\/postfix/mysql-verify_recipients.cf_dbname = Jan 1 11:43:09 localhost postfix/smtpd[1513]: warning: private/proxymap socket: service dict_proxy_open: Success Jan 1 11:43:09 localhost postfix/master[1125]: warning: process /usr/lib/postfix/sbin/proxymap pid 1698 exit status 1 Jan 1 11:43:09 localhost postfix/master[1125]: warning: /usr/lib/postfix/sbin/proxymap: bad command startup -- throttling
I have tried tutorial perfect server again and again, but it always got same error on roundcube cannot send email. Please help me..
Remove the backslashes from the line in main.cf Code: check_recipient_access proxy:mysql:\/etc\/postfix/mysql-verify_recipients.cf Any idea how that got set/changed? Also remove your passwd from the .cf file above.
I have remove backslash.. and i got another error message from /var/log/mail.log as below : Jan 2 11:01:44 localhost postfix/smtpd[10122]: NOQUEUE: filter: RCPT from localhost[127.0.0.1]: <[email protected]>: Sender address triggers FILTER lmtp:[127.0.0.1]:10026; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mariberasuransi.co.id> Jan 2 11:01:47 localhost postfix/smtpd[10122]: EAA4642FDB: client=localhost[127.0.0.1], sasl_method=LOGIN, [email protected] Jan 2 11:01:47 localhost postfix/cleanup[9849]: EAA4642FDB: message-id=<[email protected]> Jan 2 11:01:48 localhost postfix/qmgr[9833]: EAA4642FDB: from=<[email protected]>, size=649, nrcpt=1 (queue active) Jan 2 11:01:48 localhost postfix/smtpd[10122]: disconnect from localhost[127.0.0.1] ehlo=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=6 Jan 2 11:01:51 localhost dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=10127, secured, session=<ctad6uK3xI4AAAAAAAAAAAAAAAAAAAAB> Jan 2 11:01:53 localhost dovecot: imap([email protected]): Fatal: pool_system_malloc(197016): Out of memory Jan 2 11:01:54 localhost dovecot: imap([email protected]): Fatal: master: service(imap): child 10127 returned error 83 (Out of memory (service imap { vsz_limit=256 MB }, you may need to increase it) - set CORE_OUTOFMEM=1 environment to get core dump) Jan 2 11:01:57 localhost amavis[4703]: (04703-12) (!!)file(1) utility (/usr/bin/file) FAILED: run_command: can't fork: Cannot allocate memory at /usr/sbin/amavisd-new line 4843. Jan 2 11:01:59 localhost amavis[4703]: (04703-12) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: No such file or directory Jan 2 11:02:00 localhost amavis[4703]: (04703-12) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: No such file or directory Jan 2 11:02:00 localhost amavis[4703]: (04703-12) (!)ClamAV-clamd: All attempts (1) failed connecting to /var/run/clamav/clamd.ctl, retrying (2) Jan 2 11:02:08 localhost amavis[4703]: (04703-12) (!)connect to /var/run/clamav/clamd.ctl failed, attempt #1: Can't connect to a UNIX socket /var/run/clamav/clamd.ctl: No such file or directory Jan 2 11:02:08 localhost amavis[4703]: (04703-12) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (All attempts (1) failed connecting to /var/run/clamav/clamd.ctl) at (eval 113) line 659.\n Jan 2 11:02:08 localhost amavis[4703]: (04703-12) (!)WARN: all primary virus scanners failed, considering backups Jan 2 11:02:08 localhost amavis[10049]: (10049-01) (!)ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan KILLED, signal 9 (0009) at (eval 113) line 950. Jan 2 11:02:08 localhost amavis[10049]: (10049-01) (!!)AV: ALL VIRUS SCANNERS FAILED Jan 2 11:02:12 localhost postfix/smtpd[10010]: connect from localhost[127.0.0.1] Jan 2 11:02:12 localhost postfix/smtpd[10010]: 3528F42FE2: client=localhost[127.0.0.1] Jan 2 11:02:12 localhost postfix/cleanup[9849]: 3528F42FE2: message-id=<[email protected]> Jan 2 11:02:12 localhost postfix/qmgr[9833]: 3528F42FE2: from=<[email protected]>, size=1498, nrcpt=1 (queue active) Jan 2 11:02:12 localhost postfix/local[10015]: 3528F42FE2: to=<[email protected]>, relay=local, delay=0.14, delays=0.09/0.04/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 2 11:02:12 localhost postfix/qmgr[9833]: 3528F42FE2: removed Jan 2 11:02:12 localhost amavis[10049]: (10049-01) Passed UNCHECKED {RelayedTaggedInbound}, [127.0.0.1] <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: t9dyQhmCdAkd, Hits: 1.178, size: 1006, queued_as: 3528F42FE2, 68564 ms Jan 2 11:02:12 localhost postfix/lmtp[9869]: 3997D42FDE: to=<[email protected]>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, delay=118, delays=23/1/26/68, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 3528F42FE2) Jan 2 11:02:12 localhost postfix/qmgr[9833]: 3997D42FDE: removed