LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   IMAP and time-out errors with getmail agent and Maildir config (https://www.linuxquestions.org/questions/linux-newbie-8/imap-and-time-out-errors-with-getmail-agent-and-maildir-config-4175478919/)

zarb 09-28-2013 09:15 PM

IMAP and time-out errors with getmail agent and Maildir config
 
Howdy people,

On a LAN server running Slackware 14.0, I am trying to configure a getmail agent with a maildir format for my various e-mail accounts e.g. gmail, hotmail, yahoo (as well as two supported business accounts).

For example, the parameters in "/root/.getmail/getmailrc/gmailone/" look like this:

[retriever]
type = SimpleIMAPRetriever
server = smtp.gmail.com
username = [my gmail address]
port = 465
use_peek = 1
move_on_delete = dead.letter

[destination]
type = Maildir
path = /usr/bin/maildir/
user = 0, 1000

[options]
verbose = 2
read_all = 0
delete = 0
delete_after = 0
max_bytes_per_session = 3000
max_message_size = 7000
delivered_to = 1
received = 1
message_log_syslog = 1



I created the Maildir directories based on the prompts telling me what directory names weren't there but needed to be.

When I type getmail -r /root/.getmail/getmailrc/gmailone

It runs the getmail version 4.30.1 copyright Charles Cazabon and all that business, and then returns with an error as follows:

"operation error IMAP error (unexpected response: '220 mx.google.com ESMTP r11sm26567498oeb.7 - gsmtp'));

getmail -r /root/.getmail/getmailrc/yahoo

...comes back like this: "yahoo: operation error (IMAP error (socket error: EOF))";

...hotmail comes back with "hotmail: socket error ([Errno 110] Connection timed out)";

...and my other gmail account comes right back like the first one.

I have been toying with the various getmailrc files for each account, so they are starting to look different, but the above gmailone is typical of them.


The only one that is not coming back with an IMAP or time-out error is one of my business accounts: "fusepowder.com: credential/login error (LOGIN failed)"; which their support people told me to anticipate because of their SSL setting. I have toyed with that setting (and all the others), but to no avail yet.

I have tinkered with it for enough time that I am almost ready to try another format other than maildir, if not another agent. So am open to suggestions.

My dearest best,
'zarb


"One does not use 25 wrenches to tighten a single bolt, and a hammer hanging on a hook does not drive nails."

zarb 10-03-2013 06:58 AM

Well, I moved it out of the root directory, for starters, because that seemed an unholy place to put any sort of quazi-automated function. On the Google mail, it's simply timing out now, with no particular error message. I think I will try my luck with fetchmail, and get a little experience in trying to make that work too.

zarb

"Stigmatization of a symbol begs interesting questions about dynamics of control, proprietorship, and management within the marketplace of ideas."


All times are GMT -5. The time now is 12:17 PM.