Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:p_conrad
nullmailer
debian.postinst
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File debian.postinst of Package nullmailer
#!/bin/sh getent group mail >/dev/null || groupadd -r mail getent group adm >/dev/null || groupadd -r adm getent passwd mail >/dev/null || useradd -r -g mail -d "/usr/lib/nullmailer/service" -s /sbin/nologin -c "User for nullmailer" mail chown -R mail:mail /var/spool/nullmailer /usr/sbin/nullmailer-queue chmod go-rwx /var/spool/nullmailer/* chown mail:mail /usr/sbin/nullmailer-queue chmod 4711 /usr/sbin/nullmailer-queue chown mail:adm /usr/bin/mailq chmod 4710 /usr/bin/mailq chown mail:adm /var/log/nullmailer chmod g+s /var/log/nullmailer if ! [ -s "/etc/nullmailer/me" ]; then hostname --fqdn >"/etc/nullmailer/me" fi if ! [ -s "/etc/nullmailer/defaultdomain" ]; then hostname --domain >"/etc/nullmailer/defaultdomain" fi if [ -d /etc/service -a ! -d /etc/service/nullmailer ]; then touch /usr/lib/nullmailer/service/down ln -s /usr/lib/nullmailer/service /etc/service/nullmailer fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor