Sendmail - Gmail
Posted: Sun Sep 20, 2009 9:11 pm
Has anyone successfully setup sendmail to use gmail or google apps as the relay?
I have found several articles on the web from other users, but none are using Amahi so i'm not sure how much applies or doesn't apply. needless to say i've tried a bunch of things but have not been able to send out email thru gallery2. All i'm looking to do is send out emails from gallery2, drupal, etc. for notifications or password resets. i don't want to system to receive emails.
here is a snippet from the maillog.
---------------------------------------------
Sep 20 23:53:54 homedomain sendmail[8693]: starting daemon (8.14.3): SMTP+queueing@01:00:00
Sep 20 23:53:54 homedomain sm-msp-queue[8702]: starting daemon (8.14.3): queueing@01:00:00
Sep 20 23:54:03 homedomain sendmail[8708]: n8L3s3Z4008708: from=root, size=243, class=0, nrcpts=1, msgid=<200909210354.n8L3s3Z4008708@localhost.localdomain>, relay=root@localhost
Sep 20 23:54:03 homedomain sendmail[8708]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Sep 20 23:54:03 homedomain sendmail[8709]: STARTTLS=server, relay=localhost.localdomain [127.0.0.1], version=TLSv1/SSLv3, verify=NO, cipher=DHE-RSA-AES256-SHA, bits=256/256
Sep 20 23:54:03 homedomain sendmail[8709]: n8L3s3G3008709: from=<root@localhost.localdomain>, size=503, class=0, nrcpts=1, msgid=<200909210354.n8L3s3Z4008708@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Sep 20 23:54:03 homedomain sendmail[8708]: n8L3s3Z4008708: to=recipient@gmail.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30243, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n8L3s3G3008709 Message accepted for delivery)
Sep 20 23:54:04 homedomain sendmail[8711]: STARTTLS=client, relay=smtp.gmail.com, version=TLSv1/SSLv3, verify=OK, cipher=RC4-MD5, bits=128/128
Sep 20 23:54:04 homedomain sendmail[8711]: AUTH=client, relay=smtp.gmail.com [publicip], authinfo failed
Sep 20 23:54:04 homedomain sendmail[8711]: n8L3s3G3008709: to=<recipient@gmail.com>, ctladdr=<root@localhost.localdomain> (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=120503, relay=smtp.gmail.com [publicip], dsn=5.0.0, stat=Service unavailable
Sep 20 23:54:04 homedomain sendmail[8711]: n8L3s3G3008709: n8L3s4G2008711: DSN: Service unavailable
Sep 20 23:54:04 homedomain sendmail[8711]: n8L3s4G2008711: to=<root@localhost.localdomain>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31820, dsn=2.0.0, stat=Sent
--------------------------------------------------------
i've never tried to configure sendmail before so i'm not exactly sure what i'm doing. it seems like every article i read is slightly different and none have worked for me so far. If someone has successfully configured this, or if this has already been posted here somewhere, could you point me in the right direction.
thanks.
I have found several articles on the web from other users, but none are using Amahi so i'm not sure how much applies or doesn't apply. needless to say i've tried a bunch of things but have not been able to send out email thru gallery2. All i'm looking to do is send out emails from gallery2, drupal, etc. for notifications or password resets. i don't want to system to receive emails.
here is a snippet from the maillog.
---------------------------------------------
Sep 20 23:53:54 homedomain sendmail[8693]: starting daemon (8.14.3): SMTP+queueing@01:00:00
Sep 20 23:53:54 homedomain sm-msp-queue[8702]: starting daemon (8.14.3): queueing@01:00:00
Sep 20 23:54:03 homedomain sendmail[8708]: n8L3s3Z4008708: from=root, size=243, class=0, nrcpts=1, msgid=<200909210354.n8L3s3Z4008708@localhost.localdomain>, relay=root@localhost
Sep 20 23:54:03 homedomain sendmail[8708]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Sep 20 23:54:03 homedomain sendmail[8709]: STARTTLS=server, relay=localhost.localdomain [127.0.0.1], version=TLSv1/SSLv3, verify=NO, cipher=DHE-RSA-AES256-SHA, bits=256/256
Sep 20 23:54:03 homedomain sendmail[8709]: n8L3s3G3008709: from=<root@localhost.localdomain>, size=503, class=0, nrcpts=1, msgid=<200909210354.n8L3s3Z4008708@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Sep 20 23:54:03 homedomain sendmail[8708]: n8L3s3Z4008708: to=recipient@gmail.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30243, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n8L3s3G3008709 Message accepted for delivery)
Sep 20 23:54:04 homedomain sendmail[8711]: STARTTLS=client, relay=smtp.gmail.com, version=TLSv1/SSLv3, verify=OK, cipher=RC4-MD5, bits=128/128
Sep 20 23:54:04 homedomain sendmail[8711]: AUTH=client, relay=smtp.gmail.com [publicip], authinfo failed
Sep 20 23:54:04 homedomain sendmail[8711]: n8L3s3G3008709: to=<recipient@gmail.com>, ctladdr=<root@localhost.localdomain> (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=120503, relay=smtp.gmail.com [publicip], dsn=5.0.0, stat=Service unavailable
Sep 20 23:54:04 homedomain sendmail[8711]: n8L3s3G3008709: n8L3s4G2008711: DSN: Service unavailable
Sep 20 23:54:04 homedomain sendmail[8711]: n8L3s4G2008711: to=<root@localhost.localdomain>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31820, dsn=2.0.0, stat=Sent
--------------------------------------------------------
i've never tried to configure sendmail before so i'm not exactly sure what i'm doing. it seems like every article i read is slightly different and none have worked for me so far. If someone has successfully configured this, or if this has already been posted here somewhere, could you point me in the right direction.
thanks.