Find the answer to your Linux question:
Results 1 to 2 of 2
hi I'm having problems with my fetchmail. Its trying to pick up from our local exchange server 2000 by pop3 as a normal user. i could pick up the mail ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2004
    Posts
    6

    fetchmail error as non-root user


    hi
    I'm having problems with my fetchmail. Its trying to pick up from our
    local exchange server 2000 by pop3 as a normal user. i could pick up the mail from exchange with the root user ok. exchange is set to accept basic authentication from my linux box's ip.

    On the linux box (fedora core 2) fetchmail 6.2.5 I've tried -

    fetchmail exchangeserver -v -k -p pop3 -u username

    and also in .fetchmailrc
    poll exchangeserver
    proto pop3
    user username
    pass password
    but both give me -

    fetchmail: 6.2.5 querying exchangeserver (protocol POP3) at Wed 17 Nov
    2004 13:46:52 GMT: poll started
    fetchmail: fetchmail: getaddrinfo(exchangeserver.pop3)
    fetchmail: 6.2.5 querying exchangeserver (protocol POP3) at Wed 17 Nov
    2004 13:46:52 GMT: poll completed
    fetchmail: Query status=2 (SOCKET)
    fetchmail: normal termination, status 2

    I know there is mail there and i can resolve the exchange server and
    telnet to 110 ok (/etc/services is correct) The fact i can do it as root smells like a permission problem but it can write to /var/spool/mail/user and run the fetchmail command ok...
    Any ideas ?

    Addition - I've worked out its cos the mail comes in as rt@domainname and tries to go to root as a bounce, only rt@box.domainname goes to the right place - how do i rewrite the email address in fetchmail presumably and can i do this as a non-root user ? I'd rather not set up subdomains...
    Elaine

  2. #2
    Just Joined!
    Join Date
    Nov 2006
    Posts
    1
    Hi,

    I have just resolved a very similar issue... I am running fedora core4 using fetchmail to get the mail.. And it turned out that there was an issue with the account on the mail server to resolve this I deleted and re-created the users account and it fixed the problem...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •