Email local toggle on/off

Chrysalis

Verified User
Joined
Aug 25, 2004
Messages
1,340
Location
uk
Will email this to John also.

I want a feature where box can be ticked to say if email hosted locally or not, this will save manually editing /etc/virtual/domains.

Main reason for this is when people first sign up a lot use an email address on the domain been added to directadmin so then directadmin tries to send the email locally and of course the user doesn't get it. Another reason could be if the user simply wants to host email elsewhere, I have had this also.

Chris
 
you mean this?

Local Mail Server
Use this server to handle my emails.
If not, change the MX record and uncheck this option


this is an option inside the user part of directadmin that allows the user to make the change, but I want such an option in the admin/reseller parts so a welcome email that gets sent out doesnt bounce.
 
That's why we configured exim to resolve domain's MX before attempt mail delivery. If MX is pointed to another server - domain wouldn't be threated as local.
This also fixes the issue that I have described there - http://www.directadmin.com/forum/showthread.php?s=&threadid=2203#post15921

By the way you can try to "toggle" that option "on-the-fly" just after account creation using custom script in user_create_post.sh
Maybe it will work for you...
 
We've run into this issue more than once as well.

Yes you can turn it off by enabling DNS control for the user, logging in as them and changing the setting, BUT the local mail setting isn't really a DNS option anyway (I know some people may disagree) so it would make sense if this option were accessible outside the DNS controls.
A lot of our resellers have little or no understanding of DNS, local vs remote mail etc., so a simple "click this if the mail server is external" option would save us and them a lot of hassle.
 
Back
Top