Hello all,

Into a fresh install of OpenSuSE 12.1, i have some problem to make
vacation workin (vacation-1.2.6.2-138.1.2.i586).

I have configured vacation like this:

/home/claudio # cat .forward
\claudio, "|/usr/bin/vacation -t0 -r claudio"

/home/claudio # cat .vacation.msg
Subject: assente

Sono assente

/home/claudio # vacation -I claudio

/home/claudio # ls -la
total 68
drwxr-xr-x 7 claudio users  4096 Dec 15 17:26 .
drwxr-xr-x 7 root    root   4096 Dec 16 09:52 ..
-rw------- 1 claudio users     0 Dec 15 15:25 .bash_history
-rw-r--r-- 1 claudio users  1177 Dec 15 15:25 .bashrc
drwx------ 2 claudio users  4096 Dec 15 15:25 .config
-rw-r--r-- 1 claudio users  1637 Dec 15 15:25 .emacs
drwxr-xr-x 2 claudio users  4096 Dec 15 15:25 .fonts
-rw-r--r-- 1 claudio users    46 Dec 15 16:46 .forward
-rw-r--r-- 1 claudio users   861 Dec 15 15:25 .inputrc
drwx------ 2 claudio users  4096 Dec 15 15:25 .local
-rw-r--r-- 1 claudio users  1028 Dec 15 15:25 .profile
-rw-r--r-- 1 claudio users 12288 Dec 16 09:57 .vacation.db
-rw-r--r-- 1 claudio users    31 Dec 15 16:42 .vacation.msg
-rw-r--r-- 1 claudio users  1002 Dec 15 15:25 .vimrc
drwxr-xr-x 6 claudio users  4096 Dec 15 16:06 Maildir
drwxr-xr-x 2 claudio users  4096 Dec 15 15:25 bin

Then i try to test the vacation:

telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.xxx.it ESMTP Postfix
helo mail
250 mail.xxx.it
mail from: claudio.pr...@atpss.net
250 2.1.0 Ok
rcpt to: clau...@xxx.it
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
Subject: mail di prova

test
.
250 2.0.0 Ok: queued as 65AD81226D5
quit
221 2.0.0 Bye
Connection closed by foreign host.

Into mail.info i have this:

Dec 16 09:58:35 mail01 postfix/smtpd[21704]: connect from
localhost[127.0.0.1]
Dec 16 09:58:52 mail01 postfix/smtpd[21704]: 65AD81226D5:
client=localhost[127.0.0.1]
Dec 16 09:59:01 mail01 postfix/cleanup[21736]: 65AD81226D5:
message-id=<20111216085852.65ad8122...@mail.xxxx.it>
Dec 16 09:59:01 mail01 postfix/qmgr[3501]: 65AD81226D5:
from=<claudio.pr...@atpss.net>, size=327, nrcpt=1 (queue active)
Dec 16 09:59:02 mail01 postfix/smtpd[21704]: disconnect from
localhost[127.0.0.1]
Dec 16 09:59:02 mail01 spamd[2653]: spamd: connection from localhost
[127.0.0.1] at port 46675
Dec 16 09:59:04 mail01 spamd[2653]: spamd: setuid to nobody succeeded
Dec 16 09:59:06 mail01 spamd[2653]: spamd: processing message
<20111216085852.65ad8122...@mail.xxx.it> for nobody:65534
Dec 16 09:59:14 mail01 spamd[2653]: spamd: clean message (-0.1/5.0) for
nobody:65534 in 12.0 seconds, 318 bytes.
Dec 16 09:59:14 mail01 spamd[2653]: spamd: result: . 0 -
ALL_TRUSTED,MISSING_HEADERS
scantime=12.0,size=318,user=nobody,uid=65534,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=46675,mid=<20111216085852.65ad8122...@mail.xxx.it>,autolearn=no
Dec 16 09:59:14 mail01 postfix/pickup[20911]: 7E1FD122770: uid=65534
from=<claudio.pr...@atpss.net>
Dec 16 09:59:14 mail01 postfix/cleanup[21736]: 7E1FD122770:
message-id=<20111216085852.65ad8122...@mail.xxx.it>
Dec 16 09:59:14 mail01 postfix/pipe[21737]: 65AD81226D5:
to=<clau...@xxx.it>, relay=spamassassin, delay=30, delays=17/0.04/0/13,
dsn=2.0.0, status=sent (delivered via spamassassin service)
Dec 16 09:59:14 mail01 postfix/qmgr[3501]: 65AD81226D5: removed
Dec 16 09:59:14 mail01 postfix/qmgr[3501]: 7E1FD122770:
from=<claudio.pr...@atpss.net>, size=639, nrcpt=1 (queue active)
Dec 16 09:59:14 mail01 postfix/local[21742]: 7E1FD122770:
to=<clau...@xxx.it>, relay=local, delay=0.24, delays=0.04/0.09/0/0.11,
dsn=2.0.0, status=sent (delivered to maildir)
Dec 16 09:59:14 mail01 postfix/local[21742]: 7E1FD122770:
to=<clau...@xxx.it>, relay=local, delay=0.29, delays=0.04/0.09/0/0.17,
dsn=2.0.0, status=sent (delivered to command: /usr/bin/vacation -t0 -r
claudio)
Dec 16 09:59:14 mail01 postfix/qmgr[3501]: 7E1FD122770: removed
Dec 16 09:59:15 mail01 spamd[2652]: prefork: child states: II

