I have installed and configured both fetchmail and postfix without any problem. - fetchmail net-mail/fetchmail-6.1.2 - net-mail/postfix-1.1.11.20020917-r1 I have specified for boot time : # etc-update add fetchmail default # etc-update add postfix default At next reboot, fetchmail try to start before postfix (but cannot do his job right, as it uses postfix). So i had to modify their init.d scripts : - for fetchmail : (you could do the changes in /usr/portage/net-mail/fetchmail/files/fetchmail) depend() { use mta } - for postfix : (you could do the changes in /usr/portage/net-mail/postfix/files/postfix.rc6) depend() { need net use logger provide mta } I have choosen to introduce a virtual service (mta) rather than naming postfix, as fetchmail may use any configured mta (ssmtp for example). You can contact me at y.lesaint@free.fr (for now i have my mail working ;) ), please let me know if these informations were useful or not. Regards, nth. PS: i could not find any better place than bugs.gentoo.org to submit this report, as i do not know why i always have some "#gentoo-dev :The channel demigods have stolen your voice" on channel gentoo-dev, server openprojects"
I like the idea... there are a lot of ebuilds to change :) i'll do the change soon... just need to organize it to do it all in one swoop.
I suppose it is just a typo but you say: "I have specified for boot time : # etc-update add fetchmail default # etc-update add postfix default" AFAIK, it should be "rc-update" and not "etc-update". Hope it helps.
It sure is just some typo, s/etc-update/rc-update/g In order to keep the bug up to date, you can also modify your /etc/init.d/fetchmail and /etc/init.d/postfix for net-mail/fetchmail-6.2.1-r1 and net-mail/postfix-2.0.3. for /etc/init.d/postfix : depend() { need net use logger dns provide mta } for /etc/init.d/fetchmail : depend() { use mta }
sorry i didnt get around to this, raker seemed keen on it though ...
OK, fetchmail 6.2.2 now has "use mta" in it, so at least that part is in place.
postfix-2.0.9 (to be commited in a sec) has a "provide mta" in it now. Keeping this bug open until all our mtas are fixed.
what's the best way to accomplish this for things that don't rely on the startup scripts? (eg qmail)
maybe a dummy initscript, or a mta-config utility which, when queried, tells who's providing the virtual?
exim is also fixed
So, can we close this one now?
Fetchmail/postfix dependency fixed as requested.