Retourner au contenu associé (entrée de forum : Postfix : copie silencieuse de mails)
Posté par Hobgoblins Master le 30 janvier 2006 à 16:33. En réponse au message Postfix : copie silencieuse de mails. Évalué à 1.
sender_bcc_maps = hash:/etc/postfix/sender_bcc_maps recipient_bcc_maps = hash:/etc/postfix/recipient_bcc_maps home_mailbox = Maildir/ mailbox_command =
sender_bcc_maps = hash:/etc/postfix/sender_bcc_maps
recipient_bcc_maps = hash:/etc/postfix/recipient_bcc_maps
home_mailbox = Maildir/
mailbox_command =
@chez.moi.fr outgoing
@chez.moi.fr incoming
#!/bin/sh # déplacement des mails d'hier dans tmp su - incoming -c "find ~/Maildir -daystart -type f -mtime +0 |xargs -n 1 -i mv {} ~/tmp \ && ( cd ~/tmp;tar cjf ~/SVG/incoming-`date --date 'yesterday' '+%Y_%m_%d'`.tar.bz2 . ) \ && find ~/tmp -type f -exec rm -f {} \; "
#!/bin/sh
# déplacement des mails d'hier dans tmp
su - incoming -c "find ~/Maildir -daystart -type f -mtime +0 |xargs -n 1 -i mv {} ~/tmp \
&& ( cd ~/tmp;tar cjf ~/SVG/incoming-`date --date 'yesterday' '+%Y_%m_%d'`.tar.bz2 . ) \
&& find ~/tmp -type f -exec rm -f {} \; "
#!/bin/sh # déplacement des mails d'hier dans tmp su - outgoing -c "find ~/Maildir -daystart -type f -mtime +0 |xargs -n 1 -i mv {} ~/tmp \ && ( cd ~/tmp;tar cjf ~/SVG/outgoing-`date --date 'yesterday' '+%Y_%m_%d'`.tar.bz2 . ) \ && find ~/tmp -type f -exec rm -f {} \; "
su - outgoing -c "find ~/Maildir -daystart -type f -mtime +0 |xargs -n 1 -i mv {} ~/tmp \
&& ( cd ~/tmp;tar cjf ~/SVG/outgoing-`date --date 'yesterday' '+%Y_%m_%d'`.tar.bz2 . ) \
1 0 * * * root /usr/local/bin/svg_incoming 1 0 * * * root /usr/local/bin/svg_outgoing
1 0 * * * root /usr/local/bin/svg_incoming
1 0 * * * root /usr/local/bin/svg_outgoing
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
# @home pour mes sauvegardes !
Posté par Hobgoblins Master . En réponse au message Postfix : copie silencieuse de mails. Évalué à 1.