Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 21/07/2015, à 21:05

Ziki

Problème Postfix / Mailman / IspConfig / MySQL

Bonjour,

Suite à une réinstallation sur un nouveau serveur afin d'avoir une config toute propre, je suis face à un soucis Postfix...
Il m'est impossible d'envoyer ou recevoir mes mails (ou alors ils sont quelques part en attente je ne sais pas..)

En reprenant un ancien post où j'avais eu d'autres soucis, j'ai testé ceci :

root@ns349976:~# postmap -q ohmywood.be  mysql:/etc/postfix/mysql-virtual_domains.cf
postmap: fatal: open /etc/postfix/main.cf: No such file or directory

Suite à quoi j'ai fait ceci...

root@ns349976:~# locate /postfix/main.cf
/usr/lib/postfix/main.cf
/usr/share/postfix/main.cf.debian
/usr/share/postfix/main.cf.dist
/usr/share/postfix/main.cf.tls

Je me souviens lors de l'installation (en suivant le tuto suivant : https://www.howtoforge.com/tutorial/per … ispconfig/ ) j'avais eu également ce problème où il manque le fichier main.cf ... Quelqu'un pour m'éclairer là-dessus?


J'en profite également pour ce petit soucis.. En essayant d'aller sur Roundcube, j'ai le code source de la page index.php qui est visible et le script ne fonctionne pas... Une idée?? hmm

<?php
/*
 +-------------------------------------------------------------------------+
 | Roundcube Webmail IMAP Client                                           |
 | Version 0.9.5                                                           |
 |                                                                         |
 | Copyright (C) 2005-2013, The Roundcube Dev Team                         |
 |                                                                         |
 | This program is free software: you can redistribute it and/or modify    |
 | it under the terms of the GNU General Public License (with exceptions   |
 | for skins & plugins) as published by the Free Software Foundation,      |
 | either version 3 of the License, or (at your option) any later version. |
 |                                                                         |
 | This file forms part of the Roundcube Webmail Software for which the    |
 | following exception is added: Plugins and Skins which merely make       |
 | function calls to the Roundcube Webmail Software, and for that purpose  |
 | include it by reference shall not be considered modifications of        |
 | the software.                                                           |
 |                                                                         |
 | If you wish to use this file in another project or create a modified    |
 | version that will not be part of the Roundcube Webmail Software, you    |
 | may remove the exception above and use this source code under the       |
 | original version of the license.                                        |
 |                                                                         |
 | This program is distributed in the hope that it will be useful,         |
 | but WITHOUT ANY WARRANTY; without even the implied warranty of          |
 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the            |
 | GNU General Public License for more details.                            |
 |                                                                         |
 | You should have received a copy of the GNU General Public License       |
 | along with this program.  If not, see http://www.gnu.org/licenses/.     |
 |                                                                         |
 +-------------------------------------------------------------------------+
 | Author: Thomas Bruederli <roundcube@gmail.com>                          |
 +-------------------------------------------------------------------------+
*/

...

?>

Merci pour votre aide! smile

Dernière modification par Ziki (Le 22/07/2015, à 07:15)

Hors ligne

#2 Le 21/07/2015, à 22:27

Ziki

Re : Problème Postfix / Mailman / IspConfig / MySQL

J'ai fais un copier/coller du main.cf de mon ancien serveur en modifiant les "hosts" pour qu'il correspondent au nouveau mais ça ne change pas grand chose.. Hormis que mailman a réussi du coup à m'envoyer le mail de confirmation de création de la mailing list, mes adresses mails ne fonctionnent pas...

Hors ligne

#3 Le 22/07/2015, à 07:14

Ziki

Re : Problème Postfix / Mailman / IspConfig / MySQL

J'avance tout doucement... Mais voici ce qu'il me reste comme erreur dans Mail.log :

Jul 22 07:07:35 ns349976 postfix/trivial-rewrite[3240]: warning: hash:/var/lib/mailman/data/transport-mailman lookup error for "*"
Jul 22 07:07:35 ns349976 postfix/trivial-rewrite[3240]: warning: hash:/var/lib/mailman/data/transport-mailman is unavailable. open database /var/lib/mailman/data/transport-mailman.db: No such file or directory
Jul 22 07:07:35 ns349976 postfix/trivial-rewrite[3240]: warning: hash:/var/lib/mailman/data/transport-mailman lookup error for "infos@XXX.be"
Jul 22 07:07:35 ns349976 postfix/trivial-rewrite[3240]: warning: transport_maps lookup failure
Jul 22 07:07:35 ns349976 postfix/trivial-rewrite[3240]: warning: hash:/var/lib/mailman/data/transport-mailman is unavailable. open database /var/lib/mailman/data/transport-mailman.db: No such file or directory
Jul 22 07:07:35 ns349976 postfix/trivial-rewrite[3240]: warning: hash:/var/lib/mailman/data/transport-mailman lookup error for "YYY@gmail.com"
Jul 22 07:07:35 ns349976 postfix/trivial-rewrite[3240]: warning: transport_maps lookup failure

Je commence vraiment à faire le tour du web avec cette erreur de mailman.db ... Je suis quand même pourtant censé utiliser IspConfig/MySQL, car tous mes fichiers .cf dans postfix vont dans ce sens... Alors qu'est-ce qu'il vient faire dans l'histoire lui? :'(

Hors ligne