Difference between revisions of "known file/etc/postfix/virtual"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
m
 
Line 3: Line 3:
 
* applies only to ''external'' incoming email
 
* applies only to ''external'' incoming email
 
* format is much simpler and less flexible - only one destination per target, and that must always be an email address
 
* format is much simpler and less flexible - only one destination per target, and that must always be an email address
 +
 +
After modifying the file:
 +
* <code>postmap /etc/postfix/virtual</code> &mdash; updates the <code>virtual.db</code> file
 +
* <code>/etc/init.d/postfix reload</code> or possibly <code>service postfix reload</code> (to be tested)

Latest revision as of 20:58, 9 August 2021

About

/etc/postfix/virtual is similar to /etc/aliases except:

  • applies only to external incoming email
  • format is much simpler and less flexible - only one destination per target, and that must always be an email address

After modifying the file:

  • postmap /etc/postfix/virtual — updates the virtual.db file
  • /etc/init.d/postfix reload or possibly service postfix reload (to be tested)