Tags: mail

Sort by: Date / Title /

  1. 5 months ago by henri
    Smtp-source est fourni avec le package postfix. Il permet d'envoyer un grand nombre de mails sur un serveur. C'est très utile pour voir si votre serveur tient bien lors d'une grosse montée en charge.
    1. smtp-source -s 20 -l 5120 -m 15 -c -f user1@domain.tld -t user2@domain.tld serveurdemail:25
    2.  
    3. # -s Nombre de thread
    4. # -l Taille du message
    5. # -m Nombre de message
    6. # -c affiche un compteur
    7. # -f expediteur
    8. # -t destinataire
  2. 6 months ago by skanx
    Apple Mail keeps a lot of junk in a SQLite database named Envelope Index. Since it's a database, it tends to grow with time, and deleted records are not handled very efficiently. You might want to clean it a bit from time to time, and Mail might even seem a little faster after that.
    
    1. Quit Mail
    
    2. Launch a terminal, and type this command :
    
    sqlite3 ~/Library/Mail/Envelope\ Index vacuum
  3. 8 months ago by spirit and saved by 1 other
    1. # credentials must be Base64 encoded. Two methods :
    2. printf 'username\0username\0password' | mmencode
    3. perl -MMIME::Base64 -e 'print encode_base64("username\0username\0password");'
  4. 8 months ago by daoro and saved by 2 others
    1. // Vérification de la forme
    2. function isEmail($email){
    3.  return preg_match("/^(\w|-|\.)+@((\w|-)+\.)+[a-z]{2,6}$/i", $email)
    4. }
    5.  
    6. // Domaine valide ?
    7. function isEmailDomaine($email){
    8.    list($compte,$domaine)=split('@',$email,2);
    9.    if(!checkdnsrr($domaine,'MX') && !checkdnsrr($domaine,'A')){
    10.      return false;
    11.    }else{
    12.      return true;
    13.    }
  5. 8 months ago by neorom and saved by 1 other
    telnet mon_serveur.com 110
    USER toto
    PASS toto
    STAT (affiche le nombre de mails dans la boite)
    RETR 12 (affiche le mail 12)
    TOP 12 25 (affiche les 25 premières lignes du mail 12)
    DELE 12 (efface le mail 12)
    QUIT
  6. 9 months ago by henri and saved by 1 other
    1. mutt -a PIECE_JOINTE -s "SUJET" EMAIL_DESTINATAIRE < FICHER_AVEC_CORPS_DU_MSG
  7. 9 months ago by neorom
    1. mail -u user
    2. d *
    3. quit
  8. sponsorised links

First / Previous / Next / Last / Page 1 of 1 (7 posteets)