[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: motd for zcs 7
I'll try out the SFU motd bits.
> I am also interested in that.
Not sure what "that" refers to, but in case anyone is interested:
I've been using the ticker that WIU posted in the Zimbra forums.
http://www.zimbra.com/forums/developers/19506-solved-ajax-ticker-login-page.html
For quick email blasts, I currently speak LMTP to port 7025, completely bypassing a couple layers of filtering. The list is filtered to eliminate zimbraPrefMailLocalDeliveryDisabled=TRUE and a few other things.
#!/bin/sh
(printf "LHLO `hostname`\r\nMAIL FROM: <>\r\n"
usleep 1500
for i in `grep @carleton.edu spam-all`; do
printf "RCPT TO:<$i>\r\n"
usleep 1500
done
printf "DATA\r\n"
usleep 1500
cat $EMAIL
printf "\r\n.\r\nrset\r\n"
sleep 1
printf "rset\r\nquit\r\n") | nc -w 30 mail.carleton.edu 7025 > $OUTFILE
RCPT=`grep -c @carleton.edu spam-all`
GOODRCPT=`grep -c '250 2.1.5 Recipient OK' $OUTFILE`
test $RCPT -eq $GOODRCPT || mail -s "some errors, etc..."