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.
hace 10 años
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.
hace 10 años
Timo Röhling
6e582bc915
Merge pull request #15 from rvrangel/master
add status check to LSB init script
hace 10 años
Renan Rangel
7e862adb38
add status check to LSB init script
hace 10 años
Timo Röhling
6c0be7c5b3
Use PERMISSIONS keyword instead of FILE_PERMISSIONS
Fixes #6
hace 10 años
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
hace 10 años
Timo Röhling
ddd3612d30
Make sysconfig directory configurable
hace 11 años
Timo Röhling
e813563933
Make documentation location configurable
This is an ongoing effort to allow different file system layouts (#5 )
hace 11 años
Timo Röhling
4a3349d538
1.1
hace 11 años
Timo Röhling
e33d892526
Make config file location configurable
hace 11 años
Timo Röhling
6c1da85137
Remove strict error checking from Red Hat init script
working on issue #4
hace 11 años
Timo Röhling
ea35d05dcf
Check for extra command line arguments
Otherwise, excluded domains might be silently ignored.
hace 11 años
Timo Röhling
e915847e73
Do not show help on command line errors
This obfuscates the error message too much.
hace 11 años
Timo Röhling
682d5ad906
Start postsrsd with full path to binary
Also, distinguish between script name and binary name (#4 )
hace 11 años
Timo Röhling
1ac30effea
Fix #3 again
hace 11 años
Timo Röhling
dabac67c35
Add Red Hat-style init script
Thanks to @timeos for the initial version (#4 )
hace 11 años
Timo Röhling
2bdfca0268
Remove unneeded -w0 option from base64 call
hace 11 años
Timo Röhling
69a58fa09b
Fix #3
Apparently, CMake versions < 2.8 expect the FILES keyword in the
file(INSTALL) command.
hace 11 años
Timo Röhling
384331767d
Fix Travis CI script
hace 12 años
Timo Röhling
999db839f1
Add Travis CI support
hace 12 años
Timo Röhling
8d6d6c1e73
Merge pull request #2 from bjoe2k4/patch-2
Update main.cf.ex
hace 12 años
Timo Röhling
fa21e57fec
Merge pull request #1 from bjoe2k4/patch-1
Update README.md
hace 12 años
bjoe2k4
7e966b69f3
Update main.cf.ex
hace 12 años
bjoe2k4
fd546fdb86
Update README.md
hace 12 años
Timo Röhling
45648f63df
Optionally exclude domains from address rewriting
Useful for subdomains which are handled by the same
mail server.
hace 12 años
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.
hace 12 años
Timo Röhling
521be6ecc3
Fix line indentation
This is purely cosmetic.
hace 12 años
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().
hace 12 años
Timo Röhling
9689ece89f
Make startup scripts whitespace-safe.
This is in preparation for future parameters which
may contain whitespaces.
hace 12 años
Timo Röhling
73ccc24b88
Ignore Eclipse project files
hace 12 años
Timo Röhling
59f44111e9
Older CMake versions do not support -1 for string length
hace 12 años
Timo Röhling
6dd6a525f7
Add AppArmor support
hace 12 años
Timo Röhling
c29c38d622
Add chroot capability
hace 12 años
Timo Röhling
50405724ea
Relax required cmake version
hace 12 años
Timo Röhling
c6bc37881d
More verbose config documentation
hace 12 años
Timo Röhling
15b9a6fee9
Add useful whatis description to manual page
hace 12 años
Timo Röhling
74cfa490e1
Add option to disable secret key generation
hace 12 años
Timo Röhling
d830af0c56
Make init flavor configurable
Currently supported are Upstart and System-V.
hace 12 años
Timo Röhling
edd483d553
Fix init prerequisites
hace 12 años
Timo Röhling
6912201da2
Use actual executable name
hace 12 años
Timo Röhling
14e1589ab7
Do not keep generated key in build folder
hace 12 años
Timo Röhling
9ea7d2b6a0
Use Postfix mydomain as SRS_DOMAIN default value
hace 12 años
Timo Röhling
0bf71b0f9f
Do not overwrite defaults configuration file
This file may contain customized configuration options
which should not be overwritten on install.
hace 12 años
Timo Röhling
df7a3836c4
Added syslog output
hace 12 años
Timo Röhling
5d26960180
Fix special character escape
hace 12 años
Timo Röhling
35ec3e10a8
Initial commit
hace 12 años