
15th October 2012, 17:31
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
|
|
Ensure that you used the correct username incl. prefix (e.g. web1_nenad) and the correct password of the mail account.
|

15th October 2012, 17:44
|
|
Senior Member
|
|
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 414
Thanks: 13
Thanked 5 Times in 5 Posts
|
|
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 nenad.bulatovic@ftniim.org
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3
Last edited by nenad; 15th October 2012 at 17:54.
|

15th October 2012, 18:09
|
|
Senior Member
|
|
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 414
Thanks: 13
Thanked 5 Times in 5 Posts
|
|
I run a
piks:~# tail -f /var/log/mail.log
Oct 15 18:14:26 piks postfix/qmgr[2704]: 1DA312FE84: from=<nenad.bulatovic@ftniim.org>, 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] <nenad.bulatovic@ftniim.org> -> <nenad.bulatovic@gmail.com>, Message-ID: <6588ff8dd48d1b1db89fbd3fb2a7f938.squirrel@www.web mail.ftniim.org>, mail_id: SSVYmfH3NJV6, Hits: -0.957, size: 982, queued_as: 1DA312FE84, 12170 ms
Oct 15 18:14:26 piks postfix/smtp[5559]: DAA7A2FD79: to=<nenad.bulatovic@gmail.com>, 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=<nenad.bulatovic@gmail.com>, 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=<20121015161504.C001D2FE85@piks.ftniim.org>
Oct 15 18:15:04 piks postfix/qmgr[2704]: C001D2FE85: from=<root@piks.ftniim.org>, 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=<20121015161504.C001D2FE85@piks.ftniim.org>
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=<root@piks.ftniim.org>, size=1993, nrcpt=1 (queue active)
Oct 15 18:15:18 piks amavis[2447]: (02447-12) Passed CLEAN, <root@piks.ftniim.org> -> <root@piks.ftniim.org>, Message-ID: <20121015161504.C001D2FE85@piks.ftniim.org>, mail_id: pFkUTMR7LVG3, Hits: -0.001, size: 1535, queued_as: D356B2FD79, 13067 ms
Oct 15 18:15:18 piks postfix/smtp[5559]: C001D2FE85: to=<root@piks.ftniim.org>, 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=<administrator@piks.ftniim.org>, orig_to=<root@piks.ftniim.org>, 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
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3
Last edited by nenad; 15th October 2012 at 18:16.
|

15th October 2012, 18:56
|
|
Senior Member
|
|
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 414
Thanks: 13
Thanked 5 Times in 5 Posts
|
|
UPDATE:
I can send email to myself: nenad.bulatovic@ftniim.org ---> nenad.bulatovic@ftniim.org , and I can send from any email account to nenad.bulatovic@ftniim.org, but I can't send from nenad.bulatovic@ftniim.org to any other accout (besides sending it to itself).
DNS resolve should be fine according to this:
Quote:
piks:~# dig mx mail.google.com
; <<>> DiG 9.6-ESV-R4 <<>> mx mail.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33002
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;mail.google.com. IN MX
;; ANSWER SECTION:
mail.google.com. 35151 IN CNAME googlemail.l.google.com.
;; AUTHORITY SECTION:
l.google.com. 51 IN SOA ns4.google.com. dns-admin.google.com. 1500355 900 900 1800 60
;; Query time: 45 msec
;; SERVER: 145.253.2.75#53(145.253.2.75)
;; WHEN: Mon Oct 15 18:52:31 2012
;; MSG SIZE rcvd: 110
piks:~#
|
Could it be that some of these settings are wrong?
I also found that:
Quote:
piks:~# postconf relayhost
relayhost =
piks:~# host -t a mail
Host mail not found: 3(NXDOMAIN)
|
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3
Last edited by nenad; 15th October 2012 at 20:28.
|

