I setup a nagios system and i'm trying to use postfix to relay the
notifications through our google apps setup to our group.
I have turned debugging 3 on but i'm still not quite sure what to make
of the results:

>> Feb 11 18:23:18 nagios postfix/smtp[22559]: flush_add: site powerdnn.com id 
>> 261085EEB34
>> Feb 11 18:23:18 nagios postfix/smtp[22559]: match_list_match: powerdnn.com: 
>> no match
>> Feb 11 18:23:18 nagios postfix/smtp[22559]: flush_add: site powerdnn.com id 
>> 261085EEB34 status 4
>> Feb 11 18:23:18 nagios postfix/smtp[22559]: > smtp.gmail.com[74.125.47.109]: 
>> QUIT
>> Feb 11 18:23:18 nagios postfix/smtp[22559]: name_mask: resource
>> Feb 11 18:23:18 nagios postfix/smtp[22559]: name_mask: software
>> Feb 11 18:23:18 nagios postfix/smtp[22559]: vstream_fflush_some: fd 14 flush 
>> 6
>> Feb 11 18:23:18 nagios postfix/smtp[22559]: vstream_fflush_some: fd 14 flush >> 0
>> Feb 11 18:23:18 nagios postfix/smtp[22559]: disposing SASL state information
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: vstream_buf_get_ready: fd 14 got 
>> 30
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: < smtp.gmail.com[74.125.47.109]: 
>> 220 2.0.0 Ready to start TLS
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: event_request_timer: reset 
>> 0x2b7516f42d80 0x2b75300f66a0 100
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: send attr request = lookup
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: send attr cache_type = smtp
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: send attr cache_id = 
>> smtp:74.125.47.109:587:mx.google.com
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: vstream_fflush_some: fd 9 flush 
>> 78
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: private/tlsmgr: wanted 
>> attribute: status
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: vstream_buf_get_ready: fd 9 got 
>> 28
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: input attribute name: status
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: input attribute value: 4294967294
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: private/tlsmgr: wanted 
>> attribute: session
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: input attribute name: session
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: input attribute value: (end)
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: private/tlsmgr: wanted 
>> attribute: (list terminator)
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: input attribute name: (end)
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: event_request_timer: reset 
>> 0x2b7516f42d80 0x2b75300f66a0 100
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: send attr request = seed
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: send attr size = 32
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: vstream_fflush_some: fd 9 flush 
>> 22
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: private/tlsmgr: wanted 
>> attribute: status
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: vstream_buf_get_ready: fd 9 got 
>> 60
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: input attribute name: status
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: input attribute value: 0
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: private/tlsmgr: wanted 
>> attribute: seed
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: input attribute name: seed
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: input attribute value: 
>> otVwJ/tS/cmnV4KewvLuwBbNRdm3oeqKcxK6rybd2nc=
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: private/tlsmgr: wanted 
>> attribute: (list terminator)
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: input attribute name: (end)
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: certificate verification failed 
>> for smtp.gmail.com: num=20:unable to get local issuer certificate
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: certificate verification failed 
>> for smtp.gmail.com: num=27:certificate not trusted
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: certificate verification failed 
>> for smtp.gmail.com: num=21:unable to verify the first certificate
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: > smtp.gmail.com[74.125.47.109]: 
>> EHLO monitor.powerdnn.com
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: vstream_fflush_some: fd 14 flush 
>> 27
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: vstream_buf_get_ready: fd 14 got 
>> 148
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: < smtp.gmail.com[74.125.47.109]: 
>> 250-mx.google.com at your service, [70.184.222.17]
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: < smtp.gmail.com[74.125.47.109]: 
>> 250-SIZE 35651584
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: < smtp.gmail.com[74.125.47.109]: 
>> 250-8BITMIME
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: < smtp.gmail.com[74.125.47.109]: 
>> 250-AUTH LOGIN PLAIN
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: < smtp.gmail.com[74.125.47.109]: 
>> 250-ENHANCEDSTATUSCODES
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: < smtp.gmail.com[74.125.47.109]: 
>> 250 PIPELINING
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: server features: 0x102f size 
>> 35651584
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: Using ESMTP PIPELINING, TCP send 
>> buffer size is 4096
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: maps_find: smtp_sasl_passwd: 
>> hash:/etc/postfix/sasl_passwd(0,lock|fold_fix): smtp.gmail.com = 
>> USERNAME:PASSWORD
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: smtp_sasl_passwd_lookup: host 
>> `smtp.gmail.com' user `USERNAME' pass `PASSWORD'
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: starting new SASL client
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: name_mask: noanonymous
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: smtp_sasl_authenticate: 
>> smtp.gmail.com[74.125.47.109]: SASL mechanisms LOGIN PLAIN
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: warning: SASL authentication 
>> failure: No worthy mechs found
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: connect to subsystem 
>> private/defer
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: send attr nrequest = 0
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: send attr flags = 0
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: send attr queue_id = 83BA05EE905
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: send attr original_recipient = 
>> jay.ben...@powerdnn.com
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: send attr recipient = 
>> jay.ben...@powerdnn.com
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: send attr offset = 180
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: send attr dsn_orig_rcpt =
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: send attr notify_flags = 0
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: send attr status = 4.7.0
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: send attr diag_type = x-sasl
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: send attr diag_text = no 
>> mechanism available
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: send attr mta_type =
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: send attr mta_mname =
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: send attr action = delayed
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: send attr reason = SASL 
>> authentication failed; cannot authenticate to server 
>> smtp.gmail.com[74.125.47.109]: no mechanism available
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: private/defer socket: wanted 
>> attribute: status
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: vstream_fflush_some: fd 15 flush 
>> 377
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: vstream_buf_get_ready: fd 15 got 
>> 10
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: input attribute name: status
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: input attribute value: 0
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: private/defer socket: wanted 
>> attribute: (list terminator)
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: input attribute name: (end)
>> Feb 11 18:23:18 nagios postfix/smtp[22560]: 83BA05EE905: 
>> to=<jay.ben...@powerdnn.com>, relay=smtp.gmail.com[74.125.47.109]:587, 
>> delay=1526, delays=1526/0.04/0.78/0, dsn=4.7.0, status=deferred (SASL 
>> authentication failed; cannot authenticate to server 
>> smtp.gmail.com[74.125.47.109]: no mechanism available)


-- Always glad to help,
--Jay Bendon - Bendon Consults

Reply via email to