[courier-users] setuid/setgid problem, mail from website not sent

2017-07-05 Thread Bernd Plagge
Hi Sam, thank you VERY much! This was the answer. Just for the record: I had to downgrade my Debian system due to issues with the new Debian packages. Seems that the permissions on the sendmail wrapper were not set correctly by the installation program. Again, thank you very much! On Thu, 0

[courier-users] sendmail removes bcc header unconditionally

2017-07-05 Thread Gordon Messmer
I'm working on improving my "sentfolder" mail filter. This filter works like GMail's SMTP system, copying messages that a user sends into their sent folder, so that messages only need to traverse the network once. Courier IMAP has a better option, but no client support to speak of. I've upda

Re: [courier-users] Blacklisted email addresses not cleared

2017-07-05 Thread Sam Varshavchik
Bernd Plagge writes: Hi all I recently found some cases were blacklisted email addresses (recorded in /var/lib/courier/track) were not cleared by the "courier clear user@domain" command. I ran strace and here is the result: fstat64(3, {st_mode=S_IFREG|0644, st_size=173, ...}) = 0 write(

Re: [courier-users] setuid/setgid problem, mail from website not sent

2017-07-05 Thread Sam Varshavchik
Bernd Plagge writes: Hi I'm trying to send mail from website mail, or webmail. However, sending doesn't work, Log entries: Jul 06 00:25:45 linde lighttpd[1182]: setuid/setgid: Operation not permitted Jul 06 00:25:45 linde lighttpd[1182]: /cgi-bin/FormMail.pl: close sendmail pipe failed, mai

Re: [courier-users] setuid/setgid problem, mail from website not sent

2017-07-05 Thread Gordon Messmer
On 07/05/2017 11:33 AM, Bernd Plagge wrote: What can I do to solve this problem? First, "setenforce permissive" and send a message, or examine /var/log/audit/audit.log to see if this is an SELinux denial. Next, in permissive mode, use "tail -f /var/log/audit/audit.log | grep AVC" to watch

[courier-users] setuid/setgid problem, mail from website not sent

2017-07-05 Thread Bernd Plagge
Hi I'm trying to send mail from website mail, or webmail. However, sending doesn't work, Log entries: Jul 06 00:25:45 linde lighttpd[1182]: setuid/setgid: Operation not permitted Jul 06 00:25:45 linde lighttpd[1182]: /cgi-bin/FormMail.pl: close sendmail pipe failed, mailprog=[/usr/lib/sendmai

[courier-users] Blacklisted email addresses not cleared

2017-07-05 Thread Bernd Plagge
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi all I recently found some cases were blacklisted email addresses (recorded in /var/lib/courier/track) were not cleared by the "courier clear user@domain" command. Permissions for the directory are: linde:/var/lib/courier# ls -l total 544 drwxr