Konstantin Ryabitsev
51aea0d39a
Fix SELinux policy to allow chroot
Looks like SELinux additionally requires dav_override and
dac_read_search in order to be able to chroot. Additionally, we create
postsrsd_var_lib_t, which is what /var/lib/postsrsd should be instead of
the global var_lib_t.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org >
vor 7 Jahren
Timo Röhling
908f96bcdc
Add test framework
vor 7 Jahren
Timo Röhling
a77bf9940c
Merge pull request #65 from gerasiov/master
postsrsd.c: Close all file descriptors on process start.
vor 7 Jahren
Alexander GQ Gerasiov
a0f5ffa99a
postsrsd.c: Close all file descriptors on process start.
Signed-off-by: Alexander GQ Gerasiov <gq@cs.msu.su >
vor 7 Jahren
Timo Röhling
d0c8e0133c
Merge pull request #63 from gadall/gedalya-add-length
Make hash length and hash minimum length configurable
vor 7 Jahren
Gedalya
9aaaf37afb
exim documentation: minor touchup
vor 8 Jahren
Gedalya
3d66f6d8a8
Document usage with Exim
vor 8 Jahren
Gedalya
9ada5d59c0
Clarify hash minimum length usage
vor 8 Jahren
Gedalya
54e5923379
Make hash length and hash minimum length configurable
vor 8 Jahren
Timo Röhling
11d04014fa
Fix policy command
vor 8 Jahren
Timo Röhling
8c26228263
Set cmake_policy() to silence warning by CMake 3.x
Fixes #56
vor 8 Jahren
Timo Röhling
ebc6ec13d0
Revert "Do not read LOCATION property any more"
This reverts commit 9f971b2e66 .
vor 8 Jahren
Timo Röhling
9f971b2e66
Do not read LOCATION property any more
This addresses an issue mentioned in #55
vor 8 Jahren
Timo Röhling
f422325ccd
Update README
vor 8 Jahren
Timo Röhling
00b0bb7d11
Honor PREFIX environment variable
vor 8 Jahren
Timo Röhling
7ce1a5b3bf
Update README
Closes #49
vor 8 Jahren
Timo Röhling
d779cb03cb
Merge pull request #52 from mgbowman/master
New command line option to select listening interface
vor 8 Jahren
Matthew Bowman
fc2ba94684
add the ability to set the socket listen address
vor 8 Jahren
Dan Callaghan
731ef505e2
systemd: populate SRS_DOMAIN default using postconf
Fixes #48
vor 8 Jahren
Timo Röhling
2844500aef
Merge pull request #51 from danc86/selinux
add SELinux policy module
vor 8 Jahren
Dan Callaghan
70f1ff08b7
add SELinux policy module
vor 8 Jahren
Timo Röhling
a5068306f1
1.4
vor 8 Jahren
Timo Röhling
af7a24ac27
Add dual stack support
Closes #46
vor 8 Jahren
Timo Röhling
e2ed71fa64
Fix comment
vor 8 Jahren
Timo Röhling
9f302b8d6b
Fix header includes for FreeBSD compatibility
Fixes #45
vor 8 Jahren
Timo Röhling
772b420203
Remove space between -X and its optional argument
Fixes #44
vor 8 Jahren
Timo Röhling
855bd4652a
Fix command line corruption on empty option arguments
Fixes #33
vor 9 Jahren
Timo Röhling
d549b3ff35
1.3
vor 9 Jahren
Timo Röhling
bcc6c2ba9a
Warn explicitly about configuration file updates
The configuration file will never be overwritten automatically.
Therefore, changes need to be applied by the user manually.
vor 9 Jahren
Timo Röhling
050c6a2407
Update startup scripts
vor 9 Jahren
Timo Röhling
90718d708b
Make SRS separator configurable
vor 9 Jahren
Timo Röhling
8653cca9b1
A few corrections
Use char instead of char* for the single character and don't do this
weird casting thing where a char gets stored in the pointer.
vor 9 Jahren
nichivo
1d7e242fa6
Add an argument for the first separator character after SRS0 and SRS1. The default is now = instead of +
vor 9 Jahren
Timo Röhling
541cf6e7f3
Merge pull request #32 from bjoe2k4/master
Read config directly from environment variables
vor 9 Jahren
bjoe2k4
1e2f2d535d
Revert "Bind to both ipv4 and ipv6 by default."
This reverts commit cdb223542a .
vor 9 Jahren
bjoe2k4
546399561a
Update systemd file
Network is not need anymore to start postsrsd.
vor 9 Jahren
bjoe2k4
e12167c202
Read config from environment
vor 9 Jahren
bjoe2k4
cdb223542a
Bind to both ipv4 and ipv6 by default.
vor 9 Jahren
Timo Röhling
b161cb4358
Merge pull request #28 from bjoe2k4/master
Remove addrinfo flags
vor 9 Jahren
bjoe2k4
10e8b8214d
Remove addrinfo flags
Remove flags since they require the network to be up and routable for no reason.
vor 9 Jahren
Oxan van Leeuwen
e69a69c6ef
Fix typo in systemd service
vor 9 Jahren
Timo Röhling
b02a1db057
Improve configuration
vor 10 Jahren
Timo Röhling
2e41017de3
Typo
vor 10 Jahren
Timo Röhling
031c5b4e87
Known issue with rewriting
Closes #14
Closes #17
vor 10 Jahren
Timo Röhling
ed482a33e1
Known issue with CentOS 6
As reported in #25
vor 10 Jahren
Timo Röhling
1d1c8f46e8
Use openssl binary of no base64 binary is available
Suggested by maxfieb (#21 )
vor 10 Jahren
Timo Röhling
505f09d135
Link against libsocket and libnsl on Solaris
Fixes #21
vor 10 Jahren
Timo Röhling
51e9288c93
1.2
vor 10 Jahren
Timo Röhling
a557a77ef4
Add more flags to be passed to makefile fragment
vor 10 Jahren
Timo Röhling
0442b31227
Fix more warnings
vor 10 Jahren