cat /var/mail/username|formail -s dbmail-smtp -u mydbmailusername
should do the trick. Of course you need to have procmail installed to get formail.
And of course this only works for mbox type mailboxes. Maildir and mbx type mailboxes require somewhat different approaches.
Matthias Guenther wrote:
Hi, I have some mails in my old file /var/mail/username. How can I get this mails into dbmail? Thanks Matthias _______________________________________________ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail
-- ________________________________________________________________ Paul Stevens mailto:[EMAIL PROTECTED] NET FACILITIES GROUP PGP: finger [EMAIL PROTECTED] The Netherlands________________________________http://www.nfg.nl