Hi,
        We are using qmail for our machines here. Now I could not get
        qmail to work with procmail to do the sorting.

        Basically, I need to fetchmail emails from three pop3 mail
        servers and then use qmail to deliever them all to the root
        account.


        The .qmail in /root looks like this:

        | /var/qmail/bin/preline /usr/bin/procmail root

        The .fetchmailrc looks like this:

        poll pop3.our.mail.server protocol POP3:                                
            
                username hello there has password world is root here            
 
                and wants mda "/var/qmail/bin/qmail-inject root"                
  
                fetchall nokeep                    

        The .procmailrc is not properly set up yet, but will just
        forward all the mails to /root/mail. It looks like:

        PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
        MAILDIR=$HOME/mail
        DEFAULT=$MAILDIR/incoming
        LOGFILE=$MAILDIR/log
        LOCKFILE=$HOME/.lockmail

        However, with the above format, qmail still delivers the mail to
        the spool area. That is, somehow, procmail is not getting
        executed.

        Could someone please help me?

Shao.

-- 
____________________________________________________________________________
Shao Zhang - Running Debian 2.1  ___ _               _____
Department of Communications    / __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia               |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: [EMAIL PROTECTED]                                                  |___/ 
_____________________________________________________________________________

Reply via email to