Attached is a git patch for your consideration that adds aliases support for 
local addresses.  Snippets from the docs are shown below.  Let me know if there 
is anything you would like to see added or changed. 
 
Cheers, 
Scott 
 
              --aliases=[file] 
                     Replace  local  recipients  with addresses in the aliases 
                     file.  See the aliases command below. 
 
       aliases [file] 
              Replace  local  recipients  with  addresses in the aliases file. 
              The aliases file  is  a  plain  text  file  containing  mappings 
              between a local address and a list of domain addresses.  A local 
              address is defined as one without an '@' character and a  domain 
              address  is  one with an '@' character.  The mappings are of the 
              form: 
                  local: [email protected], [email protected] 
              Multiple domain addresses are separated with  commas.   Comments 
              start with '#' and continue to the end of the line. 
              The  local  address  'default'  has  special significance and is 
              matched if the local address is not found in the  aliases  file. 
              If  no  'default' alias is found, then the local address is left 
              as is. 
 
       Aliases file 
 
       # Example aliases file 
 
       # Send root to Joe and Jane 
       root: [email protected], [email protected] 
 
       # Send cron to Mark 
       cron: [email protected] 
 
       # Send everything else to admin 
       default: [email protected]

Attachment: 0001-Added-aliases-support.patch
Description: Binary data

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
msmtp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msmtp-users

Reply via email to