Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use Amazon SES as a mail relay service for my emails as my server host blocks connections out on port 25. SES works great, however occasionally users send large attachments (>10MB). Whilst I could just every time suggest they upload their attachments somewhere and send a URL, this becomes tiresome and sometimes too complicated for my users. I have another mail relay available that allows me to send a smaller number of larger emails and so would like to send messages larger than 10MB through an alternate mail relay, and all other mail through Amazon SES still.

How would it be possible to achieve this in a postfix smtp server?

share|improve this question

1 Answer 1

I don´t know an exact solution for you but it won´t works out of the box with postfix. You have to install a policy server which could check the mail size and dependent from the result it should resend the email to postfix on an own port there you could set up a different configuration with a special relay server.

There are a lot of policy servers for postfix - so please check yourself.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.