Anyone know what 512 as a return code for fetchmail means?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David Stockwell

    Anyone know what 512 as a return code for fetchmail means?

    Hi,

    I've been playing with the python interpreter and fetchmail on a linux
    system.
    I created a userid and put a couple of emails out there. I've tried both
    imap and pop3 but both give an answer of 512. I have also removed the
    files via a normal remove on the server and then done the below and it
    always returns 512.
    [color=blue][color=green][color=darkred]
    >>>import os
    >>>cmd = 'fetchmail -c -p POP3 -s pop.duneram.com -u spam'
    >>>os.system(cm d)[/color][/color][/color]
    512

    Thanks,


    David Stockwell
    -------
    Cell: http://cellphone.duneram.com/index.html
    Cam: http://www.duneram.com/cam/index.html
    Tax: http://www.duneram.com/index.html

    _______________ _______________ _______________ _______________ _____
    FREE pop-up blocking with the new MSN Toolbar – get it now!



  • Grant Edwards

    #2
    Re: Anyone know what 512 as a return code for fetchmail means?

    On 2004-05-28, David Stockwell <winexpert@hotm ail.com> wrote:
    [color=blue]
    > I created a userid and put a couple of emails out there. I've tried both
    > imap and pop3 but both give an answer of 512. I have also removed the
    > files via a normal remove on the server and then done the below and it
    > always returns 512.[/color]

    The exit code from the program is in the upper byte of the
    value returned by os.cmd(). So the return code is 2. According
    to fetchmail's man page:

    The exit codes returned by fetchmail are as follows:

    [...]

    2 An error was encountered when attempting to open a
    socket to retrieve mail. If you don't know what
    a socket is, don't worry about it -- just treat
    this as an 'unrecoverable error'. This error can
    also be because a protocol fetchmail wants to use
    is not listed in /etc/services.

    --
    Grant Edwards grante Yow! over in west
    at Philadelphia a puppy is
    visi.com vomiting...

    Comment

    Working...