PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > Saved mail file; want to reinsert messages
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Saved mail file; want to reinsert messages

Réponse
 
LinkBack Outils de la discussion
Vieux 23/08/2007, 19h16   #1
Bownembc2.Kent@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Saved mail file; want to reinsert messages


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?

  Réponse avec citation
Vieux 24/08/2007, 13h01   #2
Tilman Schmidt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Saved mail file; want to reinsert messages

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/...
  Réponse avec citation
Vieux 24/08/2007, 21h28   #3
John A. Bailo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Saved mail file; want to reinsert messages

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?


  Réponse avec citation
Vieux 24/08/2007, 22h54   #4
John A. Bailo
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Saved mail file; want to reinsert messages

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!


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h03.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12054 seconds with 12 queries