postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Resend emails from a Maildir

Re: Resend emails from a Maildir

From: Michael Tokarev <mjt_at_nospam>
Date: Mon Oct 18 2010 - 13:02:40 GMT
To: postfix-users@postfix.org

18.10.2010 16:43, Ralf Hildebrandt wrote:
[]
> if ! grep @ <<STOP > /dev/null
> $1
> STOP
> then

Now that's interesting construct ;)

case "$1" in
  ?*@?*) ;;
  *) echo "No @ in Mail-address" >&2; exit 1;;
esac

/mjt