Re: .Forward file piping forwarded mail (abort sendmail)

2010-12-26 Thread /dev/rob0
On Fri, Dec 17, 2010 at 12:25:19AM -0800, selcukyazar wrote: > we don't have procmail or maildrop. just postfix.I wannt abort > forwarding mail it's subject contains Spam think. A better approach is to use recipient_delimiter and tag the envelope recipient address. Amavisd-new can do this. Then,

Re: .Forward file piping forwarded mail (abort sendmail)

2010-12-17 Thread selcukyazar
Hi, we don't have procmail or maildrop. just postfix.I wannt abort forwarding mail it's subject contains Spam think. thanks. -- View this message in context: http://old.nabble.com/.Forward-file-piping-forwarded-mail-%28abort-sendmail%29-tp30470508p30479046.html Sent from the Postfix mailing li

Re: .Forward file piping forwarded mail (abort sendmail)

2010-12-16 Thread Eero Volotinen
2010/12/17 selcukyazar : > > > Hi > > Anybody have idea about    | if [ grep '[][{!-]Spam[][?}].*'| nawk '{print > $1}' == 1 ] ...    command works in .forward file ? try procmail or maildrop ? -- Eero

.Forward file piping forwarded mail (abort sendmail)

2010-12-16 Thread selcukyazar
Hi Anybody have idea about| if [ grep '[][{!-]Spam[][?}].*'| nawk '{print $1}' == 1 ] ...command works in .forward file ? thanks. /s selcukyazar wrote: > > Hi > > my .forward manupulation works. > > "| sed -e 's/Subject:/Subject:FW: /g' -e '/'Received:\.\*'/{N;d}'| > /usr/sbin/s

.Forward file piping forwarded mail (abort sendmail)

2010-12-15 Thread selcukyazar
Hi my .forward manupulation works. "| sed -e 's/Subject:/Subject:FW: /g' -e '/'Received:\.\*'/{N;d}'| /usr/sbin/sendmail -i mail_ad...@hotmail.com" -considering bounce loops- ok, also i wantto use command like this; if [ `expr match "$str" "[][{!-]Spam[][?}].*"` != "0" ]; then abort forwar