Linode Forum
https://forum.linode.com/

[RESOLVED] Exim send-only / Problem with e-mails to myself
https://forum.linode.com/viewtopic.php?f=11&t=7953
Page 1 of 1

Author:  Rick [ Mon Oct 24, 2011 7:36 am ]
Post subject:  [RESOLVED] Exim send-only / Problem with e-mails to myself

Hi everyone,

This is my first post here :)

Here's my problem:

I have installed Exim4 (send-only) on my Ubuntu 10.04

So far so good the server sends e-mails to accounts in GMAIL or other mail providers.

I have several domains and it also sends e-mail to them. These domains are all set up with the Google MX Records.

The problem is when I send an e-mail from my primary domain to myself it doesn't send it to Google. It just appears in /var/mail/xxxxx

However if I send an e-mail to the same account from outside the server (i.e from my personal e-mail) it gets to Google.

I've tried changing the hostname to a full www.example.com instead of example.com

I can paste config files if needed.

Any help would be appreciated.

Thank you.

Author:  hawk7000 [ Mon Oct 24, 2011 7:46 am ]
Post subject:  Re: Exim send-only / Problem with e-mails to myself

Rick wrote:
Hi everyone,

This is my first post here :)

Here's my problem:

I have installed Exim4 (send-only) on my Ubuntu 10.04

So far so good the server sends e-mails to accounts in GMAIL or other mail providers.

I have several domains and it also sends e-mail to them. These domains are all set up with the Google MX Records.

The problem is when I send an e-mail from my primary domain to myself it doesn't send it to Google. It just appears in /var/mail/xxxxx

However if I send an e-mail to the same account from outside the server (i.e from my personal e-mail) it gets to Google.

I've tried changing the hostname to a full www.example.com instead of example.com

I can paste config files if needed.

Any help would be appreciated.

Thank you.


It would seem to me that you have added the domain that doesn't work as expected as a local domain... (However that looks in exim...)

If that doesn't make sense, maybe you can share the exim configuration?

Author:  Rick [ Mon Oct 24, 2011 7:50 am ]
Post subject: 

Absolutely. Which file is it exactly ?

In /etc/exim4 there is:

Code:
update-exim4.conf.conf
conf.d
exim4.conf.template
passwd.client

Author:  Rick [ Thu Oct 27, 2011 7:04 am ]
Post subject: 

Resolved.

When I set up the exim I told him the domain was "local domain".

So Exim was always sending the mails locally.

I just had to run the config again:

Code:
dpkg-reconfigure exim4-config

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/