Note that there are some explanatory texts on larger screens.

plurals
  1. POsendmail unable to send email through google using my google app id
    text
    copied!<p>I use sendmail to send emails from my ruby-on-rails app. I used this awesome guide <a href="http://network-13.com/thread/1718-Sendmail-smtp-relay-gmail-google-apps" rel="nofollow">http://network-13.com/thread/1718-Sendmail-smtp-relay-gmail-google-apps</a> to set up sendmail and relay messages through gmail. </p> <p>However I faced the following problem: whenever I use my gmail username in account-info file, emails are sent but when I replace my gmail username with my google app email (robot@MY_DOMAIN.com), I get the following error trying to send email:</p> <p>r 4 05:21:51 DOMAIN sendmail[3985]: q245Lp49003985: Authentication-Warning: DOMAIN.org: ec2-user set sender to robot@DOMAIN.org using -f</p> <p>Mar 4 05:21:52 DOMAIN sendmail[3985]: q245Lp49003985: from=robot@DOMAIN.org, size=711, class=0, nrcpts=1, msgid=&lt;4f52fbefc16ee_598b2d28467799@DOMAIN.org.mail>, relay=ec2-user@localhost</p> <p>Mar 4 05:21:52 DOMAIN sendmail[3988]: q245LqEQ003988: from=, size=969, class=0, nrcpts=1, msgid=&lt;4f52fbefc16ee_598b2d28467799@DOMAIN.org.mail>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]</p> <p>Mar 4 05:21:52 DOMAIN sendmail[3985]: q245Lp49003985: to=RECI_EMAIL, delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30711, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (q245LqEQ003988 Message accepted for delivery)</p> <p>Mar 4 05:21:52 DOMAIN sendmail[3990]: STARTTLS=client, relay=smtp.gmail.com, version=TLSv1/SSLv3, verify=FAIL, cipher=RC4-SHA, bits=128/128</p> <p>Mar 4 05:21:52 DOMAIN sendmail[3990]: q245LqEQ003988: to=, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=120969, relay=smtp.gmail.com [74.125.115.108], dsn=5.0.0, stat=Service unavailable</p> <p>Mar 4 05:21:52 DOMAIN sendmail[3990]: q245LqEQ003988: to=, delay=00:00:00, mailer=local, pri=120969, dsn=5.1.1, stat=User unknown</p> <p>Mar 4 05:21:52 DOMAIN sendmail[3990]: q245LqEQ003988: q245LqEQ003990: postmaster notify: User unknown </p> <p>Mar 4 05:21:52 DOMAIN sendmail[3990]: q245LqEQ003990: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32182, dsn=2.0.0, stat=Sent</p> <p>Does anyone know where the problem comes from?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload