[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [mpop-users] mpop --host to retrieve from gmail account withouth having a config file



On Sat, 24. Nov 2007, 18:00:50 +0100, Hennie Harink wrote:
> mpop --host=pop.gmail.com --port=995 --user=myfmailusername 
> --tls-starttls  --tls-certcheck=off 
> --delivery=mbox,"/home/justadirectory"  --status-only --keep --auth=external
> 
> mpop: POP3 server sent an empty reply
> mpop: error during mail retrieval

1. Activate TLS, but do not use the STARTTLS variant, and do not check
   certificates:
   --tls=on --tls-starttls=off --tls-certcheck=off

2. For mbox delivery, give a file name instead of a directory:
   --delivery=mbox,"/home/justafile"

3. Gmail does not support EXTERNAL authentication. Do not use the --auth
   option. But you need to give a user name: --user=somename@...11...
   
4. The --keep option does unfortunately not work with Gmail: Gmail will
   always delete retrieved mails. This is a Gmail policy, not an mpop 
   bug.

The following works for me:
mpop --host=pop.gmail.com --tls=on --tls-starttls=off --tls-certcheck=off
 --user=example@...3... --delivery=mbox,"/home/justafile"
 --status-only

Note that using --tls-trust-file=... instead of --tls-certcheck=off is much
more secure.

Martin