
27th April 2007, 09:54
|
|
Member
|
|
Join Date: Mar 2007
Posts: 64
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
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
|

27th April 2007, 11:30
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
|
|
Any errors in the file:
/home/admispconfig/ispconfig/ispconfig.log ?
|

27th April 2007, 12:15
|
|
Member
|
|
Join Date: Mar 2007
Posts: 64
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
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~
|

28th April 2007, 18:43
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
|
|
What's the output of
Code:
ls -la /root/ispconfig
?
|

30th April 2007, 08:44
|
|
Member
|
|
Join Date: Mar 2007
Posts: 64
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
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
|

1st May 2007, 20:13
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
|
|
Looks ok. Do you get any error messages when you run
Code:
/root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
on the shell?
|

3rd May 2007, 12:48
|
|
Member
|
|
Join Date: Mar 2007
Posts: 64
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
No errors just:
/root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php
start
ende
|

3rd May 2007, 14:11
|
|
Member
|
|
Join Date: Mar 2007
Posts: 64
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Btw should /root/ispconfig/php/php /root/ispconfig/scripts/writeconf.php be setuped as cronjob, because i can not see it in my crontab...
|

4th May 2007, 10:46
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
|
|
Is the website or co-domain set to external mailserver? If a domain is set to external mailserver, it is not included in the postfix configuration.
|

4th May 2007, 12:42
|
|
Member
|
|
Join Date: Mar 2007
Posts: 64
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by till
Is the website or co-domain set to external mailserver? If a domain is set to external mailserver, it is not included in the postfix configuration.
|
where is that set?
|
| 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 00:46.
|
|
Recent comments
1 day 29 min ago
1 day 3 hours ago
1 day 4 hours ago
1 day 6 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 10 hours ago
2 days 2 hours ago
2 days 3 hours ago
2 days 6 hours ago