fetch mails without attachments

Moderator: crythias

Locked
Edison
Znuny newbie
Posts: 16
Joined: 15 Feb 2011, 17:18
Znuny Version: 3.1.10

fetch mails without attachments

Post by Edison »

Hello,

I'm using OTRS 3.0.5 and fetching the mails from a IMAP mail server from different mailboxes.
Now I have the need to fetch mails without attachments from some mailboxes.
e.g from mailbox otrs1@bla.com I need all atachments, but from mailbox otrs2.bla.com I doesn't want the attachments.

Any ideas are welcome.

OTRS 3.0.5 on CentOS 5.5 is used.

Best regards
Wolfgang
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: fetch mails without attachments

Post by ferrosti »

The problem is that this requires fetching the mail and extracting attachments from its body.
In any ways you´d have to fetch the whole mail first, then analyze it and drop attachments. This would require a lot of reprogramming and I´d go for support by OTRS at this point.
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: fetch mails without attachments

Post by crythias »

OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked