# ~jhs/.procmailrc.system.logs # http://berklix.com/~jhs/dots/.procmailrc.system.logs :0 WH # ----------------------------------------------------------------------- * ^Subject:.*(laps|lapo) rc.local gbde.sh * ^From: Root \ /home/jhs/bin/.sh/clean_spam | $RCVSTORE +cron/daily :0 WH # ----------------------------------------------------------------------- * ^Subject: Cron \ /home/jhs/bin/.sh/ports_index | $RCVSTORE +cron/weekly :0 WH # ----------------------------------------------------------------------- * ^Subject:.*(cron: |)[a-z]+\.(js\.berklix\.net|(berklix|bsdpie|surfacevision|monometro)\.(org|com|net|eu|co\.uk)) weekly run output { :0 cw # --------------------------------------------------------------- | $RCVSTORE +cron/weekly :0 W # ---------------------------------------------------------------- $PRI_MAIL_SYSTEMS/cron/weekly/. # Archive for autopsies. } :0 WH # ----------------------------------------------------------------------- * ^Subject:.*(cron: |)[a-z]+\.(js\.berklix\.net|(berklix|bsdpie|surfacevision|monometro)\.(org|com|net|eu|co\.uk)) monthly run output { :0 cw # --------------------------------------------------------------- | $RCVSTORE +cron/monthly :0 W # ---------------------------------------------------------------- $PRI_MAIL_SYSTEMS/cron/monthly/. # Archive for autopsies. } :0 WB # ----------------------------------------------------------------------- # Trap mailman bleating every 5 mins. * /usr/local/mailman/cron/gate_news | $RCVSTORE +error/python :0 WH # ----------------------------------------------------------------------- * ^From:.*mailman@lapl\.js\.(berklix|bsdpie|surfacevision|monometro)\.(org|com|net|eu|co\.uk) | $RCVSTORE +error/python :0 WH # ----------------------------------------------------------------------- * ^Subject:.*Cron \ * /home/jhs/bin/\.sh/web_cp_remote { :0 cw # --------------------------------------------------------------- | $RCVSTORE +cron/web_cp_remote :0 W # ---------------------------------------------------------------- $PRI_MAIL_SYSTEMS/cron/web_cp_remote/. # Archive for autopsies. } :0 WH # ----------------------------------------------------------------------- * ^Subject: Cron \ /home/jhs/bin/.sh/web_cp_local_daily | $RCVSTORE +cron/web_cp_local_daily :0 WH # ----------------------------------------------------------------------- * ^Subject:.*Cron \ /home/jhs/bin/.sh/web_serve_check { :0 WB * web_serve_check failed { :0 cw # ------------------------------------------------------- | $RCVSTORE +cron/web_serve_check # Alert blue in Exmh with $RCVSTORE :0 W # -------------------------------------------------------- $PRI_MAIL_SYSTEMS/cron/web_serve_check/. # Archive for autopsies. } :0 WB # --------------------------------------------------------------- * ^web_serve_check successful $PRI_MAIL_SYSTEMS/cron/web_serve_check/. # Archive for autopsies. } :0 WH # ----------------------------------------------------------------------- # before macro MY_SERVERS I had just host names not FQDN # Subject:.*Cron \ /home/jhs/bin/.sh/mbmon.sh * ^Subject:.*Cron \ /usr/sbin/ntpdate ntp1\.t-online\.de * ^Subject:.*Cron \ /usr/sbin/ntpdate ntp1\.t-online\.de * /usr/sbin/ntpdate ntp1\.t-online\.de { :0 cw # --------------------------------------------------------------- | $RCVSTORE +cron/ntpdate :0 W # ---------------------------------------------------------------- $PRI_MAIL_SYSTEMS/cron/ntpdate/. # Archive for autopsies. } :0 WH # ----------------------------------------------------------------------- * ^Subject:.*Cron * /usr/local/bin/fetchmail -s | $RCVSTORE +error/fetchmail :0 WH # ----------------------------------------------------------------------- * ^Subject:.*Cron \<(jhs|mk)@(mart|park)\> /home/jhs/bin/.sh/fetchmail.sh * ^From: (jhs|mk)@ber\k\lix\.com \(Cron Daemon\) { :0 H # --------------------------------------------------------------- # Discard all to Melanie. # JJLATER would be better to discard all not to jhs. * ^From: mk@ber\k\lix\.com \(Cron Daemon\) $SPAM_NULL_NO_RCVSTORE :0 WB # --------------------------------------------------------------- * ^POP3 connection to [a-z0-9\.\-]+\.berklix.org failed: Operation timed out * ^fetchmail: Query status=2 \(SOCKET\) | $RCVSTORE +error/fetchmail :0 WB # --------------------------------------------------------------- * ping: sendto: No buffer space available | $RCVSTORE +error/buffer :0 WB # --------------------------------------------------------------- * fetchmail: can\'t poll specified hosts with another fetchmail running at # brackets.c /* ' */ | $RCVSTORE +error/fetchmail :0 WB # --------------------------------------------------------------- # fetchmail: timeout after 300 seconds waiting for server slim.berklix.org. * fetchmail: timeout after [0-9]+ seconds waiting for server [a-z]+.berklix.org. | $RCVSTORE +error/fetchmail :0 WB # --------------------------------------------------------------- * ^fetchmail: SMTP error: 550 5.0.0 \<[a-z0-9\.\-\_]+@[a-z0-9\.\-\_]+\>\.\.\. Access denied http://www.berklix.com/~jhs/phone/access/ | $RCVSTORE +error/fetchmail :0 WB # --------------------------------------------------------------- * ^fetchmail: timeout after 300 seconds waiting for server pop.1and1.co.uk. | $RCVSTORE +error/fetchmail :0 WB # --------------------------------------------------------------- * ^fetchmail: another foreground fetchmail is running at [0-9]+\. | $RCVSTORE +error/fetchmail :0 BW # --------------------------------------------------------------- * ^ping: sendto: Permission denied | $RCVSTORE +error/fetchmail :0 BW # --------------------------------------------------------------- * ^fetchmail: can't find a password for (jhs|mk)@(flat|tower|slim)\.berklix\.org | $RCVSTORE +error/fetchmail :0 BW # --------------------------------------------------------------- # This message occurs if host is up, but popd not running. * ^POP3 connection to (flat|tower|slim)\.berklix\.org failed: Connection refused | $RCVSTORE +error/fetchmail :0 BW # --------------------------------------------------------------- # This message occured when slim was still connected, but # connection froze to for maybe some sec half a min to BSN flat & tower * ^1 packets transmitted, 0 packets received, 100% packet loss | $RCVSTORE +error/fetchmail :0 BW # --------------------------------------------------------------- # This message occured when slim was still connected, but # connection froze to for maybe some sec half a min to BSN flat & tower * ^1 packets transmitted, 1 packets received, 0% packet loss | $RCVSTORE +error/fetchmail :0 BW # --------------------------------------------------------------- * ^ping: cannot resolve berklix\.org: Host name lookup failure # Gate Off Line $SPAM_NULL_NO_RCVSTORE } :0 WH # ----------------------------------------------------------------------- * ^Subject: reboot * ^From: \"Root@(flat|slim|tower)\.berklix\.org\" \ * To: root@(flat|slim|tower)\.berklix\.org { :0 WB # --------------------------------------------------------------- * ^Reboot of (flat|slim|tower)\.berklix\.org | $RCVSTORE +cron/reboot } :0 WH # -- Local -------------------------------------------------------------- * ^Subject: files updated by rdist from fire to * ^From: rdist@berklix\.co[m] \(Remote distribution program\) * ^To: jhs@berklix\.co[m] | $RCVSTORE +cron/rdist/2gate :0 WH # -- To Remote ---------------------------------------------------------- * ^Subject: files updated by rdist from (park|mart) to (tower|flat|slim) * ^From: rdist@(|js\.)berklix\.(com|org|net) \(Remote distribution program\) * ^To: jhs@(|js\.)berklix\.(com|org|net) | $RCVSTORE +cron/rdist/2remote :0 WH # -- /etc/crontab Remote : 1 mail from each server per run. ------------- * ^Subject: Cron \ rdist6 \-P /usr/bin/ssh \-f /etc/Distfile (tower|flat|slim) * ^From: root@(tower|flat|slim)\.berklix\.org \(Cron Daemon\) * ^To: root@(tower|flat|slim)\.berklix\.org | $RCVSTORE +cron/rdist/crontab :0 WH # -- /etc/crontab Remote 3 x 3 mails per run. --------------------------- * ^Subject: files updated by rdist from (tower|flat|slim) to (tower|flat|slim) * ^From: rdist@(tower|flat|slim)\.berklix\.org \(Remote distribution program\) * ^To: jhs@(tower|flat|slim)\.berklix\.org | $RCVSTORE +cron/rdist/remote