[OmniOS-discuss] Ang: Re: Ang: Re: email notifications from SMF and FMA

Johan Kragsterman johan.kragsterman at capvert.se
Tue Sep 5 14:23:15 UTC 2017


Hi!

Of coarse, forgot to include list, haven't been using this in a while, therefore a bit rusty...




-----Doug Hughes <doug at will.to> skrev: -----
Till: Johan Kragsterman <johan.kragsterman at capvert.se>
Från: Doug Hughes <doug at will.to>
Datum: 2017-09-05 15:44
Ärende: Re: Ang: Re: [OmniOS-discuss] email notifications from SMF and FMA

Perhaps you meant to reply-all?

I don't know what SMF uses for sure, but I'd be surprised if it was not
the local mailer.

nullmailer seems like it would be a good choice, though it would require
some porting. postfix in relay mode would be very low overhead.





It is not really the overhead I am worrying about, it is an extra service that isn't needed, I want to remove every possible piece that can cause failure.

I'm sure someone on this list knows what SMF uses. And as well how to send mail from SMF to remote hosts as well, including auth.


BR Johan





On 9/5/2017 9:07 AM, Johan Kragsterman wrote:
> Hi!
>
> -----Doug Hughes <doug at will.to> skrev: -----
> Till: omnios-discuss <omnios-discuss at lists.omniti.com>, Johan Kragsterman <johan.kragsterman at capvert.se>
> Från: Doug Hughes <doug at will.to>
> Datum: 2017-09-05 14:28
> Ärende: Re: [OmniOS-discuss] email notifications from SMF and FMA
>
> - wouldn't it be easier to use your local MTA (postfix, sendmail) to do this? Then SMF just has to execute /bin/mail or equivalent and your MTA can act as an -
> - outbound relay agent.
>
>
>
>
>
> Yes, of coarse, but this is a SAN array controller, and if it is something I want to avoid, it is to run unnecessary services on a machine like that. I want to keep it as clean as possible.
>
> By the way, do someone know what SMF is using for sending mail? Is it good ol' mailx, or...?
>
> If I knew where to look, I'm sure I could fix it, since I know how to send mail with mailx to remote hosts.
>
>
>
> BR Johan
>
>
>
>
>
>
>
> Sent from my android device.
>
> -----Original Message-----
> From: Johan Kragsterman <johan.kragsterman at capvert.se>
> To: omnios-discuss <omnios-discuss at lists.omniti.com>
> Sent: Tue, 05 Sep 2017 3:44
> Subject: [OmniOS-discuss] email notifications from SMF and FMA
>
> Hi!
>
>
> I need to send mails from SMF to a remote SMTP server, and want/need to include auth credentials.
>
> I know how to use the SMF service to send the mail.
>
> I know how to get the user/passwd into encode_base64, but how do I pass it on to the mail? As well as the port. I guess the port would look like this: root at mailserver.com:465, would it?
>
> But the rest...?
>
> I've seen Peter Tribble been blogging about these features, but not exactly how it would look like to pass on the credentials to your mail.
>
>
> Best regards from/Med vänliga hälsningar från
>
> Johan Kragsterman
>
> Capvert
>
>
>








More information about the OmniOS-discuss mailing list