Pages : 1
#1 Le 30/08/2007, à 20:25
- Warman
[Problème-Résolu]PostFix Reception Mail
Bonjour,
J'ai installer le panel d'administration VHCS2 qui marche tres bien.
Par contre Postfix me pose un probleme,
Je peu envoyé de xxx@mondomaine.com
mais je n'arrive pas a envoyé de xxx@fai.com (laposte, free, gmail, etc)
Pas de message derreur de retour.
je n'arrive pas non plus a envoyé de xxx@mondomaine.com a xxx@mondomaine.com
a croire que postfix ne distribu pas le courrier
Comme si les message avait simplement disparu dans la nature.
Merci d'avance de votre Aide
Dernière modification par Warman (Le 30/08/2007, à 22:48)
Hors ligne
#2 Le 30/08/2007, à 20:36
- rhaamo
Re : [Problème-Résolu]PostFix Reception Mail
Salut.
Et en regardant les logs ?
/var/log/mail.[err/info/warn/log]
Sans message d'erreur on n'ira pas loin
Edit:
j'ai pas trop compris:
Je peu envoyé de xxx@mondomaine.com
mais je n'arrive pas a envoyé de xxx@fai.com (laposte, free, gmail, etc)
Externe -> ton domaine, sa marche pas ?
ton domaine -> externe, sa marche ?
Dernière modification par rhaamo (Le 30/08/2007, à 20:38)
Hors ligne
#3 Le 30/08/2007, à 20:41
- Warman
Re : [Problème-Résolu]PostFix Reception Mail
Mail.log
Aug 30 22:31:26 dommaine courierpop3login: LOGIN, user=webmaster@dommaine.com, ip=[::ffff:192.168.1.111]
Aug 30 22:31:26 dommaine courierpop3login: LOGOUT, user=webmaster@dommaine.com, ip=[::ffff:192.168.1.111], top=0, retr=0, rcvd=12, sent=39, time=0
Mail.err ==> Rien
Mail.info
Aug 30 22:31:26 dommaine courierpop3login: LOGIN, user=webmaster@dommaine.com, ip=[::ffff:192.168.1.111]
Aug 30 22:31:26 dommaine courierpop3login: LOGOUT, user=webmaster@dommaine.com, ip=[::ffff:192.168.1.111], top=0, retr=0, rcvd=12, sent=39, time=0
Mail.warn
Aug 30 21:51:27 domaine postfix/smtpd[3163]: warning: SASL authentication failure: realm changed: authentication aborted
Aug 30 21:51:27 domaine postfix/smtpd[3163]: warning: unknown[192.168.1.111]: SASL DIGEST-MD5 authentication failed: authentication failure
Dernière modification par Warman (Le 04/06/2008, à 02:44)
Hors ligne
#4 Le 30/08/2007, à 20:49
- rhaamo
Re : [Problème-Résolu]PostFix Reception Mail
a part une erreur d'auth je voie rien
essaye de regarder du coté des forums de vhcs2 si il y aurais le meme type d'erreur de postfix, car la je voie pas du tout
Tu utilise bien le bon mode d'authentification ? auth ssl, auth md5 etc...
Hors ligne
#5 Le 30/08/2007, à 20:55
- Warman
Re : [Problème-Résolu]PostFix Reception Mail
oui
(dans otlook je suis obliger de coché mon serveur requiert une authentification)
Hors ligne
#6 Le 30/08/2007, à 20:58
- rhaamo
Re : [Problème-Résolu]PostFix Reception Mail
VHCS a pas un webmail ? Si oui essaye de l'utiliser pour voir.
il me semble que l'on peut specifier un type d'authentification dans outlook non ? (desolé j'ai aucun windows a proximité pour verifier )
Edit: il me semble qu'il ya un webmail a /vhcs2/tools/webmail ou URL_ACCES_VHCS2/tools/webmail
Dernière modification par rhaamo (Le 30/08/2007, à 20:59)
Hors ligne
#7 Le 30/08/2007, à 21:00
- Uggy
Re : [Problème-Résolu]PostFix Reception Mail
Comment soumettre un problème Postfix sur le forum
http://doc.ubuntu-fr.org/serveur/comment_soumettre_un_probleme_postfix_sur_le_forum
Hors ligne
#8 Le 30/08/2007, à 21:22
- Warman
Re : [Problème-Résolu]PostFix Reception Mail
oui c'est pareil avec le webmail
Résultat de postconf -n
alias_database = hash:/etc/aliases
append_at_myorigin = yes
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
inet_interfaces = all
inet_protocols = all
local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database
local_transport = local
mail_spool_directory = /var/spool/mail
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = $myhostname, $mydomain
mydomain = domaine
myhostname = www.domaine.net
mynetworks = 127.0.0.1/32 88.160.59.182/32
mynetworks_style = host
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
setgid_group = postdrop
smtpd_banner = $myhostname VHCS2 2.4 (Spartacus) Managed ESMTP 2.4.7.1
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = vhcs.net
smtpd_sasl_security_options = noanonymous
transport_maps = hash:/etc/postfix/vhcs2/transport
virtual_alias_maps = hash:/etc/postfix/vhcs2/aliases
virtual_gid_maps = static:8
virtual_mailbox_base = /var/spool/mail/virtual
virtual_mailbox_domains = hash:/etc/postfix/vhcs2/domains
virtual_mailbox_limit = 0
virtual_mailbox_maps = hash:/etc/postfix/vhcs2/mailboxes
virtual_minimum_uid = 109
virtual_transport = virtual
virtual_uid_maps = static:109
Dernière modification par Warman (Le 04/06/2008, à 02:45)
Hors ligne
#9 Le 30/08/2007, à 21:34
- toniotonio
Re : [Problème-Résolu]PostFix Reception Mail
==> pour le probleme SASL, change
smtpd_sasl_local_domain = vhcs.net
en
smtpd_sasl_local_domain =
==>Tu utilises des domaines virtuels, dans ce cas la il ne faut pas lister les domaines presents dans virtual_mailbox_domains dans mydestination
je suppose que utsar.net fait partie des domaines dans virtual_mailbox_domain.
si oui modifie:
mydestination = $myhostname, $mydomain
en
mydestination = localhost.localdomain, localhost
==> Ton smtpd_recipient_restrictions est mal configuré:
au minimum il te faut ca:
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
permit
==> puis refait un test et repostes:
les logs
postconf -n
le contenu de /etc/postfix/vhcs2/mailboxes et /etc/postfix/vhcs2/domains
Dernière modification par toniotonio (Le 30/08/2007, à 21:42)
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
#10 Le 30/08/2007, à 21:49
- Warman
Re : [Problème-Résolu]PostFix Reception Mail
/etc/postfix/vhcs2/mailboxes
webmaster@domaine.net domaine.net/webmaster/
/etc/postfix/vhcs2/domains
domaine.net vdmn_entry
asso-funforever.net vdmn_entry
Postconf -n
alias_database = hash:/etc/aliases
append_at_myorigin = yes
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
inet_interfaces = all
inet_protocols = all
local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database
local_transport = local
mail_spool_directory = /var/spool/mail
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = localhost.localdomain, localhost
mydomain = domaine.net
myhostname = www.domaine.net
mynetworks = 127.0.0.1/32 88.160.59.182/32
mynetworks_style = host
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
setgid_group = postdrop
smtpd_banner = $myhostname VHCS2 2.4 (Spartacus) Managed ESMTP 2.4.7.1
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
transport_maps = hash:/etc/postfix/vhcs2/transport
virtual_alias_maps = hash:/etc/postfix/vhcs2/aliases
virtual_gid_maps = static:8
virtual_mailbox_base = /var/spool/mail/virtual
virtual_mailbox_domains = hash:/etc/postfix/vhcs2/domains
virtual_mailbox_limit = 0
virtual_mailbox_maps = hash:/etc/postfix/vhcs2/mailboxes
virtual_minimum_uid = 109
virtual_transport = virtual
virtual_uid_maps = static:109
Mail.err ==> Rien
Mail.info
Aug 31 00:02:14 domaine postfix/smtpd[2718]: 2E22C34A5F3: client=unknown[192.168.1.111], sasl_method=LOGIN, sasl_username=webmaster@domaine.net
Aug 31 00:02:14 domaine postfix/cleanup[2721]: 2E22C34A5F3: message-id=<001201c7eb40$b51bc9c0$1f535d40$@net>
Aug 31 00:02:14 domaine postfix/qmgr[2564]: 2E22C34A5F3: from=<webmaster@domaine.net>, size=2677, nrcpt=1 (queue active)
Aug 31 00:02:14 domaine postfix/virtual[2722]: 2E22C34A5F3: to=<webmaster@domaine.net>, relay=virtual, delay=0.04, delays=0.03/0/0/0.01, dsn=2.0.0, status=sent $
Aug 31 00:02:14 domaine postfix/qmgr[2564]: 2E22C34A5F3: removed
Aug 31 00:02:16 domaine postfix/smtpd[2718]: disconnect from unknown[192.168.1.111]
Aug 31 00:02:17 domaine courierpop3login: LOGIN, user=webmaster@domaine.net, ip=[::ffff:192.168.1.111]
Aug 31 00:02:17 domaine courierpop3login: LOGOUT, user=webmaster@domaine.net, ip=[::ffff:192.168.1.111], top=0, retr=2683, rcvd=40, sent=2962, time=0
Aug 31 00:02:39 domaine courierpop3login: LOGIN, user=webmaster@domaine.net, ip=[::ffff:192.168.1.111]
Aug 31 00:02:39 domaine courierpop3login: LOGOUT, user=webmaster@domaine.net, ip=[::ffff:192.168.1.111], top=0, retr=0, rcvd=12, sent=39, time=0
Mail.log
Aug 31 00:02:17 domaine courierpop3login: Connection, ip=[::ffff:192.168.1.111]
Aug 31 00:02:17 domaine courierpop3login: LOGIN, user=webmaster@domaine.net, ip=[::ffff:192.168.1.111]
Aug 31 00:02:17 domaine courierpop3login: LOGOUT, user=webmaster@domaine.net
Mail.warn
Aug 31 00:01:06 domaine postfix/smtpd[2718]: warning: SASL authentication failure: realm changed: authentication aborted
Aug 31 00:01:06 domaine postfix/smtpd[2718]: warning: unknown[192.168.1.111]: SASL DIGEST-MD5 authentication failed: authentication failure
Aug 31 00:02:14 domaine postfix/smtpd[2718]: warning: SASL authentication failure: no secret in database
Aug 31 00:02:14 domaine postfix/smtpd[2718]: warning: unknown[192.168.1.111]: SASL NTLM authentication failed: authentication failure
Aug 31 00:02:14 domaine postfix/smtpd[2718]: warning: SASL authentication failure: realm changed: authentication aborted
Aug 31 00:02:14 domaine postfix/smtpd[2718]: warning: unknown[192.168.1.111]: SASL DIGEST-MD5 authentication failed: authentication failure
/etc/postfix/vhcs2/aliases
webmaster@domaine.net webmaster@domaine.net
Dernière modification par Warman (Le 04/06/2008, à 02:47)
Hors ligne
#11 Le 30/08/2007, à 21:56
- toniotonio
Re : [Problème-Résolu]PostFix Reception Mail
tu n'a pas changé tout ce que j'avais ecrit
le SASL
le mydestination
les logs le disent clairement
fais tout ces points
et poste egalement:
/etc/postfix/vhcs2/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
#12 Le 30/08/2007, à 22:10
- Warman
Re : [Problème-Résolu]PostFix Reception Mail
Voila c'est changer, par contre je recoi maintenant les mail local de @domain.fr a @domain.fr
mais toujours pas de l'exterieur
Hors ligne
#13 Le 30/08/2007, à 22:14
- toniotonio
Re : [Problème-Résolu]PostFix Reception Mail
le postconf -n ?
les logs ?
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 30/08/2007, à 22:15
- Warman
Re : [Problème-Résolu]PostFix Reception Mail
oui j'ai modifier le message precedent
Hors ligne
#15 Le 30/08/2007, à 22:23
- toniotonio
Re : [Problème-Résolu]PostFix Reception Mail
ok
pour le sasl: c'est qui 192.168.1.111 ?
sinon pour les mails exterieurs si tu donnes une adresse ip locale dans tes dns cela ne pourras pas marcher
dig -t MX utsar.net
; <<>> DiG 9.4.1-P1 <<>> -t MX utsar.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44234
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
;; QUESTION SECTION:
;utsar.net. IN MX
;; ANSWER SECTION:
utsar.net. 85910 IN MX 10 mail.utsar.net.
;; AUTHORITY SECTION:
utsar.net. 85910 IN NS ns.utsar.net.
;; ADDITIONAL SECTION:
mail.utsar.net. 85910 IN A 192.168.1.100
ns.utsar.net. 85910 IN A 192.168.1.100
;; Query time: 12 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Aug 30 22:22:43 2007
;; MSG SIZE rcvd: 97
mets ton IP publique !
Dernière modification par toniotonio (Le 30/08/2007, à 22:23)
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 30/08/2007, à 22:26
- Warman
Re : [Problème-Résolu]PostFix Reception Mail
192.168.1.111 c'est mon autre pc sous windows
Parcontre ou esque je trouve le fichier ou je doit mettre mon ip public?
Hors ligne
#17 Le 30/08/2007, à 22:34
- toniotonio
Re : [Problème-Résolu]PostFix Reception Mail
la c'est plus du postfix: c'est la gestion de tes DNS
tout depend si c'est toi qui les gere ou bien ton registrar
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
#18 Le 30/08/2007, à 22:37
- Warman
Re : [Problème-Résolu]PostFix Reception Mail
moi grace a bind
Hors ligne
#19 Le 30/08/2007, à 22:41
- Warman
Re : [Problème-Résolu]PostFix Reception Mail
Je Te Remerci TonioTonio Sa Marche Impec Maintenant.
Un Grand Merci pour ton aide
Hors ligne
Pages : 1