On Thu, 12 Dec 2002, sergey ivanov wrote: > > Hi All, > How can I tell to XMail from > to use courier imap server I wrote line > =========== > "external"[tab]"0"[tab]"1"[tab]"/var/MailRoot/for_imap.sh"[tab]"@@FILE"\ > [tab]<my username>"@@FROM" > =========== > into mailproc.tab, while for_imap.sh contains lines to convert endlines > as it proposed by Aaron Johnson at > http://www.gina.net/solution/dbmail_install.html: > =========== > #!/bin/sh > perl -pi -e 's/\r\n/\n/g' $1 > /usr/bin/maildrop -d $2 < $1 > =========== > Everything works for me and I can use courier imap server. > But if the maildrop receipt file (~/.mailfilter) contains errors and > maildrop fails, the messages dissapear. > How can I tell from external mail processing program to XMail > that the message should be returned to queue for another delivery attempt?
You have to use @@TMPFILE and you have to purge the @@TMPFILE from your script when you've done with the processing. - Davide - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
