On Saturday, Apr 3, 2004, at 19:15 US/Mountain, Rob Yale wrote:


Hi,

I haven't been getting much response from this list - perhaps I've not been providing enough information. For a day, I was able to use tmda-ofmipd to send mail, but suddenly it stopped working. I have noticed the following:

1) My email program (Apple Mail) gives every indication that mail was sent. No error messages come up.

2) The qmail queue seems to get corrupted after trying to use tmda-ofmipd. I've fixed it both with Charles Cazabon's queue-repair utility and by running 'make setup check' on the qmail source (as also recommended by Charles in some mail in the archive).

3) lNo entries appear in the /home/vpopmail/domains/yalemusic.ca/rob/.tmds/log/tmda.out

Here is my /etc/init.d/ofmipd startup file:

#!/bin/bash

su -l vpopmail -c '/home/vpopmail/tmda-1.0.2/bin/tmda-ofmipd -S /home/vpopmail/tmda-1.0.2/contrib/vpopmail-vdir.sh -p 0.0.0.0:8025 -R pop3://127.0.0.1'
----------------------


Here is /home/vpopmail/domains/yalemusic.ca/rob/.tmda/config:

CRYPT_KEY_FILE = "/home/vpopmail/domains/yalemusic.ca/rob/.tmda/crypt_key"
CONFIRM_APPEND = "/home/vpopmail/domains/yalemusic.ca/rob/.tmda/lists/whitelist"
DATADIR = "/home/vpopmail/domains/yalemusic.ca/rob/.tmda/"
PENDING_WHITELIST_APPEND = CONFIRM_APPEND
PENDING_BLACKLIST_APPEND = "/home/vpopmail/domains/yalemusic.ca/rob/.tmda/lists/blacklist"
PENDING_RELEASE_APPEND = CONFIRM_APPEND
FILTER_INCOMING = "/home/vpopmail/domains/yalemusic.ca/rob/.tmda/filters/incoming"
FILTER_OUTGOING = "/home/vpopmail/domains/yalemusic.ca/rob/.tmda/filters/outgoing"
HOSTNAME = "melody.yalemusic.ca"
BARE_APPEND = "/home/vpopmail/domains/yalemusic.ca/rob/.tmda/lists/whitelist"
LOGFILE_INCOMING = "/home/vpopmail/domains/yalemusic.ca/rob/.tmda/log/tmda.in"
LOGFILE_OUTGOING = "/home/vpopmail/domains/yalemusic.ca/rob/.tmda/log/tmda.out"


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

Here is /home/vpopmail/domains/yalemusic.ca/rob/.tmda/filters/outgoing:

#### ~/.tmda/filters/outgoing (first match wins) ###

# All mail from postmaster is sent bare
from [EMAIL PROTECTED] bare

# And so is all mail from the tmda-users mailing list owner
to-mailman -attr=owner ~mailman/lists/tmda-users bare

# All whitelisted contacts receive untagged messages
#to-cdb ~/.tmda/lists/whitelist.cdb bare
to-file /home/vpopmail/domains/yalemusic.ca/rob/.tmda/lists/whitelist bare
to-file /home/vpopmail/domains/yalemusic.ca/rob/.tmda/lists/whitelist_mailing bare


# Catch whitelist bounces
to-file /home/vpopmail/domains/yalemusic.ca/rob/.tmda/lists/whitelist

# Catch-all rule
to * tag envelope dated=8d reply-to dated from bare-append

Any help will be much appreciated.

Thanks,

Rob Yale
Yale Music
Composition and Production

Rob,


I'm not sure if the problem you are having is similar to the problems I've had with tmda-ofmipd or not. (To see my problem, you can search the archives for large memory use.)

At least one symptom is the same--tmda-ofmipd just quits working. I would always know shortly after it quit, though, because my users would start getting error messages.

As a hack workaround, I kill tmda-ofmipd with a cron job once a day.

kill -14 `ps -ax | grep [b]in/tmda-ofmipd | cut -b 1-5`

Since I'm running tmda-ofmipd under supervise, it will be restarted automatically. You'll probably have to start tmda-ofmipd from the same script.

One other problem I had was initially starting tmda-ofmipd. I'm using OpenBSD, and starting it from rc.local would fail every time. Starting it from the command line after the system had fully booted worked great, but used up over half of my available memory. Starting it under supervise seemed to be the ideal solution, but as a daemon it does not respond to any of the normal signals daemons can be sent. I can't stop or restart the tmda-ofmipd with the svc commands.

Here's the run script I use to start tmda-ofmipd under supervise:

#!/bin/sh
#start tmda-ofmipd
exec /usr/local/src/tmda/bin/tmda-ofmipd -f \
        -p heinlein.openvistas.net:8025 \
        -R pop3://heinlein.openvistas.net \
        2>&1 | logger -t TMDA

logger writes all of the error messages to syslog. About the only messages that get written to syslog are the initial startup messages, though. Not sure if logger exists on your (linux?) system, but it is on the BSDs, including on my TiBook running OSX.

Tim Legant has said that he hasn't forgotten about this problem, but that a superficial glance through the code didn't reveal anything.

I hope that helps. When tmda-ofmipd works, it works great. When it doesn't work, it stops all outbound mail, and that is unacceptable here.

Jeff


-- Jeff Ross Open Vistas Networking, Inc. http://www.openvistas.net _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users

Reply via email to