source: trunk/packages/xvm-mail-config/xvm-mail-relay @ 2493

Last change on this file since 2493 was 2279, checked in by broder, 16 years ago

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

  • Property svn:executable set to *
File size: 145 bytes
Line 
1#!/bin/bash
2forward="$(invirt-getconf mail.forward)"
3/usr/bin/formail -i "To: $forward" | /usr/sbin/sendmail -f "root@$(hostname -f)" "$forward"
Note: See TracBrowser for help on using the repository browser.