But on vacation message was recieved.

So i try to strace the vacation, with a command like this:

/home/claudio/Maildir/new # cat 1324025954.V803I18001eM616308.mail01 |
strace /usr/bin/vacation -t0 -r claudio

execve("/usr/bin/vacation", ["/usr/bin/vacation", "-t0", "-r",
"claudio"], [/* 47 vars */]) = 0
brk(0)                                  = 0x804e000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7881000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=25174, ...}) = 0
mmap2(NULL, 25174, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb787a000
close(3)                                = 0
open("/usr/lib/libgdbm.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0
\20\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=22100, ...}) = 0
mmap2(NULL, 24776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
= 0xb7873000
mmap2(0xb7878000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4) = 0xb7878000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\221\1\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1682149, ...}) = 0
mmap2(NULL, 1489384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7707000
mprotect(0xb786c000, 4096, PROT_NONE)   = 0
mmap2(0xb786d000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x165) = 0xb786d000
mmap2(0xb7870000, 10728, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7870000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7706000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb77066c0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb786d000, 8192, PROT_READ)   = 0
mprotect(0xb7878000, 4096, PROT_READ)   = 0
mprotect(0x804c000, 4096, PROT_READ)    = 0
mprotect(0xb78a1000, 4096, PROT_READ)   = 0
munmap(0xb787a000, 25174)               = 0
brk(0)                                  = 0x804e000
brk(0x806f000)                          = 0x806f000
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = 0
send(3, "\2\0\0\0\v\0\0\0\7\0\0\0passwd\0", 19, MSG_NOSIGNAL) = 19
poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=3,
revents=POLLIN|POLLHUP}])
recvmsg(3, {msg_name(0)=NULL, msg_iov(2)=[{"\243C\203\267\240*\212", 7},
{")\212\4\10\r\6\201\267", 8}], msg_controllen=0,
msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 0
close(3)                                = 0
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = 0
send(3, "\2\0\0\0\0\0\0\0\10\0\0\0claudio\0", 20, MSG_NOSIGNAL) = 20
poll([{fd=3, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=3,
revents=POLLIN|POLLHUP}])
read(3,
"\2\0\0\0\1\0\0\0\10\0\0\0\2\0\0\0\351\3\0\0d\0\0\0\16\0\0\0\16\0\0\0"...,
36) = 36
read(3, "claudio\0x\0claudio.prono\0/home/cl"..., 49) = 49
close(3)                                = 0
chdir("/home/claudio")                  = 0
open(".vacation.db", O_RDWR)            = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=12322, ...}) = 0
fcntl64(3, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
read(3,
"\316\232W\23\0\20\0\0\0\20\0\0\0\20\0\0\n\0\0\0\0\20\0\0\311\0\0\0\0@\0\0"...,
52) = 52
read(3,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
4044) = 4044
lseek(3, 4096, SEEK_SET)                = 4096
read(3, "\0 \0\0\0 \0\0\0 \0\0\0 \0\0\0 \0\0\0 \0\0\0 \0\0\0 \0\0"...,
4096) = 4096
brk(0x8090000)                          = 0x8090000
brk(0x80b1000)                          = 0x80b1000
brk(0x80d2000)                          = 0x80d2000
lseek(3, 8192, SEEK_SET)                = 8192
read(3,
"\1\0\0\0\336\17\0\0\"0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 4096
lseek(3, 12288, SEEK_SET)               = 12288
read(3, "__VACATION__INTERVAL__TIMER__\0\0\0"..., 34) = 34
lseek(3, 12288, SEEK_SET)               = 12288
write(3, "__VACATION__INTERVAL__TIMER__\0", 30) = 30
write(3, "\0\0\0\0", 4)                 = 4
lseek(3, 8192, SEEK_SET)                = 8192
write(3,
"\1\0\0\0\336\17\0\0\"0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
4096) = 4096
fstat64(0, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7880000
read(0, "Return-Path: <claudio.prono@atps"..., 4096) = 726
read(0, "", 4096)                       = 0
fsync(3)                                = 0
fcntl64(3, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
close(3)                                = 0
exit_group(0)                           = ?

As i can see, the vacation reads the first line of the message, then
exit...but i don't know why....


Any suggestion about this?

Cordially,

Claudio Prono.


-- 
--------------------------------------------------------------------------------
Claudio Prono                         OPST
System Developer               
                                      Gsm: +39-349-54.33.258
@PSS Srl                              Tel: +39-011-32.72.100
Via Santorelli, 15                    Fax: +39-011-32.46.497
10095 Grugliasco (TO) ITALY           http://atpss.net/disclaimer
--------------------------------------------------------------------------------
PGP Key - http://keys.atpss.net/c_prono.asc




Reply via email to