I don't know if it will help but I'm sending my strace -f on qmail-send
and qmail-lspawn!
--------------------------------------------------------------------
Daniel Augusto Fernandes (DAF tm) [EMAIL PROTECTED]
GCSNet http://www.gcsnet.com.br/
--------------------------------------------------------------------
Se voc� n�o encontra
o sentido das coisas
� porque este n�o
se encontra, se cria.
Antoine Saint-Exup�ry
Daniel Augusto Fernandes wrote:
>
> Daniel Augusto Fernandes wrote:
> >
> > Dave Sill wrote:
> > >
> > > [EMAIL PROTECTED] wrote:
> > >
> > > >And if the if it's a virtual domain account? It could not be able to set
> > > >to the user ID, does it look if the recipient mail user actually
> > > >exists?
> > >
> > > Again, the PIC's answer this question. Specifically
> > > /var/qmail/doc/PIC.local2virt. And, again, yes, qmail-lspawn verifies
> > > the virtual domain account.
> > >
> >
> > Ok... Sorry that!
> > It's just because I'm not at my office right now!
> >
> > As soon as I get there I'll look at the PIC's...
> >
>
> I've looked the PIC.local2virt.
> Question: When a virtual domain is assigned to an user like that:
> +epostal.com.br-:epostal.com.br:3367:503:/home/vpopmail/domains/epostal.com.br:-::
>
> What happens?
>
> Does it setuid and chdir to that user home, look for .qmail-user?
> What if it finds .qmail-default (as in my case)?
>
> I have the folowing .qmail:
> | preline maildrop -d "$EXT@$HOST"
>
> How could qmail-lspawn know where I have my virtual users info? Like
> /home/vpopmail/domains/*/vpasswd.
>
> I'm a little lost yet...
> :o(
open("lock/trigger", O_RDONLY|O_NONBLOCK) = 8
open("todo", O_RDONLY) = 9
open("todo/731459", O_RDONLY|O_NONBLOCK) = 10
open("info/13/731459", O_WRONLY|O_CREAT|O_EXCL, 0644) = 11
open("local/13/731459", O_WRONLY|O_CREAT|O_EXCL, 0644) = 12
open("local/13/731459", O_RDONLY|O_NONBLOCK) = 10
open("info/13/731459", O_RDONLY|O_NONBLOCK) = 11
open("lock/trigger", O_RDONLY|O_NONBLOCK) = 8
open("todo", O_RDONLY) = 9
[pid 4897] chdir("/var/qmail") = 0
[pid 4897] chdir("/home/vpopmail/domains/epostal.com.br") = 0
[pid 4897] execve("bin/qmail-local", ["bin/qmail-local", "--", "epostal.com.br",
"/home/vpopmail/domains/epostal.c"..., "epostal.com.br-ksjfd", "-", "ksjfd",
"epostal.com.br", "[EMAIL PROTECTED]", "| preline maildrop -d \"$EXT@$HO"...], [/* 1
var */]) = 0
[pid 4898] execve("/bin/sh", ["/bin/sh", "-c", " maildrop -d \"$EXT@$HOST\""], [/* 19
vars */]) = 0
open("13/731459", O_RDONLY|O_NONBLOCK) = 2
[pid 4897] open("users/cdb", O_RDONLY|O_NONBLOCK) = 5
[pid 4897] open("/etc/ld.so.cache", O_RDONLY) = 3
[pid 4897] open("/lib/libc.so.5", O_RDONLY) = 3
[pid 4897] open(".qmail-ksjfd", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such file or
directory)
[pid 4897] open(".qmail-default", O_RDONLY|O_NONBLOCK) = 3
[pid 4898] open("/etc/ld.so.cache", O_RDONLY) = 3
[pid 4898] open("/lib/libtermcap.so.2", O_RDONLY) = 3
[pid 4898] open("/lib/libc.so.5", O_RDONLY) = 3
[pid 4898] open("/etc/passwd", O_RDONLY) = 3
[pid 4898] open("..", O_RDONLY) = 3
[pid 4898] open("../..", O_RDONLY) = 3
[pid 4898] open("../../..", O_RDONLY) = 3
[pid 4898] open("../../../..", O_RDONLY) = 3
[pid 4898] open("/etc/ld.so.cache", O_RDONLY) = 3
[pid 4898] open("/lib/libgdbm.so.1", O_RDONLY) = 3
[pid 4898] open("/usr/lib/libstdc++.so.27", O_RDONLY) = 3
[pid 4898] open("/lib/libm.so.5", O_RDONLY) = 3
[pid 4898] open("/lib/libc.so.5", O_RDONLY) = 3
[pid 4898] open("/etc/userdb.dat", O_RDONLY) = 3
[pid 4898] open("/etc/passwd", O_RDONLY) = 4
[pid 4898] open("/usr/lib/zoneinfo/localtime", O_RDONLY) = 5
[pid 4898] execve("/usr/local/bin/maildrop", ["maildrop", "-d",
"[EMAIL PROTECTED]"], [/* 25 vars */]) = 0
open("lock/trigger", O_RDONLY|O_NONBLOCK) = 8
open("todo", O_RDONLY) = 9
open("todo/731461", O_RDONLY|O_NONBLOCK) = 10
open("info/15/731461", O_WRONLY|O_CREAT|O_EXCL, 0644) = 11
open("local/15/731461", O_WRONLY|O_CREAT|O_EXCL, 0644) = 12
open("local/15/731461", O_RDONLY|O_NONBLOCK) = 10
open("info/15/731461", O_RDONLY|O_NONBLOCK) = 11
open("lock/trigger", O_RDONLY|O_NONBLOCK) = 8
open("todo", O_RDONLY) = 9
[pid 4902] chdir("/var/qmail") = 0
[pid 4902] chdir("/home/vpopmail/domains/epostal.com.br") = 0
[pid 4902] execve("bin/qmail-local", ["bin/qmail-local", "--", "epostal.com.br",
"/home/vpopmail/domains/epostal.c"..., "epostal.com.br-daftm", "-", "daftm",
"epostal.com.br", "[EMAIL PROTECTED]", "| preline maildrop -d \"$EXT@$HO"...], [/* 1
var */]) = 0
[pid 4903] execve("/bin/sh", ["/bin/sh", "-c", " maildrop -d \"$EXT@$HOST\""], [/* 19
vars */]) = 0
open("15/731461", O_RDONLY|O_NONBLOCK) = 2
[pid 4902] open("users/cdb", O_RDONLY|O_NONBLOCK) = 5
[pid 4902] open("/etc/ld.so.cache", O_RDONLY) = 3
[pid 4902] open("/lib/libc.so.5", O_RDONLY) = 3
[pid 4902] open(".qmail-daftm", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such file or
directory)
[pid 4902] open(".qmail-default", O_RDONLY|O_NONBLOCK) = 3
[pid 4903] open("/etc/ld.so.cache", O_RDONLY) = 3
[pid 4903] open("/lib/libtermcap.so.2", O_RDONLY) = 3
[pid 4903] open("/lib/libc.so.5", O_RDONLY) = 3
[pid 4903] open("/etc/passwd", O_RDONLY) = 3
[pid 4903] open("..", O_RDONLY) = 3
[pid 4903] open("../..", O_RDONLY) = 3
[pid 4903] open("../../..", O_RDONLY) = 3
[pid 4903] open("../../../..", O_RDONLY) = 3
[pid 4903] open("/etc/ld.so.cache", O_RDONLY) = 3
[pid 4903] open("/lib/libgdbm.so.1", O_RDONLY) = 3
[pid 4903] open("/usr/lib/libstdc++.so.27", O_RDONLY) = 3
[pid 4903] open("/lib/libm.so.5", O_RDONLY) = 3
[pid 4903] open("/lib/libc.so.5", O_RDONLY) = 3
[pid 4903] open("/etc/userdb.dat", O_RDONLY) = 3
open("local/15/731461", O_WRONLY|O_NONBLOCK) = 9
open("info/15/731461", O_RDONLY|O_NONBLOCK) = 9
[pid 4903] open("/etc/maildroprc", O_RDONLY) = 3
[pid 4903] open(".mailfilter", O_RDONLY) = 3
[pid 4903] open("./Maildir/./tmp/967830798.4903_0.catope,S=1264",
O_WRONLY|O_NONBLOCK|O_CREAT|O_EXCL, 0600) = 3
[pid 4903] chdir("/home/vpopmail/domains/epostal.com.br/G/daftm") = 0
[pid 4903] execve("/usr/local/bin/maildrop", ["maildrop", "-d",
"[EMAIL PROTECTED]"], [/* 25m vars */]) = 0