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
Raspberry Pis Fedora becomes Pidora
Plasma Workspaces 4.11: A long term release
Pantheon's Drupal Open Source CMS Partner Program
How to Download and Burn YouTube Videos on a DVD in Linux
Google Chrome updated with conversational features
Dominions II: The Ascension Wars now available through Desura
When Xubuntu and Debian fail, Fedora it is for HP Pavilion g6-2210us laptop
Mageia 3 Screenshot Tour
Mint 15: Today's best Linux desktop (Review)
High Availability - Real Time Data Replication Across Multiple Nodes using GlusterFS On Centos 6 / RHEL 6
more
Recent comments
Instead of copying and
5 hours 5 min ago
 Correction: fro m_address=`
11 hours 46 min ago
tuto thanks
15 hours 37 min ago
WFM
17 hours 15 min ago
Re: PHP now has mail logging built-in
1 day 1 hour ago
Success!
1 day 11 hours ago
Installation successful, but I can't receive any mail...
1 day 11 hours ago
Security
1 day 15 hours ago
I skimmed through the steps,
1 day 19 hours ago
Thanks
1 day 20 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,896
Thanks: 693
Thanked 4,190 Times in 3,208 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
10:53
.
Contact Us
-
HowtoForge - Linux Howtos and Tutorials
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Recent comments
5 hours 5 min ago
11 hours 46 min ago
15 hours 37 min ago
17 hours 15 min ago
1 day 1 hour ago
1 day 11 hours ago
1 day 11 hours ago
1 day 15 hours ago
1 day 19 hours ago
1 day 20 hours ago