errno=4294936306, Debian 2.2, vacation 3.2.3, Postfix 1.1.3, Sasl 1.5.27

2002-08-28 Thread Jim Weller
Greetings All,
(Note I'm not yet subscribed to debian-devel or debian-users. Debian 
majordomo is SLOW. Postfix's majordomo took 5 minutes total. Debian's is 
at about an hour now. I'm jumping the gun on those lists and notifying 
folks like the debian list rules say to.)

I'm on debian 2.2 potato having done the latest apt-get update and 
upgrade. I'm using a hand compiled postfix-1.1.3 with smtp-auth using 
cyrus-sasl-1.5.27. Works like a champ! I really love debian  and postfix.

When I upgraded debian it gave me the new libdb3 package (from libdb2 I 
believe). This gave SEGV errors to sasl and consequently postfix. I 
recompiled both from the ORIGINAL source tree I used so many months ago 
and am back on track with my mail server authing smtp. But the real 
KILLER here is that vacation-3.2.3 doesn't work now! It did work before 
the apt-get upgrade. I don't know which version of vacation I *was* 
using, but this one is kapoot. The only things that I can see having 
changed related to this setup are 1) libdb3 2) vacation

Here's my story. I have a user named jim that can send and recieve mail 
via smtp(postfix)/pop(pop3d) from any old mail client. It works fine. 
But the vacation component is failing.   I set up a forward as follows.

pertinent $HOME files
-
-rw---1 jim  jim49 Aug 28 11:50 .forward
-rw---1 jim  jim  4096 Aug 28 11:50 .vacation.db
-rw---1 jim  jim   135 Aug 28 11:50 .vacation.msg
-
.vacation.msg
-
Subject: On vacation message.
I'm on vacation and will not be reading my mail for a while.
Your mail will be dealt with when I return.
-
.forward
-
\jim, "|/usr/bin/vacation  jim"
[EMAIL PROTECTED]
-
Using this setup I get the message in the jim mailbox. I get the message 
in the [EMAIL PROTECTED] mailbox. So the original delivery and the forward 
to new address are working fine. But I get the following error bounced 
back to the sender.

-
From: [EMAIL PROTECTED] (Mail Delivery System)
Date: Wed Aug 28, 2002  11:57:31  AM America/Anchorage
To: [EMAIL PROTECTED]
Subject: Undelivered Mail Returned to Sender
This is the Postfix program at host mail.mycompany.com.
I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.
For further assistance, please send mail to 
If you do so, please include this problem report. You can
delete your own text from the message returned below.
The Postfix program
<[EMAIL PROTECTED]>: Command died with status 1: "/usr/bin/vacation
jim". Command output: vacation: .vacation.db: Unknown error 
4294936306
Reporting-MTA: dns; mail.mycompany.com
Arrival-Date: Wed, 28 Aug 2002 11:57:30 -0800 (AKDT)

Final-Recipient: rfc822; [EMAIL PROTECTED]
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; Command died with status 1: 
"/usr/bin/vacation
    jim". Command output: vacation: .vacation.db: Unknown error 
4294936306

From: Jim Weller <[EMAIL PROTECTED]>
Date: Wed Aug 28, 2002  11:57:29  AM America/Anchorage
To: [EMAIL PROTECTED]
Subject: 35
-
Now I'm no dummy here (and I'm humble ;). I know that error 4294936306 
is probably some horrid negative number casted to unsigned. It's most 
likely some runtime library error. And I'll  bet it's not in signal.h ;) 
So, I being the genius that I am apt-get removed the offending vacation. 
Then I compiled it myself. I've tried both

vacation-1.2.6.1 from http://vacation.sourceforge.net/
vacation-3.2.3 from http://www.linux.it/~md/software/
Now, vacation-3.2.3 gives the same error as the debian binary because it 
is the same program.

vacation-1.2.6.1 gives me a different but similar bounced message show 
below
-

From: [EMAIL PROTECTED] (Mail Delivery System)
Date: Wed Aug 28, 2002  12:37:06  PM America/Anchorage
To: [EMAIL PROTECTED]
Subject: Undelivered Mail Returned to Sender
This is the Postfix program at host mail.mycompany.com.
I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.
For further assistance, please send mail to 
If you do so, please include this problem report. You can
delete your own text from the mes

Re: errno=4294936306, Debian 2.2, vacation 3.2.3, Postfix 1.1.3, Sasl 1.5.27

2002-08-28 Thread Jim Weller
Sean,
Thank you for taking the time to look at my problem.
Can you add/change to \jim, "/pathto/strace -o /tmp/vacation.err
/usr/bin/vacation jim"
That is a GREAT idea. I changed it to the below and ran 'vacation -I'
-
\jim, "|/usr/bin/strace -o /tmp/vacation.err /usr/bin/vacation  jim"
[EMAIL PROTECTED]
-
And the vacation auto-reply worked. Twice (from diff addresses b/c the 
interval timer). I didn't paste the successful strace as you probably 
know what one looks like. I'm completely befuddled and a little 
embarassed. Admittedly it worked a couple of times before, but it was 
very sporadic. I'm pretty stumped now.


vacation-1.2.6.1 from http://vacation.sourceforge.net/
Vacation is moved to http://savannah.gnu.org/projects/vacation/
Thank you. Duly book marked.
What vacation is that, it seems very small, my binary on Linux is
45521b

That was 1.2.6.1 after install stripped it. Here is yours with shared 
libraries, unstripped, using the below gcc.   BTW install tries to strip 
the perl script vaclook. Wait a minute! It's running strip without the 
-g so it's stripping more than . I think I just hand copied it this time 
and that's why it worked. Let me test this.No that wasn't it. Now it 
just works all the time. Woohoo!

gcc  -m486 -Wall  -Xlinker -warn-common 
-D_PATH_VACATION=\"/usr/bin/vacation\" -o vacation vacation.c -lgdbm

Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
gcc version 2.95.2 2220 (Debian GNU/Linux)
-rwxr-xr-x1 root root18718 Aug 28 14:16 vacation
I kind of feel like schizophrenic screaming in a strait jacket, "I'm not 
crazy! I'm not crazy!", but I'm VERY happy that my little rubber room is 
working now. I'll stick with 1.2.6.1.

Thank you again Sean both for the software and the time,
Jim Weller



Re: errno=4294936306, Debian 2.2, vacation 3.2.3, Postfix 1.1.3, Sasl 1.5.27

2002-08-28 Thread Jim Weller
All,
And the virtual beer goes to Ralf Hildebrandt for spotting the 
.vacation.db problem. It turns out that the tool I was using to set my 
.vacation.msg, .vacation.db, and .forward (vacation admin for webmin 
http://webmin.thirdpartymodules.com/?page=System ) was NOT executing 
'vacation -I' after it was done playing with files. A quick system("su 
$user $config{'vacation_path'} -I");  call at the end of the local-
lib.pl::set_vacation_local() subroutine fixed the problem. I'm using 
vacation-1.2.6.1. Thanks to all who took the time to read, think and 
reply. Apologies to anyone who's inbox was burdened by my email.

Back to stressing out about normal things,
Jim Weller
PS Hail open source
PS2 Try it by hand before you trust your web app ;)