Tom Allison wrote:
Jorge Bastos wrote:
Tom,

Do you have something like:

mailbox_transport               = dbmail-lmtp:127.0.0.1:24


I have this when I want it to work...  :)

But I'm trying to see if I can run it as a procmail script, which would mean I need a mailbox_command and not have this mailbox_transport commented out.
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail

I think I got it working!!!!!

main.cf

mailbox_transport = procmail

master.cf
procmail  unix  -       n       n       -       4       pipe
        flags=DRhu user=mail argv=/usr/bin/procmail -a ${recipient}


I need to add a default_destination_recipient_limit but I don't know if it should be in main.cf or as an -o under my procmail entry...


Now I have a /etc/procmailrc:

LOGFILE=/var/log/procmail.log
DEFAULT="| /usr/sbin/dbmail-smtp -d $1"
LASTFOLDER="| /usr/sbin/dbmail-smap -d $1"
LOGABSTRACT=yes
VERBOSE=yes
COMSAT=no
#LOG=`printenv`

#EXITCODE=75 HOST

:0 Wh: msgid.lock
| formail -D 2048 msgid.cache

:0
| /usr/sbin/dbmail-smtp -d $1


I'm sure there's some overkill in here, but it's working...

Reply via email to