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
(Created page with "==About== '''<code>/etc/postfix/virtual</code>''' is similar to {{l/fn|etc/aliases}} except: * applies only to ''external'' incoming email * format is much simpler and less fl...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
==About==
 
==About==
'''<code>/etc/postfix/virtual</code>''' is similar to {{l/fn|etc/aliases}} except:
+
'''<code>/etc/postfix/virtual</code>''' is similar to {{l/fn/abs|etc/aliases}} except:
 
* 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)