[Postfixbuch-users] maildrop autoresponder
Daniel S.
dast at phpaction.de
Sa Jul 17 23:31:05 CEST 2004
Andreas Winkelmann schrieb:
> Mach mal:
>
> # echo "Hallo" | strace maildrop -dnl_xaarr.net at localhost.phpaction.de
chdir("/var/spool/maildirs") = 0
stat64(".", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
SYS_199(0x402282e8, 0x1, 0x40228f60, 0x40226a90, 0xbffff66c) = 5701
rt_sigaction(SIGALRM, {0x8062600, [ALRM], SA_RESTART|0x4000000},
{0x8063c00, [ALRM], SA_RESTART|0x4000000}, 8) = 0
alarm(300) = 0
lseek(0, 0, SEEK_END) = -1 ESPIPE (Illegal seek)
lseek(0, 0, SEEK_SET) = -1 ESPIPE (Illegal seek)
read(0, "Hallo\n", 8192) = 6
read(0, "", 8192) = 0
uname({sys="Linux", node="phpaction", ...}) = 0
open("/etc/maildroprc", O_RDONLY) = 3
lseek(3, 0, SEEK_CUR) = 0
read(3, "logfile \"/var/log/maildrop\"\nto \""..., 1024) = 41
brk(0x8083000) = 0x8083000
lseek(3, 0, SEEK_CUR) = 41
read(3, "", 1024) = 0
close(3) = 0
open("/var/log/maildrop", O_WRONLY|O_APPEND|O_CREAT, 0600) = 3
stat64("/var/spool/maildirs/tmp", 0xbfffdcd0) = -1 ENOENT (No such file
or directory)
stat64("/var/spool/maildirs", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
alarm(0) = 300
rt_sigaction(SIGALRM, {0x8062600, [ALRM], SA_RESTART|0x4000000},
{0x8062600, [ALRM], SA_RESTART|0x4000000}, 8) = 0
alarm(300) = 0
uname({sys="Linux", node="phpaction", ...}) = 0
getpid() = 26838
open("/var/spool/26838.0.phpaction", O_WRONLY|O_CREAT, 0644) = -1 EACCES
(Permission denied)
brk(0x8084000) = 0x8084000
brk(0x8086000) = 0x8086000
alarm(0) = 300
rt_sigaction(SIGALRM, {0x8062600, [ALRM], SA_RESTART|0x4000000},
{0x8062600, [ALRM], SA_RESTART|0x4000000}, 8) = 0
alarm(300) = 0
alarm(0) = 300
rt_sigaction(SIGALRM, {0x8062600, [ALRM], SA_RESTART|0x4000000},
{0x8062600, [ALRM], SA_RESTART|0x4000000}, 8) = 0
alarm(300) = 0
alarm(0) = 300
rt_sigaction(SIGALRM, {0x8062600, [ALRM], SA_RESTART|0x4000000},
{0x8062600, [ALRM], SA_RESTART|0x4000000}, 8) = 0
alarm(300) = 0
alarm(0) = 300
rt_sigaction(SIGALRM, {0x8062600, [ALRM], SA_RESTART|0x4000000},
{0x8062600, [ALRM], SA_RESTART|0x4000000}, 8) = 0
alarm(300) = 0
write(2, "maildrop", 8maildrop) = 8
write(2, ": ", 2: ) = 2
write(2, "Unable to create a dot-lock.", 28Unable to create a dot-lock.)
= 28
write(2, "\n", 1
) = 1
brk(0x8089000) = 0x8089000
time([1090099227]) = 1090099227
open("/etc/localtime", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=755, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40017000
read(5, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0"...,
4096) = 755
close(5) = 0
munmap(0x40017000, 4096) = 0
getpid() = 26838
rt_sigaction(SIGPIPE, {0x401e0d50, [], 0x4000000}, {SIG_IGN}, 8) = 0
socket(PF_UNIX, SOCK_DGRAM, 0) = 5
shmat(5, 0xffffffff, 0x2ptrace: umoven: Input/output error
) = ?
connect(5, {sin_family=AF_UNIX, path=" /dev/log"}, 16) = 0
send(5, "<22>Jul 17 23:20:27 maildrop[268"..., 65, 0) = 65
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
alarm(0) = 300
_exit(75) = ?
----------------------
open("/var/log/maildrop", O_WRONLY|O_APPEND|O_CREAT, 0600) = 3
stat64("/var/spool/maildirs/tmp", 0xbfffdcd0) = -1 ENOENT (No such file
or directory)
stat64("/var/spool/maildirs", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
alarm(0) = 300
rt_sigaction(SIGALRM, {0x8062600, [ALRM], SA_RESTART|0x4000000},
{0x8062600, [ALRM], SA_RESTART|0x4000000}, 8) = 0
alarm(300) = 0
uname({sys="Linux", node="phpaction", ...}) = 0
getpid() = 26838
open("/var/spool/26838.0.phpaction", O_WRONLY|O_CREAT, 0644) = -1 EACCES
(Permission denied)
/var/spool/maildirs/tmp
/var/spool/26838.0.phpaction
komische ordner.
als ob er homedir statt homedir + "/" + maildir nutzt.
Irgendeine Idee ?
Hier nochmal die beiden Datensätze inner DB:
mailaddr aktiv maildir forwardtouser uid gid
psw home domain_id quota mailstatus
nl at xaarr.net 1 xaarr.net/nl/ nl_xaarr.net at localhost 5701 5701
test /var/spool/maildirs 3 0 NULL
nl_xaarr.net at localhost.phpaction.de 1 xaarr.net/nl/
nl_xaarr.net at localhost 5701 5701 /var/spool/maildirs 3 0 NULL
Grüsse,
Daniel.
--
Bester eMail-Client der Welt !
http://www.mozilla.org/products/thunderbird
--
Mehr Informationen über die Mailingliste Postfixbuch-users