Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3768440
run
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
670 B
Referenced Files
None
Subscribers
None
run
View Options
#!/bin/bash -e
chown mail /var/spool/nullmailer
# If directory is empty, we restore it from our copy of initial files
[[
$(
ls -A /var/spool/nullmailer
|
grep -v placeholder
)
]]
||
cp -a /var/spool/nullmailer.orig/* /var/spool/nullmailer/
if
[
! -p /var/spool/nullmailer/trigger
]
;
then
rm -f /var/spool/nullmailer/trigger
mkfifo /var/spool/nullmailer/trigger
fi
chown mail:root /var/spool/nullmailer/trigger
chmod
0622
/var/spool/nullmailer/trigger
if
[
"
$ADMINADDR
"
]
;
then
echo
"
$ADMINADDR
"
> /etc/nullmailer/adminaddr
fi
if
[
"
$REMOTES
"
]
;
then
echo
"
$REMOTES
"
> /etc/nullmailer/remotes
fi
exec
chpst -u mail:mail /usr/sbin/nullmailer-send
2
>
&
1
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Mon, Nov 25, 07:57 (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259793
Default Alt Text
run (670 B)
Attached To
Mode
rSYMPA Sympa Docker container
Attached
Detach File
Event Timeline
Log In to Comment