Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376569 - mail-mta/exim should support multiple instances
Summary: mail-mta/exim should support multiple instances
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor with 1 vote (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2011-07-27 08:35 UTC by Janos Pasztor
Modified: 2011-08-03 19:09 UTC (History)
3 users (show)

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


Attachments
Patch for the init script (exim-init.d.diff,1.06 KB, patch)
2011-07-27 08:36 UTC, Janos Pasztor
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Janos Pasztor 2011-07-27 08:35:37 UTC
Exim currently comes with an init script, that supports launching only one Exim instance at a time. When managing large infrastructures, it's sometimes easier to launch multiple instances.

Reproducible: Always

Steps to Reproduce:
None
Actual Results:  
Exim can run only one instance with the default init script.

Expected Results:  
Exim init script able to launch multiple instances by symlinking.
Comment 1 Janos Pasztor 2011-07-27 08:36:56 UTC
Created attachment 281109 [details, diff]
Patch for the init script

Please include this patch in the ebuilds.
Comment 2 Fabian Groffen gentoo-dev 2011-07-27 17:52:32 UTC
ok, looks pretty trivial.  Do you know any other mta's that support this?
Comment 3 Janos Pasztor 2011-07-27 18:15:44 UTC
No, not this way. Postfix supports running multiple daemons by adding them to master.cf I think.

Also if you want to test it, be sure to set a separate PID file and spool dir for your alternste instance.
Comment 4 Eray Aslan gentoo-dev 2011-07-27 18:38:00 UTC
(In reply to comment #3)
> Postfix supports running multiple daemons by adding them to master.cf I think.

That's something different.  For pre-postfix-2.9 see postfix.rc6.2.5 in $FILESDIR.  For >=postfix-2.9 see postfix.rc6.2.6 and bug #292224
Comment 5 Janos Pasztor 2011-07-27 20:02:08 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Postfix supports running multiple daemons by adding them to master.cf I think.
> 
> That's something different.  For pre-postfix-2.9 see postfix.rc6.2.5 in
> $FILESDIR.  For >=postfix-2.9 see postfix.rc6.2.6 and bug #292224

In that case I'm sorry, I don't really use Postfix. The above method works for Exim though, using it on like a dozen machines with custom config files.
Comment 6 Fabian Groffen gentoo-dev 2011-08-03 19:09:41 UTC
Committed in 4.67-r1.  I made a small change to the config file, not to use a different directory, but a different file instead, for I think that's more consistent with the rest.

Thanks!