Register
Login
Contribute
Subscribe
RSS
News
FAQForge
ISPConfig
Subscribe
Contribute
Forums
Howtos
Navigation
Howtos
Linux
Android
CentOS
Debian
Fedora
Kernel
Mandriva
PCLinuxOS
SuSE
Ubuntu
Web Server
Apache
Cherokee
Lighttpd
nginx
Backup
Control Panels
ISPConfig
DNS
BIND
MyDNS
PowerDNS
djbdns
Desktop
Email
Anti-Spam/Virus
Postfix
FTP
High-Availability
Lighttpd
Monitoring
MySQL
Programming
C/C++
PHP
Samba
Security
Anti-Spam/Virus
Storage
Virtualization
KVM
OpenVZ
VMware
VirtualBox
Xen
Other
FreeBSD
Commercial
Mini-Howtos
Linux
Apache
Backup
DNS
Errors
FTP
MySQL
Networking
PHP
Postfix
Security
Sendmail
Shell
Other
ISPConfig
Forums
Contribute
Create Content
Subscription
Login
Site Map/RSS Feeds
Facebook
News
British LulzSec hackers hear jail doors slam shut for years
KDE 4.11 Beginning to Take Shape
Linux, Standards and the Enterprise: Why Red Hat Enterprise Linux Remains the Best Choice
Thoughts on Open Innovation
Apache Virtual Hosting tutorials with Examples
Open Source Zend Framework 2.2 Brings PHP to OpenStack Cloud
How to Install Cinnamon 1.8 on ubuntu 13.04
Zend Framework 2.2.0 Stable Released
5 Links for Developers and IT Pros 5-17-13
Emmabuntus review
more
Recent comments
THANKS Falko
9 hours 33 min ago
Tested on PfSense 2.0.3, VMWare ESXi5.1 and VMWare Player 5.0.1
12 hours 29 min ago
No guarantee?
13 hours 42 min ago
Problems with SSL logins on IMAP and POP
15 hours 6 min ago
Last step
16 hours 44 min ago
remove kvm to install vmplayer
18 hours 12 min ago
Re: Re: Re: Re: Apache Configuration
19 hours 26 min ago
playsms webpage wont send
1 day 11 hours ago
Re: master details in slave my.cnf not explicitly needed
1 day 12 hours ago
Re: On debian 6(squeeze)
1 day 15 hours ago
Newsletter
Subscribe to HowtoForge Newsletter
and stay informed about our latest HOWTOs and projects.
(To unsubscribe from our newsletter, visit this
link
.)
English
|
Deutsch
|
Site Map/RSS Feeds
|
Advertise
HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials
>
ISPConfig 2
>
Developers' Forum
Autocreate of MX problem
User Name
Remember Me?
Password
Register
FAQ
Members List
Social Groups
Calendar
Search
Today's Posts
Mark Forums Read
Do you like HowtoForge? Please consider supporting us by
becoming a subscriber
.
Thread Tools
Display Modes
#
1
22nd November 2005, 11:47
Prompt
ISPConfig Developer
Join Date: Sep 2005
Location: Venezuela
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Autocreate of MX problem
Hi,
I have noticed when creating a new domain and activate check box "Create MX", the ISPConfig is adding the server name in a bad way.
I explain:
my server name is hostrXXlXX.mydomain.com
when the ISPConfig adds the MX record it adds: mydomain.com.
I think the best way is to add a host "mail" for the new domain, and then add the MX record to point to mail.newdomain.com
Thank you
__________________
Prompt -
www.prompt-ven.com
Cheap domains for resellers
http://dominios.prompt-ven.com
Have your own front-end to sell domains.
Prompt
View Public Profile
Send a private message to Prompt
Visit Prompt's homepage!
Find all posts by Prompt
Sponsored Links
#
2
22nd November 2005, 17:33
Prompt
ISPConfig Developer
Join Date: Sep 2005
Location: Venezuela
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Possible correction
I have checked the file:
/home/admispconfig/ispconfig/lib/classes/ispconfig_isp_web.lib.php
I have changed the line 976
Old line:
$domain = trim($server["server_domain"]);
New line:
$domain = trim($server["server_host"].'.'.$server["server_domain"]);
__________________
Prompt -
www.prompt-ven.com
Cheap domains for resellers
http://dominios.prompt-ven.com
Have your own front-end to sell domains.
Prompt
View Public Profile
Send a private message to Prompt
Visit Prompt's homepage!
Find all posts by Prompt
#
3
22nd November 2005, 17:39
till
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,181 Times in 3,200 Posts
If $server["server_host"] is empty you will get as result ".domain.com" which is not valid. I think you will have to test first if the host is not empty.
till
View Public Profile
Send a private message to till
Find all posts by till
#
4
22nd November 2005, 17:58
Prompt
ISPConfig Developer
Join Date: Sep 2005
Location: Venezuela
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
you'r right,
the new line is:
$domain = trim((($server["server_host"])?$server["server_host"].'.':'').$server["server_domain"]);
__________________
Prompt -
www.prompt-ven.com
Cheap domains for resellers
http://dominios.prompt-ven.com
Have your own front-end to sell domains.
Prompt
View Public Profile
Send a private message to Prompt
Visit Prompt's homepage!
Find all posts by Prompt
#
5
30th November 2005, 01:13
benbalbo
Member
Join Date: Oct 2005
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for this Prompt!
I've also made the same change to /home/admispconfig/ispconfig/lib/classes/ispconfig_isp_domain.lib.php.
benbalbo
View Public Profile
Send a private message to benbalbo
Find all posts by benbalbo
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded 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
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Forum Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Linux Forums
HOWTO-Related Questions
Installation/Configuration
Server Operation
Desktop Operation
Kernel Questions
Programming/Scripts
Technical
Suggest HOWTO
ISPConfig 3
General
Installation/Configuration
ISPConfig 3 Priority Support
Plugins/Modules/Addons
Tips/Tricks/Mods
Feature Requests
Developers' Forum
ISPConfig 2
General
Installation/Configuration
Tips/Tricks/Mods
Feature Requests
Developers' Forum
MyDNSConfig
General
Other Forums
Smalltalk
Forum Suggestions
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Problem with https and IE on Mac os and safari
DarkBen
Installation/Configuration
11
29th September 2006
17:45
ISPConfig pop3 problem
mphayesuk
General
21
31st October 2005
10:53
Problem installing ISPConfig, then with MySQL...
ctroyp
Installation/Configuration
7
26th September 2005
16:37
Problem with webmail
MyLinux
General
10
17th September 2005
14:31
Installation problem: PHP problem?
hgoor
Installation/Configuration
7
21st August 2005
22:15
All times are GMT +2. The time now is
09:50
.
Contact Us
-
HowtoForge - Linux Howtos and Tutorials
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Recent comments
9 hours 33 min ago
12 hours 29 min ago
13 hours 42 min ago
15 hours 6 min ago
16 hours 44 min ago
18 hours 12 min ago
19 hours 26 min ago
1 day 11 hours ago
1 day 12 hours ago
1 day 15 hours ago