Am 18.01.2013 11:17, schrieb Adri van Loopik:
> Hallo,
> 
> As an amateur I am playing with configuring email on a Linux  box (Ubuntu 
> 12.04 LTS Server).
> 
> I was able to send mail DIRECTLY to the internet, but of course I ran into 
> the problem of spamhouse etc. So it
> seems clear that I absolutely need to use a relayhost. This works perfectly, 
> the Linux box can send mail
> indirectly  -  via the smtp server provided by my ISP  - to internet 
> addresses.
> 
> But when relayhost is defined, mail to other hosts on my LAN does not go 
> through.
> 
> If 'relayhost = smtp.myisp.nl <http://smtp.myisp.nl>' is conmmented out, 
> email again goes through to the other hosts.
> 
> MY QUESTION: is it simply the case that when in '/etc/postfix/main.cf 
> <http://main.cf>' a relayhost is defined, ALL
> MAIL goes to that relay host?

what about the manual?
http://www.postfix.org/postconf.5.html#relayhost

what else should postfix do if you only say "relay to host xyz"?

The next-hop destination of non-local mail; overrides non-local domains in
recipient addresses. This information is overruled with relay_transport,
sender_dependent_default_transport_maps, default_transport,
sender_dependent_relayhost_maps and with the transport(5) table.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to