Hi everyone, I've got a problem that I can't seem to figure out. I'm running
exim on one of my local machines as a mail server for my own domain which sits
behind a NAT router. This part works fine and I can send mail to and from
outside domains to my own with no difficulty.
However, sometimes I want to send email directly to the local user on the
smarthost itself from one of the machines that uses the smarthost for sending
email. Mainly what I want to do is have my mail server aggregate all of the
mail generated by my internal machines (cron messages, warnings, etc. that are
normally sent to root on the local host) and keep them on the mail server for
me to read. The problem is I can't seem to send an email to the smart host
without it thinking that it should deliver it remotely.
So, for example, if I send email from a machine sample.mydomain.com to my own
user [EMAIL PROTECTED], it tries to forward it on and I end up with an
unroutable address error. In the case of the two Solaris machines, both of
them do the same thing.
Here's some log data, I'm sending from sample.mydomain.com to [EMAIL PROTECTED]
(which resolves to the internal IP):
2008-09-21 13:25:01 1KhSg8-0006xm-UP <= [EMAIL PROTECTED] H=sample.mydomain.com
(mydomain.com) [10.0.0.11] P=esmtp S=780 [EMAIL PROTECTED]
2008-09-21 13:25:01 1KhSg8-0006xm-UP ** [EMAIL PROTECTED]: Unrouteable address
2008-09-21 13:25:01 1KhSg9-0006xo-8S <= <> R=1KhSg8-0006xm-UP U=Debian-exim
P=local S=1583
2008-09-21 13:25:01 1KhSg8-0006xm-UP Completed
2008-09-21 13:25:01 1KhSg9-0006xo-8S => me <[EMAIL PROTECTED]> R=procmail
T=procmail_pipe
2008-09-21 13:25:01 1KhSg9-0006xo-8S Completed
Then this one is sent to just [EMAIL PROTECTED] (no domain):
2008-09-21 13:29:09 1KhSk9-0006yV-0C <= [EMAIL PROTECTED] H=sample.mydomain.com
(mydomain.com) [10.0.0.11] P=esmtp S=768 [EMAIL PROTECTED]
2008-09-21 13:29:09 1KhSk9-0006yV-0C ** [EMAIL PROTECTED]: Unrouteable address
2008-09-21 13:29:09 1KhSk9-0006yX-Aa <= <> R=1KhSk9-0006yV-0C U=Debian-exim
P=local S=1571
2008-09-21 13:29:09 1KhSk9-0006yV-0C Completed
2008-09-21 13:29:09 1KhSk9-0006yX-Aa => me <[EMAIL PROTECTED]> R=procmail
T=procmail_pipe
2008-09-21 13:29:09 1KhSk9-0006yX-Aa Completed
And finally one sent to just my username (me) with no host at all
2008-09-21 13:30:41 1KhSld-0006yj-Bh <= [EMAIL PROTECTED] H=sample.mydomain.com
(mydomain.com) [10.0.0.11] P=esmtp S=755 [EMAIL PROTECTED]
2008-09-21 13:30:41 1KhSld-0006yj-Bh ** [EMAIL PROTECTED]: Unrouteable address
2008-09-21 13:30:41 1KhSld-0006yl-Lv <= <> R=1KhSld-0006yj-Bh U=Debian-exim
P=local S=1534
2008-09-21 13:30:41 1KhSld-0006yj-Bh Completed
2008-09-21 13:30:41 1KhSld-0006yl-Lv => me <[EMAIL PROTECTED]> R=procmail
T=procmail_pipe
2008-09-21 13:30:41 1KhSld-0006yl-Lv Completed
Any ideas?
Thanks,
Alex
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/