any manual configuration of Exim for virtual web hosting ?

adrianmak

Verified User
Joined
Jan 30, 2010
Messages
49
For server used for web hosting different domain from different customers, and I used DA to manage different customers, creating domain name, mysql db and etc.

How to setup for the email part for customer ? does DA config Exim config file automatically for different domain ?
 
DirectAdmin manages exim automatically for additional users/domains you add. However there are limitations which concern some users. For example, DirectAdmin configures exim by default to use the hostname and the main IP# for sending all email. It appears to be the concensus of most server administrators that servers should send email, and not domains, so this isn't a problem for most users.

Jeff
 
I mean that the email will be sent from the hostname and the main IP# and not from the domain name and any user-specific IP#.

The return address will be the proper return address; I'm talking about how exim will identify itself when contacting other servers, and what others will see in the headers of the mail you send out.

Jeff
 
So.....Is there any solution on a multiple domains, of I want to send email with the similar hostname as email domain, for example @mydomain.com , hostname is mail.mydomain.com ?

or we can only go for dedicated email server for a domain ?

As I knew, some smtp server will check the FQDN hostname and the email domain if the are the same otherwise email are marked as spam

What I mean is, configure helo to respect the email domain name.
For example, if a user sending email with [email protected], exim will use say mail.abc.com as helo to talk with other smtp
while if a user sending email with [email protected], exim will use say mail.xyz.com as helo to talk with other smtp
 
Last edited:
As I knew, some smtp server will check the FQDN hostname and the email domain if the are the same otherwise email are marked as spam
First of all, any mailserver that does that is blocking most non-spam email with their spam. It's against the RFCs. While some servers did it years ago, it's not done anymore as far as I know.

If it were, the default configurations on tens of thousands of servers wouldn't work. My exim.conf files aren't the only mailserver configurations that use hostnames to send mail. For example, gmail users send mail from a server at the google.com domain, not at the gmail.com domain.
What I mean is, configure helo to respect the email domain name.
For example, if a user sending email with [email protected], exim will use say mail.abc.com as helo to talk with other smtp
while if a user sending email with [email protected], exim will use say mail.xyz.com as helo to talk with other smtp
You can do that if you want; the changes are out there and you can probably google them.

At that point you'd be responsible for maintaining exim.conf yourself, because none of my updates will ever support it.

Jeff
 
Back
Top