Rich Bloch wrote:
Hello all,
I have a situation that I'm having a hard time resolving.
I have a local Debian box whose only job in life is to perform backups
daily/weekly/monthly, generate an email of either success or failure,
and send that email to my gmail.com <http://gmail.com> account.
For months, using gmail as the SMTP relay has worked. Recently,
however, it has been failing. A review of /var/log/exim4/mainlog
suggests that the email is no longer allowed to be sent directly to
gmail mail servers.
My ISP is Verizon. So, I decided to try using Verizon as an SMTP host
(outgoing.verizon.net <http://outgoing.verizon.net> ). Currently, it
appears to be working (with the
help of this procedure:
http://lists.alioth.debian.org/pipermail/pkg-exim4-users/2006-July/000714.html
<http://lists.alioth.debian.org/pipermail/pkg-exim4-users/2006-July/000714.html>
),
but I'd really like to understand why it works. Or rather, I'd like to
understand what the proper way to get local email sent to gmail. And
so, this post here on debian.user.
So my question is this, given the following:
email origination: my local machine (running Debian and exim4)
email destination: gmail.com <http://gmail.com>
ISP: verizon.net <http://verizon.net>
What is the correct way to set things up so they are both secure and
reliable?
Thanks much.
Can't you setup your MTA to use Gmail's SMTP server to send mail? You
need a Gmail account (which I see you have) and a MTA that can use SSL
and do the authentication that Gmail requires --- this should be no big
deal.
I use esmtp, a very simple program. To use Gmail, just add this to the
~/.esmtprc file:
identity [EMAIL PROTECTED]
hostname smtp.gmail.com:587
username "[EMAIL PROTECTED]"
password "XXXXX"
starttls required
Then you can send mail easily with "mail [EMAIL PROTECTED]". Works for
sending email to Gmail or anywhere else.
--
When it is dark enough, you can see the stars.
-- Charles A. Beard
Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]