mail:/etc/postfix# telnet localhost 25Trying 127.0.0.1...Connected to localhost.Escape character is '^]'.220 mail.mydomain.com.ua ESMTP Postfix (Debian/GNU)ehlo someone.com250-mail.mydomain.com.ua250-PIPELINING250-SIZE 10240000250-VRFY250-ETRN250-STARTTLS250-AUTH PLAIN LOGIN250-AUTH=PLAIN LOGIN250-ENHANCEDSTATUSCODES250-8BITMIME250 DSN
Aug 5 11:47:06 mail courierpop3login: LOGIN FAILED, user=admin, ip=[::ffff:192.168.0.15]Aug 5 11:47:16 mail courierpop3login: Disconnected, ip=[::ffff:192.168.0.15]Aug 5 11:47:18 mail courierpop3login: Connection, ip=[::ffff:192.168.0.15]Aug 5 11:47:23 mail courierpop3login: LOGIN FAILED, user=admin, ip=[::ffff:192.168.0.15]Aug 5 11:48:13 mail courierpop3login: Disconnected, ip=[::ffff:192.168.0.15]Aug 5 11:48:16 mail courierpop3login: Connection, ip=[::ffff:192.168.0.15]Aug 5 11:48:22 mail courierpop3login: LOGIN FAILED, user=oles, ip=[::ffff:192.168.0.15]Aug 5 11:49:29 mail courierpop3login: Disconnected, ip=[::ffff:192.168.0.15]Aug 5 11:52:53 mail postfix/smtpd[3182]: connect from localhost[127.0.0.1]Aug 5 11:56:31 mail postfix/smtpd[3182]: disconnect from localhost[127.0.0.1]
Aug 8 13:55:43 mail courierpop3login: Connection, ip=[::ffff:192.168.0.15]Aug 8 13:55:43 mail authdaemond: received auth request, service=pop3, authtype=loginAug 8 13:55:43 mail authdaemond: authmysql: trying this moduleAug 8 13:55:43 mail authdaemond: SQL query: SELECT email, password, "", 5000, 5000, "/home/vmail", CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/'), quota, "", "" FROM users WHERE email = "oles@mydomain.com.ua"Aug 8 13:55:43 mail authdaemond: password matches successfullyAug 8 13:55:43 mail authdaemond: authmysql: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/home/vmail, address=oles@mydomain.com.ua, fullname=<null>, maildir=mydomain.com.ua/oles/, quota=10485760, options=<null>Aug 8 13:55:43 mail authdaemond: authmysql: clearpasswd=<null>, passwd=1A00/boCB48rIAug 8 13:55:43 mail authdaemond: Authenticated: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/home/vmail, address=oles@mydomain.com.ua, fullname=<null>, maildir=mydomain.com.ua/oles/, quota=10485760, options=<null>Aug 8 13:55:43 mail authdaemond: Authenticated: clearpasswd=blablabla, passwd=1A00/boCB48rIAug 8 13:55:43 mail courierpop3login: chdir mydomain.com.ua/oles/: No such file or directory
chdir mydomain.com.ua/oles/: No such file or directory
Aug 11 11:39:09 mail postfix/qmgr[3049]: 3A2C996412B: from=<oles@mydomain.com.ua>, size=615, nrcpt=1 (queue active)Aug 11 11:39:09 mail postfix/qmgr[3049]: 8418E96414B: from=<oles@mydomain.com.ua>, size=617, nrcpt=1 (queue active)Aug 11 11:39:09 mail postfix/qmgr[3049]: B04E6964150: from=<oles@mydomain.com.ua>, size=619, nrcpt=1 (queue active)Aug 11 11:39:14 mail postfix/smtpd[3136]: connect from localhost[127.0.0.1]Aug 11 11:39:14 mail postfix/trivial-rewrite[3138]: warning: do not list domain mydomain.com.ua in BOTH mydestination and virtual_mailbox_domains Aug 11 11:39:14 mail postfix/smtpd[3136]: 33C97964168: client=localhost[127.0.0.1]Aug 11 11:39:14 mail postfix/cleanup[3139]: 33C97964168: message-id=<489FE4EF.4000706@mydomain.com.ua>Aug 11 11:39:14 mail postfix/qmgr[3049]: 33C97964168: from=<oles@mydomain.com.ua>, size=1090, nrcpt=1 (queue active)Aug 11 11:39:14 mail postfix/smtpd[3136]: disconnect from localhost[127.0.0.1]Aug 11 11:39:14 mail postfix/trivial-rewrite[3138]: warning: do not list domain mydomain.com.ua in BOTH mydestination and virtual_mailbox_domainsAug 11 11:39:14 mail amavis[2727]: (02727-03) Passed CLEAN, LOCAL [192.168.0.15] [192.168.0.15] <oles@mydomain.com.ua> -> <oles@mydomain.com.ua>, Message-ID: <489FE4EF.4000706@mydomain.com.ua>, mail_id: LjHAf89+G1P3, Hits: -1.44, queued_as: 33C97964168, 5118 msAug 11 11:39:14 mail postfix/smtp[3131]: 8418E96414B: to=<oles@mydomain.com.ua>, relay=127.0.0.1[127.0.0.1]:10024, delay=1994, delays=1989/0.01/0/5.1, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=02727-03, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 33C97964168)Aug 11 11:39:14 mail postfix/qmgr[3049]: 8418E96414B: removedAug 11 11:39:14 mail postfix/smtpd[3136]: connect from localhost[127.0.0.1]Aug 11 11:39:14 mail postfix/smtpd[3136]: 5FDED964169: client=localhost[127.0.0.1]Aug 11 11:39:14 mail postfix/cleanup[3139]: 5FDED964169: message-id=<489FE3A8.1030503@mydomain.com.ua>Aug 11 11:39:14 mail postfix/qmgr[3049]: 5FDED964169: from=<oles@mydomain.com.ua>, size=1088, nrcpt=1 (queue active)Aug 11 11:39:14 mail postfix/smtpd[3136]: disconnect from localhost[127.0.0.1]Aug 11 11:39:14 mail amavis[3060]: (03060-02) Passed CLEAN, LOCAL [192.168.0.15] [192.168.0.15] <oles@mydomain.com.ua> -> <oles@mydomain.com.ua>, Message-ID: <489FE3A8.1030503@mydomain.com.ua>, mail_id: Lccw2Mn1fl7d, Hits: -1.44, queued_as: 5FDED964169, 5300 msAug 11 11:39:14 mail postfix/smtp[3130]: 3A2C996412B: to=<oles@mydomain.com.ua>, relay=127.0.0.1[127.0.0.1]:10024, delay=2316, delays=2311/0/0/5.3, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=03060-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 5FDED964169)Aug 11 11:39:14 mail postfix/qmgr[3049]: 3A2C996412B: removedAug 11 11:39:15 mail postfix/local[3140]: 33C97964168: to=<oles@mydomain.com.ua>, relay=local, delay=1.1, delays=0.05/0.02/0/1, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")Aug 11 11:39:15 mail postfix/qmgr[3049]: 33C97964168: removedAug 11 11:39:17 mail postfix/smtpd[3136]: connect from localhost[127.0.0.1]Aug 11 11:39:17 mail postfix/smtpd[3136]: F1E4596412B: client=localhost[127.0.0.1]Aug 11 11:39:18 mail postfix/cleanup[3139]: F1E4596412B: message-id=<489FE58B.4090104@mydomain.com.ua>Aug 11 11:39:18 mail postfix/qmgr[3049]: F1E4596412B: from=<oles@mydomain.com.ua>, size=1092, nrcpt=1 (queue active)Aug 11 11:39:18 mail amavis[2727]: (02727-04) Passed CLEAN, LOCAL [192.168.0.15] [192.168.0.15] <oles@mydomain.com.ua> -> <oles@mydomain.com.ua>, Message-ID: <489FE58B.4090104@mydomain.com.ua>, mail_id: T+3RAe4aDapA, Hits: -1.44, queued_as: F1E4596412B, 3774 msAug 11 11:39:18 mail postfix/smtpd[3136]: disconnect from localhost[127.0.0.1]Aug 11 11:39:18 mail postfix/smtp[3131]: B04E6964150: to=<oles@mydomain.com.ua>, relay=127.0.0.1[127.0.0.1]:10024, delay=1841, delays=1833/5.1/0/3.8, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=02727-04, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as F1E4596412B)Aug 11 11:39:18 mail postfix/qmgr[3049]: B04E6964150: removedAug 11 11:39:18 mail postfix/local[3140]: F1E4596412B: to=<oles@mydomain.com.ua>, relay=local, delay=0.07, delays=0.05/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")Aug 11 11:39:18 mail postfix/qmgr[3049]: F1E4596412B: removedAug 11 11:39:22 mail postfix/local[3145]: 5FDED964169: to=<oles@mydomain.com.ua>, relay=local, delay=8.1, delays=0.04/0/0/8, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")Aug 11 11:39:22 mail postfix/qmgr[3049]: 5FDED964169: removedAug 11 11:42:38 mail postfix/scache[3141]: statistics: start interval Aug 11 11:39:14Aug 11 11:42:38 mail postfix/scache[3141]: statistics: domain lookup hits=0 miss=1 success=0%Aug 11 11:42:38 mail postfix/scache[3141]: statistics: address lookup hits=0 miss=1 success=0%Aug 11 11:42:38 mail postfix/scache[3141]: statistics: max simultaneous domains=1 addresses=1 connection=1
Дивно... mydestination я прописав в main.cf mydomain.com.ua, і також в таблиці domains створив поле mydomain.com.ua
Доречі, папка vmail існує
mydomain.com.ua/oles@mydomain.com.ua
postconf -e 'virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf'postconf -e 'virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf'postconf -e 'virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf'
apt-get install amavisd-new spamassassin clamav clamav-daemon zoo unzip bzip2 unzoo libnet-ph-perl libnet-snpp-perl libnet-telnet-perl nomarch lzop pax
content_filter = amavis:[127.0.0.1]:10024
deb http://volatile.debian.org/debian-volatile etch/volatile-sloppy main contrib non-free
apt-get updateapt-get dist-upgrade
Але якось пошта не зовсім зрозуміло ходить. Маю наприклад:oles@mydomain.com.ua i office@mydomain.com.ua відправляю з одного на другий. Листи чомусь маячать в черзі. Роблю Postqueue -f ніц Зажурений. День після запускаю комп, всі листи поскладані в папці юзерів. Шо за чудеса Шокований