From: Evan Broder Date: Mon, 10 Nov 2008 21:33:02 +0000 (-0500) Subject: Fix xvm-mail-config so it actually relays mail to us X-Git-Tag: 0.0.4^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/xvm-mail-config.git/commitdiff_plain/55317d73796c0b8a1e5a25f95af191cd3bc806f0 Fix xvm-mail-config so it actually relays mail to us svn path=/trunk/packages/xvm-mail-config/; revision=1603 --- diff --git a/aliases.xvm b/aliases.xvm index 26d2c49..be9e1fd 100644 --- a/aliases.xvm +++ b/aliases.xvm @@ -1,3 +1,3 @@ # See man 5 aliases for format postmaster: root -root: |/usr/bin/formail -i "To: SIPB XVM Root " +root: |/usr/sbin/xvm-mail-config diff --git a/debian/changelog b/debian/changelog index dea0335..d0ec592 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +xvm-mail-config (0.0.4) unstable; urgency=low + + * Fix the aliases file so it actually works + + -- Evan Broder Mon, 10 Nov 2008 16:30:29 -0500 + xvm-mail-config (0.0.3) unstable; urgency=low * Fix a typo in the aliases file diff --git a/debian/xvm-mail-config.install b/debian/xvm-mail-config.install index aeac11d..fa24637 100644 --- a/debian/xvm-mail-config.install +++ b/debian/xvm-mail-config.install @@ -1,2 +1,3 @@ main.cf.xvm etc/postfix aliases.xvm etc +xvm-mail-relay usr/sbin diff --git a/xvm-mail-relay b/xvm-mail-relay new file mode 100755 index 0000000..ab792e7 --- /dev/null +++ b/xvm-mail-relay @@ -0,0 +1,2 @@ +#!/bin/bash +formail -i "To: xvm-root@mit.edu" | sendmail -f "root@$(hostname -f)" xvm-root@mit.edu \ No newline at end of file