Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 15th October 2012, 13:41
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default

I don't see why should I do it?

New server name is moodle.iimftn.org at iimftn.org domain
http://www.intodns.com/ftniim.org

Please clarify,

Thank you

OK, I found it it, old servername was in /etc/mailname
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3

Last edited by nenad; 15th October 2012 at 13:47.
Reply With Quote
Sponsored Links
  #12  
Old 15th October 2012, 13:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,509
Thanks: 815
Thanked 5,269 Times in 4,130 Posts
Default

Please reread my answer, I posted you two options.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #13  
Old 15th October 2012, 14:14
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default

I did what you told me, but still no sucess

My domain name is ftniim.org and my server name is moodle.ftniim.org (however there is no pointer in A records to moodle.ftniim.org)

I created email domain (in ISPConfig) as iimftn.org - should I rename it to moodle.iimftn.org ? Also, I created Mailbox on that email domain, but I still can't login http://moodle.ftniim.org/webmail/src/login.php ?

And there is some error in:

Quote:
Mail-Warn - Log (Server : ftniim.org)

Refresh Sequence:
Data from: 2012-10-15 14:00
Oct 15 12:46:40 moodle postfix/trivial-rewrite[19183]: warning: do not list domain moodle.ftniim.org in BOTH mydestination and virtual_mailbox_domains
Oct 15 12:46:41 moodle postfix/trivial-rewrite[19183]: warning: do not list domain moodle.ftniim.org in BOTH mydestination and virtual_mailbox_domains
Oct 15 13:41:04 moodle dovecot: Killed with signal 15
Oct 15 13:50:24 moodle postfix/trivial-rewrite[2944]: warning: do not list domain moodle.ftniim.org in BOTH mydestination and virtual_mailbox_domains
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3
Reply With Quote
  #14  
Old 15th October 2012, 14:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,509
Thanks: 815
Thanked 5,269 Times in 4,130 Posts
Default

Quote:
I created email domain (in ISPConfig) as iimftn.org - should I rename it to moodle.iimftn.org ?
No. Please remove moodle.ftniim.org from email domains in ispconfiug, it causes the email failure you posted above.

Quote:
My domain name is ftniim.org and my server name is moodle.ftniim.org (however there is no pointer in A records to moodle.ftniim.org)
Ok, nd the mssing A-Record is the reason for your first error,Please add it.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
nenad (16th October 2012)
  #15  
Old 15th October 2012, 15:39
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default

OK, I did what you told me, and even renamed server from moodle.ftniim.org to piks.ftniim.org (I renamed it everywhere) because I have moodle installation under ftniim.org/moodle - just to avoid any confusion between servername and directory name (which will later become subdomain).

Also, I did what is writen at teh end of manual
http://www.howtoforge.com/perfect-se...ispconfig-3-p5
19.2 SquirrelMail

Rebooted server, deleted and created new mailbox at ftniim.org domain, but I still can't login to http://webmail.ftniim.org/src/login.php nor I can send mail as root using command mail?

I am confused, what I am doing wrong?

P.S. When I reload apache it says:
piks:~# /etc/init.d/apache2 reload
Reloading web server config: apache2[Mon Oct 15 15:30:22 2012] [warn] NameVirtualHost 147.91.175.211:443 has no VirtualHosts
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3
Reply With Quote
  #16  
Old 15th October 2012, 15:43
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,509
Thanks: 815
Thanked 5,269 Times in 4,130 Posts
Default

Which error do you get now in the mail.log file?

Quote:
P.S. When I reload apache it says:
piks:~# /etc/init.d/apache2 reload
Reloading web server config: apache2[Mon Oct 15 15:30:22 2012] [warn] NameVirtualHost 147.91.175.211:443 has no VirtualHosts
Thas ok and not a error.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #17  
Old 15th October 2012, 16:18
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default

Strange enough, looks like there's no error?

