November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Postfix Useful Commands

To Check Postfix Queue #mailq

To Check Sasl Auth #tail -f /var/log/messages|grep sasl

To Check Posfix Logs #tail -f /var/log/maillog|grep postfix

List of domains that are being deferred #qshape-maia -s deferred

Checking Specific Mail From Queue ————————————— To view the full mails #postcat -q D5EB71AEA45 If you an error postcat: fatal: open queue file D5EB71AEA45: […]

Specific Email Address From Your Mail Queue

You can check your current mail queue like this:

postqueue -p

To delete all mails from the mail queue that come from falko@example.com or are sent tofalko@example.com (the command is the same regardless of if it’s the sender or recipient address), you can use this command:

mailq | tail +2 | awk ‘BEGIN […]

ZIMBRA TIPS : ARCHIVING, HOW TO MAKE AN ARCHIVE FOR EVERY INCOMING AND OUTGOING MAIL

One of the important features that are needed on a mail server is archiving, the backup copy of all incoming and outgoing mail.

Although we can do the backup process periodically for every account, archiving more better and efficient because we have all of copy email which 100% similar with the original.

However, […]

Zimbra 8 – Adjust max attachment size for email

his sets the maximum attachment size to 50 megabytes. Log into the shell account and type the […]

Administration:Postfix Queue

Overview When is postfix used?

Postfix can be used for the following functionality:

Masquerading Shunting queue

The Postfix solution is not secured and hence should be used after the qmail server. Postfix can be put in front of qmail only on internal servers which are not exposed to direct hits from the Internet or LAN.

[…]

Postfix on CentOS 6.4

MAIL SERVERSETUP USING POSTFIX ON CENTOS 6.4

Part 1 MTA Postfix

Chapter 1 Email Service Chapter 2 Mail Transfer Agents Chapter 3 Installation and Startup Chapter 4 Postfix Configuration

Part 2 IMAP & POP3 Server

Chapter 5 IMAP and POP3 on Dovecot Chapter 6 MUA Configuration

Part 3 Postfix aliases & access control

Chapter […]

SMTP relay server with RHEL

I prefer to use corporate mail server for mail relay mails from Linux box.

While settingup Nagios for my friend and as he insisted using Gmail to send Nagios alters I found interesting post.

Install dependencies.

yum -y install openssl-perl

If /etc/pki/CA/private/cakey.pem does not exists

/etc/pki/tls/misc/CA.pl -newca

That will create the cakey.pem file in /etc/pki/CA/private

[…]

IREDMAIL replication server with 1 hour delay or what ever delay you want.

IREDMAIL replication server with 1 hour delay or what ever delay you want.

This is not a HA and it’s not using any ldap replication engine and mysql replication engine.

The methodology is just

backup –> transfer –> restore

The tools needed;

i. rsync

ii. NFS daemon

iii. mysqldump and restore (for mysql)

iv. slapcat […]

Postfix-SMTP-AUTH-TLS-Howto

Postfix-SMTP-AUTH-TLS-Howto

Version 1.0 Author: Falko Timme <falko [dot] timme [at] projektfarm [dot] de> Last edited 12/31/2003

You can find the latest version of this document at http://www.howtoforge.com

This document describes how to install a mail server based on postfix that is capable of SMTP-AUTH and TLS. It should work (maybe with slight changes […]