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