• Bug#267075: greylistd: Exim 4 setup information

    From Jari Aalto@1:229/2 to All on Sat Aug 21 23:50:07 2004
    From: [email protected]

    Package: greylistd
    Version: 0.5.3
    Followup-For: Bug #267075

    It seems that this is the procedure to get greylistd working under Exim,
    You might want to include following script to prepare greylistd for Exim 4 Nothing more is needed than:

    - Run the script
    - copy the Exim 4 section "greylistd(8) configuration follows"
    section from /usr/share/doc/greylistd/examples.gz
    to /etc/exim4/conf.d/acl/30_exim4-config_check_rcpt
    just before "DNS "black" section.

    Jari

    #!/bin/sh

    set +e # Die on error

    echo "Copying default whitelist"

    file=whitelist-hosts
    to=/etc/mail/greylistd/$file

    if [ ! -f $file ]; then
    mkdir -p /etc/mail/greylistd/
    cp -v /usr/share/doc/greylistd/examples/$file $to
    fi

    echo "Preparing correct user:group for Exim 4"

    chown -R Debian-exim.Debian-exim /var/lib/greylistd

    echo "Preparing greylist Daemon for exim"

    file=/etc/init.d/greylist
    tmp=/tmp/tmp.$$
    sed 's/^[ ]*UGID=.*/UGID=Debian-exim:Debian-exim/' /etc/init.d/greylist > $tmp &&
    mv $tmp $file

    echo "Done."

    # End of file

    -- System Information:
    Debian Release: 3.1
    Architecture: i386 (i686)
    Kernel: Linux 2.4.26.20040601
    Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to en_US)

    Versions of packages greylistd depends on:
    ii python 2.3.4-3sid An interactive high-level object-o

    -- no debconf information


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)