User Tools

Site Tools


software:postfix:quickreference

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
software:postfix:quickreference [2020/09/22 21:00] rodolicosoftware:postfix:quickreference [2020/09/23 19:09] (current) rodolico
Line 21: Line 21:
   * If you want to see who is receiving mail, look for the delivered keyword in the log. This only shows you mail that has been accepted and delivered. <code bash>grep delivered mail.log | grep keywork_to_search_for</code>   * If you want to see who is receiving mail, look for the delivered keyword in the log. This only shows you mail that has been accepted and delivered. <code bash>grep delivered mail.log | grep keywork_to_search_for</code>
  
 +===== Change attachment max size =====
 +
 +Actually, this is the total message size. It is in bytes, so it is a very large number.
 +
 +To see what the current setting is, type <code bash>postconf | grep message_size_limit</code>. If the value is not explicitly entered in main.cf, the default value is show.
 +
 +To set a new value, type <code bash>postconf -e message_size_limit=26214400</code>. The number is 25 Megabytes, or 25*1024*1024 (from a calculator). Obviously, you need to reload or restart postfix for this to take effect.
software/postfix/quickreference.txt · Last modified: 2020/09/23 19:09 by rodolico