[rt-users] fetchmailrc

Ronen_Amity at DELL.com Ronen_Amity at DELL.com
Thu Nov 17 03:37:41 EST 2011


This is what we use (pulling emails from a gmail account, hence the 995 port)
:
~rt/.fetchmailrc:
set postmaster "ronen"
set daemon 600
pool pop.gmail.com with proto pop3 user 'xx at gmail.com' there with password 'XXXXXXX' is user5 here options ssl

crontab for user rt:
5,15,25,35,45,55 * * * * /usr/bin/fetchmail -d 0 -P 995 -ssl -smtpname xx at gmail.com<mailto:xx at gmail.com> -u xx at gmail.com<mailto:xx at gmail.com> pop.gmail.com -f fetchmail.test 2>&1 > /dev/null

fetchmail.test:

poll pop.gmail.com    proto pop3:
username "xx at gmail.com"             password "XXXXXXXX"   mda "/opt/rt4/bin/rt-mailgate --url http://cm-help --queue CM --action correspond"


Ronen

From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of 20/20 Lab
Sent: Wednesday, November 16, 2011 23:45
To: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] fetchmailrc

Shouldnt you have "s around your user name?

the only difference I have in mine is

user "username" pass "password" to user here

tho our mailserver auths with full domain.



On 11/16/2011 12:49 PM, mjames at guesswho.com<mailto:mjames at guesswho.com> wrote:
Using fetchmail for 1st time to collect mail from an Exchange server.
Exchange 2010
RT 4.0.1
Centos 5.7
fetchmail release 6.3.21+HESIOD+NLS.

Here's my /opt/rt4/etc/fetchmailrc:

poll mail.domain.com  proto pop3:
user trackrequests there with password 'cleverly removed' is kiss here  mda "/opt/rt4/bin/rt-mailgate --url http://xtracker.domain.com. --queue General --action correspond"

When I invoke fetchmail -f /opt/rt4/etc/fetchmailrc, it appends "@mail.domain.com" to the username, whereas the correct user is trackrequests at domain.com<mailto:trackrequests at domain.com>.

If I specify user trackrequests at domain.com<mailto:trackrequests at domain.com> in the fetchmailrc file, then fetchmail turns it into trackrequests at domain.com@mail.domain.com<mailto:trackrequests at domain.com@mail.domain.com>. For example:

[root at xtracker ~]# fetchmail -f /opt/rt4/etc/fetchmailrc
fetchmail: WARNING: Running as root is discouraged.
fetchmail: Authorization failure on trackrequests at domain.com@mail.domain.com<mailto:trackrequests at domain.com@mail.domain.com>
fetchmail: Query status=3 (AUTHFAIL)

I've googled for an answer, but haven't stumbled across it yet. Thanks for any help,
Mike




--------

RT Training Sessions (http://bestpractical.com/services/training.html)

*  Barcelona, Spain - November 28 & 29, 2011

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111117/a01dc185/attachment.htm>


More information about the rt-users mailing list