[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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      jim            49 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"
jim@NOSPAM.net
-----------------------------------------------------------------------------


Using this setup I get the message in the jim mailbox. I get the message in the jim@NOSPAM.net 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: MAILER-DAEMON@mail.mycompany.com (Mail Delivery System)
Date: Wed Aug 28, 2002  11:57:31  AM America/Anchorage
To: jim.weller@mypersonalemail.net
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 <postmaster>

If you do so, please include this problem report. You can
delete your own text from the message returned below.

			The Postfix program

<jim@mycompany.com>: 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; jim@mycompany.com
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 <jim.weller@mypersonalemail.net>
Date: Wed Aug 28, 2002  11:57:29  AM America/Anchorage
To: jim@mycompany.com
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: MAILER-DAEMON@mail.mycompany.com (Mail Delivery System)
Date: Wed Aug 28, 2002  12:37:06  PM America/Anchorage
To: jim.weller@mypersonalemail.net
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 <postmaster>

If you do so, please include this problem report. You can
delete your own text from the message returned below.

			The Postfix program

<jim@mycompany.com>: Command died with status 1: "/usr/bin/vacation
    jim"
Reporting-MTA: dns; mail.mycompany.com
Arrival-Date: Wed, 28 Aug 2002 12:37:06 -0800 (AKDT)

Final-Recipient: rfc822; jim@mycompany.com
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; Command died with status 1: "/usr/bin/vacation
    jim"

From: Jim Weller <jim.weller@mypersonalemail.net>
Date: Wed Aug 28, 2002  12:37:05  PM America/Anchorage
To: jim@mycompany.com
Subject: 1

-----------------------------------------------------------------------------

Something else odd...every once in a while it works for no apparent reason. I can't confirm that it was a change I made or not, but sometimes I'd get a a very long delay and a normal vacation auto-reply. The logs aren't showing anything useful (even with debugging on). And the #define DEBUG in the vacation sources that is supposed to output to /tmp/vacation.log is broken. So I don't have any indication of what the error is except for the broken mail message. I'll be modifying the source later tonight (America/Anchorage timezone) to do debugging output for the various vacation programs.

I'm at my wits end and really need some help. Below is some config data that should help ID my system.

TIA,
Jim Weller






uname -a
-----------------------------------------------------------------------------
Linux www 2.2.19pre17 #1 Tue Mar 13 22:37:59 EST 2001 i686 unknown
-----------------------------------------------------------------------------


postconf
-----------------------------------------------------------------------------
2bounce_notice_recipient = postmaster
access_map_reject_code = 554
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases, nis:mail.aliases
allow_mail_to_commands = alias,forward
allow_mail_to_files = alias,forward
allow_min_user = no
allow_percent_hack = yes
allow_untrusted_routing = no
alternate_config_directories =
always_bcc =
append_at_myorigin = yes
append_dot_mydomain = yes
best_mx_transport =
biff = yes
body_checks =
bounce_notice_recipient = postmaster
bounce_size_limit = 50000
broken_sasl_auth_clients = yes
canonical_maps =
command_directory = /usr/local/postfix/sbin
command_expansion_filter = 1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
command_time_limit = 1000s
config_directory = /etc/postfix
content_filter =
daemon_directory = /usr/local/postfix/libexec
daemon_timeout = 18000s
debug_peer_level = 2
debug_peer_list =
default_database_type = hash
default_delivery_slot_cost = 5
default_delivery_slot_discount = 50
default_delivery_slot_loan = 3
default_destination_concurrency_limit = 5
default_destination_recipient_limit = 50
default_extra_recipient_limit = 1000
default_minimum_delivery_slots = 3
default_privs = nobody
default_process_limit = 50
default_recipient_limit = 10000
default_transport = smtp
default_verp_delimiters = +=
defer_transports =
delay_notice_recipient = postmaster
delay_warning_time = 0h
deliver_lock_attempts = 20
deliver_lock_delay = 1s
disable_dns_lookups = no
disable_verp_bounces = no
disable_vrfy_command = no
dont_remove = 0
double_bounce_sender = double-bounce
duplicate_filter_limit = 1000
empty_address_recipient = MAILER-DAEMON
error_notice_recipient = postmaster
expand_owner_alias = no
export_environment = TZ
extract_recipient_limit = 10240
fallback_relay =
fallback_transport =
fast_flush_domains = $relay_domains
fast_flush_purge_time = 7d
fast_flush_refresh_time = 12h
fault_injection_code = 0
fork_attempts = 5
fork_delay = 1s
forward_expansion_filter = 1234567890!@%-_=+:,./abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ forward_path = $home/.forward${recipient_delimiter}${extension},$home/.forward
hash_queue_depth = 2
hash_queue_names = incoming,active,deferred,bounce,defer,flush
header_checks =
header_size_limit = 102400
home_mailbox =
hopcount_limit = 50
ignore_mx_lookup_error = no
import_environment = MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ XAUTHORITY DISPLAY
in_flow_delay = 1s
inet_interfaces = all
initial_destination_concurrency = 5
invalid_hostname_reject_code = 501
ipc_idle = 100s
ipc_timeout = 3600s
line_length_limit = 2048
lmtp_cache_connection = yes
lmtp_connect_timeout = 0s
lmtp_data_done_timeout = 600s
lmtp_data_init_timeout = 120s
lmtp_data_xfer_timeout = 180s
lmtp_lhlo_timeout = 300s
lmtp_mail_timeout = 300s
lmtp_quit_timeout = 300s
lmtp_rcpt_timeout = 300s
lmtp_rset_timeout = 300s
lmtp_sasl_auth_enable = no
lmtp_sasl_password_maps =
lmtp_sasl_security_options = noplaintext, noanonymous
lmtp_skip_quit_response = no
lmtp_tcp_port = 24
local_command_shell =
local_destination_concurrency_limit = 2
local_destination_recipient_limit = 1
local_recipient_maps =
local_transport = local
luser_relay =
mail_name = Postfix
mail_owner = postfix
mail_release_date = 20020201
mail_spool_directory = /var/spool/mail
mail_version = 1.1.3
mailbox_command =
mailbox_command_maps =
mailbox_delivery_lock = flock, dotlock
mailbox_size_limit = 51200000
mailbox_transport =
mailq_path = /usr/local/postfix/bin/mailq
manpage_directory = /usr/local/postfix/man
maps_rbl_domains =
maps_rbl_reject_code = 554
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions =
max_idle = 100s
max_use = 100
maximal_backoff_time = 4000s
maximal_queue_lifetime = 5d
message_size_limit = 10240000
minimal_backoff_time = 1000s
mydestination = $myhostname, mycompany.com
mydomain = mycompany.com
myhostname = mail.mycompany.com
mynetworks = 127.0.0.0/8 192.168.1.0/24
mynetworks_style = subnet
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
non_fqdn_reject_code = 504
notify_classes = resource,software
owner_request_special = yes
parent_domain_matches_subdomains = debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,
relay_domains,smtpd_access_maps
permit_mx_backup_networks =
prepend_delivered_header = command, file, forward
process_id_directory = pid
program_directory = /usr/libexec/postfix
propagate_unmatched_extensions = canonical, virtual
qmgr_fudge_factor = 100
qmgr_message_active_limit = 10000
qmgr_message_recipient_limit = 10000
qmgr_message_recipient_minimum = 10
qmgr_site_hog_factor = 100
qmqpd_authorized_clients =
qmqpd_error_delay = 5s
qmqpd_timeout = 300s
queue_directory = /usr/local/postfix/queue
queue_minfree = 0
queue_run_delay = 1000s
readme_directory = no
recipient_canonical_maps =
recipient_delimiter =
reject_code = 554
relay_domains = $mydestination
relay_domains_reject_code = 554
relayhost =
relocated_maps =
require_home_directory = no
sample_directory = /etc/postfix
sender_canonical_maps =
sendmail_path = /usr/local/postfix/bin/sendmail
service_throttle_time = 60s
setgid_group = postdrop
smtp_always_send_ehlo = yes
smtp_bind_address =
smtp_break_lines = yes
smtp_connect_timeout = 0s
smtp_data_done_timeout = 600s
smtp_data_init_timeout = 120s
smtp_data_xfer_timeout = 180s
smtp_destination_concurrency_limit = $default_destination_concurrency_limit
smtp_destination_recipient_limit = $default_destination_recipient_limit
smtp_helo_timeout = 300s
smtp_mail_timeout = 300s
smtp_never_send_ehlo = no
smtp_pix_workaround_delay_time = 10s
smtp_pix_workaround_threshold_time = 500s
smtp_quit_timeout = 300s
smtp_randomize_addresses = yes
smtp_rcpt_timeout = 300s
smtp_sasl_auth_enable = no
smtp_sasl_password_maps =
smtp_sasl_security_options = noplaintext, noanonymous
smtp_skip_4xx_greeting = yes
smtp_skip_5xx_greeting = yes
smtp_skip_quit_response = yes
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_restrictions =
smtpd_delay_reject = yes
smtpd_error_sleep_time = 5s
smtpd_etrn_restrictions =
smtpd_hard_error_limit = 100
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_history_flush_threshold = 100
smtpd_junk_command_limit = 100
smtpd_noop_commands =
smtpd_null_access_lookup_key = <>
smtpd_recipient_limit = 1000
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_relay_domains
smtpd_restriction_classes =
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sender_login_maps =
smtpd_sender_restrictions =
smtpd_soft_error_limit = 10
smtpd_timeout = 300s
soft_bounce = no
stale_lock_time = 500s
strict_rfc821_envelopes = no
sun_mailtool_compatibility = no
swap_bangpath = yes
syslog_facility = mail
syslog_name = postfix
transport_maps =
transport_retry_time = 60s
trigger_timeout = 10s
undisclosed_recipients_header = To: undisclosed-recipients:;
unknown_address_reject_code = 450
unknown_client_reject_code = 450
unknown_hostname_reject_code = 450
verp_delimiter_filter = -=+
virtual_gid_maps =
virtual_mailbox_base =
virtual_mailbox_limit = 51200000
virtual_mailbox_lock = fcntl
virtual_mailbox_maps =
virtual_maps =
virtual_minimum_uid = 100
virtual_uid_maps =
-----------------------------------------------------------------------------


ldconfig -v
-----------------------------------------------------------------------------
/usr/X11R6/lib:
        libXpm.so.4 -> libXpm.so.4.11
        libXtst.so.6 -> libXtst.so.6.1
        libXt.so.6 -> libXt.so.6.0
        libXp.so.6 -> libXp.so.6.2
        libXmu.so.6 -> libXmu.so.6.0
        libXi.so.6 -> libXi.so.6.0
        libXext.so.6 -> libXext.so.6.3
        libXaw.so.6 -> libXaw.so.6.1
        libXIE.so.6 -> libXIE.so.6.0
        libX11.so.6 -> libX11.so.6.1
        libPEX5.so.6 -> libPEX5.so.6.0
        libICE.so.6 -> libICE.so.6.3
        libSM.so.6 -> libSM.so.6.0
/usr/local/openssl/lib:
        libssl.so.0.9.6 -> libssl.so.0.9.6
        libcrypto.so.0.9.6 -> libcrypto.so.0.9.6
/usr/local/cyrus-sasl/lib:
        libsasl.so.7 -> libsasl.so.7.1.10
/lib:
        libanl.so.1 -> libanl-2.2.5.so
        libncurses.so.4 -> libncurses.so.4.2
        libdl.so.2 -> libdl-2.2.5.so
        libutil.so.1 -> libutil-2.2.5.so
        libnss_hesiod.so.2 -> libnss_hesiod-2.2.5.so
        librt.so.1 -> librt-2.2.5.so
        libnss_compat.so.2 -> libnss_compat-2.2.5.so
        libnss_nisplus.so.2 -> libnss_nisplus-2.2.5.so
        libnss_nis.so.2 -> libnss_nis-2.2.5.so
        libnsl.so.1 -> libnsl-2.2.5.so
        libnss_files.so.2 -> libnss_files-2.2.5.so
        libnss_dns.so.2 -> libnss_dns-2.2.5.so
        libresolv.so.2 -> libresolv-2.2.5.so
        libpthread.so.0 -> libpthread-0.9.so
        libcrypt.so.1 -> libcrypt-2.2.5.so
        libm.so.6 -> libm-2.2.5.so
        libBrokenLocale.so.1 -> libBrokenLocale-2.2.5.so
        libSegFault.so -> libSegFault.so
        libc.so.6 -> libc-2.2.5.so
        ld-linux.so.2 -> ld-2.2.5.so
        libdb.so.2 -> libdb1-2.2.5.so
        libthread_db.so.1 -> libthread_db-1.0.so
        libproc.so.2.0.7 -> libproc.so.2.0.7
        libdb.so.3 -> libdb.so.3
        libslang.so.1 -> libslang.so.1.4.4
        libwrap.so.0 -> libwrap.so.0.7.6
        libreadline.so.4 -> libreadline.so.4.2
        libhistory.so.4 -> libhistory.so.4.2
        libpopt.so.0 -> libpopt.so.0.0.0
        libpamc.so.0 -> libpamc.so.0.72
        libpam_misc.so.0 -> libpam_misc.so.0.72
        libpam.so.0 -> libpam.so.0.72
        libncurses.so.5 -> libncurses.so.5.2
        libdb2.so.2 -> libdb2.so.2.7.7
        libdl.so.1 -> libdl.so.1.9.11
        ld-linux.so.1 -> ld-linux.so.1.9.11
        libctutils.so.0 -> libctutils.so.0.0.0
        libconsole.so.0 -> libconsole.so.0.0.0
        libcfont.so.0 -> libcfont.so.0.0.0
        libuuid.so.1 -> libuuid.so.1.2
        libe2p.so.2 -> libe2p.so.2.3
        libext2fs.so.2 -> libext2fs.so.2.4
        libss.so.2 -> libss.so.2.0
        libcom_err.so.2 -> libcom_err.so.2.0
/usr/lib:
        libpcreposix.so.3 -> libpcreposix.so.3.03
        libpcre.so.3 -> libpcre.so.3.03
        libmm.so.10 -> libmm.so.10.0.11
        libmysqlclient.so.6 -> libmysqlclient.so.6.0.0
        libbz2.so.0 -> libbz2.so.0.9.5d
        libdb3.so.3 -> libdb3.so.3.0.2
        libcrypto.so.0.9.6 -> libcrypto.so.0.9.6
        libjpeg.so.62 -> libjpeg.so.62.0.0
        libpng.so.2 -> libpng.so.2.1.0.12
        libstdc++-libc6.2-2.so.3 -> libstdc++-3-libc6.2-2-2.10.0.so
        libcompface.so.1 -> libcompface.so.1.0.0
        libpython1.5.so.0.0 -> libpython1.5.so.0.0
        libc-client.so.4.7 -> libc-client.so.4.7
        libssl.so.0.9.6 -> libssl.so.0.9.6
        liblockfile.so.1 -> liblockfile.so.1.0
        libpanel.so.4 -> libpanel.so.4.2
        libmenu.so.4 -> libmenu.so.4.2
        libform.so.4 -> libform.so.4.2
        libpcreposix.so.2 -> libpcreposix.so.2.08
        libpcre.so.2 -> libpcre.so.2.08
        libopenldap.so.1 -> libopenldap.so.1.0.0
        libident.so.0 -> libident.so.0.22
        liblber-openldap.so.1 -> liblber-openldap.so.1.0.0
        libbfd-2.12.90.0.1.so -> libbfd-2.12.90.0.1.so
        libstdc++-libc6.1-2.so.3 -> libstdc++-3-libc6.1-2-2.10.0.so
        libnewt.so.0.50 -> libnewt.so.0.50.17
        libpanel.so.5 -> libpanel.so.5.2
        libmenu.so.5 -> libmenu.so.5.2
        libform.so.5 -> libform.so.5.2
        libopcodes-2.12.90.0.1.so -> libopcodes-2.12.90.0.1.so
        libgdbm.so.1 -> libgdbm.so.1.7.3
        libtiff.so.3 -> libtiff.so.3.5.5
        libz.so.1 -> libz.so.1.1.4
        libapt-pkg.so.2.7 -> libapt-pkg.so.2.7.1
-----------------------------------------------------------------------------


ldd /usr/local/postfix/sbin/postfix
-----------------------------------------------------------------------------
libsasl.so.7 => /usr/local/cyrus-sasl/lib/libsasl.so.7 (0x40017000)
        libdb3.so.3 => /usr/lib/libdb3.so.3 (0x40022000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x400cb000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x400df000)
        libc.so.6 => /lib/libc.so.6 (0x400ef000)
        libdl.so.2 => /lib/libdl.so.2 (0x4020c000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4020f000)
        libpam.so.0 => /lib/libpam.so.0 (0x4023c000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
-----------------------------------------------------------------------------


ls -l /usr/local/postfix/sbin/
-----------------------------------------------------------------------------
total 2704
-rwxr-xr-x    1 root     root       314279 Aug 27 17:08 postalias
-rwxr-xr-x    1 root     root        92140 Aug 27 17:08 postcat
-rwxr-xr-x    1 root     root       305910 Aug 27 17:08 postconf
-rwxr-sr-x    1 root     postdrop   305821 Aug 27 17:08 postdrop
-rwxr-xr-x    1 root     root       205972 Aug 27 17:08 postfix
-rwxr-xr-x    1 root     root       230544 Aug 27 17:08 postkick
-rwxr-xr-x    1 root     root       225389 Aug 27 17:08 postlock
-rwxr-xr-x    1 root     root       204664 Aug 27 17:08 postlog
-rwxr-xr-x    1 root     root       297405 Aug 27 17:08 postmap
-rwxr-sr-x    1 root     postdrop   269941 Aug 27 17:08 postqueue
-rwxr-xr-x    1 root     root       251632 Aug 27 17:08 postsuper
-----------------------------------------------------------------------------


ldd /usr/bin/vacation
-----------------------------------------------------------------------------
        libdb3.so.3 => /usr/lib/libdb3.so.3 (0x40017000)
        libc.so.6 => /lib/libc.so.6 (0x400bf000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
-----------------------------------------------------------------------------

ls -l /usr/bin/vacation
-----------------------------------------------------------------------------
-rwxr-xr-x    1 root     root        14184 Aug 28 12:36 /usr/bin/vacation
-----------------------------------------------------------------------------



Reply to: