I have completed the hole how-to and here comes the problem... when i try to connect to te server (via outlook) then i get that the password is wrong but it's not. What's the problem? I don't see any realted errors in /var/log/maillog
Have you attempted to check your mail via a webmail client (ie squirrelmail)? Also are you attempting to connect via POP or IMAP?
I tryied POP3 in outlook. whit username: [email protected] and only with myuser... the both don't work. SquirrelMail cannot connect too: ERROR Unknown user or password incorrect.
SE Linux is disabled. the output of netstat -tap is: [root@mexus sbin]# netstat -tap Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address Stat e PID/Program name tcp 0 0 mexus.org:2208 *:* LIST EN 2308/hpiod tcp 0 0 mexus.org:10024 *:* LIST EN 31068/amavisd (mast tcp 0 0 mexus.org:10025 *:* LIST EN 11615/master tcp 0 0 *:mysql *:* LIST EN 2464/mysqld tcp 0 0 mexus.org:dyna-access *:* LIST EN 11426/clamd tcp 0 0 *:sunrpc *:* LIST EN 2079/portmap tcp 0 0 mexus.org:ipp *:* LIST EN 2339/cupsd tcp 0 0 *:smtp *:* LIST EN 11615/master tcp 0 0 *:1018 *:* LIST EN 2108/rpc.statd tcp 0 0 mexus.org:2207 *:* LIST EN 2313/python tcp 1 0 mexus:abbaccuray mirror.karneval.cz:http CLOS E_WAIT 2622/python tcp 0 0 mexus:aap mu-in-f164.google.com:http ESTA BLISHED 3059/firefox-bin tcp 1 0 mexus:bluelance mu-in-f164.google.com:http CLOS E_WAIT 3059/firefox-bin tcp 1 0 mexus:apple-sasl ie.freshrpms.net:http CLOS E_WAIT 2622/python tcp 0 0 mexus:call-logging 84.53.166.70:http ESTA BLISHED 3059/firefox-bin tcp 1 0 mexusfficelink2000 ftp.tuniv.szczecin.pl:http CLOS E_WAIT 2622/python tcp 1 0 mexus:chmd centos.at.multacom.com:http CLOS E_WAIT 2622/python tcp 1 0 mexus:3097 centos.at.multacom.com:http CLOS E_WAIT 2622/python tcp 1 0 mexus:hp-pxpib centos.at.multacom.com:http CLOS E_WAIT 2622/python tcp 1 0 mexusanasas centos.at.multacom.com:http CLOS E_WAIT 2622/python tcp 0 0 mexus:4331 dyna-pfs.nslb.sj.mozi:https ESTA BLISHED 3059/firefox-bin tcp 1 0 mexus:sieve rhlx01.hs-esslingen.de:http CLOS E_WAIT 2622/python tcp 0 1 mexus:netview-aix-12 212.239.41.101:http SYN_SENT 3059/firefox-bin tcp 1 0 mexus:gte-samp ftp.astral.ro:http CLOSE_WAIT 2622/python tcp 0 0 mexus:4697 www.howtoforge.com:http TIME_WAIT - tcp 0 0 mexus:4698 www.howtoforge.com:http TIME_WAIT - tcp 0 0 mexus:4670 www.howtoforge.com:http TIME_WAIT - tcp 1 0 mexus:biolink-auth ftp.lug.ro:http CLOSE_WAIT 2622/python tcp 0 0 *:imaps *:* LISTEN 10313/couriertcpd tcp 0 0 *op3s *:* LISTEN 10334/couriertcpd tcp 0 0 *op3 *:* LISTEN 10319/couriertcpd tcp 0 0 *:imap *:* LISTEN 10297/couriertcpd tcp 0 0 *:http *:* LISTEN 8136/httpd tcp 0 0 *:ssh *:* LISTEN 2328/sshd tcp 0 0 *:https *:* LISTEN 8136/httpd
here is the maillog: Jan 27 22:32:26 mexus pop3d: Connection, ip=[::ffff:127.0.0.1] Jan 27 22:32:26 mexus pop3d: chdir mexus.org/master/: No such file or directory Jan 27 22:32:59 mexus imapd: Connection, ip=[::ffff:127.0.0.1] Jan 27 22:33:06 mexus imapd: chdir mexus.org/master/: No such file or directory Jan 27 22:33:30 mexus imapd: Connection, ip=[::ffff:127.0.0.1] Jan 27 22:33:35 mexus imapd: LOGIN FAILED, user=master, ip=[::ffff:127.0.0.1] Jan 27 22:33:47 mexus imapd: LOGIN FAILED, user=master, ip=[::ffff:127.0.0.1] Jan 27 22:33:54 mexus imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=94, sent=524 Jan 27 22:34:24 mexus pop3d: Connection, ip=[::ffff:127.0.0.1] Jan 27 22:34:24 mexus pop3d: chdir mexus.org/master/: No such file or directory Jan 27 22:35:10 mexus pop3d: Connection, ip=[::ffff:127.0.0.1] Jan 27 22:38:11 mexus pop3d: LOGOUT, ip=[::ffff:127.0.0.1] Jan 27 22:38:11 mexus pop3d: Disconnected, ip=[::ffff:127.0.0.1]
pop gave me: Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. +OK Hello there. user: [email protected] -ERR Invalid command. user [email protected] +OK Password required. pass ******** -ERR chdir mexus.org/master/ failed Connection closed by foreign host. so I did that: su vmail mkdir /home/vmail/mexus.org mkdir /home/vmail/mexus.org/master mkdir /home/vmail/mexus.org/cur chmod 777 /home/vmail/mexus.org/cur Now I'm able to login to my e-mail master (at) mexus.org via pop3 Squirrelmail cannot login: Unknown user or password incorrect. Error: conncetion dropped by IMAP server. I cannot recive e-mails: his is the mail system at host mexus.org. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to <postmaster> If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system <[email protected]>: unknown user: "master" Final-Recipient: rfc822; [email protected] Original-Recipient: rfc822;[email protected] Action: failed Status: 5.1.1 Diagnostic-Code: X-Postfix; unknown user: "master" ---------- Forwarded message ---------- From: "Dimitar T" <[email protected]> To: [email protected] Date: Mon, 28 Jan 2008 00:21:32 +0200 Subject: about this setup testing the mailserver here is the maillog: Jan 28 00:21:43 mexus pop3d: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], port=[1122], top=0, retr=0, rcvd=24, sent=96, time=0 Jan 28 00:22:04 mexus pop3d: Connection, ip=[::ffff:85.11.172.153] Jan 28 00:22:06 mexus postfix/smtpd[3507]: disconnect from wx-out-0506.google.com[66.249.82.236] Jan 28 00:22:08 mexus pop3d: LOGIN, [email protected], ip=[::ffff:85.11.172.153], port=[1312] Jan 28 00:22:08 mexus pop3d: LOGOUT, [email protected], ip=[::ffff:85.11.172.153], port=[1312], top=0, retr=0, rcvd=24, sent=96, time=0 Jan 28 00:22:26 mexus imapd: Connection, ip=[::ffff:85.11.172.153] Jan 28 00:23:00 mexus last message repeated 3 times Jan 28 00:23:04 mexus imapd: LOGIN FAILED, user=master, ip=[::ffff:85.11.172.153] Jan 28 00:23:14 mexus imapd: LOGIN FAILED, user=master, ip=[::ffff:85.11.172.153] Jan 28 00:23:18 mexus imapd: Disconnected, ip=[::ffff:85.11.172.153], time=18 Jan 28 00:23:47 mexus pop3d: Connection, ip=[::ffff:85.11.172.153] Jan 28 00:23:47 mexus pop3d: LOGIN, [email protected], ip=[::ffff:85.11.172.153], port=[1317] Jan 28 00:23:47 mexus pop3d: LOGOUT, [email protected], ip=[::ffff:85.11.172.153], port=[1317], top=0, retr=0, rcvd=24, sent=96, time=0 Jan 28 00:24:39 mexus pop3d: Connection, ip=[::ffff:85.11.172.153] Jan 28 00:24:39 mexus pop3d: LOGIN, [email protected], ip=[::ffff:85.11.172.153], port=[1318] Jan 28 00:24:39 mexus pop3d: LOGOUT, [email protected], ip=[::ffff:85.11.172.153], port=[1318], top=0, retr=0, rcvd=24, sent=96, time=0 Jan 28 00:25:26 mexus postfix/anvil[3509]: statistics: max connection rate 1/60s for (smtp:66.249.82.236) at Jan 28 00:21:34 Jan 28 00:25:26 mexus postfix/anvil[3509]: statistics: max connection count 1 for (smtp:66.249.82.236) at Jan 28 00:21:34 Jan 28 00:25:26 mexus postfix/anvil[3509]: statistics: max cache size 1 at Jan 28 00:21:34 Jan 28 00:29:44 mexus imapd: Connection, ip=[::ffff:127.0.0.1] Jan 28 00:29:44 mexus imapd: LOGIN FAILED, user=master, ip=[::ffff:127.0.0.1] Jan 28 00:29:49 mexus imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=45, sent=332 Jan 28 00:30:47 mexus imapd: Connection, ip=[::ffff:127.0.0.1] Jan 28 00:33:38 mexus postfix/smtpd[3642]: connect from wr-out-0506.google.com[64.233.184.228] Jan 28 00:33:39 mexus postfix/trivial-rewrite[3645]: warning: do not list domain mexus.org in BOTH mydestination and virtual_mailbox_domains Jan 28 00:33:39 mexus postfix/smtpd[3642]: 7E9F4280617: client=wr-out-0506.google.com[64.233.184.228] Jan 28 00:33:39 mexus postfix/cleanup[3650]: 7E9F4280617: message-id=<[email protected]> Jan 28 00:33:40 mexus postfix/qmgr[2403]: 7E9F4280617: from=<[email protected]>, size=1975, nrcpt=1 (queue active) Jan 28 00:33:40 mexus postfix/trivial-rewrite[3645]: warning: do not list domain mexus.org in BOTH mydestination and virtual_mailbox_domains Jan 28 00:33:41 mexus postfix/local[3652]: 7E9F4280617: to=<[email protected]>, relay=local, delay=1.9, delays=0.85/0.95/0/0.11, dsn=5.1.1, status=bounced (unkno wn user: "master") Jan 28 00:33:41 mexus postfix/cleanup[3650]: 1A34328065A: message-id=<2008012722 [email protected]> Jan 28 00:33:41 mexus postfix/qmgr[2403]: 1A34328065A: from=<>, size=3637, nrcpt =1 (queue active) Jan 28 00:33:41 mexus postfix/bounce[3654]: 7E9F4280617: sender non-delivery not ification: 1A34328065A Jan 28 00:33:41 mexus postfix/qmgr[2403]: 7E9F4280617: removed Jan 28 00:33:42 mexus pop3d: Connection, ip=[::ffff:85.11.172.153] Jan 28 00:33:42 mexus pop3d: LOGIN, [email protected], ip=[::ffff:85.11.172. 153], port=[4318] Jan 28 00:33:42 mexus pop3d: LOGOUT, [email protected], ip=[::ffff:85.11.172 .153], port=[4318], top=0, retr=0, rcvd=24, sent=96, time=0 Jan 28 00:33:42 mexus postfix/smtp[3655]: 1A34328065A: to=<[email protected]>, relay=gmail-smtp-in.l.google.com[72.14.221.114]:25, delay=1.6, delays=0.02/0.12/0.31/1.1, dsn=2.0.0, status=sent (250 2.0.0 OK 1201473222 4si5205167fgg.4) Jan 28 00:33:42 mexus postfix/qmgr[2403]: 1A34328065A: removed Jan 28 00:53:47 mexus postfix/smtpd[3882]: connect from wx-out-0506.google.com[66.249.82.236] Jan 28 00:53:48 mexus postfix/trivial-rewrite[3885]: warning: do not list domain mexus.org in BOTH mydestination and virtual_mailbox_domains Jan 28 00:53:48 mexus postfix/smtpd[3882]: 4FB20280617: client=wx-out-0506.google.com[66.249.82.236] Jan 28 00:53:48 mexus postfix/cleanup[3890]: 4FB20280617: message-id=<[email protected]> Jan 28 00:53:48 mexus postfix/qmgr[2403]: 4FB20280617: from=<[email protected]>, size=1958, nrcpt=1 (queue active) Jan 28 00:53:48 mexus postfix/trivial-rewrite[3885]: warning: do not list domain mexus.org in BOTH mydestination and virtual_mailbox_domains Jan 28 00:53:48 mexus postfix/local[3892]: 4FB20280617: to=<[email protected]>, relay=local, delay=0.68, delays=0.63/0.02/0/0.02, dsn=5.1.1, status=bounced (unknown user: "master") Jan 28 00:53:48 mexus postfix/cleanup[3890]: C0B23280659: message-id=<[email protected]> Jan 28 00:53:48 mexus postfix/bounce[3893]: 4FB20280617: sender non-delivery notification: C0B23280659 Jan 28 00:53:48 mexus postfix/qmgr[2403]: 4FB20280617: removed Jan 28 00:53:48 mexus postfix/qmgr[2403]: C0B23280659: from=<>, size=3620, nrcpt=1 (queue active) Jan 28 00:53:50 mexus postfix/smtp[3894]: C0B23280659: to=<[email protected]>, relay=gmail-smtp-in.l.google.com[72.14.221.27]:25, delay=1.7, delays=0.01/0.04/0.65/1, dsn=2.0.0, status=sent (250 2.0.0 OK 1201474430 e20si7303648fga.1) Jan 28 00:53:50 mexus postfix/qmgr[2403]: C0B23280659: removed Jan 28 00:54:18 mexus postfix/smtpd[3882]: disconnect from wx-out-0506.google.com[66.249.82.236] Jan 28 01:09:20 mexus pop3d: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[3683] Jan 28 01:09:49 mexus postfix/smtpd[4218]: connect from wx-out-0506.google.com[66.249.82.237] Jan 28 01:09:50 mexus postfix/trivial-rewrite[4221]: warning: do not list domain tanchev-consult.com in BOTH mydestination and virtual_mailbox_domains Jan 28 01:09:50 mexus postfix/smtpd[4218]: 6B84F280617: client=wx-out-0506.google.com[66.249.82.237] Jan 28 01:09:50 mexus postfix/cleanup[4226]: 6B84F280617: message-id=<[email protected]> Jan 28 01:09:50 mexus postfix/qmgr[4013]: 6B84F280617: from=<[email protected]>, size=1994, nrcpt=1 (queue active) Jan 28 01:09:50 mexus postfix/trivial-rewrite[4221]: warning: do not list domain tanchev-consult.com in BOTH mydestination and virtual_mailbox_domains Jan 28 01:09:51 mexus postfix/local[4228]: 6B84F280617: to=<[email protected]>, relay=local, delay=0.86, delays=0.67/0.14/0/0.05, dsn=5.1.1, status=bounced (unknown user: "office") Jan 28 01:09:51 mexus postfix/cleanup[4226]: 0EFC2280659: message-id=<[email protected]> Jan 28 01:09:51 mexus postfix/qmgr[4013]: 0EFC2280659: from=<>, size=3686, nrcpt=1 (queue active) Jan 28 01:09:51 mexus postfix/bounce[4229]: 6B84F280617: sender non-delivery notification: 0EFC2280659 Jan 28 01:09:51 mexus postfix/qmgr[4013]: 6B84F280617: removed Jan 28 01:09:53 mexus postfix/smtp[4230]: 0EFC2280659: to=<[email protected]>, relay=gmail-smtp-in.l.google.com[72.14.221.27]:25, delay=2, delays=0.07/0.13/0.46/1.3, dsn=2.0.0, status=sent (250 2.0.0 OK 1201475392 l19si7338706fgb.9) Jan 28 01:09:53 mexus postfix/qmgr[4013]: 0EFC2280659: removed Jan 28 01:10:20 mexus postfix/smtpd[4218]: disconnect from wx-out-0506.google.com[66.249.82.237] Jan 28 01:11:20 mexus pop3d: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], port=[3683], top=0, retr=0, rcvd=6, sent=30, time=120 Please help me make this webserver recive e-mails and IMAP to work
You must send an email first to a new account before you can fetch mails. The Maildir gets created automatically when the first email arrives.
and... just to be clear... all login attempts to new accounts will fail until a new mail is received into the account. No user can login until the maildir is created.
is there a way to make the maildir automaticly or a way to send an e-mail to the new users? Few other questions: This is the source of and e-mail i sent: Delivered-To: mexusbg(at)gmail.com Received: by 10.150.96.18 with SMTP id t18cs71593ybb; Mon, 28 Jan 2008 05:28:54 -0800 (PST) Received: by 10.66.242.5 with SMTP id p5mr65078ugh.87.1201526933525; Mon, 28 Jan 2008 05:28:53 -0800 (PST) Return-Path: <master(at)mexus.org> Received: from mail.mexus.org ([85.11.172.153]) by mx.google.com with ESMTP id y18si11702277fkd.17.2008.01.28.05.28.52; Mon, 28 Jan 2008 05:28:53 -0800 (PST) Received-SPF: neutral (google.com: 85.11.172.153 is neither permitted nor denied by best guess record for domain of master(at)mexus.org) client-ip=85.11.172.153; Authentication-Results: mx.google.com; spf=neutral (google.com: 85.11.172.153 is neither permitted nor denied by best guess record for domain of master(at)mexus.org) smtp.mail=master(at)mexus.org Received: from mexus.org (mexus.org [85.11.172.153]) by mail.mexus.org (Postfix) with ESMTP id 8477828064A for <mexusbg(at)gmail.com>; Mon, 28 Jan 2008 15:28:51 +0200 (EET) MIME-Version: 1.0 Date: Mon, 28 Jan 2008 15:28:51 +0200 From: Dimitar Tanchev <master(at)mexus.org> To: mexusbg(at)gmail.com Subject: dfds Message-ID: <955e141770b9f902e74b130cbcdfd51b(at)mexus.org> X-Sender: [email protected] User-Agent: RoundCube Webmail/0.1-rc2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit is there a way to fix that: Authentication-Results: mx.google.com; spf=neutral (google.com: 85.11.172.153 is neither permitted nor denied by best guess record for domain of master(at)mexus.org) smtp.mail=master(at)mexus.org 2) When i send mail to gmail.com for example they arrive for 1-2 sec, if i send to abv.bg it's there after 2hours? What's the problem. Before 3 mounts i ran a qmail server and it send e-mails to abv.bg as fast as to gmail and all main webmail, 3) My ISP cannot give me an reverse dns, so i don't have ptr. What are methods to prevent my messages form beeing marked as spam.
You could either write a script that automatically sends an email, or you do it manually with your email client. Does your domain have an SPF record? Also, please check if your server is blacklisted: http://www.mxtoolbox.com/blacklists.aspx That's bad. You can try to relay your mails through another mail server: http://www.howtoforge.com/postfix_relaying_through_another_mailserver