On 03/28/2011 07:47 PM, Anne Wilson wrote:
Back in 2006 this list helped me set up Postfix on my server box in such a way that it separated local (LAN) mail from external mail, and it has worked well ever since. On my local boxes and laptops I set up transport in a very similar way, sending external mail to my ISP's smtp server, and sending LAN mail to my mail server box, where it was delivered to users' Inboxes.Now I want to extend that. Specifically I want to be able to run Logwatch on this laptop, for instance, and have the report go to the server box, and here I came unstuck. I have tried everything I can think of, but feel that I'm now thrashing about. My last effort was to set Transport to send everything to 192.168.0.40. When I ran Logwatch, this is what happened: The original message was received at Mon, 28 Mar 2011 14:17:49 +0100 from tosh [127.0.0.1] ----- The following addresses had permanent fatal errors ----- [email protected] (reason: 550 Host unknown) (expanded from:<[email protected]>) ----- Transcript of session follows ----- 550 5.1.2 [email protected]... Host unknown (Name server: 192.168.0.40: host not found)
This will be caused by not wrapping a literal IP address inside []: relayhost = [192.168.0.40]
Can you please help me find and fix the problem?
I doubt this is your real - or only - problem. Include postconf -n and relevant logs for more constructive help. -- J.
