Mercurial > masqmail
comparison 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 |
comparison
equal
deleted
inserted
replaced
226:7b70bf4f1f42 | 227:cab46cefa4ce |
---|---|
1 #!/bin/sh | |
2 # | |
3 # Dummy UUCP rmail command for postfix/qmail systems | |
4 # | |
5 # written by luciano l. mannucci <luke@nameron.smd.sublink.org> | |
6 # improved by Wietse Venema <wietse@porcupine.org> | |
7 # see: | |
8 # List: postfix-users | |
9 # Subject: Rmail: very small fix | |
10 # From: luke@nameron.smd.sublink.org (luciano l. mannucci) | |
11 # Date: 2000-09-13 14:31:30 | |
12 # URL: http://marc.info/?l=postfix-users&m=96885536302087 | |
13 # | |
14 # taken from postfix-2.5.5/auxiliary/rmail/rmail | |
15 | |
16 | |
17 SENDMAIL="/usr/sbin/sendmail" | |
18 IFS=" " read junk from junk junk junk junk junk junk junk relay | |
19 | |
20 case "$from" in | |
21 *[@!]*) ;; | |
22 *) from="$from@$relay";; | |
23 esac | |
24 | |
25 exec $SENDMAIL -i -f "$from" -- "$@" |