# Access to email body and attachments within mail proxy?

**URL:** <https://www.ruby-forum.com/t/access-to-email-body-and-attachments-within-mail-proxy/235902>\
**Category:** NGINX\
**Created:** [July 23, 2013, 2:59pm UTC](https://www.ruby-forum.com/t/access-to-email-body-and-attachments-within-mail-proxy/235902 "2013-07-23T14:59:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [July 23, 2013, 2:59pm UTC](https://www.ruby-forum.com/t/access-to-email-body-and-attachments-within-mail-proxy/235902/1 "2013-07-23T14:59:15Z")

</div>

Hi, I’m wondering whether the MailProxy module allows access to the  
e-mail  
content (body and attachments) of a proxied email. I’d like to intercept  
(encrypt) emails within SMTP, POP3 and IMAP requests. I haven’t been  
able to  
find any configuration samples that would allow access to the email  
content.

Posted at Nginx Forum:

> **[access to email body and attachments within mail proxy?](https://forum.nginx.org/read.php?2,241145,241145#msg-241145)**
>
> Hi, I'm wondering whether the MailProxy module allows access to the e-mail content (body and attachments) of a proxied email. I'd like to intercept (encrypt) emails within SMTP, POP3 and IMAP requests. I haven't been able to find any configuration...

---

<div class="post-metadata">

**Author:** ![mortadelo\_de](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/8e8cbc/32.png) [@mortadelo\_de](https://www.ruby-forum.com/u/mortadelo_de)\
**Post date:** [July 23, 2013, 3:04pm UTC](https://www.ruby-forum.com/t/access-to-email-body-and-attachments-within-mail-proxy/235902/2 "2013-07-23T15:04:31Z")

</div>

Hello!

On Tue, Jul 23, 2013 at 08:58:50AM -0400, mortadelo\_de wrote:

> Hi, I’m wondering whether the MailProxy module allows access to the e-mail  
> content (body and attachments) of a proxied email. I’d like to intercept  
> (encrypt) emails within SMTP, POP3 and IMAP requests. I haven’t been able to  
> find any configuration samples that would allow access to the email content.

It’s not something nginx mail proxy allows to do. It only checks  
authentication and then establishes an opaque pipe between a  
client and an upstream server.

–  
Maxim D.

> **[nginx: donation](http://nginx.org/en/donation.html)**
