logwatch -- sSMTP -- gmail...

427 views
Skip to first unread message

Scott Vargovich

unread,
Dec 10, 2011, 11:19:51 AM12/10/11
to linuxus...@googlegroups.com
I have logwatch set up on my Mint 11 desktop box to send an email through sSMTP to my gmail account.  The message is received with this text as an error:

<gmail>
Delivery to the following recipient failed permanently:

te...@gmail.com

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 552 552-5.2.2 The email account that you tried to reach is over quota. Please direct
552-5.2.2 the recipient to
552 5.2.2 http://mail.google.com/support/bin/answer.py?answer=6558 2si772864ibl.107 (state 14).

----- Original message -----

Received: by 10.50.87.167 with SMTP id az7mr7345331igb.64.1323520538958;
Sat, 10 Dec 2011 04:35:38 -0800 (PST)
Return-Path: <bluesf...@gmail.com>
Received: from bluesf...@gmail.com (adsl-66-72-174-201.dsl.toldoh.ameritech.net. [66.72.174.201])
by mx.google.com with ESMTPS id l28sm45568007ibc.3.2011.12.10.04.35.34
(version=TLSv1/SSLv3 cipher=OTHER);
Sat, 10 Dec 2011 04:35:36 -0800 (PST)
Message-ID: <4ee35218.5c1ce7...@mx.google.com>
Received: by bluesf...@gmail.com (sSMTP sendmail emulation); Sat, 10 Dec 2011 07:35:05 -0500
From: root <bluesf...@gmail.com>
Date: Sat, 10 Dec 2011 07:35:05 -0500
To: te...@gmail.com
Subject: Logwatch for enigma1 (Linux)
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/html; charset="iso-8859-1"

----- End of message -----
</gmail>

I'm able to click on the message and see the results, but I'd like to fix this so it doesn't have this error.  I've searched through both my logwatch and sSMTP config files and 'te...@gmail.com' doesn't show up in either one.  Where else could it be picking up 'te...@gmail.com'???

--
<><  Scott Vargovich  <><
------------------------------------------
OpenPGP Key ID: F8F5DC7E
------------------------------------------

Jeremiah Bess

unread,
Dec 10, 2011, 11:22:18 AM12/10/11
to linuxus...@googlegroups.com
Time consuming, but try a recursive grep for te...@gmail.com on your entire / partition.

Jeremiah E. Bess
Network Ninja, Penguin Geek, Father of four.six


--
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to linuxus...@googlegroups.com
To unsubscribe, send email to linuxusersgro...@googlegroups.com
For more options, visit our group at http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or http://cdn.fsdev.net/List-Rules.pdf)

Scott Vargovich

unread,
Dec 10, 2011, 12:15:19 PM12/10/11
to linuxus...@googlegroups.com
That was on my list of things to try, but I was hoping wasn't necessary.

Scott Vargovich

unread,
Dec 10, 2011, 12:55:42 PM12/10/11
to linuxus...@googlegroups.com
I found numerous occurrences of it in /var/lib/python-support/python2.7/gdata/test_data.py.  This is on Ubuntu 11.04.  I changed all occurrences of it to my email addy.

Jeremiah Bess

unread,
Dec 10, 2011, 12:57:48 PM12/10/11
to linuxus...@googlegroups.com
Hope that fixes it, let us know!


Jeremiah E. Bess
Network Ninja, Penguin Geek, Father of four.six


Scott Vargovich

unread,
Dec 10, 2011, 1:53:24 PM12/10/11
to linuxus...@googlegroups.com
Me 3.  You'll be among the first to know!

Scott Vargovich

unread,
Dec 13, 2011, 8:19:03 AM12/13/11
to linuxus...@googlegroups.com
Jeremiah,

*D'OH!!!*  I just realized that the email logwatch is sending out is being sent to te...@gmail.com.  I looked for that address in both the config files of logwatch and ssmtp.  It doesn't appear in either one.  It also does not appear in /etc/ssmtp/revaliases  I'm again doing 'rgrep te...@gmail.conf /', but I'm wondering if this might narrow the scope of my question down a bit.

Thanks,
Scott

Jeremiah Bess

unread,
Dec 13, 2011, 10:26:44 AM12/13/11
to linuxus...@googlegroups.com
If it's sendmail, you might need to rebuild the alias database after changing the file:



Jeremiah E. Bess
Network Ninja, Penguin Geek, Father of four.six


Scott Vargovich

unread,
Dec 13, 2011, 1:38:59 PM12/13/11
to linuxus...@googlegroups.com
In other news - I feel so incredibly powerful!!!  I just wielded the Bess Ban Hammer once again!!!

Back to our subject now...  There is currently no /etc/aliases file.  I'm not sure if I should try the newaliases command or not.  HELP!!!

Jeremiah Bess

unread,
Dec 13, 2011, 3:25:48 PM12/13/11
to linuxus...@googlegroups.com
I've never used logwatch, so I can't be of much help, sorry.

Jeremiah E. Bess
Network Ninja, Penguin Geek, Father of four.seven

Scott Vargovich

unread,
Dec 13, 2011, 6:46:00 PM12/13/11
to linuxus...@googlegroups.com
You should check it out.  It's perfect for a machine you keep on all the time.  It scours /var/log and emails you a daily report.

Jeremiah Bess

unread,
Dec 13, 2011, 6:50:01 PM12/13/11
to linuxus...@googlegroups.com
I had script sending me reports on some stuff (service status, hard drive capacity, etc). But once I moved to Comcast, I had issues emailing myself at Gmail. I looked into it, and can't remember if it was Comcast's fault or Gmail not liking Comcast. Either way, I had to disable the email script.


Jeremiah E. Bess
Network Ninja, Penguin Geek, Father of four.seven


Scott Vargovich

unread,
Dec 13, 2011, 7:18:24 PM12/13/11
to linuxus...@googlegroups.com
Granted I've never had Comcast, but give it a cursory look.  Here's a page describing how to set everything you need up - including a simple smtp outbound server:

Jeremiah Bess

unread,
Dec 13, 2011, 7:47:30 PM12/13/11
to linuxus...@googlegroups.com
That link was to this discussion thread. Oops!


Jeremiah E. Bess
Network Ninja, Penguin Geek, Father of four.seven


Scott Vargovich

unread,
Dec 13, 2011, 8:07:55 PM12/13/11
to linuxus...@googlegroups.com
That just proves one thing - Penguin Geeks aren't perfect!!!  :P
Reply all
Reply to author
Forward
0 new messages