Jürgen Echter | 25 May 14:53
Picon

getting fetchmail to work with postfix

Hi,

i try to setup fetchmail to get mails and send them with postfix to my 
local dovecot imapd.

If i try to run fetchmail i get this in the logs:

fetchmail[4514]: 1 message for test <at> mydomain.de at mailserver.external.de.
fetchmail[4514]: reading message test <at> mydomain <at> mailserver.external.de:1 
of 1 (649 header octets) (log message incomplete)
fetchmail[4514]: connection to localhost:smtp [::1/25] failed: 
Connection refused.
postfix/smtpd[4516]: connect from localhost[127.0.0.1]
postfix/smtpd[4516]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 
550 5.1.1 <test <at> mydomain.de>: Recipient address rejected: mydomain.de; 
from=<j.echter <at> mydomain.de> to=<test <at> mydomain.de> proto=ESMTP 
helo=<mehlbox.workgroup.local>
fetchmail[4514]: SMTP error: 550 5.1.1 <test <at> mydomain.de>: Recipient 
address rejected: mydomain.de
fetchmail[4514]: connection to localhost:smtp [::1/25] failed: 
Connection refused.
postfix/smtpd[4519]: connect from localhost[127.0.0.1]
postfix/smtpd[4519]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 
550 5.1.1 <j.echter <at> mydomain.de>: Recipient address rejected: 
mydomain.de; from=<> to=<j.echter <at> mydomain.de> proto=SMTP 
helo=<mehlbox.workgroup.local>
postfix/smtpd[4519]: disconnect from localhost[127.0.0.1]
postfix/smtpd[4516]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 
550 5.1.1 <j.echter <at> mydomain.de>: Recipient address rejected: 
mydomain.de; from=<j.echter <at> mydomain.de> to=<j.echter <at> mydomain.de> 
(Continue reading)

Travis Osterman | 24 May 20:03
Gravatar

non-default "mailbox selection failed"

Hello, I am trying to use fectchmail to fetch the contents of a folder
(.spam.missed/) from my courier-imap server so that I can send the
messages to spamassassin's learning program.  Using this as a guide:
http://wiki.apache.org/spamassassin/SingleUserUnixInstall#Enable_IMAP_LearnAsSpam_folder

When I invoke
$ /usr/bin/fetchmail -a -v -n --folder /home/USER/.maildir/.spam.missed/
-m '/usr/bin/sa-learn -D --spam' --fetchmailrc /home/USER/.spamtrainingpoprc

I get this:
[snip]
fetchmail: IMAP> A0004 LOGIN "USER" *
fetchmail: IMAP< A0004 OK LOGIN Ok.
fetchmail: IMAP> A0005 SELECT "/home/USER/.maildir/.spam.missed/"
fetchmail: IMAP< A0005 NO Mailbox does not exist, or must be subscribed to.
fetchmail: mailbox selection failed
fetchmail: IMAP> A0006 LOGOUT
fetchmail: IMAP< * BYE Courier-IMAP server shutting down
fetchmail: IMAP< A0006 OK LOGOUT completed
fetchmail: client/server synchronization error while fetching from
USER <at> domain.tld
fetchmail: 6.3.21 querying domain.tld (protocol IMAP) at Thu May 24
13:21:13 2012: poll completed
fetchmail: Query status=7 (ERROR)
fetchmail: normal termination, status 7

This is the fetchmailrc file I set up (to not conflict with my main
fetchmail file which works fine)

== ~/.spamtrainingpoprc ==
(Continue reading)

Jim J | 20 May 20:24
Picon

Fetchmail, gmail, and a new computer

I'm using fetchmail 6.3.18 (from Ubuntu Oneiric) to pull email from gmail
using POP3. It works fine. The first time I ran it it downloaded all of my
email. Every time I've run it since then it's downloaded only new email.
Gmail is configured to archive the email after it's been accessed via POP3.

Now I have a new computer (fetchmail 6.3.21, Ubuntu Precise). I would like
my new computer to pick up where the old left off. Fetchmail doesn't seem
to want to do this by default. Instead, it wants to download my entire
Gmail account. How do I make my new installation pick up where the other
one left off? Since fetchmail didn't download everything every time, even
after a reboot, it seems logical that there's a file somewhere I could copy
over, but I can't find one.

Thanks,

Jim
John Connett | 7 May 12:10
Picon
Picon

Problem with Demon's new Microsoft Exchange Server 2010 service

Operating system:
     $ cat /etc/SuSE-release
     openSUSE 12.1 (x86_64)
     VERSION = 12.1
     CODENAME = Asparagus

Name and origin of the RPM:
     $ rpm -q fetchmail
     fetchmail-6.3.21-4.1.3.x86_64

The name and version of the SMTP listener:
     $ rpm -q exim
     exim-4.75-5.1.3.x86_64

Command-line options you used:
     openSUSE 12.1 distributed /etc/inid.d/fetchmail with added "-vvv".

/etc/fetchmailrc (with names changed to protect the innocent):
     $ cat /etc/fetchmailrc
     # Configuration created Thu Apr 26 22:58:13 2012
     set bouncemail
     set properties ""
     set daemon 300
     poll mail.demon.co.uk proto IMAP
            localdomains yyy.demon.co.uk
            user 'administrator <at> yyy.demon.co.uk' there password 'secret' is  
