public inbox for gentoo-user-pl@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Grzegorz Dzięgielewski" <g.dziegielewski@polmozbyt.krakow.pl>
To: gentoo-user-pl@gentoo.org
Subject: Re: [gentoo-user-pl] Qmail auth i antywirus
Date: Tue, 17 Jun 2003 20:44:51 +0000	[thread overview]
Message-ID: <20030617204451.116f6c92.g.dziegielewski@polmozbyt.krakow.pl> (raw)
In-Reply-To: <20030617213713.17d76aea.apo@klub.chip.pl>

On Tue, 17 Jun 2003 21:37:13 +0200
^Apo^ <apo@klub.chip.pl> wrote:

> Miałem podobne problemy, walczylem z tym 2 tygodnie bez wiekszego
> powodzenia az wkoncu zrobilem recznie. Jezeli dodałeś AUTH to nalezy
> jeszcze sprecyzowac program ktory bedzie to autoryzacje przeprowadzal,
> ponizej zamieszczam kawalek mojego
> /var/qmail/supervise/qmail-smtpd/run. Proponuje tez w przypadku AUTH
> korzystac z SSL-a. 
> 
> 
> #!/bin/sh
> QMAILDUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> LOCAL=`head -1 /var/qmail/control/me`
> if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o  -z "$MAXSMTPD" -o -z
> "$LOCAL" ]; then
>    echo QMAILDUID, NOFILESGID, MAXSMTPD or LOCAL is unset in
>    echo /var/qmail/supervise/qmail-smtpd/run
>    exit 1
> fi
>  exec /usr/bin/softlimit -m 4000000 /usr/bin/tcpserver -v -R -l
>  "$LOCAL" -c "$MAXSMTPD" -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
>  /var/qmail/bin/qmail-smtpd "$LOCAL" /bin/cmd5checkpw /bin/true 2>&1
> 
> ostatnie 3 linie stanowią jedną całość, plik concurrencyicoming nalezy
> utworzyc (echo 20 > /var/qmail/control/concurrencyincoming; chmod 644
> /var/qmail/concurrencyincoming). Program cmd5checkpw trzyma hasla w
> /etc/poppasswd.
> 

wlasnie mi chodzi rowniez aby mi hasla bral z /etc/passwd .... to jest
akurat pryszcz ;) cos sie znajdzie, a jak nie to sie przekopiuje i zrobi
skrypcik ktory ci bedzie co n-minut kopiowal.

P.S.:
Dostalem w pracy nowy sprzet na serwer i zgadnijcie na czym go stawiam
:)



Nie, nie zgadliscie nie jest to SCO Unix :P

-- 
Grzegorz Dziegielewski
specjalista ds. informatyki
Polmozbyt Krakow S.A.

--
gentoo-user-pl@gentoo.org mailing list


  reply	other threads:[~2003-06-18  8:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-17 15:04 [gentoo-user-pl] Qmail auth i antywirus Grzegorz Dzięgielewski
2003-06-17 19:37 ` ^Apo^
2003-06-17 20:44   ` Grzegorz Dzięgielewski [this message]
2003-06-19 13:19     ` ^Apo^

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030617204451.116f6c92.g.dziegielewski@polmozbyt.krakow.pl \
    --to=g.dziegielewski@polmozbyt.krakow.pl \
    --cc=gentoo-user-pl@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox