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 24/04/2007, à 17:51

flo13

serveur mail debian

salut a tous,

dans le but d'installer une serveur mail avec domain virtuels je me suis aider du tuto
http://www.lea-linux.org/cached/index/Postfix-courier-mysql-quota-spamassassin-amavis.html

j'ai donc installer tout ce qui fallait

premier probleme j'ai installer et desinstaller 2 fois postfix et a chaque fopis le fichier main.cf n'etait pas present je l'ai donc créer.

bref maintenant je me suis mis a la configuration de postfix et la probleme je n'aarive pas a me connecter en local sur mon serveur la commande telnet 127.0.0.1 25 marche mais je ne me connecte pas a mon serveur postfix (aucune banniere etc...)

Voici un postconf -n

append_dot_mydomain = yes
biff = no
config_directory = /etc/postfix
disable_vrfy_command = yes
inet_interfaces = all
mydestination = localhost, localhost.localdomain , 192.168.0.110
mydomain = axess.net
myhostname = mail.$mydomain
mynetworks = 127.0.0.0/8,  192.168.0.0/24
myorigin = /etc/mailname
relayhost =
smtpd_banner = $myhostname ESMTP (Debian/GNU)
smtpd_client_restrictions = reject_unknown_client,        permit_mynetworks
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks,        reject_unauth_destination,        reject_unknown_recipient_domain,        reject_non_fqdn_recipient
smtpd_sender_restrictions = permit_mynetworks,        reject_unknown_sender_domain,        warn_if_reject reject_unverified_sender
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_aliases.cf,mysql:/etc/postfix/mysql-virtual_aliases_mailbox.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/spool/vmail/
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_uid_maps = static:5000


Est ce que quelqun aurait une idée merci de votre aide smile

Hors ligne

#2 Le 24/04/2007, à 18:14

Uggy

Re : serveur mail debian

Les logs ?

http://doc.ubuntu-fr.org/serveur/comment_soumettre_un_probleme_postfix_sur_le_forum

Hors ligne

#3 Le 24/04/2007, à 18:56

Uggy

Re : serveur mail debian

flo13 a écrit :

premier probleme j'ai installer et desinstaller 2 fois postfix et a chaque fopis le fichier main.cf n'etait pas present je l'ai donc créer.

Je crois que ca dépend si tu choisis "Pas de configuration" ou d'autres choix pendant l'install....

Hors ligne

#4 Le 25/04/2007, à 09:50

flo13

Re : serveur mail debian

alors voici les log

