Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-27-2010, 01:03 PM
Loyal Member
 
Posts: 81
Default Extract and Save Attachment on Inbound Email Address

I have an eFax service that sends faxes via email to a specific account. The faxes come in as PDF.

In using Zimbra ZCS 5.0.23 in RHEL5, how could I extract and save those attachments to a folder on the zimbra server AUTOMATICALLY?

For example, inbound fax comes as a PDF attachment in an email. The email address it comes to is inbound_fax@mydomain.com. I would like to process this email as it comes in and save the PDF attachment to /home/inbound_fax/inbox.

Please let me know how you would accomplish something like this.
Thanks!
Reply With Quote
  #2 (permalink)  
Old 09-29-2010, 02:08 PM
Loyal Member
 
Posts: 81
Default

I am surprised that this has not garnered any suggestions. Let me ask the question this way.... if I had regular emails that I wanted to auto-feed let's say to a website for consolidated viewing - how could I do that?

Email comes in -> program runs that reads email -> function is run to process the email (i.e., post log to admin portion of a company portal).

I am looking for any suggestions on how to auto-process an email as input for a program on a Linux box (when Zimbra is the mail server.)

Please help!
Reply With Quote
  #3 (permalink)  
Old 09-30-2010, 02:58 AM
j2b j2b is offline
Special Member
 
Posts: 109
Default

I am following your thread, but the silence in this basically can mean, that there are no ready solutions to be shared by this forum users. Some time ago I was experiencing the same situation, only mail system was Lotus Notes Domino. And we ended up with custom script development inside Domino database.

For now, I see several posibilities to achieve this. But none of them are built into ZCS. And main functionality of this system all together would depend on Fax server software functionality too.

1.variant - Zimbra Zimlets.
I have not developed any of them, but upon reading some documentation, I guess it can be possible to write your own custom zimlet to do filtering and attachment deattaching from e-mails. But I can not advice any more on this issue.

2.variant - use of external application.
Write your own application on language you like more (php, ruby, shell script, java, etc. - not specific one). Use IMAP or POP available libraries and add functionality of local system mailbox and scripting to deattach file proportion of an e-mail message and save it to local/network disk.

I might be wrong, but I guess, that most Fax server software are capable of sending fax attachments (PDF) in emails to specific e-mail address and/or using specific SMTP server. Which in turn can be configured to redirect specific messages (from/to) to local mailbox and not go to Zimbra. The other service of such servers are possibility to store received faxes locally/on network drive, thus eliminating Zimbra inclusion in this chain of processes. Afterwards is just a question on how you operate with such files later.

In day to day job I use Drupal CMS (PHP based) and there are several modules implementing IMAP/POP connections to mail servers. In my case I would use this system to get e-mails of specific folder/account with fax attachments and populate records of this CMS. Additionally you can set up search, workflows and forwarding of such records. I mean it is something like local intranet application, which requires no licencing and can be modified as needed.

Sorry for not giving direct answers. Hope this info can help.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.