Changeset 2279 for trunk


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.

Location:
trunk/packages/xvm-mail-config
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/xvm-mail-config/debian/changelog

    r1989 r2279  
     1xvm-mail-config (0.0.9) unstable; urgency=low
     2
     3  * Use the new mail.forward config entry when relaying e-mail.
     4
     5 -- Evan Broder <broder@mit.edu>  Sat, 28 Mar 2009 19:54:28 -0400
     6
    17xvm-mail-config (0.0.8) unstable; urgency=low
    28
  • 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.