Tuesday, October 24, 2006

Postfix: message_size_limit

I had problem with Postfix mail server on my Ubuntu 4.10. The problem was simply, that I could not send mails with attachments greater than few MBs. The solution was to add one line to /etc/postfix/main.cf and restarting my mail server:

message_size_limit = 20240000

This increased my mail size to around 20MB.