After talking with a few knowledgeable folks, I believe the solution to the problem
is found in DJB's cryptic and terse (what's new?) manpage for qmail-users.  He seems
to indicate that aliases set up in ~qmail/users/assign must also be configured so
that aliases with extensions are also forwarded correctly.  So, if you have this:

=someAlias:me:500:100:/home/me:::

you must precede it with this:

+someAlias-:me:500:100:/home/me:-::

I'm not too sure why the second example works (DJB doesn't seem to want to share his
thought process with us), but it *does* seem to resolve the multiple confirmation
notices problem.

For those who might be interested, here's a short Perl script I whipped up (sorry,
Python isn't my strong suit) that will convert your entries in your assign file to
make your qmail installation compatible with qmail:


#! /usr/local/bin/perl
#
# modAssign.pl - Modify /var/qmail/users/assign to work with TMDA.  This mod
# prevents double confirmations for messages sent to a qmail alias defined in the
# /var/qmail/users/assign file by making sure aliases with extensions are forwarded
# correctly.  See man page for qmail-users for a cryptic and terse DJB-style
# explanation of the issue.
#
# USAGE: modAssign.pl <assignfile>
#####################################################################

die "USAGE: modAssign.pl <assignfile>\n" if( $#ARGV != 0 );
open( INPUT, "<$ARGV[0]" ) || die "Can't open $ARGV for reading";
while( <INPUT> ) {
    if( /^(\+|\.)/ ) {
        print $_;
        next;
    }
    my( $local, $user, $uid, $gid, $homedir, $dash, $ext ) = split( /:/, $_ );
    if( $dash != "" ) {
        print $_;
        next;
    }
    $local =~ s/^=//;
    print "+$local-:$user:$uid:$gid:$homedir:-::\n";
    print $_;
}

  --Brian

On Sun, Sep 08, 2002 at 11:23:38AM -0500, Brian wrote:
> I have several qmail aliases set up in /var/qmail/users/assign. When someone sends a
> message to one of the aliases (i.e., [EMAIL PROTECTED]), that someone receives a
> confirmation e-mail back from alias-confirm (so far, so good).  A response to this
> confirmation returns *another* confirmation, this time from the "owner" of the
> alias.  A response to this confirmation is rewarded with being added to
> whitelist_confirmed.
> 
> There are no dot-qmail files associated with qmail aliases.  Suggestions? 
> 
>   --Brian 


Attachment: msg00203/pgp00000.pgp
Description: PGP signature

Reply via email to