Apr 24 18:07:13 localhost authdaemond: Installing libauthmysql
Apr 24 18:07:13 localhost authdaemond: Installation complete: authmysql
Apr 24 18:07:19 localhost postfix/master[2554]: daemon started -- version 2.3.8, configuration /etc/postfix
Apr 24 18:20:07 localhost postfix/master[2554]: reload configuration /etc/postfix
Apr 24 18:20:56 localhost last message repeated 3 times
Apr 24 18:22:02 localhost last message repeated 2 times
Apr 24 18:22:43 localhost last message repeated 3 times
Apr 24 18:25:32 localhost postfix/master[2554]: reload configuration /etc/postfix
Apr 24 18:26:35 localhost last message repeated 2 times
Apr 24 18:26:36 localhost postfix/master[2554]: reload configuration /etc/postfix
Apr 24 18:38:06 localhost postfix[4759]: fatal: config variable inet_interfaces: host not found: all
Apr 24 18:39:00 localhost postfix[4806]: fatal: config variable inet_interfaces: host not found: none
Apr 24 18:39:38 localhost postfix/master[2554]: terminating on signal 15
Apr 24 18:39:39 localhost postfix/master[4928]: daemon started -- version 2.3.8, configuration /etc/postfix
Apr 24 18:40:56 localhost postfix/smtpd[5002]: fatal: open database /etc/aliases.db: No such file or directory
Apr 24 18:40:57 localhost postfix/master[4928]: warning: process /usr/lib/postfix/smtpd pid 5002 exit status 1
Apr 24 18:40:57 localhost postfix/master[4928]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 24 18:41:57 localhost postfix/smtpd[5028]: fatal: open database /etc/aliases.db: No such file or directory
Apr 24 18:41:58 localhost postfix/master[4928]: warning: process /usr/lib/postfix/smtpd pid 5028 exit status 1
Apr 24 18:41:58 localhost postfix/master[4928]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 24 18:42:58 localhost postfix/smtpd[5077]: fatal: open database /etc/aliases.db: No such file or directory
Apr 24 18:42:59 localhost postfix/master[4928]: warning: process /usr/lib/postfix/smtpd pid 5077 exit status 1
Apr 24 18:42:59 localhost postfix/master[4928]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 24 18:43:59 localhost postfix/smtpd[5104]: fatal: open database /etc/aliases.db: No such file or directory
Apr 24 18:44:00 localhost postfix/master[4928]: warning: process /usr/lib/postfix/smtpd pid 5104 exit status 1
Apr 24 18:44:00 localhost postfix/master[4928]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 24 18:45:00 localhost postfix/smtpd[5132]: fatal: open database /etc/aliases.db: No such file or directory
Apr 24 18:45:01 localhost postfix/master[4928]: warning: process /usr/lib/postfix/smtpd pid 5132 exit status 1
Apr 24 18:45:01 localhost postfix/master[4928]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 24 18:46:01 localhost postfix/smtpd[5170]: fatal: open database /etc/aliases.db: No such file or directory
Apr 24 18:46:02 localhost postfix/master[4928]: warning: process /usr/lib/postfix/smtpd pid 5170 exit status 1
Apr 24 18:46:02 localhost postfix/master[4928]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 24 18:47:02 localhost postfix/smtpd[5194]: fatal: open database /etc/aliases.db: No such file or directory
Apr 24 18:47:03 localhost postfix/master[4928]: warning: process /usr/lib/postfix/smtpd pid 5194 exit status 1
Apr 24 18:47:03 localhost postfix/master[4928]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 24 18:48:03 localhost postfix/smtpd[5220]: fatal: open database /etc/aliases.db: No such file or directory
Apr 24 18:48:04 localhost postfix/master[4928]: warning: process /usr/lib/postfix/smtpd pid 5220 exit status 1
Apr 24 18:48:04 localhost postfix/master[4928]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 24 18:49:04 localhost postfix/smtpd[5248]: fatal: open database /etc/aliases.db: No such file or directory
Apr 24 18:49:05 localhost postfix/master[4928]: warning: process /usr/lib/postfix/smtpd pid 5248 exit status 1
Apr 24 18:49:05 localhost postfix/master[4928]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 24 18:50:05 localhost postfix/smtpd[5275]: fatal: open database /etc/aliases.db: No such file or directory
Apr 24 18:50:06 localhost postfix/master[4928]: warning: process /usr/lib/postfix/smtpd pid 5275 exit status 1
Apr 24 18:50:06 localhost postfix/master[4928]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 24 18:51:06 localhost postfix/smtpd[5303]: fatal: open database /etc/aliases.db: No such file or directory
Apr 24 18:51:07 localhost postfix/master[4928]: warning: process /usr/lib/postfix/smtpd pid 5303 exit status 1
Apr 24 18:51:07 localhost postfix/master[4928]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 24 18:52:07 localhost postfix/smtpd[5354]: fatal: open database /etc/aliases.db: No such file or directory
Apr 24 18:52:08 localhost postfix/master[4928]: warning: process /usr/lib/postfix/smtpd pid 5354 exit status 1
Apr 24 18:52:08 localhost postfix/master[4928]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 24 18:53:02 localhost authdaemond: stopping authdaemond children
Apr 24 18:53:03 localhost postfix/master[4928]: terminating on signal 15
Apr 25 10:37:21 localhost authdaemond: modules="authmysql", daemons=5
Apr 25 10:37:21 localhost authdaemond: Installing libauthmysql
Apr 25 10:37:21 localhost authdaemond: Installation complete: authmysql
Apr 25 10:37:27 localhost postfix/master[2572]: daemon started -- version 2.3.8, configuration /etc/p


pour le fichier main.cf il est vrai que j'ai fait pas de configuration donc c'est normal merci et pour le reste?
merciiii

Hors ligne

#5 Le 25/04/2007, à 09:58

flo13

Re : serveur mail debian

pour ce qui est du hoost not found c regler je pense que le probleme vien peut etre de /etc/aliases.db mai je ne sait pas pourquoi
any idea??
smile

Hors ligne

#6 Le 25/04/2007, à 10:03

flo13

Re : serveur mail debian

Apr 25 10:37:27 localhost postfix/master[2572]: daemon started -- version 2.3.8, configuration /etc/postfix
Apr 25 10:59:56 localhost postfix/smtpd[3612]: fatal: open database /etc/aliases.db: No such file or directory
Apr 25 10:59:57 localhost postfix/master[2572]: warning: process /usr/lib/postfix/smtpd pid 3612 exit status 1
Apr 25 10:59:57 localhost postfix/master[2572]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 25 11:00:57 localhost postfix/smtpd[3661]: fatal: open database /etc/aliases.db: No such file or directory
Apr 25 11:00:58 localhost postfix/master[2572]: warning: process /usr/lib/postfix/smtpd pid 3661 exit status 1
Apr 25 11:00:58 localhost postfix/master[2572]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 25 11:01:48 localhost postfix/master[2572]: terminating on signal 15
Apr 25 11:01:49 localhost postfix/master[3838]: daemon started -- version 2.3.8, configuration /etc/postfix


Pour que ce soit plus clair voila le log quand j'ai redémarrer postfix

Hors ligne

#7 Le 25/04/2007, à 10:33

toniotonio

Re : serveur mail debian

verifie que /etc/aliases existe
puis tape newaliases pour creer le fichier /etc/aliases.db

Dernière modification par toniotonio (Le 25/04/2007, à 10:33)


Tutoriaux Postfix sur www.starbridge.org/spip
Messagerie Dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: http://www.eole-its.com

Hors ligne

#8 Le 25/04/2007, à 10:44

flo13

Re : serveur mail debian

big_smile palala tu gere ca remarche merci beaucouppppppppppp
tongue

Hors ligne

#9 Le 25/04/2007, à 10:45

flo13

Re : serveur mail debian

je pense que j'aurais d'autre probleme donc a dans pas longtemps sur cette discution lol

Hors ligne

#10 Le 25/04/2007, à 10:48

flo13

Re : serveur mail debian

bein me voila de retour lol

je viens d'essayer un mail en local donc j'aurais du le recevoir et pourtant rien voici mes log
Apr 25 11:41:41 localhost postfix/smtpd[5297]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Apr 25 11:41:41 localhost postfix/smtpd[5297]: connect from mail.axess.net[127.0.1.1]
Apr 25 11:42:40 localhost postfix/smtpd[5297]: D07BE1A8263: client=mail.axess.net[127.0.1.1]
Apr 25 11:42:47 localhost postfix/cleanup[5326]: D07BE1A8263: message-id=<20070425094240.D07BE1A8263@mail.axess.net>
Apr 25 11:42:47 localhost postfix/qmgr[5287]: D07BE1A8263: from=<manouch@gitan.com>, size=346, nrcpt=1 (queue active)
Apr 25 11:42:50 localhost postfix/smtpd[5297]: disconnect from mail.axess.net[127.0.1.1]
Apr 25 11:43:05 localhost postfix/smtp[5331]: D07BE1A8263: to=<axess-mail@axess.net>, relay=axess.net[69.57.136.77]:25, delay=55, delays=37/0.03/17/0.8, dsn$Apr 25 11:43:05 localhost postfix/cleanup[5326]: 6FB441A82BF: message-id=<20070425094305.6FB441A82BF@mail.axess.net>
Apr 25 11:43:05 localhost postfix/qmgr[5287]: 6FB441A82BF: from=<>, size=2597, nrcpt=1 (queue active)
Apr 25 11:43:05 localhost postfix/bounce[5343]: D07BE1A8263: sender non-delivery notification: 6FB441A82BF
Apr 25 11:43:05 localhost postfix/qmgr[5287]: D07BE1A8263: removed
Apr 25 11:43:06 localhost postfix/smtp[5331]: 6FB441A82BF: to=<manouch@gitan.com>, relay=INBOUND.GITAN.COM.NETSOLMAIL.NET[205.178.149.7]:25, delay=1.5, dela$Apr 25 11:43:07 localhost postfix/qmgr[5287]: 6FB441A82BF: removed

