Вот она новая проблемма.
В Mozilla Thunderbird завел ящик.
До этого через admin postfix сделал домен mail.drop.me, ящик start@mail.drop.me.
Mozilla Thunderbird взяла настройки и все вроде хорошо, создал письмо и отправил на mail.ru ящик, а нет его, ничего не приходит.
Кудаб еще капнуть!?
Настройка почтового сервера. Centos Postfix Dovecot и прочее...
Смотреть логи.
Mar 18 10:42:59 mailme dovecot: master: Dovecot v2.0.9 starting up (core dumps disabled)
Mar 18 10:43:05 mailme dovecot: auth: Debug: Loading modules from directory: /usr/lib64/dovecot/auth
Mar 18 10:43:05 mailme dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libauthdb_ldap.so
Mar 18 10:43:05 mailme dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_mysql.so
Mar 18 10:43:05 mailme dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so
Mar 18 10:43:05 mailme dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libmech_gssapi.so
Mar 18 10:43:05 mailme dovecot: auth: Debug: auth client connected (pid=1221)
Mar 18 10:43:05 mailme dovecot: auth: Debug: client in: AUTH#0111#011PLAIN#011service=imap#011lip=97.107.152.32#011rip=212.76.7.44#011lport=143#011rport=63401
Mar 18 10:43:05 mailme dovecot: auth: Debug: client out: CONT#0111#011
Mar 18 10:43:05 mailme dovecot: auth: Debug: client in: CONT#0111#011AG1haW5AbWFpbC5hbGxhYm91dC5tZQBTZW5qb3JlbGxv
Mar 18 10:43:05 mailme dovecot: auth: Debug: Loading modules from directory: /usr/lib64/dovecot/auth
Mar 18 10:43:05 mailme dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libauthdb_ldap.so
Mar 18 10:43:05 mailme dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_mysql.so
Mar 18 10:43:05 mailme dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so
Mar 18 10:43:05 mailme dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libmech_gssapi.so
Mar 18 10:43:05 mailme dovecot: auth: mysql: Connected to localhost (mail)
Mar 18 10:43:05 mailme dovecot: auth: Debug: sql(main@mail.drop.me,212.76.7.44): query: SELECT username as user, password, '/var/vmail/mail.drop.me/main' as userdb_home, 'maildir:/var/vmail/mail.drop.me/main' as userdb_mail, 1000 as userdb_uid, 12 as userdb_gid FROM mailbox WHERE username = 'main@mail.drop.me' AND active = '1'
Mar 18 10:43:05 mailme dovecot: auth: Debug: client out: OK#0111#011user=main@mail.drop.me
Mar 18 10:43:06 mailme dovecot: auth: Debug: master in: REQUEST#0113160670209#0111221#0111#0111610badd168af9c6a2c56cdc3e033516
Mar 18 10:43:06 mailme dovecot: auth: Debug: sql(main@mail.drop.me,212.76.7.44): SELECT '/var/vmail/mail.drop.me/main' as home, 'maildir:/var/vmail/mail.drop.me/main'as mail, 1000 AS uid, 12 AS gid, concat('dirsize:storage=', quota) AS quota FROM mailbox WHERE username = 'main@mail.drop.me' AND active = '1'
Mar 18 10:43:06 mailme dovecot: auth: Debug: master out: USER#0113160670209#011main@mail.drop.me#011home=/var/vmail/mail.drop.me/main#011mail=maildir:/var/vmail/mail.drop.me/main#011uid=1000#011gid=12#011quota=dirsize:storage=0
Mar 18 10:43:06 mailme dovecot: imap-login: Login: user=<main@mail.drop.me>, method=PLAIN, rip=212.76.7.44, lip=97.107.152.32, mpid=1225
Mar 18 10:43:06 mailme dovecot: imap: Debug: Added userdb setting: mail=maildir:/var/vmail/mail.drop.me/main
Mar 18 10:43:06 mailme dovecot: imap: Debug: Unknown userdb setting: plugin/quota=dirsize:storage=0
Mar 18 10:43:06 mailme dovecot: imap(main@mail.drop.me): Debug: Effective uid=1000, gid=12, home=/var/vmail/mail.drop.me/main
Mar 18 10:43:06 mailme dovecot: imap(main@mail.drop.me): Debug: maildir++: root=/var/vmail/mail.drop.me/main, index=, control=, inbox=/var/vmail/mail.drop.me/main
Mar 18 10:43:07 mailme dovecot: auth: Debug: auth client connected (pid=1226)
Mar 18 10:43:07 mailme dovecot: auth: Debug: client in: AUTH#0111#011PLAIN#011service=imap#011lip=97.107.152.32#011rip=212.76.7.44#011lport=143#011rport=52501
Mar 18 10:43:07 mailme dovecot: auth: Debug: client out: CONT#0111#011
Mar 18 10:43:08 mailme dovecot: auth: Debug: client in: CONT#0111#011AG1haW5AbWFpbC5hbGxhYm91dC5tZQBTZW5qb3JlbGxv
Mar 18 10:43:08 mailme dovecot: auth: Debug: sql(main@mail.drop.me,212.76.7.44): query: SELECT username as user, password, '/var/vmail/mail.drop.me/main' as userdb_home, 'maildir:/var/vmail/mail.drop.me/main' as userdb_mail, 1000 as userdb_uid, 12 as userdb_gid FROM mailbox WHERE username = 'main@mail.drop.me' AND active = '1'
Mar 18 10:43:08 mailme dovecot: auth: Debug: client out: OK#0111#011user=main@mail.drop.me
Mar 18 10:43:08 mailme dovecot: auth: Debug: master in: REQUEST#0111593311233#0111226#0111#0115c344c40edcdd946f9eba43720333673
Mar 18 10:43:08 mailme dovecot: auth: Debug: sql(main@mail.drop.me,212.76.7.44): SELECT '/var/vmail/mail.drop.me/main' as home, 'maildir:/var/vmail/mail.drop.me/main'as mail, 1000 AS uid, 12 AS gid, concat('dirsize:storage=', quota) AS quota FROM mailbox WHERE username = 'main@mail.drop.me' AND active = '1'
Mar 18 10:43:08 mailme dovecot: auth: Debug: master out: USER#0111593311233#011main@mail.drop.me#011home=/var/vmail/mail.drop.me/main#011mail=maildir:/var/vmail/mail.drop.me/main#011uid=1000#011gid=12#011quota=dirsize:storage=0
Mar 18 10:43:08 mailme dovecot: imap-login: Login: user=<main@mail.drop.me>, method=PLAIN, rip=212.76.7.44, lip=97.107.152.32, mpid=1227
Mar 18 10:43:08 mailme dovecot: imap: Debug: Added userdb setting: mail=maildir:/var/vmail/mail.drop.me/main
Mar 18 10:43:08 mailme dovecot: imap: Debug: Unknown userdb setting: plugin/quota=dirsize:storage=0
Mar 18 10:43:08 mailme dovecot: imap(main@mail.drop.me): Debug: Effective uid=1000, gid=12, home=/var/vmail/mail.drop.me/main
Mar 18 10:43:08 mailme dovecot: imap(main@mail.drop.me): Debug: maildir++: root=/var/vmail/mail.drop.me/main, index=, control=, inbox=/var/vmail/mail.drop.me/main
Mar 18 10:43:11 mailme spamd[1235]: logger: removing stderr method
Mar 18 10:43:12 mailme spamd[1237]: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": auto_whitelist_path /etc/mail/spamassassin/auto-whitelist
Mar 18 10:43:12 mailme spamd[1237]: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": auto_whitelist_file_mode 0666
Mar 18 10:43:43 mailme spamd[1237]: spamd: server started on port 783/tcp (running version 3.3.1)
Mar 18 10:43:43 mailme spamd[1237]: spamd: server pid: 1237
Mar 18 10:43:43 mailme spamd[1237]: spamd: server successfully spawned child process, pid 1291
Mar 18 10:43:43 mailme spamd[1237]: spamd: server successfully spawned child process, pid 1292
Mar 18 10:43:43 mailme spamd[1237]: prefork: child states: IS
Mar 18 10:43:43 mailme spamd[1237]: prefork: child states: II
Mar 18 10:43:43 mailme postfix/postalias[1298]: warning: /etc/aliases.db, line 1: name must be local
Mar 18 10:43:44 mailme postfix/postfix-script[1366]: starting the Postfix mail system
Mar 18 10:43:44 mailme postfix/master[1367]: daemon started -- version 2.6.6, configuration /etc/postfix
Mar 18 10:43:44 mailme postfix/qmgr[1376]: B1D9411E263: from=<main@mail.drop.me>, size=555, nrcpt=1 (queue active)
Mar 18 10:43:44 mailme postfix/smtp[1377]: fatal: unexpected command-line argument: 127.0.0.1:10026
Mar 18 10:43:45 mailme postfix/master[1367]: warning: process /usr/libexec/postfix/smtp pid 1377 exit status 1
Mar 18 10:43:45 mailme postfix/master[1367]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
Mar 18 10:43:45 mailme postfix/qmgr[1376]: warning: private/scan socket: malformed response
Mar 18 10:43:45 mailme postfix/error[1413]: B1D9411E263: to=<sasa@drop.me>, relay=none, delay=4637, delays=4636/1.1/0/0.08, dsn=4.3.0, status=deferred (mail transport unavailable)
Mar 18 10:44:02 mailme postfix/postfix-script[1456]: stopping the Postfix mail system
Mar 18 10:44:02 mailme postfix/master[1367]: terminating on signal 15
Mar 18 10:44:02 mailme postfix/postalias[1461]: warning: /etc/aliases.db, line 1: name must be local
Mar 18 10:44:03 mailme postfix/postfix-script[1529]: starting the Postfix mail system
Mar 18 10:44:03 mailme postfix/master[1530]: daemon started -- version 2.6.6, configuration /etc/postfix
Mar 18 10:44:15 mailme postfix/smtpd[1535]: connect from localhost[127.0.0.1]
Mar 18 10:44:15 mailme postfix/smtpd[1535]: match_hostname: localhost ~? 97.107.152.0/25
Mar 18 10:44:15 mailme postfix/smtpd[1535]: match_hostaddr: 127.0.0.1 ~? 97.107.152.0/25
Mar 18 10:44:15 mailme postfix/smtpd[1535]: match_hostname: localhost ~? 127.0.0.0/25
Mar 18 10:44:15 mailme postfix/smtpd[1535]: match_hostaddr: 127.0.0.1 ~? 127.0.0.0/25
Mar 18 10:44:15 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 220 mail.drop.me ESMTP
Mar 18 10:44:15 mailme postfix/smtpd[1535]: name_mask: etrn
Mar 18 10:44:15 mailme postfix/smtpd[1535]: name_mask: silent-discard
Mar 18 10:44:15 mailme postfix/smtpd[1535]: xsasl_dovecot_server_create: SASL service=smtp, realm=(null)
Mar 18 10:44:15 mailme postfix/smtpd[1535]: name_mask: noanonymous
Mar 18 10:44:15 mailme postfix/smtpd[1535]: xsasl_dovecot_server_connect: Connecting
Mar 18 10:44:15 mailme dovecot: auth: Debug: Loading modules from directory: /usr/lib64/dovecot/auth
Mar 18 10:44:15 mailme dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libauthdb_ldap.so
Mar 18 10:44:15 mailme dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_mysql.so
Mar 18 10:44:15 mailme dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so
Mar 18 10:44:15 mailme dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libmech_gssapi.so
Mar 18 10:44:15 mailme postfix/smtpd[1535]: xsasl_dovecot_server_connect: auth reply: VERSION?1?1
Mar 18 10:44:15 mailme postfix/smtpd[1535]: xsasl_dovecot_server_connect: auth reply: MECH?PLAIN?plaintext
Mar 18 10:44:15 mailme postfix/smtpd[1535]: name_mask: plaintext
Mar 18 10:44:15 mailme postfix/smtpd[1535]: xsasl_dovecot_server_connect: auth reply: MECH?LOGIN?plaintext
Mar 18 10:44:15 mailme postfix/smtpd[1535]: name_mask: plaintext
Mar 18 10:44:15 mailme postfix/smtpd[1535]: xsasl_dovecot_server_connect: auth reply: MECH?CRAM-MD5?dictionary?active
Mar 18 10:44:15 mailme postfix/smtpd[1535]: name_mask: dictionary
Mar 18 10:44:15 mailme postfix/smtpd[1535]: name_mask: active
Mar 18 10:44:15 mailme postfix/smtpd[1535]: xsasl_dovecot_server_connect: auth reply: SPID?1536
Mar 18 10:44:15 mailme postfix/smtpd[1535]: xsasl_dovecot_server_connect: auth reply: CUID?1
Mar 18 10:44:15 mailme postfix/smtpd[1535]: xsasl_dovecot_server_connect: auth reply: COOKIE?65c9dde7457f0c75ae87d53f9748271b
Mar 18 10:44:15 mailme postfix/smtpd[1535]: xsasl_dovecot_server_connect: auth reply: DONE
Mar 18 10:44:15 mailme postfix/smtpd[1535]: xsasl_dovecot_server_mech_filter: keep mechanism: PLAIN
Mar 18 10:44:15 mailme postfix/smtpd[1535]: xsasl_dovecot_server_mech_filter: keep mechanism: LOGIN
Mar 18 10:44:15 mailme postfix/smtpd[1535]: xsasl_dovecot_server_mech_filter: keep mechanism: CRAM-MD5
Mar 18 10:44:15 mailme postfix/smtpd[1535]: watchdog_pat: 0x7f4f30f333c0
Mar 18 10:44:15 mailme dovecot: auth: Debug: auth client connected (pid=1535)
Mar 18 10:44:17 mailme postfix/smtpd[1535]: < localhost[127.0.0.1]:
Mar 18 10:44:17 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 500 5.5.2 Error: bad syntax
Mar 18 10:44:17 mailme postfix/smtpd[1535]: watchdog_pat: 0x7f4f30f333c0
Mar 18 10:44:17 mailme postfix/smtpd[1535]: < localhost[127.0.0.1]:
Mar 18 10:44:17 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 500 5.5.2 Error: bad syntax
Mar 18 10:44:17 mailme postfix/smtpd[1535]: watchdog_pat: 0x7f4f30f333c0
Mar 18 10:44:17 mailme postfix/smtpd[1535]: < localhost[127.0.0.1]:
Mar 18 10:44:17 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 500 5.5.2 Error: bad syntax
Mar 18 10:44:17 mailme postfix/smtpd[1535]: watchdog_pat: 0x7f4f30f333c0
Mar 18 10:44:17 mailme postfix/smtpd[1535]: < localhost[127.0.0.1]:
Mar 18 10:44:17 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 500 5.5.2 Error: bad syntax
Mar 18 10:44:17 mailme postfix/smtpd[1535]: watchdog_pat: 0x7f4f30f333c0
Mar 18 10:44:18 mailme postfix/smtpd[1535]: < localhost[127.0.0.1]:
Mar 18 10:44:18 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 500 5.5.2 Error: bad syntax
Mar 18 10:44:18 mailme postfix/smtpd[1535]: watchdog_pat: 0x7f4f30f333c0
Mar 18 10:44:18 mailme postfix/smtpd[1535]: < localhost[127.0.0.1]:
Mar 18 10:44:18 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 500 5.5.2 Error: bad syntax
Mar 18 10:44:18 mailme postfix/smtpd[1535]: watchdog_pat: 0x7f4f30f333c0
Mar 18 10:44:21 mailme postfix/smtpd[1535]: < localhost[127.0.0.1]: exit
Mar 18 10:44:21 mailme postfix/smtpd[1535]: match_string: exit ~? CONNECT
Mar 18 10:44:21 mailme postfix/smtpd[1535]: match_string: exit ~? GET
Mar 18 10:44:21 mailme postfix/smtpd[1535]: match_string: exit ~? POST
Mar 18 10:44:21 mailme postfix/smtpd[1535]: match_list_match: exit: no match
Mar 18 10:44:21 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 502 5.5.2 Error: command not recognized
Mar 18 10:44:21 mailme postfix/smtpd[1535]: watchdog_pat: 0x7f4f30f333c0
Mar 18 10:44:22 mailme postfix/smtpd[1535]: < localhost[127.0.0.1]:
Mar 18 10:44:22 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 500 5.5.2 Error: bad syntax
Mar 18 10:44:22 mailme postfix/smtpd[1535]: watchdog_pat: 0x7f4f30f333c0
Mar 18 10:44:22 mailme postfix/smtpd[1535]: < localhost[127.0.0.1]:
Mar 18 10:44:22 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 500 5.5.2 Error: bad syntax
Mar 18 10:44:22 mailme postfix/smtpd[1535]: watchdog_pat: 0x7f4f30f333c0
Mar 18 10:44:23 mailme postfix/smtpd[1535]: < localhost[127.0.0.1]: ?????
Mar 18 10:44:23 mailme postfix/smtpd[1535]: match_string: ????? ~? CONNECT
Mar 18 10:44:23 mailme postfix/smtpd[1535]: match_string: ????? ~? GET
Mar 18 10:44:23 mailme postfix/smtpd[1535]: match_string: ????? ~? POST
Mar 18 10:44:23 mailme postfix/smtpd[1535]: match_list_match: ?????: no match
Mar 18 10:44:23 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 502 5.5.2 Error: command not recognized
Mar 18 10:44:23 mailme postfix/smtpd[1535]: watchdog_pat: 0x7f4f30f333c0
Mar 18 10:44:23 mailme postfix/smtpd[1535]: < localhost[127.0.0.1]: ?????
Mar 18 10:44:23 mailme postfix/smtpd[1535]: match_string: ????? ~? CONNECT
Mar 18 10:44:23 mailme postfix/smtpd[1535]: match_string: ????? ~? GET
Mar 18 10:44:23 mailme postfix/smtpd[1535]: match_string: ????? ~? POST
Mar 18 10:44:23 mailme postfix/smtpd[1535]: match_list_match: ?????: no match
Mar 18 10:44:24 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 502 5.5.2 Error: command not recognized
Mar 18 10:44:24 mailme postfix/smtpd[1535]: watchdog_pat: 0x7f4f30f333c0
Mar 18 10:44:24 mailme postfix/smtpd[1535]: < localhost[127.0.0.1]: ?????
Mar 18 10:44:24 mailme postfix/smtpd[1535]: match_string: ????? ~? CONNECT
Mar 18 10:44:24 mailme postfix/smtpd[1535]: match_string: ????? ~? GET
Mar 18 10:44:24 mailme postfix/smtpd[1535]: match_string: ????? ~? POST
Mar 18 10:44:24 mailme postfix/smtpd[1535]: match_list_match: ?????: no match
Mar 18 10:44:25 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 502 5.5.2 Error: command not recognized
Mar 18 10:44:25 mailme postfix/smtpd[1535]: watchdog_pat: 0x7f4f30f333c0
Mar 18 10:44:25 mailme postfix/smtpd[1535]: < localhost[127.0.0.1]: ?????
Mar 18 10:44:25 mailme postfix/smtpd[1535]: match_string: ????? ~? CONNECT
Mar 18 10:44:25 mailme postfix/smtpd[1535]: match_string: ????? ~? GET
Mar 18 10:44:25 mailme postfix/smtpd[1535]: match_string: ????? ~? POST
Mar 18 10:44:25 mailme postfix/smtpd[1535]: match_list_match: ?????: no match
Mar 18 10:44:26 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 502 5.5.2 Error: command not recognized
Mar 18 10:44:26 mailme postfix/smtpd[1535]: watchdog_pat: 0x7f4f30f333c0
Mar 18 10:44:26 mailme postfix/smtpd[1535]: < localhost[127.0.0.1]: ??????????
Mar 18 10:44:26 mailme postfix/smtpd[1535]: match_string: ?????????? ~? CONNECT
Mar 18 10:44:26 mailme postfix/smtpd[1535]: match_string: ?????????? ~? GET
Mar 18 10:44:26 mailme postfix/smtpd[1535]: match_string: ?????????? ~? POST
Mar 18 10:44:26 mailme postfix/smtpd[1535]: match_list_match: ??????????: no match
Mar 18 10:44:27 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 502 5.5.2 Error: command not recognized
Mar 18 10:44:27 mailme postfix/smtpd[1535]: watchdog_pat: 0x7f4f30f333c0
Mar 18 10:44:27 mailme postfix/smtpd[1535]: < localhost[127.0.0.1]: ?????
Mar 18 10:44:27 mailme postfix/smtpd[1535]: match_string: ????? ~? CONNECT
Mar 18 10:44:27 mailme postfix/smtpd[1535]: match_string: ????? ~? GET
Mar 18 10:44:27 mailme postfix/smtpd[1535]: match_string: ????? ~? POST
Mar 18 10:44:27 mailme postfix/smtpd[1535]: match_list_match: ?????: no match
Mar 18 10:44:28 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 502 5.5.2 Error: command not recognized
Mar 18 10:44:28 mailme postfix/smtpd[1535]: watchdog_pat: 0x7f4f30f333c0
Mar 18 10:44:28 mailme postfix/smtpd[1535]: < localhost[127.0.0.1]:
Mar 18 10:44:29 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 500 5.5.2 Error: bad syntax
Mar 18 10:44:29 mailme postfix/smtpd[1535]: watchdog_pat: 0x7f4f30f333c0
Mar 18 10:44:29 mailme postfix/smtpd[1535]: < localhost[127.0.0.1]:
Mar 18 10:44:30 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 500 5.5.2 Error: bad syntax
Mar 18 10:44:30 mailme postfix/smtpd[1535]: watchdog_pat: 0x7f4f30f333c0
Mar 18 10:44:30 mailme postfix/smtpd[1535]: < localhost[127.0.0.1]:
Mar 18 10:44:31 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 500 5.5.2 Error: bad syntax
Mar 18 10:44:31 mailme postfix/smtpd[1535]: watchdog_pat: 0x7f4f30f333c0
Mar 18 10:44:31 mailme postfix/smtpd[1535]: < localhost[127.0.0.1]:
Mar 18 10:44:32 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 500 5.5.2 Error: bad syntax
Mar 18 10:44:32 mailme postfix/smtpd[1535]: watchdog_pat: 0x7f4f30f333c0
Mar 18 10:44:32 mailme postfix/smtpd[1535]: < localhost[127.0.0.1]:
Mar 18 10:44:33 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 500 5.5.2 Error: bad syntax
Mar 18 10:44:34 mailme postfix/smtpd[1535]: > localhost[127.0.0.1]: 421 4.7.0 mail.drop.me Error: too many errors
Mar 18 10:44:34 mailme postfix/smtpd[1535]: match_hostname: localhost ~? 97.107.152.0/25
Mar 18 10:44:34 mailme postfix/smtpd[1535]: match_hostaddr: 127.0.0.1 ~? 97.107.152.0/25
Mar 18 10:44:34 mailme postfix/smtpd[1535]: match_hostname: localhost ~? 127.0.0.0/25
Mar 18 10:44:34 mailme postfix/smtpd[1535]: match_hostaddr: 127.0.0.1 ~? 127.0.0.0/25
Mar 18 10:44:34 mailme postfix/smtpd[1535]: too many errors after UNKNOWN from localhost[127.0.0.1]
Mar 18 10:44:34 mailme postfix/smtpd[1535]: disconnect from localhost[127.0.0.1]
Mar 18 10:44:38 mailme dovecot: auth: Debug: auth client connected (pid=1603)
Mar 18 10:44:43 mailme postfix/smtpd[1535]: connect from unknown[212.76.7.44]
Mar 18 10:44:43 mailme dovecot: auth: Debug: client in: AUTH#0111#011PLAIN#011service=smtp#011nologin#011lip=97.107.152.32#011rip=212.76.7.44#011resp=AG1haW5AbWFpbC5hbGxhYm91dC5tZQBTZW5qb3JlbGxv
Mar 18 10:44:43 mailme dovecot: auth: Debug: Loading modules from directory: /usr/lib64/dovecot/auth
Mar 18 10:44:43 mailme dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libauthdb_ldap.so
Mar 18 10:44:44 mailme dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_mysql.so
Mar 18 10:44:44 mailme dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libdriver_sqlite.so
Mar 18 10:44:44 mailme dovecot: auth: Debug: Module loaded: /usr/lib64/dovecot/auth/libmech_gssapi.so
Mar 18 10:44:44 mailme dovecot: auth: mysql: Connected to localhost (mail)
Mar 18 10:44:44 mailme dovecot: auth: Debug: sql(main@mail.drop.me,212.76.7.44): query: SELECT username as user, password, '/var/vmail/mail.drop.me/main' as userdb_home, 'maildir:/var/vmail/mail.drop.me/main' as userdb_mail, 1000 as userdb_uid, 12 as userdb_gid FROM mailbox WHERE username = 'main@mail.drop.me' AND active = '1'
Mar 18 10:44:44 mailme dovecot: auth: Debug: client out: OK#0111#011user=main@mail.drop.me
Mar 18 10:44:44 mailme postfix/trivial-rewrite[1607]: warning: do not list domain mail.drop.me in BOTH mydestination and virtual_mailbox_domains
Mar 18 10:44:44 mailme postfix/smtpd[1535]: B890D11E266: client=unknown[212.76.7.44], sasl_method=PLAIN, sasl_username=main@mail.drop.me
Mar 18 10:44:45 mailme postfix/cleanup[1611]: B890D11E266: message-id=<53282375.3040101@mail.drop.me>
Mar 18 10:44:45 mailme postfix/qmgr[1533]: B890D11E266: from=<main@mail.drop.me>, size=620, nrcpt=1 (queue active)
Mar 18 10:44:45 mailme postfix/smtp[1612]: fatal: unexpected command-line argument: 127.0.0.1:10026
Mar 18 10:44:45 mailme postfix/smtpd[1535]: disconnect from unknown[212.76.7.44]
Mar 18 10:44:46 mailme postfix/qmgr[1533]: warning: private/scan socket: malformed response
Mar 18 10:44:46 mailme postfix/master[1530]: warning: process /usr/libexec/postfix/smtp pid 1612 exit status 1
Mar 18 10:44:46 mailme postfix/master[1530]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
Mar 18 10:44:46 mailme postfix/error[1613]: B890D11E266: to=<senic@mail.ru>, relay=none, delay=1.8, delays=0.72/1/0/0.02, dsn=4.3.0, status=deferred (mail transport unavailable)
Что то не могу понять кто виноват?
Видно что ошибка в конфиге Postfix. Надо опять посмотреть его.
warning: do not list domain mail.drop.me in BOTH mydestination and virtual_mailbox_domainsfatal: unexpected command-line argument: 127.0.0.1:10026warning: private/scan socket: malformed responseКонфиг перед глазами
main.cf
soft_bounce = no
queue_directory = /var/spool/postfix
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
default_privs = nobody
inet_interfaces = all
myhostname = mail.drop.me
mydomain = drop.me
myorigin = $mydomain
mydestination = $myhostname,localhost.$myhostname,localhost
local_recipient_maps = $virtual_mailbox_maps, $virtual_alias_maps, $transport_maps
unknown_local_recipient_reject_code = 550
mynetworks = 97.107.152.0/25 127.0.0.0/25
relay_domains = $transport_maps
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases.db
mail_spool_directory = /var/mail
smtpd_banner = $myhostname ESMTP
debug_peer_level = 2
debug_peer_list = 127.0.0.1
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
mailq_path = /usr/bin/mailq
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/local/man
config_directory = /etc/postfix
virtual_mailbox_domains = mysql:$config_directory/sql/vdomains.cf
virtual_mailbox_base = /var/vmail
virtual_mailbox_maps = mysql:$config_directory/sql/vmailbox.cf
virtual_alias_maps = mysql:$config_directory/sql/valias.cf
virtual_minimum_uid = 1150
virtual_uid_maps = static:1150
virtual_gid_maps = static:12
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
smtpd_sasl_auth_enable = yes
smtpd_sasl_exceptions_networks = $mynetworks
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = /var/spool/postfix/dovecot-auth
content_filter = scan:127.0.0.1:10025
receive_override_options = no_address_mappings
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated,permit
smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname, reject_unknown_helo_hostname, permit
smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_sender, reject_unknown_sender_domain, permit
smtpd_recipient_restrictions = reject_non_fqdn_recipient, reject_unknown_recipient_domain, permit_sasl_authenticated, reject_unlisted_recipient, permit_mynetworks, reject_unauth_destination, permit
smtpd_data_restrictions = permit_mynetworks, reject_unauth_pipelining, reject_multi_recipient_bounce, permit
smtpd_etrn_restrictions = reject
smtpd_helo_required = yes
smtpd_discard_ehlo_keywords = etrn, silent-discard
smtpd_forbidden_commands = CONNECT GET POST
disable_vrfy_command = yes
#smtp_use_tls = yes
#smtpd_use_tls = yes
#smtpd_tls_auth_only = yes
#smtp_tls_note_starttls_offer = yes
#smtpd_tls_cert_file = /etc/postfix/certs/smtpd.pem
#smtpd_tls_key_file = /etc/postfix/certs/smtpd.pem
#smtpd_tls_CAfile = /etc/postfix/certs/smtpd.pem
#smtpd_tls_received_header = yes
#smtpd_tls_loglevel = 2
master.cf
#
# 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 - n - - smtpd
#submission inet n - n - - 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 - n - - 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 - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - n - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o smtp_fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
retry unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 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.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
#maildrop unix - n n - - pipe
# flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# ====================================================================
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
#old-cyrus unix - n n - - pipe
# flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
#
# ====================================================================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus unix - n n - - pipe
# user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
#
# ====================================================================
#
# See the Postfix UUCP_README file for configuration details.
#
#uucp unix - n n - - pipe
# flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# ====================================================================
#
# Other external delivery methods.
#
#ifmail unix - n n - - pipe
# flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
#
#bsmtp unix - n n - - pipe
# flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
#
#scalemail-backend unix - n n - 2 pipe
# flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
# ${nexthop} ${user} ${extension}
#
#mailman unix - n n - - pipe
# flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
# ${nexthop} ${user}
dovecot unix - n n - - pipe
flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d $(recipient)
scan unix - - n - 16 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
127.0.0.1:10026 inet n . n . 16 smtpd
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks_style=host
-o smtpd_authorized_xforward_hosts=127.0.0.0/8
# spamassassin
spamfilter unix . n n . - pipe
flags=Rq user=spamfilter argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
Мое мнение, что виновник кроется в master.cf.
Уже часа четыре пытаюсь и все никак.
Я через гугл исправлял ошибки, все есть в Интернете.
Даже углублятся не надо в тонкости, обычный копи паст спасет.
ну там идея в том, что выМое мнение, что виновник кроется в master.cf.
Уже часа четыре пытаюсь и все никак.
1. пишете текстовый конфиг
2. компилируете его
3. стартуете сервер
Если на эта этапе 2/3 появляются ошибки, идёте сюда/в гугл. А так как вы можно долго мучиться.
Вот такая заморочка выскочила:
master.cf
#
# 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 - n - - smtpd
-o content_filter=spamfilter:dummy
#submission inet n - n - - 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 - n - - 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 - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - n - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o smtp_fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
retry unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 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.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
#maildrop unix - n n - - pipe
# flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# ====================================================================
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
#old-cyrus unix - n n - - pipe
# flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
#
# ====================================================================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus unix - n n - - pipe
# user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
#
# ====================================================================
#
# See the Postfix UUCP_README file for configuration details.
#
#uucp unix - n n - - pipe
# flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# ====================================================================
#
# Other external delivery methods.
#
#ifmail unix - n n - - pipe
# flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
#
#bsmtp unix - n n - - pipe
# flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
#
#scalemail-backend unix - n n - 2 pipe
# flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
# ${nexthop} ${user} ${extension}
#
#mailman unix - n n - - pipe
# flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
# ${nexthop} ${user}
dovecot unix - n n - - pipe
flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d $(recipient)
scan unix - - n - 16 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
#New Line
127.0.0.1:10026 inet n . n . 16 smtpd
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks_style=host
-o smtpd_authorized_xforward_hosts=127.0.0.0/8
#spam
spamfilter unix - n n - - pipe
flags=Rq user=spamfilter argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
maillog пишет
Mar 19 09:48:46 mailme postfix/postfix-script[12039]: stopping the Postfix mail system
Mar 19 09:48:47 mailme postfix/postfix-script[12111]: starting the Postfix mail system
Mar 19 09:48:47 mailme postfix/master[12112]: fatal: /etc/postfix/master.cf: line 127: field "unprivileged": bad value: "."
Mar 19 09:49:26 mailme postfix/postfix-script[12199]: fatal: the Postfix mail system is not running
Mar 19 09:49:26 mailme postfix/postfix-script[12269]: starting the Postfix mail system
Mar 19 09:49:26 mailme postfix/master[12270]: fatal: /etc/postfix/master.cf: line 127: field "unprivileged": bad value: "."Не пойму что ему еще надо?
В обще там очень просто написано как все настраивается. И вы наверно забыли или пропустили что-то, поэтому все проблемы.
Здесь надо быть внимательным, если что-то упустите, будете потом днями/неделями разбираться. Хотя мне хватило недели.
По ошибке могу сказать одно - вы как-то коряво вставляете текст в конфиг файлы, и из за этого на ровном месте у вас ошибки. Такое небрежное отношение к конфигами не любит Postfix. Будьте чуть внимательным.
Но как говорится в поговорке - Горький опыт тоже опыт.
Строчки набирались руками, а 127 строчка это "#spam" - поэтому и смущает, вызвало некоторое недопонимание.
Если ее удаляю (строчку), то ошибка смещается вниз, убираю пустую строчку, ошибка переходит на 125 строчку, удалил строчки со 123 и до конца, набрал все заново и опять то же самое.
Если бы это был копипаст или я невнимательно смотрел, то не стал бы обращаться за советом, а здесь и "." символа то нет такого.
Вот от этого и возник у меня вопрос: Не пойму что ему еще надо?
(начинается с без пробело в и других знаков)#spam
(так же)spamfilter unix - n n - - pipe
(два пробела впереди) flags=Rq user=spamfilter argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
Ах да, вот эта 127.0.0.1:10026 inet n . n . 16 smtpd строчкав конфиге реально выглядит вот так 127.0.0.1:10026 inet n - n - 16 smtpd (в этом случае ошибка копипаста, конфиг верен)
Проблема в получении и отправки почты осталась.
main.cf
Показать
queue_directory = /var/spool/postfix
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
default_privs = nobody
inet_interfaces = all
myhostname = mail.drop.me
mydomain = drop.me
myorigin = $mydomain
mydestination = $myhostname,localhost.$myhostname,localhost
local_recipient_maps = $virtual_mailbox_maps, $virtual_alias_maps, $transport_maps
unknown_local_recipient_reject_code = 550
mynetworks = 97.107.152.0/25 127.0.0.0/25
relay_domains = $transport_maps
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mail_spool_directory = /var/mail
smtpd_banner = $myhostname ESMTP
debug_peer_level = 2
debug_peer_list = 127.0.0.1
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
mailq_path = /usr/bin/mailq
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/local/man
config_directory = /etc/postfix
virtual_mailbox_domains = mysql:$config_directory/sql/vdomains.cf
virtual_mailbox_base = /var/vmail
virtual_mailbox_maps = mysql:$config_directory/sql/vmailbox.cf
virtual_alias_maps = mysql:$config_directory/sql/valias.cf
virtual_minimum_uid = 1150
virtual_uid_maps = static:1150
virtual_gid_maps = static:12
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
smtpd_sasl_auth_enable = yes
smtpd_sasl_exceptions_networks = $mynetworks
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = /var/spool/postfix/dovecot-auth
content_filter = scan:127.0.0.1:10025
receive_override_options = no_address_mappings
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated,permit
smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname, reject_unknown_helo_hostname, permit
smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_sender, reject_unknown_sender_domain, permit
smtpd_recipient_restrictions = reject_non_fqdn_recipient, reject_unknown_recipient_domain, permit_sasl_authenticated, reject_unlisted_recipient, permit_mynetworks, reject_unauth_destination, permit
smtpd_data_restrictions = permit_mynetworks, reject_unauth_pipelining, reject_multi_recipient_bounce, permit
smtpd_etrn_restrictions = reject
smtpd_helo_required = yes
smtpd_discard_ehlo_keywords = etrn, silent-discard
smtpd_forbidden_commands = CONNECT GET POST
disable_vrfy_command = yes
#smtp_use_tls = yes
#smtpd_use_tls = yes
#smtpd_tls_auth_only = yes
#smtp_tls_note_starttls_offer = yes
#smtpd_tls_cert_file = /etc/postfix/certs/smtpd.pem
#smtpd_tls_key_file = /etc/postfix/certs/smtpd.pem
#smtpd_tls_CAfile = /etc/postfix/certs/smtpd.pem
#smtpd_tls_received_header = yes
#smtpd_tls_loglevel = 2
master.cf
Показать
# 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 - n - - smtpd
-o content_filter=spamfilter:dummy
#submission inet n - n - - 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 - n - - 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 - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - n - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o smtp_fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
retry unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 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.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
#maildrop unix - n n - - pipe
# flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# ====================================================================
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
#old-cyrus unix - n n - - pipe
# flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
#
# ====================================================================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus unix - n n - - pipe
# user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
#
# ====================================================================
#
# See the Postfix UUCP_README file for configuration details.
#
#uucp unix - n n - - pipe
# flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# ====================================================================
#
# Other external delivery methods.
#
#ifmail unix - n n - - pipe
# flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
#
#bsmtp unix - n n - - pipe
# flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
#
#scalemail-backend unix - n n - 2 pipe
# flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
# ${nexthop} ${user} ${extension}
#
#mailman unix - n n - - pipe
# flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
# ${nexthop} ${user}
dovecot unix - n n - - pipe
flags=DRhu user=vmail:mail argv=/usr/libexec/dovecot/deliver -d $(recipient)
scan unix - - n - 16 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
#New Line
127.0.0.1:10026 inet n - n - 16 smtpd
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks_style=host
-o smtpd_authorized_xforward_hosts=127.0.0.0/8
#Spam Line
spamfilter unix - n n - - pipe
flags=Rq user=spamfilter argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
maillog
Показать
...............
postfix/smtp[2763]: 0B40C11E26D: to=<start@mail.drop.me>, relay=none, delay=531, delays=531/0.01/0.06/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10025: Connection refused)
Mar 20 04:44:49 mailme postfix/smtp[2767]: 3591311E26E: to=<start@drop.me>, relay=none, delay=445, delays=445/0.02/0.05/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10025: Connection refused)
Mar 20 04:44:54 mailme dovecot: auth: Debug: auth client connected (pid=2770)
Mar 20 04:44:55 mailme dovecot: auth: Debug: client in: AUTH#0111#011PLAIN#011service=pop3#011lip=97.107.152.32#011rip=5.34.34.221#011lport=110#011rport=56747
Mar 20 04:44:55 mailme dovecot: auth: Debug: client out: CONT#0111#011
Mar 20 04:44:55 mailme dovecot: auth: Debug: client in: CONT#0111#011AHN0YXJ0ADEyMzc4OQ==
Mar 20 04:44:55 mailme dovecot: auth: Debug: sql(start@drop.me,5.34.34.221): query: SELECT username as user, password, '/var/vmail/drop.me/start' as userdb_home, 'maildir:/var/vmail/drop.me/start' as userdb_mail, 1000 as userdb_uid, 12 as userdb_gid FROM mailbox WHERE username = 'start@drop.me' AND active = '1'
Mar 20 04:44:55 mailme dovecot: auth: Debug: client out: OK#0111#011user=start@drop.me
Mar 20 04:44:55 mailme dovecot: auth: Debug: master in: REQUEST#0112215378945#0112770#0111#01149b28f16a4235c5636184eddbf9e8f65
Mar 20 04:44:55 mailme dovecot: auth: Debug: sql(start@drop.me,5.34.34.221): SELECT '/var/vmail/drop.me/start' as home, 'maildir:/var/vmail/drop.me/start'as mail, 1000 AS uid, 12 AS gid, concat('dirsize:storage=', quota) AS quota FROM mailbox WHERE username = 'start@drop.me' AND active = '1'
Mar 20 04:44:55 mailme dovecot: auth: Debug: master out: USER#0112215378945#011start@drop.me#011home=/var/vmail/drop.me/start#011mail=maildir:/var/vmail/drop.me/start#011uid=1000#011gid=12#011quota=dirsize:storage=0
Mar 20 04:44:55 mailme dovecot: pop3-login: Login: user=<start@drop.me>, method=PLAIN, rip=5.34.34.221, lip=97.107.152.32, mpid=2771
Mar 20 04:44:55 mailme dovecot: pop3: Debug: Added userdb setting: mail=maildir:/var/vmail/drop.me/start
Mar 20 04:44:55 mailme dovecot: pop3: Debug: Unknown userdb setting: plugin/quota=dirsize:storage=0
Mar 20 04:44:55 mailme dovecot: pop3(start@drop.me): Debug: Effective uid=1000, gid=12, home=/var/vmail/drop.me/start
Mar 20 04:44:55 mailme dovecot: pop3(start@drop.me): Debug: maildir++: root=/var/vmail/drop.me/start, index=, control=, inbox=/var/vmail/drop.me/start
Mar 20 04:44:56 mailme dovecot: pop3(start@drop.me): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Mar 20 04:44:58 mailme dovecot: auth: Debug: auth client connected (pid=2772)
Mar 20 04:44:58 mailme dovecot: auth: Debug: client in: AUTH#0111#011PLAIN#011service=pop3#011lip=97.107.152.32#011rip=5.34.34.221#011lport=110#011rport=62705
Mar 20 04:44:58 mailme dovecot: auth: Debug: client out: CONT#0111#011
Mar 20 04:44:58 mailme dovecot: auth: Debug: client in: CONT#0111#011AHN0YXJ0ADEyMzc4OQ==
Mar 20 04:44:58 mailme dovecot: auth: Debug: sql(start@drop.me,5.34.34.221): query: SELECT username as user, password, '/var/vmail/drop.me/start' as userdb_home, 'maildir:/var/vmail/drop.me/start' as userdb_mail, 1000 as userdb_uid, 12 as userdb_gid FROM mailbox WHERE username = 'start@drop.me' AND active = '1'
Mar 20 04:44:58 mailme dovecot: auth: Debug: client out: OK#0111#011user=start@drop.me
Mar 20 04:44:58 mailme dovecot: auth: Debug: master in: REQUEST#0113378380801#0112772#0111#0119e6432cab54fc2bca7d06dc97135eb8f
Mar 20 04:44:58 mailme dovecot: auth: Debug: sql(start@drop.me,5.34.34.221): SELECT '/var/vmail/drop.me/start' as home, 'maildir:/var/vmail/drop.me/start'as mail, 1000 AS uid, 12 AS gid, concat('dirsize:storage=', quota) AS quota FROM mailbox WHERE username = 'start@drop.me' AND active = '1'
Mar 20 04:44:58 mailme dovecot: auth: Debug: master out: USER#0113378380801#011start@drop.me#011home=/var/vmail/drop.me/start#011mail=maildir:/var/vmail/drop.me/start#011uid=1000#011gid=12#011quota=dirsize:storage=0
Mar 20 04:44:58 mailme dovecot: pop3-login: Login: user=<start@drop.me>, method=PLAIN, rip=5.34.34.221, lip=97.107.152.32, mpid=2773
Mar 20 04:44:58 mailme dovecot: pop3: Debug: Added userdb setting: mail=maildir:/var/vmail/drop.me/start
Mar 20 04:44:58 mailme dovecot: pop3: Debug: Unknown userdb setting: plugin/quota=dirsize:storage=0
Mar 20 04:44:58 mailme dovecot: pop3(start@drop.me): Debug: Effective uid=1000, gid=12, home=/var/vmail/drop.me/start
Mar 20 04:44:58 mailme dovecot: pop3(start@drop.me): Debug: maildir++: root=/var/vmail/drop.me/start, index=, control=, inbox=/var/vmail/drop.me/start
Mar 20 04:44:59 mailme dovecot: pop3(start@drop.me): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Mar 20 04:45:14 mailme spamd[1278]: spamd: clean message (0.4/5.0) for spamfilter:1001 in 30.1 seconds, 1772 bytes.
Mar 20 04:45:14 mailme spamd[1278]: spamd: result: . 0 - DKIM_SIGNED,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID scantime=30.1,size=1772,user=spamfilter,uid=1001,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=42730,mid=<1395290682.957982816@f402.i.mail.ru>,autolearn=no
Mar 20 04:45:14 mailme postfix/pickup[1361]: D853711E270: uid=1001 from=<senn@mail.ru>
Mar 20 04:45:14 mailme postfix/pipe[2705]: 8D70511E232: to=<start@drop.me>, relay=spamfilter, delay=30, delays=0.29/0/0/30, dsn=2.0.0, status=sent (delivered via spamfilter service)
Mar 20 04:45:14 mailme postfix/qmgr[1362]: 8D70511E232: removed
Mar 20 04:45:14 mailme postfix/cleanup[2704]: D853711E270: message-id=<1395290682.957982816@f402.i.mail.ru>
Mar 20 04:45:14 mailme postfix/qmgr[1362]: D853711E270: from=<senn@mail.ru>, size=2140, nrcpt=1 (queue active)
Mar 20 04:45:14 mailme spamd[1224]: prefork: child states: II
Mar 20 04:45:14 mailme postfix/error[2779]: D853711E270: to=<start@drop.me>, relay=none, delay=0.1, delays=0.04/0.06/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10025: Connection refused)
Почему нет подключения к 127.0.0.1:10025 и как то вообще смущает такое connect to 127.0.0.1[127.0.0.1]:10025: Connection refused.
Строчки набирались руками, а 127 строчка это "#spam" - поэтому и смущает, вызвало некоторое недопонимание.
По моему лучше копипаст, это сохранит ваше время.
delays=0.04/0.06/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10025: Connection refused)
У вас антивирус не работает, проверьте установлен ли и запущен демон(служба) антивируса.
строка 127, переменная unprivileged, значение "."(точка). Хреновое значение.Mar 19 09:49:26 mailme postfix/master[12270]: fatal: /etc/postfix/master.cf: line 127: field "unprivileged": bad value: "."
Не пойму что ему еще надо?