xxx here
            sslproto TLS1
            sslcertck
     poll mail.demon.co.uk proto IMAP
(Continue reading)

Jürgen Echter | 25 Apr 10:39
Picon

LDAP support

Hi,

i'd like to use fetchmail to receive mails from our mailserver and put 
them to our local cyrus imap server.

cyrus is working with ldap.

does anybody have a good page to read how i could use fetchmail with ldap?

thanks

juergen
Danny | 6 Apr 07:11
Picon

Sound question

Hi guys,

I want fetchmail/procmail to play a sound when I recieve mail from a certain
mail address ... is that possible?

I am running Debian ...

Thanks

Danny
Masaru Nomiya | 5 Apr 05:19
Picon

AUTHFAIL

Hello,

I'm using fetchmail 6.3.21 on openSUSE 12.1 (x86_64).
From this month, my university changed Mail Server to;

IMAP
imap4 protocol over tls/ssl port 993
SMTP
smtp protocol over tls/ssl port 465

So, I got ssl sever certificate file, then installed.

I wrote .fetchmailrc as follows;

poll imap.ris.ac.jp
     protocol imap
     port 993
     user 'USERNAME'
     pass 'PASSWORD' 
     ssl
     sslproto tls
     sslfingerprint '21:AE:77:33:59:58:3D:6E:A5:9A:FB:C6:86:42:94:F2'
     sslcertck
     sslcertpath '/home/masaru/.certs'

At the moment, fetchmail -v gave me an error message;

[...]
fetchmail: IMAP< * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN]
Dovecot ready
(Continue reading)

Picon

Can't retrieve all messages

Hello,

For some reason fetchmail doesn't retrieve all messages from my Gmail
inbox (about 2000 messages received in five months) via POP3. I've got
only a part of messages, about 540, even with `fetchmail -a`.

Verbose POP3 listing:

fetchmail: POP3< +OK Gpop ready for requests from [MY IP ADDRESS]
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< USER
fetchmail: POP3< RESP-CODES
fetchmail: POP3< EXPIRE 0
fetchmail: POP3< LOGIN-DELAY 300
fetchmail: POP3< TOP
fetchmail: POP3< UIDL
fetchmail: POP3< X-GOOGLE-VERHOEVEN
fetchmail: POP3< X-GOOGLE-RICO
fetchmail: POP3< .
fetchmail: POP3> USER [MY LOGIN]
fetchmail: POP3< +OK send PASS
fetchmail: POP3> PASS *
fetchmail: POP3< +OK Welcome.
fetchmail: выбирается или повторяется опрос каталога по умолчанию
(selecting or re-polling default folder)
fetchmail: POP3> STAT
fetchmail: POP3< +OK 542 3756251
fetchmail: POP3> UIDL
fetchmail: POP3< +OK
(Continue reading)

Chris | 24 Mar 14:55

inactivity timeout when fetching mail from yahoo

The software I usually use to poll my yahoo account has gotten a bug in
it that hasn't been fixed yet so I've fallen back to fetchmail to poll
my pop account. I noticed awhile ago that after so many messages that
the fetchmail log is showing an inactivity timeout:

fetchmail: about to deliver with: procmail
fetchmail:  flushed
fetchmail: POP3> DELE 15
fetchmail: POP3< -ERR inactivity timeout
fetchmail: inactivity timeout
fetchmail: POP3> QUIT
fetchmail: 6.3.18 querying pop.mail.yahoo.com (protocol POP3) at Sat 24
Mar 2012 08:46:24 AM CDT: poll completed

fetchmail: discarding new UID list
fetchmail: Query status=24
fetchmail: Writing fetchids file.

My cl is this:

fetchmail -v -v -v --nokeep --nosyslog
--logfile /home/chris/fetchmaillog --uidl -m procmail

I have a 10Mbps dsl connection and according to a speed test I'm getting
8.3Mbps. Is it just an issue at yahoo?

--

-- 
Chris
KeyID 0xE372A7DA98E6705C
31.11°N 97.89°W (Elev. 1092 ft)
(Continue reading)

joea@j4computers.com | 20 Mar 21:00
Favicon

anti - SPAM

Any anti-SPAM s/w that can work with fetchmail?   Seems like everything I find seems to require I set up  an MTA
and point incoming mail to it (vs using fetchmail to get my stuff where it currently goes), or, buy a
service, or, like that . . .

Thanks.
Emessiri Kessiena | 28 Feb 09:32
Picon

Can't find /etc/default/fetchmailrc or /etc/fetchmailrc

Hello,

I am new to this mailing list. Hope you all having a good day.

I recently install fetchmail-6.3.21 from source on my linux system.
I don't use a distribution, I am using a system I built using LFS.

During compilation and install all runs fine, I am able to "fetch" my mail
using the ./fetchmailrc file in my home directory. I am currently trying to
settup my fetchmail with Postfix to feed the mail to the MTA. However I
don't have a /etc/default/fetchmailrc file on my system.

I am using these instructions:
http://ubuntuforums.org/showthread.php?t=1015150

should I create it? of did I forget an option during compilation?

Any help would be greatly apreciated

Kind regards,

Gmane