Timo Röhling
fefe8efceb
Merge initial systemd support from bjoe2k4
10 lat temu
bjoe2k4
32d2cd0abd
Fix file path of default file in postinstall
10 lat temu
bjoe2k4
45bdf8e363
Small fix for systemd service file
10 lat temu
bjoe2k4
037a57ba50
Set secret file in default file at compile time
10 lat temu
bjoe2k4
f097d1be4c
Rename postsrsd.default
10 lat temu
bjoe2k4
b4bcb77ca7
Initial systemd support
10 lat temu
Timo Röhling
1493d5f38c
Bind IPv4 ports by default
10 lat temu
Timo Röhling
a4a53c7b9f
Flush before waiting for new input, not after
10 lat temu
Timo Röhling
859796b126
Workaround for Solaris libc
The Solaris libc has some issues with alternating input and output
on sockets passed to fdopen(). Apparently there is a shared buffer
which has to be emptied, either by fseek() or fflush(), whenever
the direction of the data flow changes.
10 lat temu
Timo Röhling
70878f964c
Whitespace fix
10 lat temu
Timo Röhling
a534a528f7
Check for headers which may or may not be available
10 lat temu
Timo Röhling
69275bebaa
Fix pointer conversion warnings
10 lat temu
Timo Röhling
931406ebdd
Update README
10 lat temu
TomBoehm
5b08179493
Add preliminary Mac OS X support
10 lat temu
Timo Röhling
f430c83b82
Load timezone info before chroot
Fixes #13
10 lat temu
Timo Röhling
174337768c
Merge pull request #16 from crispygoth/master
A couple of small fixes: closing listen sockets in child and ignoring EINTR errors from main poll
10 lat temu
Chris Butler
6abd042ee3
Ignore EINTR errors from main poll() loop
When trying to connect the strace tool to the daemon's main process, the
daemon would die because strace interrupted the poll() causing it to
return EINTR.
It should be safe to ignore EINTR errors from poll in this case. Either
the received signal will be otherwise ignored by the process, or it will
cause it to terminate.
10 lat temu
Chris Butler
0fc199d5bc
Close the listen sockets in child processes
By keeping the listen sockets open, the children were preventing the
daemon from being restarted cleanly. Once the child has forked these
listen sockets are no longer needed by that process, so can be closed.
10 lat temu
Timo Röhling
6e582bc915
Merge pull request #15 from rvrangel/master
add status check to LSB init script
10 lat temu
Renan Rangel
7e862adb38
add status check to LSB init script
10 lat temu
Timo Röhling
6c0be7c5b3
Use PERMISSIONS keyword instead of FILE_PERMISSIONS
Fixes #6
10 lat temu
Timo Röhling
9cd1faabb3
Swap detection order of sysv-redhat and sysv-lsb
/lib/lsb/init-functions exists on Redhat system, but
/etc/init.d/functions does not on Debian-based systems, so
this should work better out-of-the-box.
Fixes #7
10 lat temu
Timo Röhling
ddd3612d30
Make sysconfig directory configurable
10 lat temu
Timo Röhling
e813563933
Make documentation location configurable
This is an ongoing effort to allow different file system layouts (#5 )
10 lat temu
Timo Röhling
4a3349d538
1.1
10 lat temu
Timo Röhling
e33d892526
Make config file location configurable
10 lat temu
Timo Röhling
6c1da85137
Remove strict error checking from Red Hat init script
working on issue #4
10 lat temu
Timo Röhling
ea35d05dcf
Check for extra command line arguments
Otherwise, excluded domains might be silently ignored.
10 lat temu
Timo Röhling
e915847e73
Do not show help on command line errors
This obfuscates the error message too much.
10 lat temu
Timo Röhling
682d5ad906
Start postsrsd with full path to binary
Also, distinguish between script name and binary name (#4 )
10 lat temu
Timo Röhling
1ac30effea
Fix #3 again
10 lat temu
Timo Röhling
dabac67c35
Add Red Hat-style init script
Thanks to @timeos for the initial version (#4 )
10 lat temu
Timo Röhling
2bdfca0268
Remove unneeded -w0 option from base64 call
10 lat temu
Timo Röhling
69a58fa09b
Fix #3
Apparently, CMake versions < 2.8 expect the FILES keyword in the
file(INSTALL) command.
11 lat temu
Timo Röhling
384331767d
Fix Travis CI script
11 lat temu
Timo Röhling
999db839f1
Add Travis CI support
11 lat temu
Timo Röhling
8d6d6c1e73
Merge pull request #2 from bjoe2k4/patch-2
Update main.cf.ex
11 lat temu
Timo Röhling
fa21e57fec
Merge pull request #1 from bjoe2k4/patch-1
Update README.md
11 lat temu
bjoe2k4
7e966b69f3
Update main.cf.ex
11 lat temu
bjoe2k4
fd546fdb86
Update README.md
11 lat temu
Timo Röhling
45648f63df
Optionally exclude domains from address rewriting
Useful for subdomains which are handled by the same
mail server.
11 lat temu
Timo Röhling
ff33d043b9
Support for multiple secrets
The secrets file is now parsed line by line, and
each line (excluding CR and/or LF) is used as a secret.
Only the first secret is used for signing, but all
secrets are used for verification.
11 lat temu
Timo Röhling
521be6ecc3
Fix line indentation
This is purely cosmetic.
11 lat temu
Timo Röhling
37c6dc7b0d
Pacify C compiler
This eliminates a warning about a missing return
statement. The code was correct though, because
hex2num() is guarded by is_hexdigit().
11 lat temu
Timo Röhling
9689ece89f
Make startup scripts whitespace-safe.
This is in preparation for future parameters which
may contain whitespaces.
11 lat temu
Timo Röhling
73ccc24b88
Ignore Eclipse project files
11 lat temu
Timo Röhling
59f44111e9
Older CMake versions do not support -1 for string length
12 lat temu
Timo Röhling
6dd6a525f7
Add AppArmor support
12 lat temu
Timo Röhling
c29c38d622
Add chroot capability
12 lat temu
Timo Röhling
50405724ea
Relax required cmake version
12 lat temu