On Mon, Apr 28, 2014 at 12:03:42AM +0200, Jaroslav Rakhmatoullin wrote:
> I am trying to set up e-mail delivery between a couple of hosts in my
> lan. So far, I am unable to get the "current" host to relay messages to
> its neighbour because the "infrastructure" fails to inform  smtpd (on
> current) about the MX record for the local neighbour domain. The local
> aliases for hosts are configured in /etc/hosts:
> 
>     10.3.0.3        tryggve.lan     try.lan tryggve  try
>     10.3.0.6        raptor.lan      rap.lan raptor   rap
> 
> Is there a way to configure opensmtpd to accept e-mails for hosts in
> /etc/hosts or for static IP addresses without setting up a DNS server
> with a real (or fake local) domain and an MX for that domain?
> 
> [...]
> 

SMTP relies on DNS lookup for the MX records, there is no way around and
there is no way around that ...

... however if you are on your LAN and you know what machines are acting
as MX you can use a "relay via" rule instead of a "relay" rule to bypass
the MX lookup and perform a direct connection.


-- 
Gilles Chehade

https://www.poolp.org                                          @poolpOrg

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to