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