Rechercher dans ce blog

lundi 15 décembre 2008

mailx et mutt gardent mail lu dans /var/mail/user

Pour ne pas que les mails lus aillent dans mbox

/etc/mail.rc

set hold

/etc/Muttrc.d/ < vi nomove.rc < set no move

linux ubuntu postfix canonical_sender

postfix

/etc/postfix/canonical_sender

# root root admin@host.net # 0tt0 otto 0tt0@host.net

Modifications des fichiers via webmin

Address rewriting

rewrite user to user@domaine NO

setting fetchmail daemon

-rw-r--r-- 1 root root 328 2008-06-06 00:34 fetchmail /etc/default/fetchmail

# Declare here if we want to start fetchmail. 'yes' or 'no' START_DAEMON=yes

chmod 600 /etc/fetchmailrc

-rw------- 1 fetchmail root 2839 2008-10-27 15:31 /etc/fetchmailrc

/etc/fetchmailrc

set daemon 600 set no syslog poll "pop.skynet.be" protocol pop3 uidl timeout 120

#user  username "user" password "password" mimedecode pass8bits forcecr is unixuser # gmail accounts poll "imap.gmail.com" protocol imap timeout 120 username "login@gmail.com" password "password" ssl mimedecode keep pass8bits forcecr is unixuser -

linux ubuntu new certificat SSL

Pour générer un nouveau certificat SSL host make-ssl-cert generate-default-snakeoil --force-overwrite -

linux Ubuntu UUID des disques

Pour connaître l'UUID d'un disque pour utiliser dans fstab ou hdparm, etc. vol-id /dev/... ou regarder dans /dev/disk/by-uuid etc. -