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

Last change on this file since 2563 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
RevLine 
[1603]1#!/bin/bash
[2279]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.