Hello,
Maybe SELinux problems are more related to CentOS than OpenVPN, but it may still help anyway.
I have a client-connect script which send a mail each time a client connect to the VPN.
It works if I launch openVPN from the command line, but doesn't work if I launch via "/etc/init.d/openvpn start". The reason is that SELinux prevent the openvpn context to send mails.
Other programs (Apache ...) uses a boolean "httpd_can_sendmail" to manage this case.
OpenVPN has a boolean: "openvpn_enable_homedirs", but nothing about mail currently.
Should I fill some feature request ??
Regards
Bruno
SELinux and client-connect to send mail
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 9
- Joined: Wed Oct 10, 2012 12:44 pm
-
- OpenVpn Newbie
- Posts: 9
- Joined: Wed Oct 10, 2012 12:44 pm