What does /var/log/maillog have to say?

On Tue, May 5, 2015 at 1:08 AM, Sean <spedersen.li...@gmail.com> wrote:

> Hi all,
>
> I’m at my wit’s end. Previously, nfsen was set up to use an external SMTP
> relay (Postfix) and it worked fine. I installed sendmail locally, tested
> and confirmed that it was functional, then switched over the $SMTP_SERVER
> to ‘localhost’. Once the change was made, nfsen could no longer send
> e-mails.
>
> Ex.
>
> $MAIL_FROM = ‘r...@host.example.com’;
> $SMTP_SERVER = ‘localhost’;
>
>
> I’ve tried multiple variations of the hostname, domain name, even
> replacing localhost with the FQDN of the host itself.
>
> sendmail is set up to allow connections from the local machine by default:
>
> Connect:localhost RELAY
> GreetPause:localhost 0
> ClientRate:localhost 0
> ClientConn:localhost 0
>
> Connect:127 RELAY
> GreetPause:127 0
> ClientRate:127 0
> ClientConn:127 0
>
>
> /etc/hosts should be correct:
>
> 127.0.0.1 localhost
> 127.0.1.1 example.com host
>
>
> I get an extremely generic failure message via /var/log/syslog:
>
> May  4 14:45:18 flowtool nfsen[799]: Alert 'test_alert' condition == true,
> condition counter: 1
> May  4 14:45:18 flowtool nfsen[799]: Alert 'test_alert' execute action
> May  4 14:45:18 flowtool nfsen[799]: alert 'test_alert' Send email to:
> t...@example.com
> May  4 14:45:19 flowtool nfsen[799]: alert 'test_alert' : Failed to send
> alert email to: t...@example.com
> May  4 14:45:19 flowtool nfsen[799]: Alert 'test_alert' Status: 5.
> May  4 14:45:19 flowtool nfsen[799]: Alert 'test_alert' Blocks: 0.
> May  4 14:45:19 flowtool nfsen[799]: Alert 'test_alert' Info  : .
> May  4 14:45:19 flowtool nfsen[799]: Alert 'test_alert' done.
>
>
> Looking at my sendmail logs, nfsen (and by extension, nfAlert.pm) is not
> even hitting sendmail. It’s failing somewhere else, but I can’t get any
> detailed logs to help me along. I tried to redirect STDOUT in nfAlert.pm,
> but no output was generated. I know outbound e-mail works since it’s fine
> with the external postfix box. I must be missing something stupid, but I
> can’t find anything to help me along in the mailing list archives or in
> general via Google.
>
> I was hoping someone here might have some past experience with nfsen and
> sendmail that would be willing to give me a hint.
>
> Thanks!
>
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Nfsen-discuss mailing list
> Nfsen-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
>
>
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to