Author Topic: Scanning Gmail messages  (Read 11833 times)

0 Members and 1 Guest are viewing this topic.

TwoShoes

  • Guest
Scanning Gmail messages
« on: October 09, 2008, 04:29:20 PM »
I have found various methods to have Avast scan incoming and outgoing gmail messages. However they are in bits and pieces and do not install correctly. Is there a detailed description available to perform this task?

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89431
  • No support PMs thanks
Re: Scanning Gmail messages
« Reply #1 on: October 09, 2008, 05:56:08 PM »
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.6.6121 (build 24.6.9241.848) UI 1.0.809/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

TwoShoes

  • Guest
Re: Scanning Gmail messages
« Reply #2 on: October 09, 2008, 10:08:36 PM »
Thank you for the links.  Using pieces from each of them I think I got Avast and Stunnel to work together, however I still do not get a clean message on the incoming emails.  Only get it on those messages that come in through port 110.  In Outlook Express I have the POP server set at 127.0.0.1, and the POP port set at 11110 with secure session turned off.  In Avast I have set POP to redirect ports 110 and 11110.  And in Stunnel the conf file is set at accept=127.0.0.1:11110 and connect=pop.gmail.com:995.  Does this give you or anyone else any clues at to what I may have wrong that I don't get the clean message in the email?  If/when I get inbound working I may try it with the outbound emails.  Thanks for any help.


Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89431
  • No support PMs thanks
Re: Scanning Gmail messages
« Reply #3 on: October 09, 2008, 10:44:57 PM »
I don't use STunnel so I can't speak from experience, but I would have though it might be difficult to do this when you add STunel to the equation.

Personally I don't feel there is much value in the clean notes (other than to make people you email to aware of avast), as I never take clean notes from any AV at face value. A clean note in an incoming message is even less work, if the email is infected all hell will break loose with an audible and visual alert.

If you don't get an alert avast hasn't detected anything, but you still need to exercise common sense wilt email as no single application will give 100% protection. Never open attachments or click on links in unsolicited email, always check.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.6.6121 (build 24.6.9241.848) UI 1.0.809/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

TwoShoes

  • Guest
Re: Scanning Gmail messages
« Reply #4 on: October 09, 2008, 10:59:34 PM »
Thank you again for your reply.  Like you, I don't just rely on a clean message to insure me that a message is OK.  If unsolicited I also take other careful steps.  However I just like to see the message to know that Avast or any other antivirus with email scanning capabilities at least looked at the message as a way of telling me that the scanner is at least working.  It may not find everything but at least I know that is it trying.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Scanning Gmail messages
« Reply #5 on: October 09, 2008, 11:01:18 PM »
I used to use Stunnel and the clean notes are there in the emails...
Are you checking the mails on 'Sent items'? The notes are added after the email is moved to that folder. Or, on contrary, you're sending an email to yourself and there isn't any note there?

Stunnel.conf file should be as follow:

Code: [Select]
cert = stunnel.pem

# GMail
client=yes

# POP3 service, listens on localhost:11110
[gmail-pop3s]
accept=127.0.0.1:11110
connect=pop.gmail.com:995

# SMTP service, listens on localhost:11025
[gmail-smtps]
protocol=smtp
accept=127.0.0.1:11025
connect=smtp.gmail.com:587
The best things in life are free.

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89431
  • No support PMs thanks
Re: Scanning Gmail messages
« Reply #6 on: October 09, 2008, 11:55:45 PM »
<snip>
However I just like to see the message to know that Avast or any other antivirus with email scanning capabilities at least looked at the message as a way of telling me that the scanner is at least working.  It may not find everything but at least I know that is it trying.

No problem, glad I could help.

There are numerous instanced of malware inserting (not really inserting just adding) the line, [This email has been scanned by 'insert the common AV of your choice here], etc. just to lull the user into the sense that a scanners is working or has scanned it.

The avast icon rotates when files/emails are being scanned, you can also check the Internet Mail providers Detailed view, Last scanned or Scanned total: fields or email headers as there is a line placed there to show it has been scanned. so all of those also provide info that email is actually being scanned.

Welcome to the forums.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.6.6121 (build 24.6.9241.848) UI 1.0.809/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

TwoShoes

  • Guest
Re: Scanning Gmail messages
« Reply #7 on: October 10, 2008, 12:01:35 AM »
Here is how I am currently set up to test scanning of gmail by Avast.  I am using Outlook Express and have two identities.  Identity1 has an account using comcast.net from which I am sending a test message.  Identity1 has smtp set to use port 587 and no-ssl.  Identity2 has an account using gmail.com on which I am receiving the test message.  Identity2 has the pop server set to 127.0.0.1 and the port set to 11110 and no-ssl.  For pop my stunnel.conf is exactly the same as yours.  In Avast I have port redirects as follows pop 10,11110 and smtp 25,587,11025.  Now when I send a message from identity1 (comcast) it goes out port 587 and is redirected to Avast and picks up the outbound clean message before sending.  Now when I switch to identity2 (Gmail) to receive the email, it comes in fine and the outbound clean message is contained within the email but there is no inbound clean message.  Hope this makes sense.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Scanning Gmail messages
« Reply #8 on: October 10, 2008, 12:52:35 AM »
Can you see in the headers of the messages (Right click the message, choose Properties and Details), for instance:

X-Antivirus: avast! (VPS XXXXXX-X, XX/XX/200X), Inbound message
X-Antivirus-Status: Clean
The best things in life are free.

TwoShoes

  • Guest
Re: Scanning Gmail messages
« Reply #9 on: October 10, 2008, 04:43:19 AM »
No I do not see the incoming message in the headers.  Here is the only info on Avast that is present in the headers:
X-Antivirus: avast! (VPS 081009-0, 10/09/2008), Outbound message
X-Antivirus-Status: Clean

This is the outbound message from identity1 to identity2.  No sign that identity2 was scanned by Avast.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Scanning Gmail messages
« Reply #10 on: October 10, 2008, 07:49:24 PM »
I need help here from Alanrf or vojtech... It's beyond my knowledge...
The best things in life are free.

TwoShoes

  • Guest
Re: Scanning Gmail messages
« Reply #11 on: October 10, 2008, 08:33:57 PM »
Thanks, I really appreciate everyone's help.  Is there anything else I need to provide to possibly find an answer?

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Scanning Gmail messages
« Reply #12 on: October 10, 2008, 09:21:34 PM »
Did you uncheck the 'Ignore local communication' option into the Redirection tab of settings of Internet Mail provider?
The best things in life are free.

TwoShoes

  • Guest
Re: Scanning Gmail messages
« Reply #13 on: October 10, 2008, 11:58:01 PM »
Thank you Tech, that corrected the missing "clean note" on the inbound messages.  ;D ;D ;D Must have missed that in the instructions somewhere.  Now to see if I can get the outbound working properly. 

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Scanning Gmail messages
« Reply #14 on: October 11, 2008, 04:07:43 AM »
Thank you Tech, that corrected the missing "clean note" on the inbound messages.
Not only the clean notes but your emails aren't being scanned at all...
Let's go to the outbound. Feel free to come back and ask for help if you need ;)
The best things in life are free.