|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I had a problem with a mailbox filling up and also filling my server disk. When I tried doing a "mail" on the account, it threw a fault on exit and dumped the file. I can read the dump file with a "mail -f" so it appears intact. I want to "integrate" that file with the new mail file. The reason is that I have a web service that reads the email using qpopper. Alternatively, is there a way of setting up the dumped file so it can be retrieved via qpopper? |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Bownembc2.Kent@gmail.com schrieb:
> I can read the dump file with a "mail -f" so it appears intact. > > I want to "integrate" that file with the new mail file. Try this (no warranty): formail -s sendmail user@addre.ss < dumpfile Formail will split the dumpfile into individual messages and feed each one to a "sendmail user@addre.ss" command for redelivery. HTH T. -- Please excuse my bad English/German/French/Greek/Cantonese/Klingon/... |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On Aug 24, 5:01 am, Tilman Schmidt <ts-usenet0...@pxnet.com> wrote:
> Bownembc2.K...@gmail.com schrieb: > Try this (no warranty): > > formail -s sendmail u...@addre.ss < dumpfile > > Formail will split the dumpfile into individual messages and feed > each one to a "sendmail u...@addre.ss" command for redelivery. > Thank you! Clever solution... One more thought -- does "mail" have an import function? As in, from my existing (live) mailbox, can I import an external file worth of messages? |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On Aug 24, 1:28 pm, "John A. Bailo" <jaba...@texeme.com> wrote:
> On Aug 24, 5:01 am, Tilman Schmidt <ts-usenet0...@pxnet.com> wrote: > > > Bownembc2.K...@gmail.com schrieb: > > Try this (no warranty): > > > formail -s sendmail u...@addre.ss < dumpfile > > > Formail will split the dumpfile into individual messages and feed > > each one to a "sendmail u...@addre.ss" command for redelivery. > > Thank you! Clever solution... > > One more thought -- does "mail" have an import function? > > As in, from my existing (live) mailbox, can I import an external file > worth of messages? Well, formail is a great tool -- I can export parts of my maibox to smaller files. I solved my original problem -- it turns out my application server was choking on a particular email which was the first email in the file that got saved off. So switched off sendmail, emptied the current mailfile, then copied the dumped mail file back to /var/mail and it was able to be read! |
|
![]() |
| Outils de la discussion | |
|
|