Author Topic: Broken External Mail retreival  (Read 5342 times)

gwoollett

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Broken External Mail retreival
« on: August 02, 2010, 12:25:02 pm »
Ebox 1.5 10.04LTS x64
I can't get this to work, I've entered the details for external server via the user corner.
The retrieval service on the dashboard shows as being stopped.  Pushing the start button doesn't start it.

I had given up on this method and decided to try manually do it with fetchmail.

I created a file /etc/fetchmailrc

poll pop.gmail.com protocol POP3 user "graeme" there with password "****" is graemew here.

graemew is a virtual mail box as defined by ebox (domain is wbc).  However SMTP complains that graemew is not a valid recipient.

What is the correct syntax for specifying the virtual user and domain in .fetchmailrc or /etc/fetchmailrc?

hu76

  • Zen Apprentice
  • *
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: Broken External Mail retreival
« Reply #1 on: August 04, 2010, 03:55:21 am »
Same issue here, 1.5 iso install, user and mail setup with webmail, setup a pop 3 retrieval, all mail services are running, external retrieval is stopped and the start button has no obvious effect.

Like to get this working because this is the whole reason for the ebox install, to retrieve mail from an online host and share via imap.

One point of concern, there seems to be no options in the gui for external retrieval for leaving the messages on the server for any period of time or controlling deletion from the server, or even what the default is.
Does anyone know how this works?

hu76

  • Zen Apprentice
  • *
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: Broken External Mail retreival
« Reply #2 on: August 05, 2010, 08:11:54 am »
user@server4:/usr/share/doc/fetchmail/examples$ sudo find / -name 'fetch*' | more
[sudo] password for user:
/usr/share/man/man7/fetch.7.gz
/usr/share/man/man1/fetchmailrc.1.gz
/usr/share/man/man1/fetchmail.1.gz
/usr/share/ebox-mail/fetchmail-update
/usr/share/postgresql/8.4/man/man7/fetch.7.gz
/usr/share/ebox/stubs/mail/fetchmail.rc.mas
/usr/share/ebox/stubs/mail/fetchmail-update.cron.mas
/usr/share/doc/fetchmail
/usr/share/doc/fetchmail/examples/fetchmailrc.example
/usr/share/doc/fetchmail/contrib/fetchmail-mode.el.gz
/usr/share/doc/fetchmail/contrib/fetchmailnochda.pl.gz
/usr/share/doc/fetchmail/contrib/fetchmail.logrotate
/usr/share/doc/fetchmail/contrib/fetchsetup
/usr/share/doc/fetchmail/contrib/fetchmaildistrib
/usr/share/doc/fetchmail/fetchmail-features.html
/usr/share/doc/fetchmail/fetchmail-FAQ.html
/usr/bin/fetchmail
/etc/alternatives/fetch.7.gz
/etc/logcheck/ignore.d.workstation/fetchmail
/etc/logcheck/ignore.d.server/fetchmail
/etc/default/fetchmail
/etc/ppp/ip-down.d/fetchmail
/etc/ppp/ip-up.d/fetchmail
/etc/resolvconf/update-libc.d/fetchmail
/etc/init.d/fetchmail
/var/lib/update-rc.d/fetchmail
/var/lib/dpkg/info/fetchmail.conffiles
/var/lib/dpkg/info/fetchmail.prerm
/var/lib/dpkg/info/fetchmail.list
/var/lib/dpkg/info/fetchmail.md5sums
/var/lib/dpkg/info/fetchmail.preinst
/var/lib/dpkg/info/fetchmail.postrm
/var/lib/dpkg/info/fetchmail.postinst
/var/lib/fetchmail
/var/cache/apt/archives/fetchmail_6.3.9~rc2-4ubuntu5_i386.deb
user@server4:/usr/share/doc/fetchmail/examples$ cd /
user@server4:/$ pwd
/
user@server4:/$ fetchmail -V
This is fetchmail release 6.3.9-rc2+GSS+NTLM+SDPS+SSL+NLS+KRB5.

Copyright (C) 2002, 2003 Eric S. Raymond
Copyright (C) 2004 Matthias Andree, Eric S. Raymond, Robert M. Funk, Graham Wilson
Copyright (C) 2005 - 2006 Sunil Shetye
Copyright (C) 2005 - 2008 Matthias Andree
Fetchmail comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. For details,
please see the file COPYING in the source or documentation directory.

Fallback MDA: (none)
Linux server4 2.6.32-21-generic-pae #32-Ubuntu SMP Fri Apr 16 09:39:35 UTC 2010 i686 GNU/Linux
Taking options from command line
No mailservers set up -- perhaps /home/user/.fetchmailrc is missing?
user@server4:/$

hu76

  • Zen Apprentice
  • *
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: Broken External Mail retreival
« Reply #3 on: August 09, 2010, 07:42:55 am »
So there's a couple of threads about this external mail retrieval failure, in my install there's no fetchmailrc file, no fetchmail daemon running, nothing I can recognize in the ebox or mail log directories.

It seems it's not specific to my install, nothing changed with external mail after upgrading to 1.5.1.

I see nothing recent about fetchmail or external mail retrieval searching here: http://trac.ebox-platform.com/search

Should I open a ticket here: http://trac.ebox-platform.com/newticket?

I'd like to help but I'm not a developer and don't really know the protocol....

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Broken External Mail retreival
« Reply #4 on: August 15, 2010, 01:31:12 pm »
It is already fixed in our repository, if you want to workaround it, you just need to execute the following:

Code: [Select]
sudo chsh -s /bin/sh fetchmail
Zentyal Server Lead Developer

DWAM

  • Zen Warrior
  • ***
  • Posts: 113
  • Karma: +3/-0
    • View Profile
Re: Broken External Mail retreival
« Reply #5 on: August 15, 2010, 08:11:40 pm »
Hi!

First post... New eboxer... Testing eBox 1.5 for a couple of days...

I installed the new core 1.5.11 this morning and mail retrieval works pretty well since and the user corner is usable aswell (no more internal server error). So far so good !

In case this counts, I'm using eBox as a standalone server without gateway module.