Ignore:
Timestamp:
Mar 28, 2009, 7:56:03 PM (16 years ago)
Author:
broder
Message:

Use the new mail.forward config entry in xvm-mail-config when relaying e-mail.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/xvm-mail-config/xvm-mail-relay

    r1686 r2279  
    11#!/bin/bash
    2 /usr/bin/formail -i "To: xvm-root@mit.edu" | /usr/sbin/sendmail -f "root@$(hostname -f)" xvm-root@mit.edu
     2forward="$(invirt-getconf mail.forward)"
     3/usr/bin/formail -i "To: $forward" | /usr/sbin/sendmail -f "root@$(hostname -f)" "$forward"
Note: See TracChangeset for help on using the changeset viewer.