Entries list

Debian Squeeze : Postfix VDA + MySQL + SASL + PostfixAdmin + Courier + Virtual Users Domains + Serveur de mail SMTP IMAP POP3 + Webmail

Comment configurer simplement sur serveur de mail multi-domaines avec les droits délégués pour chaque (sous) administrateur ? ce que Zimbra n'inclut pas dans sa version gratuite.

Voici comment installer les logiciels mails serveurs et clients web sur une Debian Squeeze configurée avec :

  1. MySQL pour gérer les utilisateurs virtuels
  2. Postfix (2.7.1) + le patch quota Posftix VDA
  3. SASL SMTP
  4. le MTA Courrier IMAP et POP (alternativement nous aurions plus utiliser Dovecot)
  5. PostfixAdmin (2.3.4) l'administration des domaines, des utilisateurs et des quotas
  6. Clients webmail
    1. Roundcube webmail (0.6) (avec la visualisation du quota utilisé)
    2. Squirrelmail (1.4.22) (avec la visualisation du quota utilisé)

Lire la suite

SFTP (SSH File Transfer Protocol)

SFTP (SSH File Transfer Protocol), n'est pas FTP exécuté sur SSH, mais plutôt un nouveau protocole conçu dès le départ par le groupe de travail IETF SECSH. Il est parfois confondu avec Simple File Transfer Protocol.

STFP est un protocole de communication fonctionnant au-dessus de SSH à ne pas confondre avec File Transfer Protocol over SSL, abrégé FTPS.

Lire la suite

JBoss6 serve external file static content docBase vhost

There are no more "virtual directories" in JBoss 6. Apparently this went out with JBoss 5. The only availables options or solutions I've found are :

  • Way 1 : using 2 war, one for your project, one other to publish static files (under another
  • Way 2 : symlink (to a simple file system or on a war folder with inside a blank /WEB-INF)

Using ExternalDirectories doesn't work with JBoss 6

<Host name="localhost" ...>
        <!-- ADD static images DIRECTORY -->
        <Context path="/images" 
                docBase="/home/myuser/images"
                reloadable="true">
        </Context>
        <!-- The rest of your Host entity -->
</Host>

This Context deployement result :

ERROR [AbstractKernelController] Error installing to Start: name=WebServer state=Create: org.jboss.xb.binding.JBossXBException: Failed to parse source: xml_stream@163,112

Caused by: org.jboss.xb.binding.JBossXBRuntimeException: DefaultContext not found as a child of Host in unordered_sequence: Listener* Valve* Alias* Realm? attributes?

Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Context not found as a child of Host in unordered_sequence: Listener* Valve* Alias* Realm? attributes?

Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Context not found as a child of Context in unordered_sequence: Valve* Parameters* Loader? Overlay* InstanceListener* WrapperListener* Listener* SessionCookie? WrapperLifecycle* Manager? Realm? attributes? Resources?

DEPLOYMENTS IN ERROR:
 Deployment "WebServer" is in error due to the following reason(s): **ERROR**, org.jboss.xb.binding.JBossXBRuntimeException: DefaultContext not found as a child of Host in unordered_sequence: Listener* Valve* Alias* Realm? attributes?
 Deployment "jboss.web:service=WebServer" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.web:service=WebServer' **

Lire la suite

Comparatif ordinateur portable

C'est bientôt noël, malgré la récession et le pouvoir d'achat, certains ont heureusement encore les moyens d'investir dans les ordinateurs portables (Notebook). Voici donc un comparatif 2012 / 2011 / 2010 / 2009 / 2008 des portables sur le marché.

Lire la suite