Koozali.org: home of the SME Server

Gmail account via SME 6.0.1-1

darryn

Gmail account via SME 6.0.1-1
« on: January 21, 2005, 07:56:36 AM »
Hi there all.

I want so set up SME to retrieve email from a gmail account.
I have followed the howto at http://www.schirrms.net/sme/SMEFetchMail.php
I am not able to donwload any mail to my SME server.
I get the following error messagexs in /var/log/maillog Jan 21 10:50:36 al fetchmail[4660]: 5.9.0 querying pop.gmail.com (protocol POP3) at Fri 21 Jan 2005 10:50:36 AM SAST
Jan 21 10:50:38 al fetchmail[4660]: Query status=2 (SOCKET)
Jan 21 10:50:38 al fetchmail[4660]: normal termination, status 2.

My /etc/fetchmail entry looks like this:
#   Mail N1 Account for : darryn
/usr/bin/fetchmail -d0 --verbose --syslog --fetchmailrc - <<EOF
set postmaster "postmaster"
set bouncemail
set properties ""
poll pop.gmail.com with proto POP3 and options no dns  user 'username\@gmail.com' smtpaddress mail.mydomain.co.za with password
'password' is darryn here fetchall

I notice than I entered the username as username@gmail.com and not username/@gmail.com as is in the file.  I have tried editing the file by hand to remove the / , but this has not helped.

Has anyone been able to get this working?

TIA

Regards

Darryn

Offline treyh

  • ****
  • 116
  • +0/-0
    • http://www.wilnet1.com
good ole gmail
« Reply #1 on: January 21, 2005, 04:40:04 PM »
I have not setup SME to retrieve my gmail account but there are a few things you need to setup for it to work anywhere (eg outlook)

Outgoing mail (smtp) must use port 465 and requires a secure connection (SSL)

Incoming Mail (pop3) must use port 995 and requires a secure connection (SSL)

I would assume you could create a port forwarding rule to forward internal port 110, from the sme box, to the outside world on port 465. And then another rule to forward internal port 25, from the sme box, to the outside world on port 995.

The only problem would be SSL. Let me try this and I'll let you know if I was able to do it or not.

****UPDATE****
Why do you want your SME server to get your gmail email. Why don't you use use a pop3 client like outlook or kmail?
Trey - Network Specialist......