#
b151f12f |
| 25-Dec-2023 |
kre <kre@NetBSD.org> |
Do away with the obsolete text(1) -a operator, use sh && instead. Prefer sh ! operator over test's ! (less question what it means). A few minor formatting changes.
|
#
01a583bb |
| 09-Aug-2019 |
rin <rin@NetBSD.org> |
little bit verbose for slow machines
|
#
6b3de624 |
| 30-Oct-2016 |
riastradh <riastradh@NetBSD.org> |
Handle variable expansion and comma/space separators in postconf.
From Timo Buhrmester: https://mail-index.netbsd.org/tech-userlevel/2016/08/20/msg010301.html
|
#
e3d8d886 |
| 23-Jul-2015 |
riz <riz@NetBSD.org> |
Implement "status" command for postfix - makes tools like ansible happier.
|
#
bb9a479c |
| 15-Apr-2009 |
perry <perry@NetBSD.org> |
un-uppercase pseudodependency for the moment so as not to break pkgsrc
|
#
6b9d40b0 |
| 15-Apr-2009 |
perry <perry@NetBSD.org> |
uppercase pseudodependency
|
#
d4b5db05 |
| 27-Aug-2007 |
pavel <pavel@NetBSD.org> |
Add some magic (similar to the one in rc.d/sendmail introduced with 2.0 release) to not start postfix if $postfix is not explicitely set and another mailer is selected in /etc/mailer.conf. Also print
Add some magic (similar to the one in rc.d/sendmail introduced with 2.0 release) to not start postfix if $postfix is not explicitely set and another mailer is selected in /etc/mailer.conf. Also print a warning if it happens because the mailer in rc.conf is the removed sendmail.
This prevents starting two MTAs at once if one uses a custom MTA.
As proposed on tech-userlevel, approved by martin.
show more ...
|
#
156b02ea |
| 07-Sep-2006 |
christos <christos@NetBSD.org> |
make postconf configurable
|
#
4f593623 |
| 07-Sep-2006 |
christos <christos@NetBSD.org> |
- find the correct newaliases program from postconf (suggested by Geert Hendrickx) - only check for hash files.
|
#
e32e5139 |
| 05-Sep-2006 |
christos <christos@NetBSD.org> |
Find the alias file name from the postfix configuration. From our anonymous user.
|
#
8ab9b7b4 |
| 18-Jun-2006 |
christos <christos@NetBSD.org> |
PR/33760: dieter roelants: a default install can't send mail due to missing aliases.db
|
#
7d2e1537 |
| 13-Aug-2004 |
mycroft <mycroft@NetBSD.org> |
Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this for a speedup by doing: $_rc_subr_loaded . /etc/rc.subr
|
#
68909c28 |
| 08-Apr-2004 |
lukem <lukem@NetBSD.org> |
Store the full path to the /usr/sbin/postfix in $postfix_command and use the latter postfix_op() to implement start/stop/reload. (We generally use full paths in rc.d scripts.) Problem noted by Bill
Store the full path to the /usr/sbin/postfix in $postfix_command and use the latter postfix_op() to implement start/stop/reload. (We generally use full paths in rc.d scripts.) Problem noted by Bill Squier.
show more ...
|
#
2c589141 |
| 31-Jan-2003 |
lukem <lukem@NetBSD.org> |
Implement start_cmd as: start_cmd="${name} "'${rc_arg}' and stop_cmd & reload_cmd as: stop_cmd=$start_cmd reload_cmd=$start_cmd (Just to be tricky)
|
#
a402e4cd |
| 12-Feb-2002 |
lukem <lukem@NetBSD.org> |
populate /var/spool/postfix/etc with /etc/{localtime,resolv.conf,services}. per suggestion from perry.
|
#
bd11504c |
| 19-Sep-2000 |
lukem <lukem@NetBSD.org> |
- only perform the checkyesno on the variable named in $rcvar (rather than implicitly using $name if $rcvar isn't set), and always perform this check, even when using start_cmd (et al). this ch
- only perform the checkyesno on the variable named in $rcvar (rather than implicitly using $name if $rcvar isn't set), and always perform this check, even when using start_cmd (et al). this check is performed before the pidcmd is run, speeding up scripts that weren't going to be run anyway. this should speed up booting slow systems.
- take advantage of the above and remove start_precmd="checkyesno foo" in scripts that use start_cmd.
- explicitly set rcvar=foo in the rc.d/foo scripts which have an equivalent rc.conf entry
- fix `rcvar' and `restart' when $rcvar isn't set. these above changes fix PR [bin/11027].
- when doing `force*', ignore the return value of *_precmd. this fixes PR [bin/10781].
- rename what sysdb provides from `databases' to `sysdb', to reflect the name of the script.
- improve the comments in rc.subr
show more ...
|
#
5c1b0ec2 |
| 13-May-2000 |
lukem <lukem@NetBSD.org> |
Use load_rc_config() (from rc.subr) instead of sourcing /etc/rc.conf. This allows us or a user to change the configuration file method in one place - rc.subr - without having to edit all of the rc.d/
Use load_rc_config() (from rc.subr) instead of sourcing /etc/rc.conf. This allows us or a user to change the configuration file method in one place - rc.subr - without having to edit all of the rc.d/* files.
show more ...
|
#
32c9a440 |
| 30-Apr-2000 |
lukem <lukem@NetBSD.org> |
- use checkyesno in $start_precmd and change start_cmd to `postfix start' - use $extra_commands instead of passing "reload" to run_rc_command
|
#
c9f5754e |
| 27-Apr-2000 |
veego <veego@NetBSD.org> |
You need to add a xxx_precmd with a checkyesno yyy if you use a xxx_cmd in an rc.d script.
|
#
fad0a374 |
| 26-Apr-2000 |
thorpej <thorpej@NetBSD.org> |
Provide rc.d support for the Postfix mail system. Committed to the base because there is no support for packages in rc.d, and Postfix is supposed to become part of the base system anyhow.
|