postfix question !

Hirsh, Joshua joshua.hirsh at PARTNERSOLUTIONS.CA
Wed Apr 13 13:57:12 IST 2005


    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

 You guys are both overlooking one important fact. The files are raw queue
files. Postdrop isn't meant to work with raw queue files. To release the
messages, you have to make them executable (and owned by the postfix user)
and copy them into the outgoing postfix queue.


 In both of these examples, I use the split postfix queue structure, so my
"/var/spool/postfix/incoming/" is the outgoing queue. You'll have to adjust
as necessary to use the right queue directory.

 Example 1:

[root at pslinmf01 1E2711377DC]# pwd
/var/spool/MailScanner/quarantine/20050413/1E2711377DC
[root at pslinmf01 1E2711377DC]# ls -lra
total 5640
-rw-r-----    1 postfix  root      2425165 Apr 13 07:33 GetOutofMyCar.wmv
-rw-r-----    1 postfix  root      3326421 Apr 13 07:33 1E2711377DC
drwxr-x---    7 postfix  root         4096 Apr 13 08:38 ..
drwxr-x---    2 postfix  root         4096 Apr 13 07:33 .
[root at pslinmf01 1E2711377DC]# chmod +x 1E2711377DC
[root at pslinmf01 1E2711377DC]# cp -p 1E2711377DC
/var/spool/postfix/incoming/1/


 Example 2:

[root at pslinmf01 6CB9C1377DB]# pwd
/var/spool/MailScanner/quarantine/20050413/6CB9C1377DB
[root at pslinmf01 6CB9C1377DB]# ls -lra
total 3292
-rw-r-----    1 postfix  root      1413222 Apr 13 07:28 Short and
Curly_1.wmv
-rw-r-----    1 postfix  root      1936897 Apr 13 07:28 6CB9C1377DB
drwxr-x---    7 postfix  root         4096 Apr 13 08:38 ..
drwxr-x---    2 postfix  root         4096 Apr 13 07:28 .
[root at pslinmf01 6CB9C1377DB]# chmod +x 6CB9C1377DB
[root at pslinmf01 6CB9C1377DB]# cp -p 6CB9C1377DB
/var/spool/postfix/incoming/6/



 Regards,

-Joshua

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list