Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11455 - "provide mta"
Summary: "provide mta"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on: 34544
Blocks: 29499
  Show dependency tree
 
Reported: 2002-12-01 15:42 UTC by nth
Modified: 2004-08-25 03: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 nth 2002-12-01 15:42:44 UTC
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"
Comment 1 Nick Hadaway 2003-02-03 01:32:40 UTC
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.
Comment 2 Rafael Cordones Marcos 2003-02-27 08:24:06 UTC
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.
Comment 3 nth 2003-02-27 11:20:53 UTC
 
 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 
} 
 
Comment 4 Donny Davies (RETIRED) gentoo-dev 2003-03-01 01:47:17 UTC
sorry i didnt get around to this, raker seemed keen on it though ...
Comment 5 Daniel Robbins (RETIRED) gentoo-dev 2003-03-25 19:42:25 UTC
OK, fetchmail 6.2.2 now has "use mta" in it, so at least that part is in place.
Comment 6 Daniel Robbins (RETIRED) gentoo-dev 2003-04-18 21:45:15 UTC
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.
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-02 17:08:55 UTC
what's the best way to accomplish this for things that don't rely on the
startup scripts?
(eg qmail)
Comment 8 Seemant Kulleen (RETIRED) gentoo-dev 2003-10-02 17:21:06 UTC
maybe a dummy initscript, or a mta-config utility which, when queried, tells
who's providing the virtual?
Comment 9 Martin Holzer (RETIRED) gentoo-dev 2004-01-18 06:51:34 UTC
exim is also fixed
Comment 10 Benjamin Judas (RETIRED) gentoo-dev 2004-08-25 00:59:29 UTC
So, can we close this one now?
Comment 11 nth 2004-08-25 03:01:54 UTC
 Fetchmail/postfix dependency fixed as requested.