15th October 2012, 21:02
|
|
Senior Member
|
|
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 414
Thanks: 13
Thanked 5 Times in 5 Posts
|
|
[solved]
OK, finally I got it
Quote:
|
tail -f /var/log/mail.log
|
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?
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3
Last edited by nenad; 15th October 2012 at 21:14.
|

16th October 2012, 08:15
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
|
|
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.
|
|
The Following User Says Thank You to till For This Useful Post:
|
nenad (16th October 2012)
|

16th October 2012, 18:53
|
|
Senior Member
|
|
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 414
Thanks: 13
Thanked 5 Times in 5 Posts
|
|
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
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3
Last edited by nenad; 17th October 2012 at 15:56.
|

16th October 2012, 20:58
|
|
Senior Member
|
|
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 414
Thanks: 13
Thanked 5 Times in 5 Posts
|
|
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?
Quote:
http://ftniim.org/moodle/
shows
Not Found
The requested URL /moodle/ was not found on this server.
Apache/2.2.9 (Debian) DAV/2 PHP/5.2.6-1+lenny16 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2008-08-11) mod_ssl/2.2.9 OpenSSL/0.9.8g Server at ftniim.org Port 80
|
and
What should I do?
UPDATE:
I found what is it:
Here it says: http://www.howtoforge.com/perfect-se...ispconfig-3-p5
Quote:
If you'd like to define a vhost like webmail.example.com where your users can access SquirrelMail, you'd have to add the following vhost configuration to /etc/apache2/conf.d/squirrelmail.conf:
vi /etc/apache2/conf.d/squirrelmail.conf
[...]
<VirtualHost 1.2.3.4:80>
DocumentRoot /usr/share/squirrelmail
ServerName webmail.example.com
</VirtualHost>
|
So I did it as
Quote:
If you'd like to define a vhost like webmail.example.com where your users can access SquirrelMail, you'd have to add the following vhost configuration to /etc/apache2/conf.d/squirrelmail.conf:
vi /etc/apache2/conf.d/squirrelmail.conf
[...]
<VirtualHost 1.2.3.4:80>
DocumentRoot /usr/share/squirrelmail
ServerName webmail.example.com
</VirtualHost>
|
So I did it as
Quote:
# users will prefer a simple URL like http://webmail.example.com
<VirtualHost 147.91.175.211:80>
DocumentRoot /usr/share/squirrelmail
ServerName webmail.ftniim.org
</VirtualHost>
|
And it caused problems...
When I commented it out such as
Quote:
# users will prefer a simple URL like http://webmail.example.com
#<VirtualHost 147.91.175.211:80>
# DocumentRoot /usr/share/squirrelmail
# ServerName webmail.ftniim.org
#</VirtualHost>
|
It become normal - my website MOODLE is visible again.
I don't know why this happened?
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3
Last edited by nenad; 16th October 2012 at 21:07.
|

17th October 2012, 08:49
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,196 Times in 3,212 Posts
|
|
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.
|

26th January 2013, 19:25
|
|
Senior Member
|
|
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 414
Thanks: 13
Thanked 5 Times in 5 Posts
|
|
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
Quote:
Forbidden
You don't have permission to access /webmail/src/login.php on this server.
|
http://ftniim.org/webmail
Quote:
ERROR 403 - Forbidden!
The following error occurred:
You are not permitted to access the requested URL.
Please contact the webmaster with any queries.
Powered by ISPConfig
|
Any ideas what it might be?
Is it possible that I somehow removed squirlemail?
Quote:
piks:~# cd /usr/share/squirrelmail
-bash: cd: /usr/share/squirrelmail: No such file or directory
piks:~#
|
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3
Last edited by nenad; 26th January 2013 at 19:49.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 23:01.
|
Recent comments
23 hours 8 min ago
23 hours 14 min ago
1 day 4 hours ago
1 day 10 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 17 hours ago
1 day 23 hours ago
2 days 3 hours ago
2 days 5 hours ago