How To Set Catch-All For Postfix Mail Server Without Control Panel?

Postfix is a Mail Transport Agent (MTA), supporting LDAP, SMTP AUTH (SASL), TLS and running in a chroot environment. It is a Wietse Venema’s mailer that started life as an alternative to the widely-used Sendmail program. It attempts to be fast, easy to administer, and secure, while at the same time being sendmail compatible enough to not upset existing users. Thus, the outside has a sendmail-ish flavor, but the inside is completely different. This software was formerly known as VMailer. It was released by the end of 1998 as the IBM Secure Mailer. From then on it has lived on as Postfix. This rpm supports LDAP, SMTP AUTH (trough cyrus-sasl) and TLS. If you need MySQL too, rebuild the srpm –with mysql.

To set catch all for a server running Postfix mail server without using the control panel please follow the steps mentioned below,

===============

1 ) edit the file /etc/postfix/virtual and add an entry as “@domain.com email-for-catch-all”

Example @example.com [email protected]

2)Update the Virtual database using the command ” postmap /etc/postfix/virtual" .<br />

3) Make sure the below line is present in /etc/postfix/main.cf

virtual_alias_maps = hash:/etc/postfix/virtual

4)If its not there add it and save the /etc/postfix/main.cf file.

5) restart postfix mail server.

Get in touch with us.

Leave a Comment

Your email address will not be published. Required fields are marked *