Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .