masqmail
diff admin/rmail @ 227:cab46cefa4ce
renamed contrib/ to admin/
because the contents are for system admins
and possibly for advanced users too
author | meillo@marmaro.de |
---|---|
date | Fri, 23 Jul 2010 11:49:44 +0200 |
parents | contrib/rmail@92673a185add |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/admin/rmail Fri Jul 23 11:49:44 2010 +0200 1.3 @@ -0,0 +1,25 @@ 1.4 +#!/bin/sh 1.5 +# 1.6 +# Dummy UUCP rmail command for postfix/qmail systems 1.7 +# 1.8 +# written by luciano l. mannucci <luke@nameron.smd.sublink.org> 1.9 +# improved by Wietse Venema <wietse@porcupine.org> 1.10 +# see: 1.11 +# List: postfix-users 1.12 +# Subject: Rmail: very small fix 1.13 +# From: luke@nameron.smd.sublink.org (luciano l. mannucci) 1.14 +# Date: 2000-09-13 14:31:30 1.15 +# URL: http://marc.info/?l=postfix-users&m=96885536302087 1.16 +# 1.17 +# taken from postfix-2.5.5/auxiliary/rmail/rmail 1.18 + 1.19 + 1.20 +SENDMAIL="/usr/sbin/sendmail" 1.21 +IFS=" " read junk from junk junk junk junk junk junk junk relay 1.22 + 1.23 +case "$from" in 1.24 + *[@!]*) ;; 1.25 + *) from="$from@$relay";; 1.26 +esac 1.27 + 1.28 +exec $SENDMAIL -i -f "$from" -- "$@"