Hors ligne

#11 Le 25/04/2007, à 10:52

toniotonio

Re : serveur mail debian

et ?


Tutoriaux Postfix sur www.starbridge.org/spip
Messagerie Dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: http://www.eole-its.com

Hors ligne

#12 Le 25/04/2007, à 10:54

flo13

Re : serveur mail debian

bein je ne recoi aucun mail dans le compte utilisateur et je voudrais savoir pourquoi

Hors ligne

#13 Le 25/04/2007, à 11:01

toniotonio

Re : serveur mail debian

faudrait voir un postconf -n


Tutoriaux Postfix sur www.starbridge.org/spip
Messagerie Dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: http://www.eole-its.com

Hors ligne

#14 Le 25/04/2007, à 11:06

flo13

Re : serveur mail debian

append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
disable_vrfy_command = yes
inet_interfaces = all
mydestination = localhost, localhost.localdomain , 192.168.0.110
mydomain = axess.net
myhostname = mail.$mydomain
mynetworks = 127.0.0.0/8,  192.168.0.0/24
myorigin = /etc/mailname
relayhost =
smtpd_banner = $myhostname ESMTP
smtpd_client_restrictions = reject_unknown_client,        permit_mynetworks
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks,        reject_unauth_destination,        reject_unknown_recipient_domain,        reject_non_fqdn_recipient
smtpd_sender_restrictions = permit_mynetworks,        reject_unknown_sender_domain,        warn_if_reject reject_unverified_sender
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_aliases.cf,mysql:/etc/postfix/mysql-virtual_aliases_mailbox.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/spool/vmail/
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_uid_maps = static:5000


Serais ce a cause du domaine axess.net qui n'est pas enregistrer? (car c un domaine de test)

Hors ligne

#15 Le 25/04/2007, à 11:07

toniotonio

Re : serveur mail debian

enleve l'ip de mydestination

poste le contenu des tables sql: domain, mailboxes et aliases


Tutoriaux Postfix sur www.starbridge.org/spip
Messagerie Dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: http://www.eole-its.com

Hors ligne

#16 Le 25/04/2007, à 11:08

toniotonio

Re : serveur mail debian

ah effectivement si ton domaine n'est pas enregistré cela ne fonctionnera pas !


Tutoriaux Postfix sur www.starbridge.org/spip
Messagerie Dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: http://www.eole-its.com

Hors ligne

#17 Le 25/04/2007, à 11:09

flo13

Re : serveur mail debian

oki mais pourtant la je travail en local non?

SI j'ai bien compris en fait le mail qui va de local a local passe par un relay exterieur c ca?

Hors ligne

#18 Le 25/04/2007, à 11:49

toniotonio

Re : serveur mail debian

quand tu envoies un mail en local, postfix livre en local les domaines listés dans mydestination ou dans virtual_mailbox_domains (donc dans la table sql domain)

sinon il questionne les dns pour connaitre les MX du domaine du destinataire
les serveur dns lui renvoie alors  l'adresse du serveur de mail de ce domaine.
et il envoie le mail sur le port 25 de l'ip de ce serveur


Tutoriaux Postfix sur www.starbridge.org/spip
Messagerie Dédiée, Relais Mail Antispam/Antivirus, Infogérance 24/7: http://www.eole-its.com

Hors ligne

#19 Le 25/04/2007, à 14:54

flo13

Re : serveur mail debian

oki bon j'ai un autre souci en ce qui concerne phpmyadmin lorque je me connecte a
http://localhost/phpmyadmin

Il me retourne phpMyAdmin - Erreur

PHP ne peut charger l'extension mysql,
veuillez v�rifier votre configuration de PHP - Documentation

Que se passe -t-il? Quelles info dois-je poster?

thanks

Hors ligne

#20 Le 25/04/2007, à 16:35

flo13

Re : serveur mail debian

bon g un autre probleme aussi
je travailler avec un domain non enregistrer pr les test
maintenan  je vien de changer le domain et j'en est mis un enregistrer cependant ma machine n'est pas dipo en telnet avec le nouveau nom de domaine ainsi que lorsque jenvoi un mail en telnet avec l'adresse userunix@domaineenregistrer.net et bein mes mails se font placer dans les spam de toutes les boites mail

Quelkun peu il m'aider svp ? Je crake car je compren pa pourquoi!!!

Hors ligne

#21 Le 26/04/2007, à 09:43

flo13

Re : serveur mail debian

yeah un petit peu de patience et de talent..:rolleyes: et g tropuver mon erreur de domaine mais il me reste toujours mon probleme de phpmyadmin helpppp

please

Hors ligne

#22 Le 26/04/2007, à 11:32

Uggy

Re : serveur mail debian

flo13 a écrit :

Il me reste toujours mon probleme de phpmyadmin helpppp

Ce problème n'a aucun rapport avec le sujet de ce thread...
Donc ouvre un nouveau sujet

Hors ligne

#23 Le 26/04/2007, à 14:47

flo13

Re : serveur mail debian

ui c vrai desoler cependant g toujous mon probleme de domaine pour ophp c regler

alors voila

Mes besoins était de pouvoir avoir un serveur mail postfix avec des domaines virtuels afin de pouvoir recuperer les mails de certains domaines ne disposant pas de messagerie. Pour cela j'ai suivi le tuto http://www.lea-linux.org/cached/index/Postfix-courier-mysql-quota-spamassassin-amavis.html

J'ai donc tout respecter et tout marche a peu près a une exception pres mais non des moindres Les mails que j'envoi sont placer en spam par les messageries telles que google ce qui ne devrait pas ce produire.
Je n'arrive pas a trouver la cause de ce probleme et j'aurais voulu avoir de l'aide

Pour plus de faciliter voici un postconf -n

append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
disable_vrfy_command = yes
inet_interfaces = all
mydestination = localhost, localhost.localdomain , $mydomain
mydomain = talkee.net
myhostname = mail.$mydomain
mynetworks = 127.0.0.0/8,  192.168.0.0/24
myorigin = /etc/mailname
relayhost =
smtpd_banner = $myhostname ESMTP
smtpd_client_restrictions = reject_unknown_client,        permit_mynetworks
smtpd_helo_required = yes
smtpd_helo_restrictions = reject_non_fqdn_hostname
smtpd_recipient_restrictions = permit_mynetworks,        reject_unauth_destination,        reject_unknown_recipient_domain,        reject_non_fqdn_recipient
smtpd_sender_restrictions = permit_mynetworks,        reject_unknown_sender_domain,        warn_if_reject reject_unverified_sender
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_aliases.cf,mysql:/etc/postfix/mysql-virtual_aliases_mailbox.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/spool/vmail/
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_uid_maps = static:5000


voici également les log de postfix

Apr 26 12:06:49 localhost postfix/smtpd[4967]: 525471A8323: client=mail.axess.net[127.0.1.1]
Apr 26 12:06:54 localhost postfix/cleanup[5168]: 525471A8323: message-id=<20070426100649.525471A8323@mail.talkee.net>
Apr 26 12:06:54 localhost postfix/qmgr[2723]: 525471A8323: from=<floflo@domain.com>, size=362, nrcpt=1 (queue active)
Apr 26 12:06:56 localhost postfix/smtp[5171]: 525471A8323: to=<moi@gmail.com>, relay=gmail-smtp-in.l.google.com[66.249.93.114]:25, delay=25, dela$Apr 26 12:06:56 localhost postfix/qmgr[2723]: 525471A8323: removed


Est ce que quelqu'un a une idée? Merci de votre aide!

Hors ligne

#24 Le 26/04/2007, à 15:43

Uggy

Re : serveur mail debian

mail.talkee.net  -> n'existe pas ... pas de champs A dans les DNS
Ton IP a t'elle un reverse (un PTR ?)
domain.com existe il ?? Ce domaine a t'il des MX ?

Hors ligne

#25 Le 26/04/2007, à 15:44

Uggy

Re : serveur mail debian

La suite ici ?
http://forum.ubuntu-fr.org/viewtopic.php?id=114278

Hors ligne