[OpenIndiana-discuss] sendmail simple setup home lan

Discussion list for OpenIndiana openindiana-discuss at openindiana.org
Wed May 21 17:04:39 UTC 2014


Discussion list for OpenIndiana <openindiana-discuss at openindiana.org>
writes:

> Le 2014/05/21 17:26 +0200, Discussion List For Openindiana a écrit:
>> The goal is to send any outgoing mail to another host on my home lan
>> that relays it on.  The lan host requires no auth and accepts mail
>> from my lan.
>
> Easy. In a sendmail way of things.
> There are a couple of things , explained below.
>
>> A further goal is to be able to get mail by means of fetchmail... when
>> required which will be seldom.
>
> I don't know fetchmail at all, so I'll leave this one to others :-)

I was just stating the whole picture... I don't need help with
fetchmail.  Thanks.


>>    dnl define(`SMART_HOST', '[smtp.local.lan]')dnl
>>    dnl define(`SMART_HOST', '[192.168.1.42]')dnl
>>    define(`SMART_HOST', '192.168.1.42')dnl
>
> That should be
> define(`SMART_HOST', `smtp.local.lan]')dnl

> or
> define(`SMART_HOST', `192.168.1.42')dnl

Man that is just pathetic... and I even looked at that and went back to
the source where I copy pasted from and then edited... so it was my
own dumb hand that did the dirt.  And then of course, every copy paste
there after did the mischief. 

Thank you sir...

  Yahooo and away she goes .....

  May 21 12:54:22 oi sendmail[2144]: [ID 702911 mail.info]
  STARTTLS=client, relay=[192.168.1.42], version=TLSv1/SSLv3,
  verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
  
  May 21 12:54:22 oi sendmail[2144]: [ID 801593 mail.info]
  s4LGsKDQ002144: to=deleteme at newsguy.com,
  ctladdr=reader (1000/1050), delay=00:00:02, xdelay=00:00:00,
  mailer=relay, pri=30056, relay=[192.168.1.42] [192.168.1.42],
  dsn=2.0.0, stat=Sent (s4LGrCcL007928 Message accepted for
  delivery)
  

[...]

> On Solaris and its descendants, by default, Sendmail follows nsswitch
> (which is the opposite of eg, the default Sendmail configuration on
> RHEL). So no worries there.
>
> There is one more thing: SMART_HOST is probably not what you want. It
> is used only for destinations which *do not* resolve. Ie, if you send
> to login at example.com, and your system can request DNS for that domain,
> then it will try to send the email directly, without using the
> SMART_HOST.
>
> What I use is both those lines:
> define(`MAIL_HUB', `mail.gateway.')dnl
> define(`SMART_HOST', `mail.gateway.')dnl

I don't think I really followed that.  Need to do some reading.
But it appears on the surface that both things to send to the same
place ... eh?

Thanks again.




More information about the openindiana-discuss mailing list