Re: Best way to automatically copy out attachments from an email

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matty Sarro wrote:
> As of now here is my situation:
> I am working on a system to aggregate IT data and logs. A number of
> important data are gathered by a third party system. The only
> immediate way I have to access the data is to have their system
> automatically email me updates in CSV format every hour. If I set up a
> mail client on the server, this shouldn't be a huge issue.
>
> However, is there a way to automatically open the emails, and copy the
> attachments to a directory based on the filename? Kind of a weird
> project, I know. Just looking for some ideas hence posting this on two
> lists.

Well, they are presumably in std. MIME format, so you can strip it off,
maybe with a filter either in your mail tool, or in the delivery system.
procmail comes to mind.

          mark

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux