On 06.07.17 12:43, Bernd Plagge wrote:
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.

I believe debian developer either knows what permissions to set up, or
should be informed if that causes troubles...

On Thu, 06 Jul 2017 03:03:37 +0000
courier-users-requ...@lists.sourceforge.net wrote:

From: Sam Varshavchik <mr...@courier-mta.com>
To: courier-users@lists.sourceforge.net
Subject: Re: [courier-users] setuid/setgid problem,  mail from website not      
   sent
Date: Wed, 05 Jul 2017 17:55:26 -0400

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, mailprog=[/usr/lib/sendmail -oi -t] at (eval 9) line 108.
>
> The courier sendmail program:
> s -l /usr/sbin/sendmail
> -rwxr-sr-x 1 root courier 59120 Jan 26  2015 /usr/sbin/sendmail
>
>
> What can I do to solve this problem?

Permissions on the sendmail wrapper should be setuid root, not setgid.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Windows 2000: 640 MB ought to be enough for anybody

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to