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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th May 2007, 16:40
JGrewe
Guest
 
Posts: n/a
Default How to disallow a clients to make changes on codomains

Hello,

a client have two co-domains.
But he can delete them an make others. How can i disallow that?

Janko

Last edited by JGrewe; 17th May 2007 at 19:20.
Reply With Quote
Sponsored Links
  #2  
Old 17th May 2007, 22:48
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,259
Thanks: 215
Thanked 648 Times in 294 Posts
Default

You can not overcome that the client deletes his domain and/or co-domain.
The only thing you can do is set the amount of domains to a maximum, to avoid to much domains/co-domains.
__________________
Hans

MrHostman | Master in managed hosting
Reply With Quote
  #3  
Old 17th May 2007, 23:39
JGrewe
Guest
 
Posts: n/a
Default

Hello!

OK, my question:

My client deletes one Co-Domain and takes instead a popular domain as Co-Domain. Now he can get every eMail from my other clients to that popular domain... because Postfix will deliver these eMails to that Co-Domain?

Is it right, or make I a mistake?


Thanks,
Janko

PS: I am sorry about my bad english
Reply With Quote
  #4  
Old 18th May 2007, 08:25
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,420
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
Default

Quote:
Originally Posted by JGrewe
My client deletes one Co-Domain and takes instead a popular domain as Co-Domain. Now he can get every eMail from my other clients to that popular domain... because Postfix will deliver these eMails to that Co-Domain?
He can not do that because if the domain is assigned already to another account on your server, he can not it as co-domain to his account.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 18th May 2007, 08:28
JGrewe
Guest
 
Posts: n/a
Default

Hello,

when this popular Domain is not hostet on my server, so he can use that domain. My other client are using my postfix to send eMails. Now if they want to send an email to that popular domain, the email instead is deliverd to the co-domain on my server....


Janko
Reply With Quote
  #6  
Old 18th May 2007, 08:32
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,420
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
Default

ISPConfig includes a check that tests if the mx and A records of a domain are pointing to your server and sets a co-domain to external mailserver in this case. So the client is not able to receive any emails, even if he aggs gmail.com as co-domain.

This has been integrated some time ago, I'am not sure in which ISPConfig version.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 18th May 2007, 08:41
JGrewe
Guest
 
Posts: n/a
Default

Hello!

Thank you....
Now i can use ISPConfig!

Perfect Program


Janko
Reply With Quote
  #8  
Old 18th May 2007, 16:03
JGrewe
Guest
 
Posts: n/a
Default

Hello!

I have add gmail.com as Co-Domain. And now I can retrieve all eMails sent on my postfix to gmail.com. ISPConfig have allow to set Mailserver to "Lokal Mailserver".

I use ISPConfig 2.2.12 on Debian 4.0.....

My Bind9 is disabled, but dig shows me the right MX- and A-Record for gmail.com!

Code:
[15:59:13][root]/var/www/web1/user/web1_jgrewe/Maildir/new # dig mx gmail.com

; <<>> DiG 9.3.4 <<>> mx gmail.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21261
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 4, ADDITIONAL: 11

;; QUESTION SECTION:
;gmail.com.                     IN      MX

;; ANSWER SECTION:
gmail.com.              474     IN      MX      50 gsmtp163.google.com.
gmail.com.              474     IN      MX      50 gsmtp183.google.com.
gmail.com.              474     IN      MX      5 gmail-smtp-in.l.google.com.
gmail.com.              474     IN      MX      10 alt1.gmail-smtp-in.l.google.com.
gmail.com.              474     IN      MX      10 alt2.gmail-smtp-in.l.google.com.

;; AUTHORITY SECTION:
gmail.com.              166114  IN      NS      ns4.google.com.
gmail.com.              166114  IN      NS      ns1.google.com.
gmail.com.              166114  IN      NS      ns2.google.com.
gmail.com.              166114  IN      NS      ns3.google.com.

;; ADDITIONAL SECTION:
gmail-smtp-in.l.google.com. 86  IN      A       66.249.93.27
gmail-smtp-in.l.google.com. 86  IN      A       66.249.93.114
alt1.gmail-smtp-in.l.google.com. 293 IN A       209.85.133.114
alt1.gmail-smtp-in.l.google.com. 293 IN A       209.85.133.27
alt2.gmail-smtp-in.l.google.com. 264 IN A       72.14.205.27
gsmtp163.google.com.    741     IN      A       64.233.163.27
gsmtp183.google.com.    6966    IN      A       64.233.183.27
ns1.google.com.         167896  IN      A       216.239.32.10
ns2.google.com.         167896  IN      A       216.239.34.10
ns3.google.com.         167517  IN      A       216.239.36.10
ns4.google.com.         167896  IN      A       216.239.38.10

;; Query time: 114 msec
;; SERVER: 192.168.255.1#53(192.168.255.1)
;; WHEN: Fri May 18 16:01:11 2007
;; MSG SIZE  rcvd: 406
/etc/postfix/virtualusertable
Code:
webmaster@ebay.de    web1_jgrewe
web1_jgrewe@ebay.de    web1_jgrewe
hostmaster@gmail.com    web1_jgrewe
abuse@gmail.com    web1_jgrewe
postmaster@gmail.com    web1_jgrewe
info@gmail.com    web1_jgrewe
telnet at port 25:
Code:
220 server1.example.com ESMTP Postfix (Debian/GNU)
ehlo localhost
250-server1.example.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from: me@localhost
250 2.1.0 Ok
rcpt to: abuse@gmail.com
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
Subject: This mail is a example

.
250 2.0.0 Ok: queued as 685D113788
Comming eMail:
Code:
[15:59:03][root]/var/www/web1/user/web1_jgrewe/Maildir/new # more  1179496659.5623_0.home.grewe-server.de
Return-Path: <me@localhost>
X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on home.grewe-server.de
X-Spam-Level: *
X-Spam-Status: No, score=1.3 required=5.0 tests=ALL_TRUSTED,MISSING_SUBJECT,
        NO_REAL_NAME,UNDISC_RECIPS autolearn=no version=3.1.8
X-Original-To: abuse@gmail.com
Delivered-To: web1_jgrewe@home.grewe-server.de
Received: from localhost (BUERO.mshome.net [192.168.255.1])
        by server1.example.com (Postfix) with ESMTP id 685D113788
        for <abuse@gmail.com>; Fri, 18 May 2007 15:56:25 +0200 (CEST)
Message-Id: <20070518135634.685D113788@server1.example.com>
Date: Fri, 18 May 2007 15:56:25 +0200 (CEST)
From: me@localhost
To: undisclosed-recipients:;
X-Virus-Status: No
X-Virus-Checker-Version: clamassassin 1.2.3 with clamscan / ClamAV 0.90.2/3265/Thu May 17 16:19:47 2007

Subject: This mail is a example

[15:59:13][root]/var/www/web1/user/web1_jgrewe/Maildir/new #
What have i done wrong?

Janko
Reply With Quote
  #9  
Old 18th May 2007, 16:14
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,420
Thanks: 834
Thanked 5,499 Times in 4,328 Posts
Default

It might be not included yet in the stable branch yet. It is definately part of the svn version. You will ahve to look at the svn log if you need to know this in detail.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 18th May 2007, 16:43
JGrewe
Guest
 
Posts: n/a
 
Default

Hello,

where can i read the svn log (i don´t know what is it).

I have modified the PHP-Code, now no client can add a Co-Domain... only the admin. Not fine but works well.

Thanks,
Janko
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
cpan> install DB_File make error Nu2Linux HOWTO-Related Questions 6 13th April 2012 22:06
make rpm fails digen Kernel Questions 3 17th December 2006 21:28
clamav spamassassin with simscan @ debian Shamael Anwar Installation/Configuration 2 15th December 2006 20:06
install Net::DNS chrno Installation/Configuration 4 5th September 2006 17:01
FC3 Perfect Installation Make Errors solderboy HOWTO-Related Questions 3 2nd October 2005 16:55


All times are GMT +2. The time now is 20:13.


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