Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 31st January 2006, 14:56
st2xo st2xo is offline
Member
 
Join Date: Jan 2006
Location: Wiesloch [DE]
Posts: 47
Thanks: 3
Thanked 0 Times in 0 Posts
Default Bug? (postfix refuses mail, relay access denied)

a default and fresh ispconfig installation (postfix, using Maildir)

added a new website with host www and domain.tld
the mail sending and receiving works fine (smtp_auth, pop/imap etc.)

After successfully testing with www Ive added the hosts www2 and www3
After that postfix refuses all incoming smtp mails (from external servers)

/var/log/mail:
Code:
Jan 31 12:21:34 linux postfix/smtpd[20275]: connect from fmmailgate05.web.de[217.72.192.243]
Jan 31 12:21:34 linux postfix/smtpd[20275]: NOQUEUE: reject: RCPT from fmmailgate05.web.de[217.72.192.243]: 554 <myname@domain.tld>: Relay access denied; from=<myname@web.de> to=<myname@domain.tld> proto=ESMTP helo=<fmmailgate05.web.de>
Jan 31 12:21:34 linux postfix/smtpd[20275]: disconnect from fmmailgate05.web.de[217.72.192.243]
now Ive deleted the two additional hostname www2 and www3, but the entrys for www2 and www3 were not have been deleted in /etc/postfix/local-host-name:

Code:
###################################
#
# ISPConfig local-host-names Configuration File
#         Version 1.0
#
###################################
localhost
myserver.de
localhost.myserver.de
www.domain.tld
www3.domain.tld
www2.domain.tld
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
Also in /etc/postfix/virtusertable:

Code:
###################################
#
# ISPConfig virtusertable Configuration File
#         Version 1.0
#
###################################
stefan@www.domain.tld    web14_stefan
web14_stefan@www.domain.tld    web14_stefan
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####

another check the ispconfig:
ISP Manager / Webs / domain.tld / Co-Domains
-> no entrys

Now I wanted to add a host www4, just for checking where entrys would be made in the ispconfig database and then looking for www2 and www3 in the database

(I had configured the host limit 3 for this web).
adding the www4 host an error occurs:
"Die maximale Anzahl Domains des Web wurde erreicht." (german)
(in english like "maximum domain count exceeded" or something like that)

But the www2 and www3 host were already deleted, so the www4 host should have been possible to add.
Ok, back to the main topic with postfix

I read the threads with adding a new co-domain with empty host so that the entry domain.tld could be processed for stefan@domain.tld and the (unusual) entry www.domain.tld could be processd for stefan@www.domain.tld

I think I understand now the way ispconfig handles the hostnames, tlds and that stuff. So I deleted the complete web in the ispconfig manager and deleted the trashcan also. All Postfix config files (localhost, virtuser, alias) were now "fresh" and default, no entries. The /home/www directory is empty (except of the servername myserver.tld for itself, no web* directory).

Ok, new game. Added a new web, but now no I leave the host blank and typed the tld "domain.tld" in the field "domain".
/home/www/web16 has been created, fine!
/home/www/domain.tld should have been, but has not been created
(probably because the field "host" has been left empty)
in the web-tree in ispconfig the new web "domain.tld" has not been added

/etc/postfix/local-host-name is now correct, only domain.tld is added
/etc/postfix/virtusertable is correct to, nothing is added
__________________
regards,
Stefan.
Reply With Quote
Sponsored Links
  #2  
Old 31st January 2006, 14:59
st2xo st2xo is offline
Member
 
Join Date: Jan 2006
Location: Wiesloch [DE]
Posts: 47
Thanks: 3
Thanked 0 Times in 0 Posts
Default

sorry, sorry, this was a mistake!
This posting is not finished yet, Im still researching.
__________________
regards,
Stefan.
Reply With Quote
  #3  
Old 31st January 2006, 16:00
st2xo st2xo is offline
Member
 
Join Date: Jan 2006
Location: Wiesloch [DE]
Posts: 47
Thanks: 3
Thanked 0 Times in 0 Posts
 
Default

No bug!
preparing my posting I hit the enter button by mistake before Im realy finisihed with writing, researching - and thinking
Unfortunately there is no possibilty to delete own postings

The handling with mail, hostnames and tlds is a little bit confusing at first time. After all its logical, of course, but first you have to get used to it.

If anybody has the same problems than me and will read this thread - first delete the trashcan in the reseller/client account before thinking theres an error in the host count limitations

"peinlich, peinlich" (german)
__________________
regards,
Stefan.
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
Relay access denied when using SMTP to external recipients Kamran Shah Installation/Configuration 111 14th May 2014 18:10
Relay access denied maxx Installation/Configuration 17 4th April 2011 12:34
relay access denied (i've readen the previous post about this ) jeanjacquesjeanjacques Installation/Configuration 5 21st April 2006 23:34
Postfix mail is held in queue indefinitely... squallbsr Server Operation 9 15th January 2006 19:13
postfix starts and stops why lhatle Installation/Configuration 2 21st December 2005 15:20


All times are GMT +2. The time now is 15:10.


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