Is there something else to do? It doesn't work.
Here's what I did to configure the whole thing.
- I've installed exim4, for some reason, I still had exim3.
- I've added the 160_local_virtual_users in /etc/exim4/conf.d/router.
- I've added the mydomain.com file (yes, with my own domain
) in the /etc/aliases-domains. - Is there another line to add to the main configuration?
Here's what I did for debugging:
- I've sent emails to a valid user: nothing. No mail-delivery error, no forward.
- I've sent emails to an invalid user: one of them returned a mail-delivery error after a *long* wait.
- I've connected with "telnet mail.mydomain.com 25" to test the exim4 server. I can send a mail (all the answers are correct) but I didn't received it.
- I've tried sending to another domain than my own and I have a message telling me I can't relay to this domain, good!
So, it seems my firewall is setup correctly, that the exim4 server is running and can receive email to relay but that it disapears in it. Maybe it is not relayed or maybe it doesn't know where to relay it (bad configuration?).
I've found a message telling me to add a line in the main configuration but I'm not sure to understand:
Quote:
* put this into /etc/exim4/conf.d/router/160_local_virtual_users
* add a "domainlist virtual_domains = ..." to conf.d/main/
I feel a bit lost, I'm not sure what I should do next to pinpoint my problem. Any clues?
Thanks again for your time!