Quote:
Oct 15 15:45:01 piks dovecot: pop3-login: Disconnected: rip=127.0.0.1, lip=127.0.0.1, secured
Oct 15 15:45:01 piks dovecot: imap-login: Disconnected: rip=127.0.0.1, lip=127.0.0.1, secured
Oct 15 15:45:01 piks postfix/smtpd[3004]: connect from localhost.localdomain[127.0.0.1]
Oct 15 15:45:01 piks postfix/smtpd[3004]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Oct 15 15:45:01 piks postfix/smtpd[3004]: disconnect from localhost.localdomain[127.0.0.1]
Oct 15 15:45:10 piks postfix/pickup[2703]: E7E142FE7B: uid=0 from=<root>
Oct 15 15:45:11 piks postfix/cleanup[3023]: E7E142FE7B: message-id=<20121015134510.E7E142FE7B@piks.ftniim.org>
Oct 15 15:45:11 piks postfix/qmgr[2704]: E7E142FE7B: from=<root@piks.ftniim.org>, size=1582, nrcpt=1 (queue active)
Oct 15 15:45:28 piks postfix/smtpd[3029]: connect from localhost.localdomain[127.0.0.1]
Oct 15 15:45:28 piks postfix/smtpd[3029]: 4DE6F2FE79: client=localhost.localdomain[127.0.0.1]
Oct 15 15:45:28 piks postfix/cleanup[3023]: 4DE6F2FE79: message-id=<20121015134510.E7E142FE7B@piks.ftniim.org>
Oct 15 15:45:28 piks postfix/qmgr[2704]: 4DE6F2FE79: from=<root@piks.ftniim.org>, size=2040, nrcpt=1 (queue active)
Oct 15 15:45:28 piks amavis[2447]: (02447-01) Passed CLEAN, <root@piks.ftniim.org> -> <root@piks.ftniim.org>, Message-ID: <20121015134510.E7E142FE7B@piks.ftniim.org>, mail_id: smntWWJSwpNP, Hits: -0.001, size: 1582, queued_as: 4DE6F2FE79, 15838 ms
Oct 15 15:45:28 piks postfix/smtp[3026]: E7E142FE7B: to=<root@piks.ftniim.org>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, delay=24, delays=5.9/0.03/3.7/14, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=02447-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 4DE6F2FE79)
Oct 15 15:45:29 piks postfix/qmgr[2704]: E7E142FE7B: removed
Oct 15 15:45:30 piks postfix/local[3033]: 4DE6F2FE79: to=<administrator@piks.ftniim.org>, orig_to=<root@piks.ftniim.org>, relay=local, delay=2.2, delays=0.2/0.19/0/1.8, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Oct 15 15:45:30 piks postfix/qmgr[2704]: 4DE6F2FE79: removed
Oct 15 15:50:02 piks dovecot: pop3-login: Disconnected: rip=127.0.0.1, lip=127.0.0.1, secured
Oct 15 15:50:02 piks dovecot: imap-login: Disconnected: rip=127.0.0.1, lip=127.0.0.1, secured
Oct 15 15:50:02 piks postfix/smtpd[3087]: connect from localhost.localdomain[127.0.0.1]
Oct 15 15:50:02 piks postfix/smtpd[3087]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Oct 15 15:50:02 piks postfix/smtpd[3087]: disconnect from localhost.localdomain[127.0.0.1]
Oct 15 15:50:28 piks postfix/smtpd[3029]: timeout after END-OF-MESSAGE from localhost.localdomain[127.0.0.1]
Oct 15 15:50:28 piks postfix/smtpd[3029]: disconnect from localhost.localdomain[127.0.0.1]
Oct 15 15:52:29 piks postfix/qmgr[2704]: ED9342FE78: from=<root@piks.ftniim.org>, size=798, nrcpt=1 (queue active)
Oct 15 15:52:44 piks postfix/smtp[3116]: ED9342FE78: to=<nenad.bulatovic@gmail.com>, relay=none, delay=1609, delays=1594/0.09/15/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 15:55:01 piks dovecot: pop3-login: Disconnected: rip=127.0.0.1, lip=127.0.0.1, secured
Oct 15 15:55:01 piks dovecot: imap-login: Disconnected: rip=127.0.0.1, lip=127.0.0.1, secured
Oct 15 15:55:02 piks postfix/smtpd[3155]: connect from localhost.localdomain[127.0.0.1]
Oct 15 15:55:02 piks postfix/smtpd[3155]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Oct 15 15:55:02 piks postfix/smtpd[3155]: disconnect from localhost.localdomain[127.0.0.1]
Oct 15 16:00:01 piks dovecot: pop3-login: Disconnected: rip=127.0.0.1, lip=127.0.0.1, secured
Oct 15 16:00:01 piks dovecot: imap-login: Disconnected: rip=127.0.0.1, lip=127.0.0.1, secured
Oct 15 16:00:01 piks postfix/smtpd[3226]: connect from localhost.localdomain[127.0.0.1]
Oct 15 16:00:01 piks postfix/smtpd[3226]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Oct 15 16:00:01 piks postfix/smtpd[3226]: disconnect from localhost.localdomain[127.0.0.1]
Oct 15 16:00:05 piks postfix/pickup[2703]: CFCC52FE7B: uid=0 from=<root>
Oct 15 16:00:05 piks postfix/cleanup[3247]: CFCC52FE7B: message-id=<20121015140005.CFCC52FE7B@piks.ftniim.org>
Oct 15 16:00:06 piks postfix/qmgr[2704]: CFCC52FE7B: from=<root@piks.ftniim.org>, size=1535, nrcpt=1 (queue active)
Oct 15 16:00:12 piks postfix/smtpd[3254]: connect from localhost.localdomain[127.0.0.1]
Oct 15 16:00:12 piks postfix/smtpd[3254]: B697C2FE79: client=localhost.localdomain[127.0.0.1]
Oct 15 16:00:12 piks postfix/cleanup[3247]: B697C2FE79: message-id=<20121015140005.CFCC52FE7B@piks.ftniim.org>
Oct 15 16:00:12 piks postfix/qmgr[2704]: B697C2FE79: from=<root@piks.ftniim.org>, size=1993, nrcpt=1 (queue active)
Oct 15 16:00:13 piks amavis[2448]: (02448-01) Passed CLEAN, <root@piks.ftniim.org> -> <root@piks.ftniim.org>, Message-ID: <20121015140005.CFCC52FE7B@piks.ftniim.org>, mail_id: lh9W18nx69ln, Hits: -0.001, size: 1535, queued_as: B697C2FE79, 5540 ms
Oct 15 16:00:13 piks postfix/smtp[3250]: CFCC52FE7B: to=<root@piks.ftniim.org>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, delay=9.3, delays=2.2/0.05/3.7/3.3, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=02448-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as B697C2FE79)
Oct 15 16:00:13 piks postfix/qmgr[2704]: CFCC52FE7B: removed
Oct 15 16:00:13 piks postfix/local[3257]: B697C2FE79: to=<administrator@piks.ftniim.org>, orig_to=<root@piks.ftniim.org>, relay=local, delay=0.88, delays=0.2/0.04/0/0.64, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Oct 15 16:00:13 piks postfix/qmgr[2704]: B697C2FE79: removed
piks:~#
Except this (could be prior to server reboot)
Quote:
Oct 15 15:52:44 piks postfix/smtp[3116]: ED9342FE78: to=<nenad.bulatovic@gmail.com>, relay=none, delay=1609, delays=1594/0.09/15/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)
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3
Reply With Quote
  #18  
