Sendmail help

Justin Krejci jus at krytosvirus.com
Sun Jul 16 22:36:50 PDT 2006


On Sunday 16 July 2006 02:56 pm, Martin Schröder wrote:
> Hi,
> if this a FAQ, a pointer is welcome.
>
> I'm trying to get a machine w.x.y.z behind a NATting 3.9 fw with
> dyndns to receive from outside (sending is already possible).
>
> Idea: The fw has a dyndns a.b.c.d with mx pointing to another dynds
> b.c.d.e for the same machine, so the mail reaches the fw.
>
> How do I tell the sendmail on the fw to send mail it receives for
> a.b.c.d to w.x.y.z? After entering a.b.c.d into
> /etc/mail/relay-domains it accepts the mail, but then tries the mx for
> a.b.c.d, which is not very helpfull (since it points to itself). An
> entry in /etc/hosts exists pointing a.b.c.d to w.x.y.z
>
> Thanks in advance
>    Martin

Sounds like you want some sendmail configuration help.

Search for this text - 18.8.3. Using a Smart Host
on this page - http://www.faqs.org/docs/linux_network/x15291.html

Shortcut addition to your sendmail.mc
define(`SMART_HOST', `w.x.y.z')


More information about the Openbsd-newbies mailing list