armin langhofer wrote:

hi

any ideas how to get the mails from /var/spool/mail/currentmailuser into the database [mysql]? i tried to do so with dbmail-smtp without success.

Hum, I think that connecting to dbmail-pop3d or dbmail-imapd as currentmailuser should suffice given
that such is the normal behaviour for uw-imapd and standard pop servers.

Since this is currently not the case for dbmail (AFAIK), you might want to check out the mb2db utility that
was posted to this list last week.

Also, you could simply use

'cat /var/spool/mail/currentmailuser | formail -s /usr/local/bin/dbmail-smtp -u currentmaiiluser'

--
 ________________________________________________________________
 Paul Stevens                                  mailto:[EMAIL PROTECTED]
 NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
 The Netherlands________________________________http://www.nfg.nl


Reply via email to