On Mon, 13 Aug 2001 [EMAIL PROTECTED] wrote:

> 2) Create a listar user on the e-smith server.  This should not be a regular
> user created through the e-smith manager interface.
>       adduser listar
> which creates an entries in:
>       /etc/passwd             listar:x:5010:5010::/home/listar:/bin/bash
>       /etc/group              listar:x:5010:
...
> 4) Create the initial listar aliases so that qmail will direct email to listar
> properly
>       echo "|/home/listar/listar" > /var/qmail/alias/.qmail-listar
>       echo [EMAIL PROTECTED] > /var/qmail/alias/.qmail-listar-owner
...

> 5) Test this setup by sending a message to [EMAIL PROTECTED]
>
> And this is what I get in /var/log/qmail/:
> 997734639.611620 new msg 1008334
> 997734639.611628 info msg 1008334: bytes 523 from <[EMAIL PROTECTED]> qp
> 29124 uid 400
> 997734639.613154 starting delivery 177: msg 1008334 to local
> [EMAIL PROTECTED]
> 997734639.613170 status: local 2/10 remote 0/20
> 997734639.613952 delivery 176: success: forward:_qp_29124/did_0+0+1/
> 997734639.613966 status: local 1/10 remote 0/20
> 997734639.613973 end msg 1008007
> 997734639.620853 delivery 177: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
> 997734639.620869 status: local 0/10 remote 0/20

Since "listar" is a normal user (step 2), qmail will by default look in
~listar/.qmail for delivery instructions, not in ~alias/.qmail-listar.
Since there is no ~listar/.qmail file, then qmail attempts to use the
default delivery instructions, IOW, to deliver into ~/Maildir. That
directory does not exist, so it defers.

You should also be aware of /var/qmail/users/assign, which is consulted
before ~listar/.qmail. The e-smith framework users /var/qmail/users/assign
to manage virtual domains. You could use a template fragment for
/var/qmail/users/assign to direct qmail to use ~alias/.qmail-listar for
listar's delivery instructions.

> What should I do to allow qmail to deliver the messages to the listar
> application?  Please help, I really need to get this to work.  Otherwise I'm
> going to have to give up on e-smith... which I really don't want to do.

Why don't you try ezmlm instead? There is a working contrib module for
installing and running ezmlm on your system. it's a little crude, but
you'd be more than welcome to fancy it up a bit.

Or keep going with listar, if that's what you really need.

-- 

Charlie Brady                         [EMAIL PROTECTED]
Lead Product Developer
Network Server Solutions Group        http://www.e-smith.com/
Mitel Networks Corporation            http://www.mitel.com/
Phone: +1 (613) 368 4376 or 564 8000  Fax: +1 (613) 564 7739



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to