Category: Email Servers

Information And Howtos About Email Servers Such As Postfix, Dovecot, Maildrop, Sendmail

Email was the first “killer app” of the early Internet and today millions of emails are sent every day using a variety of emails servers such as postfix and sendmail. This section looks at how to use and configure email servers for sending and receiving email, mail filtering with services such as maildrop and procmail, and POP and IMAP servers such as Courier IMAP and Dovecot.

logwatch “postdrop Illegal seek” and “sendmail queue file write error”

logwatch is a daily process for reporting and analyzing log files and I recently started getting errors on one of the CentOS Linux machines I manage and no daily report. The particular machine gets thousands of bounced emails per day and the mail log files get very large. logwatch had been reporting to me every single bounced email message so the report emails had got very large before stopping altogether. This post looks at the error messages I got and what I did to fix the problem.

Read More »

Changing the Postfix maximum email size

I’ve recently had some of my customers emailing me large image attachments and my Postfix mail server has been rejecting them. A quick look at the postfix configuration showed the message size limit was the default so I needed to increase it. This post looks at how to see what the current email message size limit is with Postfix and how to change it.

Read More »

Updating Postfix’s virtual alias maps

Postfix allows you to store virtual alias maps in a text file, which tells postfix how to route virtual email addresses to real users on the system. This setting and the file location is determined in the postfix configuration file /etc/postfix/ like so:

virtual_alias_maps = hash:/etc/postfix/virtual
Read More »

Postfix “file too large” error message

Running postfix on a CentOS mail server I got the following error message both in a returned email and also in the log file: "cannot update mailbox … error writing message: File too large". This post looks at the erorr message in the bounce email, the log files, and the solution to the error. This error will also affect postfix mail servers on Red Hat Enterprise Linux and probably other default installs of Postfix as well.

Read More »