Author Topic: Please Help with Avast & Gmail  (Read 15055 times)

0 Members and 1 Guest are viewing this topic.

Offline pete7769

  • Newbie
  • *
  • Posts: 18
Re: Please Help with Avast & Gmail
« Reply #15 on: September 12, 2007, 11:19:44 AM »
Thanks again alan, i didnt relaise that you could change the ini file within avast, can you please explain how, but like i said i will post the original one first so that you can see what it like, but at the moment it seems to be scanning my pop3 e-mails ok, both in & out.

Pete  ;)

Offline alanrf

  • Avast Evangelist
  • Massive Poster
  • ***
  • Posts: 3866
  • Just an avast user
Re: Please Help with Avast & Gmail
« Reply #16 on: September 12, 2007, 10:08:43 PM »
I already explained to you above how to use the avast GUI to change the ports intercepted.

Offline pete7769

  • Newbie
  • *
  • Posts: 18
Re: Please Help with Avast & Gmail
« Reply #17 on: September 13, 2007, 09:00:53 AM »
Oh i see, sorry about that, a lot of posts i have read tell you to edit the ini file by using notepad and adding lines that way, like this quote from a post...

"Step 2 should be like:

1. Go to Avast4.ini, which is by default in "C:\Program Files\Alwil Software\Avast4\DATA" folder.

2. Open Avast4.ini file and find [MailScanner] section.  Make sure that "IgnoreLocalhost=0" and add the lines below.


Code:
PopRedirectPort=110,11110
SmtpRedirectPort=25,11025
3. Save and close Avast4.ini file."

so i take it i dont need to do this if i use your instructions???


also does this look correct for the entry for the stunnel config???

# GMail
client=yes
debug=debug

# POP3
[gmail-pop3s]
accept=localhost:120110
connect=pop.gmail.com:995

# SMTP
[gmail-smtps]
accept=localhost:12025
connect=smtp.gmail.com:465


Pete
« Last Edit: September 13, 2007, 09:06:37 AM by pete7769 »

Offline pete7769

  • Newbie
  • *
  • Posts: 18
Re: Please Help with Avast & Gmail
« Reply #18 on: September 13, 2007, 08:11:57 PM »
Dear All

           i have now uploaded my original avast ini file, and the stunnel conf that i have just created, can someone please check these and let me know what the next thing to do is, thanks a million

Pete

Offline pete7769

  • Newbie
  • *
  • Posts: 18
Re: Please Help with Avast & Gmail
« Reply #19 on: September 13, 2007, 09:20:44 PM »
can i continue to ask on this thread?
Yeah... we'll be here.

Please can someone help???

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67269
Re: Please Help with Avast & Gmail
« Reply #20 on: September 13, 2007, 09:27:34 PM »
Your Stunnel.conf file should be:

Code: [Select]
# 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


Your avast4.ini file must have - among others things - into [MailScanner] section:

Code: [Select]
PopRedirectPort=110,11110
SmtpRedirectPort=25,11025
IgnoreLocalhost=0


Stunnel must be running and both Stunnel and ashMaiSv.exe must be allowed to connect the Internet into your firewall settings.
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67269
Re: Please Help with Avast & Gmail
« Reply #21 on: September 13, 2007, 09:29:33 PM »
PopRedirectPort=110,11110
accept=localhost:120110
Should be ONLY 11110 and 110,11110

SmtpRedirectPort=25,11025
accept=localhost:12025
Should be ONLY 11025 and 25,11025
The best things in life are free.

Offline pete7769

  • Newbie
  • *
  • Posts: 18
Re: Please Help with Avast & Gmail
« Reply #22 on: September 13, 2007, 09:38:49 PM »
thanks i have now changed them, please can you check, also do i need to change my mail settings in my e-mail program???


Offline alanrf

  • Avast Evangelist
  • Massive Poster
  • ***
  • Posts: 3866
  • Just an avast user
Re: Please Help with Avast & Gmail
« Reply #23 on: September 13, 2007, 10:19:02 PM »
1) Yes, you must change the POP port for your GMail account in your mail client to 11110
2) You must change the SMTP port in GMail account in your mail client to 11025

3) Go to the Redirect tab of the Internet Mail provider and uncheck the Ignore local communications box
4) Click OK


Remember, as I said above, that you must not select a secure connection for your GMail account's POP & SMTP connections in your mail clinet.
« Last Edit: September 13, 2007, 10:25:03 PM by alanrf »

Offline pete7769

  • Newbie
  • *
  • Posts: 18
Re: Please Help with Avast & Gmail
« Reply #24 on: September 13, 2007, 10:23:42 PM »
hi
  still no good,i have done that, my other settings are smtp port 465 and pop port 995, and are set to require secure connection (SSL), do these also have to be changed??

Thanks

Offline alanrf

  • Avast Evangelist
  • Massive Poster
  • ***
  • Posts: 3866
  • Just an avast user
Re: Please Help with Avast & Gmail
« Reply #25 on: September 13, 2007, 10:26:05 PM »
Did you read what I said that you must change the ports?

Offline pete7769

  • Newbie
  • *
  • Posts: 18
Re: Please Help with Avast & Gmail
« Reply #26 on: September 13, 2007, 10:32:58 PM »
i think so, but im getting more confused, i have taken some screen shots of my e-mail client settings....

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67269
Re: Please Help with Avast & Gmail
« Reply #27 on: September 13, 2007, 10:34:29 PM »
still no good,i have done that, my other settings are smtp port 465 and pop port 995, and are set to require secure connection (SSL), do these also have to be changed??
It's exactly the contrary... you MUST change the ports and do NOT use SSL.
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67269
Re: Please Help with Avast & Gmail
« Reply #28 on: September 13, 2007, 10:38:29 PM »
On the first picture, servers are 127.0.0.1 (and not the number of the ports).
On the second one, the ports are 11025 and 11110.
The best things in life are free.

Offline pete7769

  • Newbie
  • *
  • Posts: 18
Re: Please Help with Avast & Gmail
« Reply #29 on: September 13, 2007, 10:39:29 PM »
Right let me get this striaght, the ports that are 465 and 995, i change them to what???
11110 and 11025, but the server screen that used to say pop.gmail.com and smtp.gmail.com, i leave them alone???

Pete