• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 312
  • Last Modified:

qmail forwarding (quick points for ya)

How to forward using qmail? We use Exchange and qmail.
I need to know what file has users and which has aliases? Any URLs also greatly appreciated. Quick points here
1 Solution
qmail forwards based on files located in ~alias (usually /var/qmail/alias). The files are, usually, in the form of ".qmail-foo" where "foo" is the name of the interim recipient. The file should contain "&bar@here.com" where "bar" is the name of the final recipient.
The easiest way of doing forwarding with Qmail IMHO is. In /var/qmail/alias you edit a file name .qmail-default

In this file you put the following :

| forward  "$LOCAL"@<hostname or IP of the mailserver you are forwarding to>

What this will do is to forward every E-mail that can not be delivered to another host.

By using this line no users or aliases should be defined on the qmail but they can be on the exchange.

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now