Create amavisd-new custom hook to modify email, for both signature and pre-pended content

Using the latest version of amavisd-new ([login to view URL]), I need a simple custom hook created that allows me to add a signature to every email, and to add a bit of custom html and/or plain text to every email that passes through the system.

Amavisd-new custom hooks are implemented in perl, and it appears a "before_send" hook is the appropriate place to implement this code. The "[login to view URL]" example in the amavisd-new code demonstrates how these custom hooks work.

This hook needs to:

1. Prepend some content to the beginning of every email.

2. Add a signature to the end of every email.

This must work with both the plain text and HTML portions of an email and support both single and multipart MIME encoded emails.

When modifying the plain text portion of the email, the content added would simply be offset by a string delimiter like "\n---------------\n". When modifying the HTML portion of an email, the new content would be included in a separate div, basically styled to set it apart from the rest of the message.

It must also support scenarios where the body content has been base64 encoded. I've seen this with certain paypal emails, for example, that contain a base64-encoded bit of HTML.

I will provide approximately 10 sample emails that should be tested for compatibility.

The code will need to properly parse out the various MIME boundaries and modify any plain text portions, and parse out any HTML code to properly add the prepended content after any "<body>" tag, and the signature before the closing "</body>" tag, so some basic HTML parsing may be required. You may want to use a cpan module like MIME::Signature or the like to assist.

Compétences : Développeur e-mail, Gestion d'e-mails, Linux, Perl

en voir plus : amavisd new tls, amavisd-new spamassassin, amavisd-new centos 7, amavis whitelist recipient, amavis quarantine location, amavis email address, how to check amavisd new, amavisd -< new, custom design email signature, create professional emails including cool email signature templates, create professional email signature, create free html email signature, create html email signature lotus, create professional email signature samples, create email signature lotus notes, create html email signature lotus notes, create image email signature lotus notes, create email signature cards lotus notes, create professional email signature html, create html file email signature lotus notes

Concernant l'employeur :
( 7 commentaires ) Cerritos, United States

Nº du projet : #18846386

5 freelance font une offre moyenne de $162 pour ce travail



%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(8 Commentaires)

Hello. How are you? Thanks for your posting. I read your detail description and I understood what you need. As an web expert. i have strong skills and experiences in web development for 7 years. I am a expert web Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)

Hi, Good Day, I am experienced developer. I have expertise in C, C++, Perl, CGI, bash script and JAVA. I have written many Perl scripts including API integration (XML). I am a LAMP developer (Linux,Apache,MySQL,Perl Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 5 jours
(0 Commentaires)


%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)

Dear hiring manager, I will be glad to do this task for you. 1. Do you have amavisd installed already? 2. Do you have a place where I can try to add this hook and send some test letters? 3. What program do you Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)