AFAIR it has to look like this:
"external"{tab}"0"{tab}"0"{tab}"/usr/local/bin/ripmime"{tab}"-i"{tab}"@@TMPFILE"{tab}"-d"{tab}"/var/www/html/"{enter}
Randy Adams wrote:
>grrr what am I doing wrong?
>
>I created a mailproc.tab in a user directory with:
>
>"external"{tab}"0"{tab}"0"{tab}"/usr/local/bin/ripmime"{tab}"-i
>@@TMPFILE -d /var/www/html/"{tab}{enter}
>
>where
>"external" is the command
>"0" is the priority
>"0" is the wait-timeout
>"/usr/local/bin/ripmime" is the program that extracts attachments from
>emails
>"-i @@TMPFILE -d /var/www/html/" where -i is the input file passed from
>xmail (@@TMPFILE) and -d /var/www/html/ where the attactments are
>saved.
>
>When I send an email with an attacment to that user, I get nadda,
>nothing, not even a error log message or anything.
>
>Am I barking up the wrong tree here or what?
>
>regards.
>
>
>Randy Adams
>IS Director
>WHBQ Fox 13
>Memphis, TN
>901.320.1341
>
>
>
>>>>[EMAIL PROTECTED] 04/01/05 12:18PM >>>
>>>>
>>>>
>Randy Adams wrote:
>
>
>>I am not a Perl wiz, wish I was.
>>
>>
>
>
>Be careful what you wish for. ;)
>
>----------
>Scanned for viruses by ClamAV
>-
>Check out ripMIME -
>http://www.pldaniels.com/ripmime/ripmime-1.4.0.5.tar.gz
>
>Randy Adams wrote:
>
>
>
>>I have a special need of being able to check an incoming email for
>>
>>
>the
>
>
>>type of attachment it has (if any). And if that email contains an
>>
>>
>..jpg
>
>
>>..bmp or .gif attachment, I need to copy that attachment to a
>>
>>
>directory
>
>
>>located on the same server.
>>
>>Its used for screening pictures that come into our TV station via
>>email. We often have reporters and photographers email pictures from
>>their camera phone. The quicker we can have pictures of breaking
>>
>>
>news
>
>
>>on the air, the better our coverage of the event.
>>
>>I am using xmail 1.21 on a Mandrake 10.1 official box. And Qdig as
>>
>>
>the
>
>
>>front end for the editors and graphics dept.
>>
>>Anyone have a clue where I can start or any advice?
>>
>>Best regards.
>>
>>
>>
>>
>>
>
>-
>To unsubscribe from this list: send the line "unsubscribe xmail" in
>the body of a message to [EMAIL PROTECTED]
>For general help: send the line "help" in the body of a message to
>[EMAIL PROTECTED]
>
>
>
>
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]