Hi,

i have some little problems :) with dbmail-smtp and dbmail-maintenance.

dbmail-smtp

if there is no known user (ex: [EMAIL PROTECTED]) the bounce procedure fail due to a wrong??? calls to sendmail executable; in particular dbmail pipes to /usr/sbin/sendmail (or whatever in /etc/dbmail.conf) without any recipient onto command line ( /usr/sbin/sendmail instead of /usr/sbin/sendmail [EMAIL PROTECTED]); i make an ugly :) change to bounce.c and seams to work. I read forward.c and i saw that the forwarding procedure append recipeints to executable before opening pipe.


dbmail-maintenance:

is a very strange problems, probably on memory allocation. It occoures when there is a message (or more) marked for final deletion. When status is 001 the program end normaly, when the status is 003 the messages are deleted but the program end with Segmentation Fault
randomly in one of the 3 db_icheck function.

        Any idea?

                Thanks in advance

                        Andy

P.S. : I'm afraid for my bad english

----------- begin 1 message deletion --------------------
# dbmail-maintenance -cfpd
*** dbmail-maintenance ***
Opening connection to the database... Ok. Connected
Deleting messages with DELETE status... Ok. [0] messages deleted.
Setting DELETE status for deleted messages... Ok. [1] messages set for deletion. Now checking DBMAIL messageblocks integrity.. Ok. Found 0 unconnected messageblks.
--- checking block integrity took 0 seconds
--- checking block integrity took 0 seconds
Now checking DBMAIL message integrity.. Ok. Found 0 unconnected messages.
--- checking message integrity took 0 seconds
--- checking message integrity took 0 seconds
Now checking DBMAIL mailbox integrity.. Ok. Found 0 unconnected mailboxes.
--- checking mailbox integrity took 0 seconds
--- checking mailbox integrity took 0 seconds
Cleaning up database structure... Ok. Database cleaned up.
Maintenance done.

# dbmail-maintenance -cfpd
*** dbmail-maintenance ***
Opening connection to the database... Ok. Connected
Deleting messages with DELETE status... Ok. [1] messages deleted.
Setting DELETE status for deleted messages... Ok. [0] messages set for deletion.
Now checking DBMAIL messageblocks integrity.. Segmentation fault

# dbmail-maintenance -cfpd
*** dbmail-maintenance ***
Opening connection to the database... Ok. Connected
Deleting messages with DELETE status... Ok. [0] messages deleted.
Setting DELETE status for deleted messages... Ok. [0] messages set for deletion. Now checking DBMAIL messageblocks integrity.. Ok. Found 0 unconnected messageblks.
--- checking block integrity took 0 seconds
--- checking block integrity took 0 seconds
Now checking DBMAIL message integrity.. Ok. Found 0 unconnected messages.
--- checking message integrity took 0 seconds
--- checking message integrity took 0 seconds
Now checking DBMAIL mailbox integrity.. Ok. Found 0 unconnected mailboxes.
--- checking mailbox integrity took 0 seconds
--- checking mailbox integrity took 0 seconds
Cleaning up database structure... Ok. Database cleaned up.
Maintenance done.
#
------------ end one message deletion --------------

--------- begin 2 message deletion ---------------
# dbmail-maintenance -cfpd
*** dbmail-maintenance ***
Opening connection to the database... Ok. Connected
Deleting messages with DELETE status... Ok. [0] messages deleted.
Setting DELETE status for deleted messages... Ok. [2] messages set for deletion. Now checking DBMAIL messageblocks integrity.. Ok. Found 0 unconnected messageblks.
--- checking block integrity took 0 seconds
--- checking block integrity took 0 seconds
Now checking DBMAIL message integrity.. Ok. Found 0 unconnected messages.
--- checking message integrity took 0 seconds
--- checking message integrity took 0 seconds
Now checking DBMAIL mailbox integrity.. Ok. Found 0 unconnected mailboxes.
--- checking mailbox integrity took 0 seconds
--- checking mailbox integrity took 0 seconds
Cleaning up database structure... Ok. Database cleaned up.
Maintenance done.

# dbmail-maintenance -cfpd
*** dbmail-maintenance ***
Opening connection to the database... Ok. Connected
Deleting messages with DELETE status... Ok. [2] messages deleted.
Setting DELETE status for deleted messages... Ok. [0] messages set for deletion. Now checking DBMAIL messageblocks integrity.. Ok. Found 0 unconnected messageblks.
--- checking block integrity took 0 seconds
--- checking block integrity took 0 seconds
Now checking DBMAIL message integrity.. Ok. Found 0 unconnected messages.
--- checking message integrity took 0 seconds
--- checking message integrity took 0 seconds
Now checking DBMAIL mailbox integrity.. Segmentation fault

# dbmail-maintenance -cfpd
*** dbmail-maintenance ***
Opening connection to the database... Ok. Connected
Deleting messages with DELETE status... Ok. [0] messages deleted.
Setting DELETE status for deleted messages... Ok. [0] messages set for deletion. Now checking DBMAIL messageblocks integrity.. Ok. Found 0 unconnected messageblks.
--- checking block integrity took 0 seconds
--- checking block integrity took 0 seconds
Now checking DBMAIL message integrity.. Ok. Found 0 unconnected messages.
--- checking message integrity took 0 seconds
--- checking message integrity took 0 seconds
Now checking DBMAIL mailbox integrity.. Ok. Found 0 unconnected mailboxes.
--- checking mailbox integrity took 0 seconds
--- checking mailbox integrity took 0 seconds
Cleaning up database structure... Ok. Database cleaned up.
Maintenance done.

#


--------- end 2 message deletion --------------
----------------------------------
Trouble with Windows? Reboot!
Trouble with Unix?    Be root!
----------------------------------
Andrea Sisti
SAD System Administrator
SAD Trasporto Locale S.p.A.
Corso Italia 13/N
39100 Bolzano/Bozen BZ
E-Mail: [EMAIL PROTECTED]
----------------------------------



----------------------------------
Trouble with Windows? Reboot!
Trouble with Unix?    Be root!
----------------------------------
Andrea Sisti
SAD System Administrator
SAD Trasporto Locale S.p.A.
Corso Italia 13/N
39100 Bolzano/Bozen BZ
E-Mail: $m
----------------------------------

Reply via email to