Ensure that you used the correct username incl. prefix (e.g. web1_nenad) and the correct password of the mail account.
Now I definitelly don't understand you - why should I use web1_nenad ? Isn't this teh right way to assign mailbox to user? UPDATE: I figured out what was problem with login: I tried only nenad.bulatovic and it should be [email protected]
I run a piks:~# tail -f /var/log/mail.log Oct 15 18:14:26 piks postfix/qmgr[2704]: 1DA312FE84: from=<[email protected]>, size=1450, nrcpt=1 (queue active) Oct 15 18:14:26 piks amavis[2448]: (02448-11) Passed CLEAN, LOCAL [127.0.0.1] [89.216.116.183] <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: SSVYmfH3NJV6, Hits: -0.957, size: 982, queued_as: 1DA312FE84, 12170 ms Oct 15 18:14:26 piks postfix/smtp[5559]: DAA7A2FD79: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=12, delays=0.16/0.05/0.01/12, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=02448-11, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 1DA312FE84) Oct 15 18:14:26 piks postfix/qmgr[2704]: DAA7A2FD79: removed Oct 15 18:14:36 piks postfix/smtp[5527]: 1DA312FE84: to=<[email protected]>, relay=none, delay=10, delays=0.11/0.02/10/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again) Oct 15 18:15:01 piks postfix/smtpd[5555]: connect from localhost.localdomain[127.0.0.1] Oct 15 18:15:01 piks postfix/smtpd[5555]: lost connection after CONNECT from localhost.localdomain[127.0.0.1] Oct 15 18:15:01 piks postfix/smtpd[5555]: disconnect from localhost.localdomain[127.0.0.1] Oct 15 18:15:01 piks dovecot: pop3-login: Disconnected: rip=127.0.0.1, lip=127.0.0.1, secured Oct 15 18:15:01 piks dovecot: imap-login: Disconnected: rip=127.0.0.1, lip=127.0.0.1, secured Oct 15 18:15:04 piks postfix/pickup[4391]: C001D2FE85: uid=0 from=<root> Oct 15 18:15:04 piks postfix/cleanup[5558]: C001D2FE85: message-id=<[email protected]> Oct 15 18:15:04 piks postfix/qmgr[2704]: C001D2FE85: from=<[email protected]>, size=1535, nrcpt=1 (queue active) Oct 15 18:15:17 piks postfix/smtpd[5567]: connect from localhost.localdomain[127.0.0.1] Oct 15 18:15:17 piks postfix/smtpd[5567]: D356B2FD79: client=localhost.localdomain[127.0.0.1] Oct 15 18:15:17 piks postfix/cleanup[5558]: D356B2FD79: message-id=<[email protected]> Oct 15 18:15:18 piks postfix/smtpd[5567]: disconnect from localhost.localdomain[127.0.0.1] Oct 15 18:15:18 piks postfix/qmgr[2704]: D356B2FD79: from=<[email protected]>, size=1993, nrcpt=1 (queue active) Oct 15 18:15:18 piks amavis[2447]: (02447-12) Passed CLEAN, <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: pFkUTMR7LVG3, Hits: -0.001, size: 1535, queued_as: D356B2FD79, 13067 ms Oct 15 18:15:18 piks postfix/smtp[5559]: C001D2FE85: to=<[email protected]>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, delay=15, delays=2.2/0/0.01/13, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=02447-12, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as D356B2FD79) Oct 15 18:15:18 piks postfix/qmgr[2704]: C001D2FE85: removed Oct 15 18:15:18 piks postfix/local[5622]: D356B2FD79: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0.3, delays=0.14/0.05/0/0.11, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION") Oct 15 18:15:18 piks postfix/qmgr[2704]: D356B2FD79: removed
UPDATE: I can send email to myself: [email protected] ---> [email protected] , and I can send from any email account to [email protected], but I can't send from [email protected] to any other accout (besides sending it to itself). DNS resolve should be fine according to this: Could it be that some of these settings are wrong? I also found that:
[solved] OK, finally I got it during postfix stop and postfix start showed me that Oct 15 20:45:38 piks postfix/postfix-script[8550]: warning: /var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ I was making all changes in /etc/resolv.conf but it seems that what counts is /var/spool/postfix/etc/resolv.conf so when I made changes (updated nameservers) ) So, finally, when I updated nameservers in /var/spool/postfix/etc/resolv.conf postfix can resolve and it works!!! Question: how comes that /var/spool/postfix/etc/resolv.conf is main and that /etc/resolv.conf is shadow? I always tought that /etc/resolv.conf is main?
The file /etc/resolv.conf is the main one, the copy in /var/spool/postfix/etc/resolv.conf belongs to the postfix jail. Postfix should update it automatically on restart if I remember correctly.
Yes, you are right, /etc/resolv.conf is main and /var/spool/postfix/etc/resolv.conf reflects all chages made in main file after Code: /etc/init.d/postfix stop /etc/init.d/postfix start I don't know why it didn't work that way yesterday, even after several full server (server as machine not server as mail server) reboots Anyway, it's obviously pure name server problem, not postfix problem, and I am glad that it is resolved - thank you
BIG problem Unfortunately my problems aren't over yet! Now I don't have my website? When I check it using SSH it's there - it's not deleted, and ISPConfig also shows it's there, but I can't acess it? and What should I do? UPDATE: I found what is it: Here it says: http://www.howtoforge.com/perfect-s...bian-5.0-with-bind-and-dovecot-ispconfig-3-p5 So I did it as So I did it as And it caused problems... When I commented it out such as It become normal - my website MOODLE is visible again. I don't know why this happened?
The most likely reason is that you mixed IP based and wildcard based hosts, if you do that, the ip based will always win and gets displaey. The solution si simple, just select the IP address instead of * in the website settings, if the ip is not in the list, then add it first udner System > Server IP.
So, everything was working just fine until recently - after some experiemnts with installing and removing php 5.2 and 5.3 webmail cased to exist? If I try to acess it with: http://ftniim.org/webmail/src/login.php or http://ftniim.org/webmail Any ideas what it might be? Is it possible that I somehow removed squirlemail?
Anyone? Any help would be highly appreciated? At least I need soem directions where should I look for problem...
@Falko Well that was a touch of a genius Solution was so simple and right in front of my nose but i couldn't see it It works now - and even all emails are preserved Thank you falko Respect, Nenad