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
  #1  
Old 27th April 2007, 09:54
dimitar dimitar is offline
Member
 
Join Date: Mar 2007
Posts: 64
Thanks: 1
Thanked 0 Times in 0 Posts
Default Relay access denied for every new domain

Hi All,

I have big problems with the mailsystem on one of my servers running Debian sarge + ISPconfig 2.2.11. I get always:

<user@domain.com>: host mail.domain.com[xx.xx.xx.xx] said: 554
<user@domain.com>: Relay access denied (in reply to RCPT TO command)

when adding new domains or users. I have figured out that when adding a new domain it does not go to: /etc/postfix/local-host-names, and when adding a new user it does not go to: /etc/postfix/virtusertable, i always do that manually, but its becoming a problem because the domains are getting more and more...
postfix works with mbox format (for a reason)

Please help me to isolate the problem

thanks in advance
Reply With Quote
Sponsored Links
  #2  
Old 27th April 2007, 11:30
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,500 Times in 4,329 Posts
Default

Any errors in the file:

/home/admispconfig/ispconfig/ispconfig.log ?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 27th April 2007, 12:15
dimitar dimitar is offline
Member
 
Join Date: Mar 2007
Posts: 64
Thanks: 1
Thanked 0 Times in 0 Posts
Default

No not errors just INFO

when adding a domain:

27.04.2007 - 11:06:02 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1029: cp -fr /root/ispconfig/isp/error_en /var/www/web333/web/error
27.04.2007 - 11:06:02 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1037: cp -fr /root/ispconfig/isp/standard_index.html_en /var/www/web333/web/index.html
27.04.2007 - 11:06:02 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1069: ln -s /var/www/web333 /var/www/www.dim_test
27.04.2007 - 11:06:02 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 93: setquota -g web333 102400 102400 0 0 -a &> /dev/null
27.04.2007 - 11:06:02 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 136: cp -fr /etc/postfix/local-host-names /etc/postfix/local-host-names~
27.04.2007 - 11:06:04 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 283: cp -fr /etc/postfix/virtusertable /etc/postfix/virtusertable~
27.04.2007 - 11:06:04 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 288: postmap hash:/etc/postfix/virtusertable
27.04.2007 - 11:06:04 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1190: cp -fr /etc/apache2/vhosts/Vhosts_ispconfig.conf /etc/apache2/vhosts/Vhosts_ispconfig.conf~
27.04.2007 - 11:06:04 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1833: httpd -t &> /dev/null
27.04.2007 - 11:06:04 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1833: httpd -t &> /dev/null
27.04.2007 - 11:06:04 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1833: httpd -t &> /dev/null
27.04.2007 - 11:06:05 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1833: httpd -t &> /dev/null
27.04.2007 - 11:06:05 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1833: httpd -t &> /dev/null
27.04.2007 - 11:06:06 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2374: httpd -t &> /dev/null
27.04.2007 - 11:06:06 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2376: httpd syntax ok
27.04.2007 - 11:06:07 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/init.d/apache2 reload &> /dev/null
27.04.2007 - 11:06:07 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/init.d/postfix stop &> /dev/null
27.04.2007 - 11:06:07 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 696: /etc/init.d/postfix start &> /dev/null
27.04.2007 - 11:06:07 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1858: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf


when adding user:

27.04.2007 - 11:09:58 => INFO - USER:
a123456789:x:11140:10285::/var/www/web285:/bin/false
27.04.2007 - 11:09:58 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 649: cp -fr /root/ispconfig/isp/user_standard_index.html_en /var/www/web285/user/a123456789/web/index.html
27.04.2007 - 11:09:58 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 697: create /var/spool/mail/a123456789
27.04.2007 - 11:09:58 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 698: chown a123456789:mail /var/spool/mail/a123456789 &> /dev/null
27.04.2007 - 11:09:58 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 699: chmod 600 /var/spool/mail/a123456789
27.04.2007 - 11:09:58 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 708: setquota -u a123456789 1024 1024 0 0 -a &> /dev/null
27.04.2007 - 11:09:58 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.master /var/www/web285/.forward
27.04.2007 - 11:09:58 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 136: cp -fr /etc/postfix/local-host-names /etc/postfix/local-host-names~
27.04.2007 - 11:10:00 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 283: cp -fr /etc/postfix/virtusertable /etc/postfix/virtusertable~
27.04.2007 - 11:10:00 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 288: postmap hash:/etc/postfix/virtusertable
27.04.2007 - 11:10:00 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1190: cp -fr /etc/apache2/vhosts/Vhosts_ispconfig.conf /etc/apache2/vhosts/Vhosts_ispconfig.conf~
27.04.2007 - 11:10:00 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1833: httpd -t &> /dev/null
27.04.2007 - 11:10:00 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1833: httpd -t &> /dev/null
27.04.2007 - 11:10:01 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1833: httpd -t &> /dev/null
27.04.2007 - 11:10:01 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1833: httpd -t &> /dev/null
27.04.2007 - 11:10:02 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1833: httpd -t &> /dev/null
27.04.2007 - 11:10:02 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1858: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf~
Reply With Quote
  #4  
Old 28th April 2007, 18:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

What's the output of
Code:
ls -la /root/ispconfig
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 30th April 2007, 08:44
dimitar dimitar is offline
Member
 
Join Date: Mar 2007
Posts: 64
Thanks: 1
Thanked 0 Times in 0 Posts
Default

ls -la /root/ispconfig
total 124
drwxr-xr-x 9 root root 4096 2007-04-30 07:32 .
drwxr-xr-x 6 root root 4096 2007-04-28 11:43 ..
-rwxr-xr-x 1 root root 53929 2007-03-27 08:58 cronolog
-rwxr-xr-x 1 root root 9673 2007-03-27 08:58 cronosplit
drwxr-xr-x 12 root root 4096 2007-03-27 08:51 httpd
drwxr-xr-x 12 root root 4096 2007-03-27 08:58 isp
-rw-r--r-- 1 root root 8 2007-04-30 07:32 .old_path_httpd_root
drwxr-xr-x 6 root root 4096 2007-03-27 08:48 openssl
drwxr-xr-x 6 root root 4096 2007-03-27 08:54 php
drwxr-xr-x 4 root root 4096 2007-03-27 08:58 scripts
drwxr-xr-x 4 root root 4096 2007-03-27 08:58 standard_cgis
drwxr-xr-x 2 root root 4096 2007-03-27 08:58 sv
-rwx------ 1 root root 9504 2007-03-27 08:58 uninstall
Reply With Quote
  #6  
Old 1st May 2007, 20:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Looks ok. Do you get any error messages when you run
Code:
/root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
on the shell?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

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
Postfix with MySQL backend - Relay access denied klonos HOWTO-Related Questions 2 4th May 2007 19:55
Relay access denied to a 2nd. domain sur58 Installation/Configuration 1 15th April 2007 09:23
Relay access denied brainz Installation/Configuration 27 8th March 2007 08:21
Email relay access denied mydeputy Installation/Configuration 4 3rd August 2006 14:18
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 18:26


All times are GMT +2. The time now is 18:02.


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