Michele Carandente:
> Hi to everyone.
> I need to extract from the email in HOLD queue the subject.

Use the "postcat" command. 

The format of Postfix queue files is not public.  Software that
reads Postfix queue files is not supported and will break when I
change Postfix,

Software that uses the documented interfaces will keep working even
after major changes to Postfix internals.

        Wietse

> So the emails are stored in /var/spool/postfix/hold
> I can see that before the Subject there is a special character, that
> is changing apparently random.
> Then, after the subject, there is apparently always N%Date
> 
> Do some of you know the criterion how postfix create the email queued?
> If I find that the subject is always between Subject: and N%Date, I
> can easly write a script to retrieve it...
> 
> Thanks
> Michele
> 
> 

Reply via email to