On a system with postfix fetchyahoo cannot be used spooling the mail if you use maildir. Thus you have to forward the mail you fetch from Y! However, it does not work. Either fetchyahoo or perl mailtools are broken for compatibility with postfix. Notice, fetchyahoo works fine with sendmail. Remember also, that most of Gentoo users use Postfix. Reproducible: Always Steps to Reproduce: 1. emerge fetchyahoo postfix 2. tune fetchmail to use forward to the host with postfix 2. fetch your mail from yahoo 3. check if the forwarded mail arrived Actual Results: Apr 4 16:49:43 [postfix/smtpd] connect from host.domain.tld[192.168.10.20] Apr 4 16:49:50 [postfix/smtpd] warning: host.domain.tld [192.168.10.20] sent Received: header instead of SMTP command: Received: from 192.168.10.20 (EHLO host.domain.tld) (192.168.10.20) by mta307.mail.yahoo.co Apr 4 16:49:50 [postfix/smtpd] disconnect from host.domain.tld[192.168.10.20] Expected Results: the mail should be forwarded without warnings/errors Forum topic: http://forums.gentoo.org/viewtopic.php?p=270717
Hiya. We may want to send this bug upstream to the fetchyahoo version if it isn't fixed yet.
I have contacted the author about it. I spent some time with this today and I can't figure out where the problem is exactly. In the meantime, the package was version bumped because the upstream source file changed, but the filename didn't. (it's now at 2.5.3).
No response from author after 2 requests. We'll need someone to research & submit a fix from this if one doesn't originate from the author. In the meantime I need to get this off the list. This is not a Gentoo problem, but feel free to reopen this bug if/when a fix is obtained and we'll put it in. Cheers
I haven't seen a fix posted; however, fetchyahoo forward delivery is working for me with net-mail/postfix-2.0.16-r1 and net-mail/fetchyahoo-2.5-r1. My forward setup is fairly simple in fetchyahoorc: ###### mail forwarding configs ###### use-forward = 1 mail-host = myhost.mydomain.com send-to = user@myhost.mydomain.com send-from = ispuser@ispdomain.com Relevant postfix logs: Oct 7 00:57:36 [postfix/qmgr] 020D55531A: from=<ispuser@ispdomain.com>, size=1129, nrcpt=1 (queue active) Oct 7 00:57:36 [postfix/smtpd] disconnect from myhost.mydomain.com[127.0.0.1] Oct 7 00:57:36 [postfix/local] 020D55531A: to=<user@myhost.mydomain.com>, relay=local, delay=0, status=sent (maildir) If you're still having problems, I'll take a closer look at the code.
after few (non-related to the given bug) updates of postfix I've tried one more time and found that now it works. Whatever it was (postfix, yahoo itself or fetchyahoo) - it's gone and cannot replicate the bug anymore. If no one else can confirm it - I think the bug can be closed. Thank you for advises and support.