Summary: | mail/fetchmail - fetchmail_user ignored | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | graham |
Component: | Individual Port(s) | Assignee: | Simon Barner <barner> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
graham
2007-07-18 16:10:01 UTC
The fetchmail_user variable is intended for a multiuser setup where all users that are listed in fetchmail_users can start fetchmail with their own configuration file (default: /home/<username>/.fetchmailrc). If you use a single global configuration file (e.g. /usr/local/etc/fetchmailrc) then the hardcoded daemon user "fetchmail" will be used the rc script. fetchmail_user won't change it. That may be the intention, but the comments at the top of the startup script say that it's used in the system-wide daemon case and not the one with multiple users. And surely in the per-user case, each user's instance of fetchmail should run as that particular user. Hang on..., I've just checked. If fetchmail_users is set to "aaa bbb", and fetchmail_user set to "ccc", then the two instances of fetchmail are run as "aaa" and "bbb" respectively. So it's not used in that case either! Graham Responsible Changed From-To: freebsd-ports-bugs->barner Over to maintainer > That may be the intention, but the comments at the top of the startup > script say that it's used in the system-wide daemon case and not the one > with multiple users. Yes, that is the intendet behaviour. In the system-wide daemon case the fetchmail_user variable should be used (with default value 'fetchmail'). > > And surely in the per-user case, each user's instance of fetchmail > should run as that particular user. Hang on..., I've just checked. If > fetchmail_users is set to "aaa bbb", and fetchmail_user set to "ccc", > then the two instances of fetchmail are run as "aaa" and "bbb" > respectively. So it's not used in that case either! This is exspected. The fetchmail_user variable is ignored in the per-user configuration. I'll fix the single-daemon case to actually use the custom user and improve the documentation in that the fetchmail_user variable is ignored in the per-user case. barner 2007-07-22 11:20:19 UTC FreeBSD ports repository Modified files: mail/fetchmail Makefile mail/fetchmail/files fetchmail.in Log: - Actually respect the `fetchmail_user' variable in single daemon mode - Document that above variable is ignored in the per-user daemon mode - Bump port revision Requested by: Graham Menhennitt <graham@menhennitt.com.au> PR: ports/114701 Revision Changes Path 1.187 +1 -1 ports/mail/fetchmail/Makefile 1.8 +6 -2 ports/mail/fetchmail/files/fetchmail.in _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" State Changed From-To: open->closed Fixed in fetchmail-6.3.8_3. Thanks for the report. |