OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Olli Artemjev (ollimetaltelecom.org.ru)
Date: Tue Apr 03 2001 - 08:44:35 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Tue, 3 Apr 2001, Olli Artemjev wrote:

    forget to say - I'll also have to use Maildir/ delivery for this to work.

    > Lets go with some short explanation before I ask questions:
    >
    > I've hosting server with all users running under chroot (say
    > /users/userchroot) - them get chrooted via chrooted daemons (daemon
    > starts as a parameter for chroot (1) ).
    >
    > In /etc/passwd I've:
    > crv:x:604:17:fake user copy for quotas:/users/userchroot/home/crv:/bin/false
    > in /users/userchroot/etc/passwd I've:
    > crv:x:604:17:description:/home/crv:/bin/bash
    >
    > I decided to install one postfix daemon upper chroot & some parts of
    > postfix MTA package under chroot. I wanna do next:
    >
    > 1) Install postfix (as anyone usualy does) choosing set-gid maildrop, & a
    > spool under chroot (/users/userchroot/var/spool/mail).
    >
    > 2) copy postfix configs & edit them in that way, that relative path for
    > spool will look correctly (as /var/spool/mail).
    >
    > 3) copy local-delivery part to chroot (/users/userchroot) & also copy a
    > sendmail (itself & required binaries) & muster chrooted sendmail anyhow
    > use postfix that runs upper chroot as relay (send all mail to
    > non-chrooted postfix version & don't bind on ports)
    >
    > Well, I've following questions related to 3d step:
    > a) what utilities are enough for localdelivery? (how can I get a list of
    > them)
    >
    > b) what utilities are enough for using sendmail for sending mail from user
    > scripts & programs using full declared postfix-sendmail commandline
    > compatibility?
    >
    > c) How can I muster one copy of postfix anyway deliver mail to another &
    > don't bind on ports? Generally it doesn't matter which postfix (chrooted
    > or not chrooted) will send mail to the outside world. The question is how
    > to master one of them deliver mail to another & don't bind on ports?

    -- 
    Bye.Olli
    MISiS Telecommunications
    phone:   +7(095)955-0087
    

    - To unsubscribe, send mail to majordomopostfix.org with content (not subject): unsubscribe postfix-users