Difference between revisions of "known file/etc/postfix/virtual"
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> — 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 thevirtual.dbfile/etc/init.d/postfix reloador possiblyservice postfix reload(to be tested)