Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18876 - fetchyahoo not compatible with postfix
Summary: fetchyahoo not compatible with postfix
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Dylan Carlson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-06 17:54 UTC by Axxackall
Modified: 2003-10-26 12:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axxackall 2003-04-06 17:54:27 UTC
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
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2003-04-18 21:53:14 UTC
Hiya. We may want to send this bug upstream to the fetchyahoo version if it isn't fixed yet.
Comment 2 Dylan Carlson (RETIRED) gentoo-dev 2003-04-18 22:35:30 UTC
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). 
Comment 3 Dylan Carlson (RETIRED) gentoo-dev 2003-05-26 05:40:17 UTC
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
Comment 4 Doug Weimer 2003-10-07 00:52:06 UTC
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.
Comment 5 Axxackall 2003-10-26 12:01:04 UTC
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.