著者: Alex Carver 日付: To: exim-users 題目: [exim] Sending mail directly to a smarthost
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 me@???, 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 me@??? (which resolves to the internal IP):