Results 1 to 2 of 2

Thread: Zimbra on AWS and integration with SES

  1. #1
    digitalwizy's Avatar
    digitalwizy is offline New Member
    Join Date
    Dec 2013
    Location
    India
    Posts
    3
    Rep Power
    1

    Angry Zimbra on AWS and integration with SES

    I have used following to configure SMTP Relay on Zimbra
    Outgoing SMTP Authentication - Zimbra :: Wiki

    postconf -e smtp_sasl_authentication_filter=
    postconf -e smtp_sasl_security_options=

    Zimbra 8.0.6 on Ubuntu x64 on EC2 Large Instance
    I am getting following error in zimbra log

    9A79410E17F2: SASL authentication failed; cannot authenticate to server email-smtp.us-east-1.amazonaws.com[107.21.244.69]: no mechanism available

    Dec 26 16:41:39 mail postfix/smtp[14974]: starting new SASL client
    Dec 26 16:41:39 mail postfix/smtp[14974]: name_mask: noplaintext
    Dec 26 16:41:39 mail postfix/smtp[14974]: name_mask: noanonymous
    Dec 26 16:41:39 mail postfix/smtp[14974]: smtp_sasl_authenticate: email-smtp.us-east-1.amazonaws.com[107.21.244.69]:25: SASL mechanisms PLAIN LOGIN
    Dec 26 16:41:39 mail postfix/smtp[14974]: warning: SASL authentication failure: No worthy mechs found
    Dec 26 16:41:39 mail postfix/smtp[14974]: 9A79410E17F2: SASL authentication failed; cannot authenticate to server email-smtp.us-east-1.amazonaws.com[107.21.244.69]: no mechanism available
    Dec 26 16:41:39 mail postfix/smtp[14974]: smtp_stream_setup: maxtime=300 enable_deadline=0
    Dec 26 16:41:39 mail postfix/smtp[14974]: > email-smtp.us-east-1.amazonaws.com[107.21.244.69]:25: QUIT
    Dec 26 16:41:39 mail postfix/smtp[14974]: name_mask: resource
    Dec 26 16:41:39 mail postfix/smtp[14974]: name_mask: software
    Dec 26 16:41:39 mail postfix/smtp[14974]: vstream_fflush_some: fd 17 flush 6
    Dec 26 16:41:39 mail postfix/smtp[14974]: vstream_fflush_some: fd 17 flush 0
    Dec 26 16:41:39 mail postfix/smtp[14974]: disposing SASL state information
    Dec 26 16:41:40 mail postfix/smtp[14974]: smtp_stream_setup: maxtime=300 enable_deadline=0
    Dec 26 16:41:40 mail postfix/smtp[14974]: vstream_buf_get_ready: fd 17 got 65
    Dec 26 16:41:40 mail postfix/smtp[14974]: < email-smtp.us-east-1.amazonaws.com[54.243.161.229]:25: 220 email-smtp.amazonaws.com ESMTP SimpleEmailService-600381385
    Dec 26 16:41:40 mail postfix/smtp[14974]: > email-smtp.us-east-1.amazonaws.com[54.243.161.229]:25: EHLO mail.kesaritours.in
    Dec 26 16:41:40 mail postfix/smtp[14974]: vstream_fflush_some: fd 17 flush 26
    Dec 26 16:41:40 mail postfix/smtp[14974]: vstream_buf_get_ready: fd 17 got 107
    Dec 26 16:41:40 mail postfix/smtp[14974]: < email-smtp.us-east-1.amazonaws.com[54.243.161.229]:25: 250-email-smtp.amazonaws.com
    Dec 26 16:41:40 mail postfix/smtp[14974]: < email-smtp.us-east-1.amazonaws.com[54.243.161.229]:25: 250-8BITMIME
    Dec 26 16:41:40 mail postfix/smtp[14974]: < email-smtp.us-east-1.amazonaws.com[54.243.161.229]:25: 250-SIZE 10485760
    Dec 26 16:41:40 mail postfix/smtp[14974]: < email-smtp.us-east-1.amazonaws.com[54.243.161.229]:25: 250-STARTTLS
    Dec 26 16:41:40 mail postfix/smtp[14974]: < email-smtp.us-east-1.amazonaws.com[54.243.161.229]:25: 250-AUTH PLAIN LOGIN
    Dec 26 16:41:40 mail postfix/smtp[14974]: < email-smtp.us-east-1.amazonaws.com[54.243.161.229]:25: 250 Ok
    Dec 26 16:41:40 mail postfix/smtp[14974]: server features: 0x103b size 10485760
    Dec 26 16:41:40 mail postfix/smtp[14974]: smtp_stream_setup: maxtime=300 enable_deadline=0
    Dec 26 16:41:40 mail postfix/smtp[14974]: > email-smtp.us-east-1.amazonaws.com[54.243.161.229]:25: STARTTLS
    Dec 26 16:41:40 mail postfix/smtp[14974]: vstream_fflush_some: fd 17 flush 10
    Dec 26 16:41:40 mail postfix/smtp[14974]: vstream_buf_get_ready: fd 17 got 24
    Dec 26 16:41:40 mail postfix/smtp[14974]: < email-smtp.us-east-1.amazonaws.com[54.243.161.229]:25: 220 Ready to start TLS
    Dec 26 16:41:40 mail postfix/smtp[14974]: event_request_timer: reset 0x433820 0x15fa680 5
    Dec 26 16:41:40 mail postfix/smtp[14974]: send attr request = seed
    Dec 26 16:41:40 mail postfix/smtp[14974]: send attr size = 32
    Dec 26 16:41:40 mail postfix/smtp[14974]: vstream_fflush_some: fd 9 flush 22
    Dec 26 16:41:40 mail postfix/smtp[14974]: vstream_buf_get_ready: fd 9 got 60
    Dec 26 16:41:40 mail postfix/smtp[14974]: private/tlsmgr: wanted attribute: status
    Dec 26 16:41:40 mail postfix/smtp[14974]: input attribute name: status
    Dec 26 16:41:40 mail postfix/smtp[14974]: input attribute value: 0
    Dec 26 16:41:40 mail postfix/smtp[14974]: private/tlsmgr: wanted attribute: seed
    Dec 26 16:41:40 mail postfix/smtp[14974]: input attribute name: seed
    Dec 26 16:41:40 mail postfix/smtp[14974]: input attribute value: DR2yvVrpM8m3CMgPS9xLzW1+AQ8+dLtm9NW+u4JFmGQ=
    Dec 26 16:41:40 mail postfix/smtp[14974]: private/tlsmgr: wanted attribute: (list terminator)
    Dec 26 16:41:40 mail postfix/smtp[14974]: input attribute name: (end)
    Dec 26 16:41:41 mail postfix/smtp[14974]: smtp_stream_setup: maxtime=300 enable_deadline=0
    Dec 26 16:41:41 mail postfix/smtp[14974]: > email-smtp.us-east-1.amazonaws.com[54.243.161.229]:25: EHLO mail.kesaritours.in
    Dec 26 16:41:41 mail postfix/smtp[14974]: vstream_fflush_some: fd 17 flush 26
    Dec 26 16:41:41 mail postfix/smtp[14974]: vstream_buf_get_ready: fd 17 got 107
    Dec 26 16:41:41 mail postfix/smtp[14974]: < email-smtp.us-east-1.amazonaws.com[54.243.161.229]:25: 250-email-smtp.amazonaws.com
    Dec 26 16:41:41 mail postfix/smtp[14974]: < email-smtp.us-east-1.amazonaws.com[54.243.161.229]:25: 250-8BITMIME
    Dec 26 16:41:41 mail postfix/smtp[14974]: < email-smtp.us-east-1.amazonaws.com[54.243.161.229]:25: 250-SIZE 10485760
    Dec 26 16:41:41 mail postfix/smtp[14974]: < email-smtp.us-east-1.amazonaws.com[54.243.161.229]:25: 250-STARTTLS
    Dec 26 16:41:41 mail postfix/smtp[14974]: < email-smtp.us-east-1.amazonaws.com[54.243.161.229]:25: 250-AUTH PLAIN LOGIN
    Dec 26 16:41:41 mail postfix/smtp[14974]: < email-smtp.us-east-1.amazonaws.com[54.243.161.229]:25: 250 Ok
    Dec 26 16:41:41 mail postfix/smtp[14974]: server features: 0x103b size 10485760
    Dec 26 16:41:41 mail postfix/smtp[14974]: maps_find: smtp_sasl_passwd: hash:/opt/zimbra/conf/relay_password(0,lock|fold_fix): email-smtp.us-east-1.amazonaws.com = <user>:<pass>
    Dec 26 16:41:41 mail postfix/smtp[14974]: smtp_sasl_passwd_lookup: host `email-smtp.us-east-1.amazonaws.com' user `<username>' pass `<pass>'
    Dec 26 16:41:41 mail postfix/smtp[14974]: starting new SASL client
    Dec 26 16:41:41 mail postfix/smtp[14974]: name_mask: noplaintext
    Dec 26 16:41:41 mail postfix/smtp[14974]: name_mask: noanonymous
    Dec 26 16:41:41 mail postfix/smtp[14974]: smtp_sasl_authenticate: email-smtp.us-east-1.amazonaws.com[54.243.161.229]:25: SASL mechanisms PLAIN LOGIN
    Dec 26 16:41:41 mail postfix/smtp[14974]: warning: SASL authentication failure: No worthy mechs found
    Dec 26 16:41:41 mail postfix/smtp[14974]: 9A79410E17F2: SASL authentication failed; cannot authenticate to server email-smtp.us-east-1.amazonaws.com[54.243.161.229]: no mechanism available
    Dec 26 16:41:41 mail postfix/smtp[14974]: smtp_stream_setup: maxtime=300 enable_deadline=0
    Dec 26 16:41:41 mail postfix/smtp[14974]: > email-smtp.us-east-1.amazonaws.com[54.243.161.229]:25: QUIT
    Dec 26 16:41:41 mail postfix/smtp[14974]: name_mask: resource
    Dec 26 16:41:41 mail postfix/smtp[14974]: name_mask: software
    Dec 26 16:41:41 mail postfix/smtp[14974]: vstream_fflush_some: fd 17 flush 6
    Dec 26 16:41:41 mail postfix/smtp[14974]: vstream_fflush_some: fd 17 flush 0
    Dec 26 16:41:41 mail postfix/smtp[14974]: disposing SASL state information
    Dec 26 16:41:55 mail zmconfigd[17747]: Fetching All configs
    Dec 26 16:41:55 mail zmconfigd[17747]: All configs fetched in 0.08 seconds
    Dec 26 16:41:58 mail zmconfigd[17747]: Watchdog: service antivirus status is OK.
    Dec 26 16:41:58 mail zmconfigd[17747]: All rewrite threads completed in 0.00 sec
    Dec 26 16:41:58 mail zmconfigd[17747]: All restarts completed in 0.00 sec
    Dec 26 16:42:11 mail postfix/smtp[14974]: connect to email-smtp.us-east-1.amazonaws.com[23.21.91.54]:25: Connection timed out
    Dec 26 16:42:41 mail postfix/smtp[14974]: connect to email-smtp.us-east-1.amazonaws.com[54.243.77.245]:25: Connection timed out
    Dec 26 16:42:41 mail postfix/smtp[14974]: 9A79410E17F2: to=<bheroor@hotmail.com>, relay=none, delay=66, delays=0.01/0.05/66/0, dsn=4.4.1, status=deferred (connect to email-smtp.us-east-1.amazonaws.com[54.243.77.245]:25: Connection timed out)
    Dec 26 16:42:58 mail zmconfigd[17747]: Fetching All configs
    Dec 26 16:42:58 mail zmconfigd[17747]: All configs fetched in 0.07 seconds
    Dec 26 16:43:01 mail zmconfigd[17747]: Watchdog: service antivirus status is OK.
    Dec 26 16:43:01 mail zmconfigd[17747]: All rewrite threads completed in 0.01 sec
    Dec 26 16:43:01 mail zmconfigd[17747]: All restarts completed in 0.00 sec
    Dec 26 16:44:01 mail zmconfigd[17747]: Fetching All configs
    Dec 26 16:44:01 mail zmconfigd[17747]: All configs fetched in 0.13 seconds
    Dec 26 16:44:07 mail zmconfigd[17747]: Watchdog: service antivirus status is OK.
    Dec 26 16:44:07 mail zmconfigd[17747]: All rewrite threads completed in 0.00 sec
    Dec 26 16:44:07 mail zmconfigd[17747]: All restarts completed in 0.00 sec
    Dec 26 16:45:07 mail zmconfigd[17747]: Fetching All configs
    Dec 26 16:45:07 mail zmconfigd[17747]: All configs fetched in 0.07 seconds
    Dec 26 16:45:10 mail zmconfigd[17747]: Watchdog: service antivirus status is OK.
    Dec 26 16:45:10 mail zmconfigd[17747]: All rewrite threads completed in 0.00 sec
    Dec 26 16:45:10 mail zmconfigd[17747]: All restarts completed in 0.00 sec
    Dec 26 16:45:49 mail postfix/qmgr[14701]: A936110E1568: from=<holidays@kesaritours.in>, size=1565, nrcpt=1 (queue active)
    Dec 26 16:45:49 mail postfix/qmgr[14701]: A3DCE10E17EB: from=<holidays@kesaritours.in>, size=1565, nrcpt=1 (queue active)
    Dec 26 16:45:49 mail postfix/smtp[16722]: smtp_stream_setup: maxtime=300 enable_deadline=0
    Dec 26 16:45:49 mail postfix/smtp[16722]: vstream_buf_get_ready: fd 17 got 65
    Dec 26 16:45:49 mail postfix/smtp[16722]: < email-smtp.us-east-1.amazonaws.com[50.19.243.215]:25: 220 email-smtp.amazonaws.com ESMTP SimpleEmailService-600381385
    Dec 26 16:45:49 mail postfix/smtp[16722]: > email-smtp.us-east-1.amazonaws.com[50.19.243.215]:25: EHLO mail.kesaritours.in
    Dec 26 16:45:49 mail postfix/smtp[16722]: vstream_fflush_some: fd 17 flush 26
    Dec 26 16:45:49 mail postfix/smtp[16722]: vstream_buf_get_ready: fd 17 got 107
    Dec 26 16:45:49 mail postfix/smtp[16722]: < email-smtp.us-east-1.amazonaws.com[50.19.243.215]:25: 250-email-smtp.amazonaws.com
    Dec 26 16:45:49 mail postfix/smtp[16722]: < email-smtp.us-east-1.amazonaws.com[50.19.243.215]:25: 250-8BITMIME
    Dec 26 16:45:49 mail postfix/smtp[16722]: < email-smtp.us-east-1.amazonaws.com[50.19.243.215]:25: 250-SIZE 10485760
    Dec 26 16:45:49 mail postfix/smtp[16722]: < email-smtp.us-east-1.amazonaws.com[50.19.243.215]:25: 250-STARTTLS
    Dec 26 16:45:49 mail postfix/smtp[16722]: < email-smtp.us-east-1.amazonaws.com[50.19.243.215]:25: 250-AUTH PLAIN LOGIN
    Dec 26 16:45:49 mail postfix/smtp[16722]: < email-smtp.us-east-1.amazonaws.com[50.19.243.215]:25: 250 Ok
    Dec 26 16:45:49 mail postfix/smtp[16722]: server features: 0x103b size 10485760
    Dec 26 16:45:49 mail postfix/smtp[16722]: smtp_stream_setup: maxtime=300 enable_deadline=0
    Dec 26 16:45:49 mail postfix/smtp[16722]: > email-smtp.us-east-1.amazonaws.com[50.19.243.215]:25: STARTTLS
    Dec 26 16:45:49 mail postfix/smtp[16722]: vstream_fflush_some: fd 17 flush 10
    Dec 26 16:45:50 mail postfix/smtp[16722]: vstream_buf_get_ready: fd 17 got 24
    Dec 26 16:45:50 mail postfix/smtp[16722]: < email-smtp.us-east-1.amazonaws.com[50.19.243.215]:25: 220 Ready to start TLS
    Dec 26 16:45:50 mail postfix/smtp[16722]: event_request_timer: reset 0x433820 0x12eb680 5
    Dec 26 16:45:50 mail postfix/smtp[16722]: send attr request = seed
    Dec 26 16:45:50 mail postfix/smtp[16722]: send attr size = 32
    Dec 26 16:45:50 mail postfix/smtp[16722]: vstream_fflush_some: fd 9 flush 22
    Dec 26 16:45:50 mail postfix/smtp[16722]: vstream_buf_get_ready: fd 9 got 60
    Dec 26 16:45:50 mail postfix/smtp[16722]: private/tlsmgr: wanted attribute: status
    Dec 26 16:45:50 mail postfix/smtp[16722]: input attribute name: status
    Dec 26 16:45:50 mail postfix/smtp[16722]: input attribute value: 0
    Dec 26 16:45:50 mail postfix/smtp[16722]: private/tlsmgr: wanted attribute: seed
    Dec 26 16:45:50 mail postfix/smtp[16722]: input attribute name: seed
    Dec 26 16:45:50 mail postfix/smtp[16722]: input attribute value: XEQDanJi8KYiPd0j3Fo52iXolcXi8AtmhQMSMshO0RE=
    Dec 26 16:45:50 mail postfix/smtp[16722]: private/tlsmgr: wanted attribute: (list terminator)
    Dec 26 16:45:50 mail postfix/smtp[16722]: input attribute name: (end)
    Dec 26 16:45:50 mail postfix/smtp[16722]: smtp_stream_setup: maxtime=300 enable_deadline=0
    Dec 26 16:45:50 mail postfix/smtp[16722]: > email-smtp.us-east-1.amazonaws.com[50.19.243.215]:25: EHLO mail.kesaritours.in
    Dec 26 16:45:50 mail postfix/smtp[16722]: vstream_fflush_some: fd 17 flush 26
    Dec 26 16:45:50 mail postfix/smtp[16722]: vstream_buf_get_ready: fd 17 got 107
    Dec 26 16:45:50 mail postfix/smtp[16722]: < email-smtp.us-east-1.amazonaws.com[50.19.243.215]:25: 250-email-smtp.amazonaws.com
    Dec 26 16:45:50 mail postfix/smtp[16722]: < email-smtp.us-east-1.amazonaws.com[50.19.243.215]:25: 250-8BITMIME
    Dec 26 16:45:50 mail postfix/smtp[16722]: < email-smtp.us-east-1.amazonaws.com[50.19.243.215]:25: 250-SIZE 10485760
    Dec 26 16:45:50 mail postfix/smtp[16722]: < email-smtp.us-east-1.amazonaws.com[50.19.243.215]:25: 250-STARTTLS
    Dec 26 16:45:50 mail postfix/smtp[16722]: < email-smtp.us-east-1.amazonaws.com[50.19.243.215]:25: 250-AUTH PLAIN LOGIN
    Dec 26 16:45:50 mail postfix/smtp[16722]: < email-smtp.us-east-1.amazonaws.com[50.19.243.215]:25: 250 Ok
    Dec 26 16:45:50 mail postfix/smtp[16722]: server features: 0x103b size 10485760
    Dec 26 16:45:50 mail postfix/smtp[16722]: maps_find: smtp_sasl_passwd: hash:/opt/zimbra/conf/relay_password(0,lock|fold_fix): email-smtp.us-east-1.amazonaws.com = <UserName>:<Password>
    Dec 26 16:45:50 mail postfix/smtp[16722]: smtp_sasl_passwd_lookup: host `email-smtp.us-east-1.amazonaws.com' user `<username>' pass `<pass>'
    Dec 26 16:45:50 mail postfix/smtp[16722]: starting new SASL client
    Dec 26 16:45:50 mail postfix/smtp[16722]: name_mask: noplaintext
    Dec 26 16:45:50 mail postfix/smtp[16722]: name_mask: noanonymous
    Dec 26 16:45:50 mail postfix/smtp[16722]: smtp_sasl_authenticate: email-smtp.us-east-1.amazonaws.com[50.19.243.215]:25: SASL mechanisms PLAIN LOGIN
    Dec 26 16:45:50 mail postfix/smtp[16722]: warning: SASL authentication failure: No worthy mechs found
    Dec 26 16:45:50 mail postfix/smtp[16722]: A936110E1568: SASL authentication failed; cannot authenticate to server email-smtp.us-east-1.amazonaws.com[50.19.243.215]: no mechanism available
    Dec 26 16:45:50 mail postfix/smtp[16722]: smtp_stream_setup: maxtime=300 enable_deadline=0
    Dec 26 16:45:50 mail postfix/smtp[16722]: > email-smtp.us-east-1.amazonaws.com[50.19.243.215]:25: QUIT
    Dec 26 16:45:50 mail postfix/smtp[16722]: name_mask: resource
    Dec 26 16:45:50 mail postfix/smtp[16722]: name_mask: software
    Dec 26 16:45:50 mail postfix/smtp[16722]: vstream_fflush_some: fd 17 flush 6
    Dec 26 16:45:51 mail postfix/smtp[16722]: vstream_fflush_some: fd 17 flush 0
    Dec 26 16:45:51 mail postfix/smtp[16722]: disposing SASL state information
    Dec 26 16:46:10 mail zmconfigd[17747]: Fetching All configs
    Dec 26 16:46:10 mail zmconfigd[17747]: All configs fetched in 0.13 seconds
    Dec 26 16:46:15 mail zmconfigd[17747]: Watchdog: service antivirus status is OK.
    Dec 26 16:46:15 mail zmconfigd[17747]: All rewrite threads completed in 0.01 sec
    Dec 26 16:46:15 mail zmconfigd[17747]: All restarts completed in 0.00 sec
    Dec 26 16:46:19 mail postfix/smtp[16723]: connect to email-smtp.us-east-1.amazonaws.com[54.243.161.229]:25: Connection timed out
    Dec 26 16:46:21 mail postfix/smtp[16722]: connect to email-smtp.us-east-1.amazonaws.com[54.243.77.245]:25: Connection timed out


    Please Help!!

  2. #2
    digitalwizy's Avatar
    digitalwizy is offline New Member
    Join Date
    Dec 2013
    Location
    India
    Posts
    3
    Rep Power
    1

    Default

    Issue Resolved !!
    Following commands after Outgoing SMTP Authentication - Zimbra :: Wiki
    (First Section before troubleshooting)

    zmlocalconfig -e postfix_smtp_sasl_auth_enable= yes
    zmlocalconfig -e postfix_smtp_sasl_security_options=noanonymous
    zmlocalconfig -e postfix_smtp_use_tls = yes
    zmlocalconfig -e postfix_smtp_tls_security_level = encrypt
    zmlocalconfig -e postfix_smtp_tls_note_starttls_offer = yes
    zmlocalconfig -e postfix_smtp_sasl_authentication_filter=

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Zimbra Integration with ASP.NET
    By blason in forum Administrators
    Replies: 1
    Last Post: 12-26-2013, 10:14 PM
  2. Zimbra Integration with AD
    By mrsaqib in forum Administrators
    Replies: 5
    Last Post: 10-04-2009, 11:53 AM
  3. Regarding the Integration of Zimbra & Php
    By kunal123 in forum Developers
    Replies: 1
    Last Post: 10-12-2008, 06:41 AM
  4. Zimbra CRM integration
    By bramm in forum Administrators
    Replies: 5
    Last Post: 09-03-2008, 09:20 AM
  5. integration with Zimbra
    By abdbari in forum Migration
    Replies: 0
    Last Post: 02-24-2008, 08:29 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •