On Thu, Jun 10, 2010 at 06:28:15AM +0200, Stefan Foerster wrote:

> > $ postmulti -i postfix-out -x mailq

This is correct.

> > -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
> > 1BCBD1DF86     2622 Mon Jun  7 03:02:34  
> > boskop-svn-bounces+trac=trac.incertum....@lists.incertum.net
> >           (connect to trac.incertum.net[85.214.20.182]:25: Connection 
> > refused)
> >                                          t...@trac.incertum.net
> > 
> > -- 3 Kbytes in 1 Request.

Where was this file found?

> > $ postmulti -i postfix-out -x postcat -q 1BCBD1DF86
> > postcat: fatal: open queue file 1BCBD1DF86: No such file or directory
> > 
> > Apart from my obvious fault (wrong mail routing which led to the
> > mail's deferral) - how do I actually access the contents of this
> > file?

First see whether "postcat -c /etc/postfix-out -q 1BCBD1DF86" does the job
and then whether "MAIL_CONFIG=/etc/postfix-out postcat -c -q 1BCBD1DF86"
works. If both work, but "postmuli -i postfix-out -x ..." does not, use
"strace -af" (or equivalent truss/ktrace/dtruss/...) to check that the
right environment and arguments are passed from postmulti and that it
executes the expected "postcat" binary.

> Since somebody is going to ask this question: 2.7.
> 
> $ postmulti -i postfix-out -x postconf -n
> config_directory = /etc/postfix-out
> data_directory = /var/lib/postfix-out
> queue_directory = /var/spool/postfix-out

This looks good.

-- 
        Viktor.

Reply via email to