[FR] Give us the option to create domains without any mail subsystem

interfasys

Verified User
Joined
Oct 31, 2003
Messages
1,821
Location
Switzerland
Right now, a user only has the following options when adding a domain to his account:
SSL
CGI
PHP

It would be great if we could have a tickbox for EMAIL. Not all domains need to be able to receive emails.

Sure we can use scripts, as usual, but that means having to delete all the records that DA has just created. It's not very efficient.
 
It's already there. You can delete MX record and disable usage of "Local Mail Server" for every regular domain (user level in directadmin). Perhaps, John would add a checkbox for this on domain creation page.
 
It's not there... What you're referring to won't change the DNS entries.
The idea is to prevent the creation of all the DNS entries, the aliases, the scripts, etc. Everything that is related to the mail system, so that we don't have to manually delete everything afterwards.
 
You can un-check MX checkbox, sure with that other records won't be deleted from your DNS zone: mail, pop, smtp, but mx will be deleted.

I do not understand what scripts and aliases are you talking about? Will you be more specific, please.

Your answers will help others and John to understand, what you really want.
 
You can un-check MX checkbox, sure with that other records won't be deleted from your DNS zone: mail, pop, smtp, but mx will be deleted.
Yes, but that's one entry among others and it's an extra step we could do without. Why reload named twice when you could only do it once.
I do not understand what scripts and aliases are you talking about? Will you be more specific, please.
A new folder gets created in /etc/virtual and we have to delete it.
Post scripts are triggered when a domain is created and instead of creating our own variables that we'll have to change later if DA implements that feature, we're trying to see if John will introduce this no-mail feature.

It's very nice that DA is flexible, but the more custom scripts you have to fix/enhance the system, the more maintenance you have.

This no-mail option would be nice for developers or for non-traditional hosting.
 
Domain creation
--------------------
#Interface#
[x] Mail

#Variables#
This could be used both in scripts and in DNS templates (just like IPv6 detection)
has_mail=ON

#DA#
Do not create folder in /etc/virtual
Do not add domain to /etc/virtual/domains
Follow the rules in the templates

Domain modification
--------------------
#DA#
Create/delete folder in /etc/virtual
Add/remove domain to /etc/virtual/domains
Follow the rules in the templates
 
Back
Top