Before anyone tries to echo QMAILQUEUE into a -file- named 'env', please
note that env should be a folder (that is not created by default if you
followed the LWQ instructions).  Just wanted to head that off befoe it
started. :)

- J

----- Original Message -----
From: "Jamyn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 14, 2002 8:17 PM
Subject: Re: [Qmail-scanner-general]setuid


> There is no need to make the whole perl binary suid on FreeBSD unless you
> really want to; just make the tiny wrapper script suid instead.
>
> # cd qmail-scanner-1.12/contrib
> # gcc -o qmail-scanner-queue qmail-scanner-queue.c
> # chown qmailq.qmail qmail-scanner-queue ; chmod 4755 qmail-scanner-queue
> # cp qmail-scanner-queue /var/qmail/bin/
> # vi qmail-scanner-1.12/qmail-scanner-queue.pl
>
> .. last three steps are to
> 1) edit the qmail-scanner-queue.pl and change it from /usr/bin/suidperl -T
> to just /usr/bin/perl ..
> 2) chown qmailq.qmail qmail-scanner-queue.pl ; chmod 0755
> qmail-scanner-queue.pl ; cp qmail-scanner-queue.pl /var/qmail/bin/
> 3) edit your smtpd startup scripts and instead of setting QMAILQUEUE to
> qmail-scanner-queue.pl, set it to the wrapper (qmail-scanner-queue)
>
> If you are using daemontools (ala Life With Qmail style) you can set
> QMAILQUEUE in
>
> # echo "/var/qmail/bin/qmail-scanner-queue" >
> /var/qmail/supervise/qmail-smtpd/env
>
> As a last note, McAffee Antivirus for FreeBSD (4.1.6 or whatever the
latest
> version is) will refuse to run and complain about a missing
> lib<something.so.3> or whatever. (I didn't write down the exact filename).
> Just symlink it to <the same filename name.so.4> and it will run fine.
>
> Hope it helps,
>
> - J
>
>
> ----- Original Message -----
> From: "Cates, Brett" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Tuesday, May 14, 2002 2:11 PM
> Subject: RE: [Qmail-scanner-general]setuid
>
>
> > I had the same issue a week or so ago and I am running FBSD 4.5 as well.
> It
> > ended up being a problem with perl not having rights to do a suid.
Here's
> > the commands I ran:
> >
> > chown root /usr/bin/suidperl
> > chmod 4711 /usr/bin/suidperl
> >
> > Hope this helps...
> >
> > Brett
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, May 14, 2002 2:05 PM
> > To: [EMAIL PROTECTED]
> > Subject: [Qmail-scanner-general]setuid
> >
> >
> > Hi,
> > I installed qmail with vpopmail, then qmail-scanner on it.
> > When I am trying to send mail , in the log I get 'Can't do setuid' ?
> >
> > What can be the problem? The script is set as suid.
> >
> > System is FreeBSD 4.5 Stable.
> >
> > Thanks,
> > Berna
> >
> >
> >
> >
> >
> >
> > _______________________________________________________________
> >
> > Have big pipes? SourceForge.net is looking for download mirrors. We
supply
> > the hardware. You get the recognition. Email Us:
[EMAIL PROTECTED]
> > _______________________________________________
> > Qmail-scanner-general mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
> >
> > _______________________________________________________________
> >
> > Have big pipes? SourceForge.net is looking for download mirrors. We
supply
> > the hardware. You get the recognition. Email Us:
[EMAIL PROTECTED]
> > _______________________________________________
> > Qmail-scanner-general mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
> >
>


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to