One thing that can be really helpful for Linux administrators is sending mail attachments via the Linux command line. It is fairly widely known that you can inject text files into email by piping the outputs of those files to the mail command however something that is less known is attaching files to an email sent via mail. The information below describes how to send mail from a Linux shell using the mail command.
Postfix Error: cannot update mailbox /var/mail/root for user root. cannot create file exclusively: No such file or directory
While working on a project unrelated to Postfix on a CentOS server I noticed an error in the mail logs that indicated an issue with the root users mailbox. I have yet to locate the root cause of the problem however I was able to resolve the problem easily. Below I explain the error in more detail as well as how I was able to resolve the problem with sending email to the root users inbox.
I discovered something really cool tonight to help organize my default Gmail account. You can use an unlimited number of aliases which in return will allow you to easily filter or organize incoming email based on numerous factors. By default Gmail will deliver any mail with your email@example.com to your Gmail inbox. This not only works with @gmail.com email addresses but it will also work with any domains you have hosted via Google apps.
A client of mine that still uses Outlook Express called me because they were unable to receive mail on one of their PC’s. After a little troubleshooting I determined that there was nothing wrong with the account itself but it appeared the issue was on the computer. The specific error they were receiving is below.
Error:An unkown error has occurred. Account: ‘mail.example.com’, Server: ‘mail.example’, Protocol: POP3, Port: 110, Secure(SSL): No, Error Number: 0x800C0133