Old 15th October 2012, 16:54
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,509
Thanks: 815
Thanked 5,269 Times in 4,130 Posts
Default

The mail output looks fine except of the gmail name resolution issie. Please take a look at the file /etc/resolv.conf and ensure that the nameserver listed there is reachable from your server and working.

And please check that you enabled maildir as email storage format in ispconfig server settings.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
nenad (15th October 2012)
  #19  
Old 15th October 2012, 17:06
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default

Yes, name server can resolve - I checked both with dig and lynx - I tried with google.com and they do connect (resolve).

As for
Quote:
maildir as email storage format in ispconfig server settings
I can't find where is setting

I just have this:
Quote:
/var/vmail/[domain]/[localpart]
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3

Last edited by nenad; 15th October 2012 at 17:09.
Reply With Quote
  #20  
Old 15th October 2012, 17:30
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
 
Default

What intrigues me even more is why I can't login to webmail?
http://webmail.ftniim.org/src/redirect.php
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3
Reply With Quote
Reply

Bookmarks

Tags
ispconfig, moodle

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
php Apps email not going through palkat General 8 21st September 2011 05:35
Help installing ISPConfig on Ubuntu 7.10 Server Peasant Dave Installation/Configuration 7 25th October 2007 00:27
subdomain and mail relay configuration aranthorn Installation/Configuration 24 3rd September 2007 22:53
Problems with installation on openSUSE 10.2 douglaslopezt Installation/Configuration 3 24th August 2007 22:04
Need help installing ISPConfig on Ubuntu Server via VMware dfwgreg Installation/Configuration 3 8th November 2006 10:52


All times are GMT +2. The time now is 06:36.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.