Hi there! Just installed rt4 in Debian squeeze. Trying to send e-mails to rt4 with fetchmail, without success. Here you have my configs ang logs:
$ cat .fetchmailrc poll mygoogleappsdomain.net via imap.gmail.com with proto IMAP service 993 user '[email protected]' there with password 'mypasswd' is rt here mda '/usr/bin/rt-mailgate --queue General --action correspond --url http://mydomain.net/rt' options ssl folder Inbox m$ LC_ALL=C fetchmail -v fetchmail: 6.3.18 querying mygoogleappsdomain.net (protocol IMAP) at Sun Jun 10 18:22:22 2012: poll started fetchmail: Trying to connect to 173.194.76.109/993...connected. fetchmail: Server certificate: fetchmail: Issuer Organization: Google Inc fetchmail: Issuer CommonName: Google Internet Authority fetchmail: Subject CommonName: imap.gmail.com fetchmail: IMAP< * OK Gimap ready for requests from ****************** fetchmail: IMAP> A0001 CAPABILITY fetchmail: IMAP< * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH fetchmail: IMAP< A0001 OK Thats all she wrote! hi11if6741225qcb.43 fetchmail: IMAP> A0002 LOGIN "[email protected]" * fetchmail: IMAP< * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE fetchmail: IMAP< A0002 OK [email protected] request tracker authenticated (Success) fetchmail: IMAP> A0003 SELECT "Inbox" fetchmail: IMAP< * FLAGS (\Answered \Flagged \Draft \Deleted \Seen) fetchmail: IMAP< * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)] Flags permitted. fetchmail: IMAP< * OK [UIDVALIDITY 6] UIDs valid. fetchmail: IMAP< * 1 EXISTS fetchmail: IMAP< * 0 RECENT fetchmail: IMAP< * OK [UIDNEXT 4] Predicted next UID. fetchmail: IMAP< A0003 OK [READ-WRITE] Inbox selected. (Success) fetchmail: IMAP> A0004 EXPUNGE fetchmail: IMAP< A0004 OK Success fetchmail: IMAP> A0005 SEARCH UNSEEN fetchmail: IMAP< * SEARCH 1 fetchmail: IMAP< A0005 OK SEARCH completed (Success) fetchmail: 1 message for [email protected] at mygoogleappsdomain.net (folder Inbox). fetchmail: IMAP> A0006 FETCH 1 RFC822.SIZE fetchmail: IMAP< * 1 FETCH (RFC822.SIZE 2586) fetchmail: IMAP< A0006 OK Success fetchmail: IMAP> A0007 FETCH 1 RFC822.HEADER fetchmail: IMAP< * 1 FETCH (RFC822.HEADER {2406} fetchmail: reading message [email protected]@qc-in-f109.1e100.net:1 of 1 (2406 header octets) # IMAP< ) fetchmail: IMAP< A0007 OK Success fetchmail: IMAP> A0008 FETCH 1 BODY.PEEK[TEXT] fetchmail: IMAP< * 1 FETCH (BODY[TEXT] {26} fetchmail: (26 body octets) **** IMAP< ) fetchmail: IMAP< A0008 OK Success An Error Occurred ================= 403 Forbidden fetchmail: MDA returned nonzero status 75 fetchmail: not flushed fetchmail: IMAP> A0009 LOGOUT fetchmail: IMAP< * BYE LOGOUT Requested fetchmail: IMAP< A0009 OK 73 good day (Success) fetchmail: 6.3.18 querying mygoogleappsdomain.net (protocol IMAP) at Sun Jun 10 18:22:24 2012: poll completed fetchmail: normal termination, status 0 $ Looks like fetchmail is working fine, but Rt fails to get the e-mail through MDA... Thanks for your help. -- jm
