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.

#76 Le 06/09/2007, à 13:49

toniotonio

Re : Postix - authentification smtp

smile si tu veux te lancer pas de soucis pour le coup de main.

pour le tuto webmail, je n'ai que horde, mais c'est pas si compliqué que ca comme webmail.


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

#77 Le 06/09/2007, à 14:23

SebLinux

Re : Postix - authentification smtp

Ok cette nuit je formate et demain je suis pas a pas ton tuto ...

Je te tiendrais aux courant.

Ton tuto il est pour ubuntu ou debian ?

Apres avoir suivis ton tuto postfix je peux attaquer en directe ton tuto horde, je veux dire ils sont en adéquation ?

Hors ligne

#78 Le 06/09/2007, à 14:30

toniotonio

Re : Postix - authentification smtp

le tuto est pour debian, mais il tourne visiblement bien sous ubuntu.
il y a qques points de differences dans les paquets mais j'ai essayé de les signaler.

pour le webmail c'est effectivement en adequation avec le tuto postfix

Dernière modification par toniotonio (Le 06/09/2007, à 14:38)


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

#79 Le 06/09/2007, à 14:40

SebLinux

Re : Postix - authentification smtp

ok super je fais ca demain et je te tiens au courant

Encore merci

Hors ligne

#80 Le 07/09/2007, à 08:45

SebLinux

Re : Postix - authentification smtp

Bonjour Tonio,

Alors voila j'ai suivis ton tutau a la lettre ton marchais bien jusqu'a ce que je reboot mon pc et la le drame ... Je ne peux plus envoyé en smtp.

Voici ma postconf:

root@LSERV:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
best_mx_transport = local
biff = no
config_directory = /etc/postfix
home_mailbox = Maildir/
local_transport = local
mailbox_command = /usr/bin/procmail -a "$EXTENSION"
mailbox_size_limit = 0
masquerade_domains = domain.com
message_size_limit = 50240000
mydestination = localhost.localdomain, localhost
myhostname = domain.com
mynetworks = 127.0.0.0/8
myorigin = domain.com
notify_classes = 2bounce, bounce, delay, policy, protocol, resource, software
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $smtpd_recipient_restrictions $smtpd_sender_login_maps
recipient_delimiter = +
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_data_restrictions = reject_unauth_pipelining,         permit
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks,           reject_unauth_destination,      permit
strict_rfc821_envelopes = yes
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:20001
virtual_mailbox_base = /home/virtual
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 20001
virtual_transport = maildrop
virtual_uid_maps = static:20001

mes logs:

Sep  7 12:28:55 LSERV authdaemond: modules="authpam", daemons=5
Sep  7 12:28:55 LSERV authdaemond: Installing libauthpam
Sep  7 12:28:55 LSERV authdaemond: Installation complete: authpam
Sep  7 12:28:55 LSERV authdaemond: stopping authdaemond children
Sep  7 12:28:55 LSERV authdaemond: restarting authdaemond children
Sep  7 12:28:55 LSERV authdaemond: modules="authpam", daemons=5
Sep  7 12:28:55 LSERV authdaemond: Uninstalling authpam
Sep  7 12:28:55 LSERV authdaemond: Installing libauthpam
Sep  7 12:28:55 LSERV authdaemond: Installation complete: authpam
Sep  7 12:29:03 LSERV postfix/master[21588]: daemon started -- version 2.3.8, configuration /etc/postfix
Sep  7 13:26:56 LSERV authdaemond: stopping authdaemond children
Sep  7 13:26:56 LSERV authdaemond: modules="authpam authmysql", daemons=5
Sep  7 13:26:56 LSERV authdaemond: Installing libauthpam
Sep  7 13:26:56 LSERV authdaemond: Installation complete: authpam
Sep  7 13:26:56 LSERV authdaemond: Installing libauthmysql
Sep  7 13:26:56 LSERV authdaemond: Installation complete: authmysql
Sep  7 13:26:58 LSERV postfix/master[21588]: terminating on signal 15
Sep  7 13:26:58 LSERV postfix/master[27719]: daemon started -- version 2.3.8, configuration /etc/postfix
Sep  7 13:28:36 LSERV postfix/pickup[27722]: 1E35E5C302: uid=0 from=<root>
Sep  7 13:28:36 LSERV postfix/cleanup[27750]: 1E35E5C302: message-id=<20070907052836.1E35E5C302@domain.com>
Sep  7 13:28:36 LSERV postfix/qmgr[27723]: 1E35E5C302: from=<root@domain.com>, size=270, nrcpt=1 (queue active)
Sep  7 13:28:36 LSERV postfix/pipe[27754]: 1E35E5C302: to=<user@domain.com>, relay=maildrop, delay=0.08, delays=0.06/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via maildrop service)
Sep  7 13:28:36 LSERV postfix/qmgr[27723]: 1E35E5C302: removed
Sep  7 13:28:47 LSERV postfix/pickup[27722]: EA2F65C303: uid=0 from=<root>
Sep  7 13:28:47 LSERV postfix/cleanup[27750]: EA2F65C303: message-id=<20070907052847.EA2F65C303@domain.com>
Sep  7 13:28:47 LSERV postfix/qmgr[27723]: EA2F65C303: from=<root@domain.com>, size=270, nrcpt=1 (queue active)
Sep  7 13:28:47 LSERV postfix/pipe[27754]: EA2F65C303: to=<user@domain.com>, relay=maildrop, delay=0.04, delays=0.02/0/0/0.02, dsn=2.0.0, status=sent (delivered via maildrop service)
Sep  7 13:28:47 LSERV postfix/qmgr[27723]: EA2F65C303: removed
Sep  7 13:30:14 LSERV postfix/smtpd[27791]: connect from domain.com[127.0.0.1]
Sep  7 13:31:27 LSERV postfix/smtpd[27791]: warning: Illegal address syntax from domain.com[127.0.0.1] in RCPT command: user@domain.com
Sep  7 13:31:44 LSERV postfix/smtpd[27791]: 68E705C304: client=domain.com[127.0.0.1]
Sep  7 13:31:57 LSERV postfix/cleanup[27811]: 68E705C304: message-id=<20070907053144.68E705C304@domain.com>
Sep  7 13:31:57 LSERV postfix/qmgr[27723]: 68E705C304: from=<>, size=312, nrcpt=1 (queue active)
Sep  7 13:31:57 LSERV postfix/pipe[27815]: 68E705C304: to=<user@domain.com>, relay=maildrop, delay=70, delays=70/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via maildrop service)
Sep  7 13:31:57 LSERV postfix/qmgr[27723]: 68E705C304: removed
Sep  7 13:32:08 LSERV postfix/smtpd[27791]: disconnect from domain.com[127.0.0.1]
Sep  7 13:38:34 LSERV authdaemond: stopping authdaemond children
Sep  7 13:38:34 LSERV authdaemond: modules="authpam authmysql", daemons=5
Sep  7 13:38:34 LSERV authdaemond: Installing libauthpam
Sep  7 13:38:34 LSERV authdaemond: Installation complete: authpam
Sep  7 13:38:34 LSERV authdaemond: Installing libauthmysql
Sep  7 13:38:34 LSERV authdaemond: Installation complete: authmysql
Sep  7 13:42:05 LSERV authdaemond: stopping authdaemond children
Sep  7 13:42:06 LSERV postfix/master[27719]: terminating on signal 15
Sep  7 13:43:13 domain authdaemond: modules="authpam authmysql", daemons=5
Sep  7 13:43:13 domain authdaemond: Installing libauthpam
Sep  7 13:43:13 domain authdaemond: Installation complete: authpam
Sep  7 13:43:13 domain authdaemond: Installing libauthmysql
Sep  7 13:43:13 domain authdaemond: Installation complete: authmysql
Sep  7 13:43:15 domain postfix/master[5644]: daemon started -- version 2.3.8, configuration /etc/postfix
Sep  7 13:46:36 domain imapd: Connection, ip=[::ffff:127.0.0.1]
Sep  7 13:46:39 domain imapd: LOGIN, user=user@domain.com, ip=[::ffff:127.0.0.1], protocol=IMAP
Sep  7 13:47:31 domain postfix/smtpd[6287]: connect from domain.com[127.0.0.1]
Sep  7 13:47:32 domain postfix/smtpd[6287]: 1C5195C258: client=domain.com[127.0.0.1]
Sep  7 13:47:32 domain postfix/cleanup[6291]: 1C5195C258: message-id=<46E0E5F3.1010101@domain.com>
Sep  7 13:47:32 domain postfix/qmgr[5665]: 1C5195C258: from=<user@domain.com>, size=621, nrcpt=1 (queue active)
Sep  7 13:47:32 domain postfix/smtpd[6287]: disconnect from domain.com[127.0.0.1]
Sep  7 13:47:32 domain imapd: Connection, ip=[::ffff:127.0.0.1]
Sep  7 13:47:32 domain imapd: LOGIN, user=user@domain.com, ip=[::ffff:127.0.0.1], protocol=IMAP
Sep  7 13:47:32 domain postfix/pipe[6292]: 1C5195C258: to=<admin@domain.com>, orig_to=<root@domain.com>, relay=maildrop, delay=0.26, delays=0.14/0.02/0/0.09, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 13:47:32 domain imapd: Connection, ip=[::ffff:127.0.0.1]
Sep  7 13:47:32 domain imapd: LOGIN, user=user@domain.com, ip=[::ffff:127.0.0.1], protocol=IMAP
Sep  7 13:48:18 domain postfix/smtpd[6287]: connect from domain.com[127.0.0.1]
Sep  7 13:48:19 domain postfix/smtpd[6287]: lost connection after EHLO from domain.com[127.0.0.1]
Sep  7 13:48:19 domain postfix/smtpd[6287]: disconnect from domain.com[127.0.0.1]
Sep  7 13:48:32 domain postfix/smtpd[6287]: connect from domain.com[127.0.0.1]
Sep  7 13:48:33 domain postfix/smtpd[6287]: 1F1E15C304: client=domain.com[127.0.0.1]
Sep  7 13:48:33 domain postfix/cleanup[6291]: 1F1E15C304: message-id=<46E0E630.2060604@domain.com>
Sep  7 13:48:33 domain postfix/qmgr[5665]: 1F1E15C304: from=<user@domain.com>, size=615, nrcpt=1 (queue active)
Sep  7 13:48:33 domain postfix/smtpd[6287]: disconnect from domain.com[127.0.0.1]
Sep  7 13:48:33 domain postfix/pipe[6292]: 1F1E15C304: to=<user@domain.com>, relay=maildrop, delay=0.05, delays=0.03/0/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 13:48:38 domain imapd-ssl: Connection, ip=[::ffff:127.0.0.1]
Sep  7 13:48:39 domain imapd-ssl: LOGIN, user=user@domain.com, ip=[::ffff:127.0.0.1], protocol=IMAP
Sep  7 13:49:16 domain postfix/pickup[5664]: 607675C30A: uid=0 from=<root>
Sep  7 13:49:16 domain postfix/cleanup[6291]: 607675C30A: message-id=<20070907054916.607675C30A@domain.com>
Sep  7 13:49:16 domain postfix/qmgr[5665]: 607675C30A: from=<root@domain.com>, size=278, nrcpt=1 (queue active)
Sep  7 13:49:16 domain postfix/pipe[6292]: 607675C30A: to=<user@domain.com>, relay=maildrop, delay=0.03, delays=0.02/0/0/0.01, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 13:50:58 domain postfix/smtpd[6393]: connect from domain.com[127.0.0.1]
Sep  7 13:50:58 domain postfix/smtpd[6393]: 73D405C309: client=domain.com[127.0.0.1]
Sep  7 13:50:58 domain postfix/cleanup[6396]: 73D405C309: message-id=<46E0E6C2.7050609@domain.com>
Sep  7 13:50:58 domain postfix/qmgr[5665]: 73D405C309: from=<user@domain.com>, size=501, nrcpt=1 (queue active)
Sep  7 13:50:58 domain postfix/smtpd[6393]: disconnect from domain.com[127.0.0.1]
Sep  7 13:50:58 domain postfix/pipe[6397]: 73D405C309: to=<user@domain.com>, orig_to=<alias@domain.com>, relay=maildrop, delay=0.07, delays=0.03/0.01/0/0.03, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 13:51:07 domain imapd-ssl: LOGOUT, user=user@domain.com, ip=[::ffff:127.0.0.1], headers=638, body=0, rcvd=729, sent=1974, time=148, starttls=1
Sep  7 13:51:07 domain imapd: LOGOUT, user=user@domain.com, ip=[::ffff:127.0.0.1], headers=446, body=1333, rcvd=4015, sent=11395, time=268
Sep  7 13:51:07 domain imapd: LOGOUT, user=user@domain.com, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=107, sent=217, time=215
Sep  7 13:51:07 domain imapd: LOGOUT, user=user@domain.com, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=994, sent=176, time=215
Sep  7 13:51:19 domain imapd: Connection, ip=[::ffff:127.0.0.1]
Sep  7 13:51:23 domain imapd: LOGIN, user=user@domain.com, ip=[::ffff:127.0.0.1], protocol=IMAP
Sep  7 13:52:47 domain postfix/pickup[5664]: 222815C30C: uid=0 from=<root>
Sep  7 13:52:47 domain postfix/cleanup[6441]: 222815C30C: message-id=<20070907055247.222815C30C@domain.com>
Sep  7 13:52:47 domain postfix/qmgr[5665]: 222815C30C: from=<root@domain.com>, size=296, nrcpt=1 (queue active)
Sep  7 13:52:47 domain postfix/pipe[6444]: 222815C30C: to=<user@domain.com>, relay=maildrop, delay=0.06, delays=0.04/0/0/0.01, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 13:59:06 domain postfix/pickup[5664]: 7A9435C30D: uid=0 from=<root>
Sep  7 13:59:06 domain postfix/cleanup[6545]: 7A9435C30D: message-id=<20070907055906.7A9435C30D@domain.com>
Sep  7 13:59:06 domain postfix/qmgr[5665]: 7A9435C30D: from=<root@domain.com>, size=278, nrcpt=1 (queue active)
Sep  7 13:59:06 domain postfix/pipe[6548]: 7A9435C30D: to=<user@domain.com>, orig_to=<alias@domain.com>, relay=maildrop, delay=0.06, delays=0.03/0.01/0/0.01, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 14:00:54 domain postfix/smtpd[6579]: connect from domain.com[127.0.0.1]
Sep  7 14:01:46 domain postfix/smtpd[6579]: 5D5405C30B: client=domain.com[127.0.0.1]
Sep  7 14:01:54 domain postfix/cleanup[6592]: 5D5405C30B: message-id=<20070907060146.5D5405C30B@domain.com>
Sep  7 14:01:54 domain postfix/qmgr[5665]: 5D5405C30B: from=<>, size=312, nrcpt=1 (queue active)
Sep  7 14:01:54 domain postfix/pipe[6595]: 5D5405C30B: to=<user@domain.com>, relay=maildrop, delay=26, delays=26/0.01/0/0.01, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 14:01:58 domain postfix/smtpd[6579]: disconnect from domain.com[127.0.0.1]
Sep  7 14:02:20 domain imapd: LOGOUT, user=user@domain.com, ip=[::ffff:127.0.0.1], headers=0, body=1010, rcvd=2150, sent=6336, time=657
Sep  7 14:02:22 domain imapd: Connection, ip=[::ffff:127.0.0.1]
Sep  7 14:02:24 domain imapd: LOGIN FAILED, user=user@domain.com, ip=[::ffff:127.0.0.1]
Sep  7 14:02:32 domain imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=57, sent=484
Sep  7 14:02:41 domain imapd: Connection, ip=[::ffff:127.0.0.1]
Sep  7 14:02:45 domain imapd: LOGIN, user=user@domain.com, ip=[::ffff:127.0.0.1], protocol=IMAP
Sep  7 14:05:22 domain imapd: Connection, ip=[::ffff:127.0.0.1]
Sep  7 14:05:22 domain imapd: LOGIN, user=user@domain.com, ip=[::ffff:127.0.0.1], protocol=IMAP
Sep  7 14:05:30 domain postfix/smtpd[6662]: connect from domain.com[127.0.0.1]
Sep  7 14:05:30 domain postfix/smtpd[6662]: A97FD5C30E: client=domain.com[127.0.0.1]
Sep  7 14:05:30 domain postfix/cleanup[6665]: A97FD5C30E: message-id=<46E0EA2A.60905@domain.com>
Sep  7 14:05:30 domain postfix/qmgr[5665]: A97FD5C30E: from=<user@domain.com>, size=503, nrcpt=1 (queue active)
Sep  7 14:05:30 domain postfix/smtpd[6662]: disconnect from domain.com[127.0.0.1]
Sep  7 14:05:30 domain postfix/pipe[6666]: A97FD5C30E: to=<user@domain.com>, orig_to=<alias@domain.com>, relay=maildrop, delay=0.05, delays=0.03/0.01/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 14:08:31 domain postfix/smtpd[6715]: connect from domain.com[127.0.0.1]
Sep  7 14:08:31 domain postfix/smtpd[6715]: D95AF5C30F: client=domain.com[127.0.0.1]
Sep  7 14:08:31 domain postfix/cleanup[6718]: D95AF5C30F: message-id=<46E0EADF.9050701@domain.com>
Sep  7 14:08:31 domain postfix/qmgr[5665]: D95AF5C30F: from=<user@domain.com>, size=505, nrcpt=1 (queue active)
Sep  7 14:08:31 domain postfix/smtpd[6715]: disconnect from domain.com[127.0.0.1]
Sep  7 14:08:31 domain postfix/pipe[6719]: D95AF5C30F: to=<user@domain.com>, orig_to=<alias@domain.com>, relay=maildrop, delay=0.06, delays=0.03/0.01/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 14:12:45 domain imapd: DISCONNECTED, user=user@domain.com, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=536, sent=1544, time=600
Sep  7 14:12:45 domain imapd: DISCONNECTED, user=user@domain.com, ip=[::ffff:127.0.0.1], headers=430, body=0, rcvd=1354, sent=2058, time=443
Sep  7 14:12:50 domain authdaemond: stopping authdaemond children
Sep  7 14:12:50 domain postfix/master[5644]: terminating on signal 15
Sep  7 14:13:55 domain authdaemond: modules="authpam authmysql", daemons=5
Sep  7 14:13:55 domain authdaemond: Installing libauthpam
Sep  7 14:13:55 domain authdaemond: Installation complete: authpam
Sep  7 14:13:55 domain authdaemond: Installing libauthmysql
Sep  7 14:13:55 domain authdaemond: Installation complete: authmysql
Sep  7 14:13:58 domain postfix/master[5655]: daemon started -- version 2.3.8, configuration /etc/postfix
Sep  7 14:13:58 domain postfix/qmgr[5724]: 607675C30A: from=<root@domain.com>, size=278, nrcpt=1 (queue active)
Sep  7 14:13:59 domain postfix/qmgr[5724]: 1F1E15C304: from=<user@domain.com>, size=615, nrcpt=1 (queue active)
Sep  7 14:13:59 domain postfix/qmgr[5724]: 1C5195C258: from=<user@domain.com>, size=621, nrcpt=1 (queue active)
Sep  7 14:13:59 domain postfix/qmgr[5724]: 222815C30C: from=<root@domain.com>, size=296, nrcpt=1 (queue active)
Sep  7 14:13:59 domain postfix/qmgr[5724]: 73D405C309: from=<user@domain.com>, size=501, nrcpt=1 (queue active)
Sep  7 14:13:59 domain postfix/pipe[5776]: 607675C30A: to=<user@domain.com>, relay=maildrop, delay=1484, delays=1482/0.82/0/0.93, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 14:13:59 domain postfix/pipe[5792]: 222815C30C: to=<user@domain.com>, relay=maildrop, delay=1273, delays=1272/0.03/0/0.89, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 14:14:00 domain postfix/pipe[5788]: 1F1E15C304: to=<user@domain.com>, relay=maildrop, delay=1527, delays=1526/0.1/0/1.1, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 14:14:00 domain postfix/pipe[5790]: 1C5195C258: to=<admin@domain.com>, orig_to=<root@domain.com>, relay=maildrop, delay=1588, delays=1587/0.04/0/1, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 14:14:00 domain postfix/pipe[5794]: 73D405C309: to=<user@domain.com>, orig_to=<alias@domain.com>, relay=maildrop, delay=1382, delays=1381/0.02/0/1, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 14:15:19 domain imapd: Connection, ip=[::ffff:127.0.0.1]
Sep  7 14:15:26 domain imapd: LOGIN, user=user@domain.com, ip=[::ffff:127.0.0.1], protocol=IMAP
Sep  7 14:16:20 domain postfix/smtpd[6324]: connect from domain.com[127.0.0.1]
Sep  7 14:16:20 domain postfix/smtpd[6324]: 5FE115C22A: client=domain.com[127.0.0.1]
Sep  7 14:16:20 domain postfix/cleanup[6327]: 5FE115C22A: message-id=<46E0ECB4.40802@domain.com>
Sep  7 14:16:20 domain postfix/qmgr[5724]: 5FE115C22A: from=<user@domain.com>, size=503, nrcpt=1 (queue active)
Sep  7 14:16:20 domain postfix/smtpd[6324]: disconnect from domain.com[127.0.0.1]
Sep  7 14:16:20 domain imapd: Connection, ip=[::ffff:127.0.0.1]
Sep  7 14:16:20 domain postfix/pipe[6328]: 5FE115C22A: to=<user@domain.com>, orig_to=<alias@domain.com>, relay=maildrop, delay=0.14, delays=0.12/0/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 14:16:20 domain imapd: LOGIN, user=user@domain.com, ip=[::ffff:127.0.0.1], protocol=IMAP
Sep  7 14:17:16 domain postfix/pickup[5723]: B216E5C25E: uid=0 from=<root>
Sep  7 14:17:16 domain postfix/cleanup[6327]: B216E5C25E: message-id=<20070907061716.B216E5C25E@domain.com>
Sep  7 14:17:16 domain postfix/qmgr[5724]: B216E5C25E: from=<root@domain.com>, size=271, nrcpt=1 (queue active)
Sep  7 14:17:16 domain postfix/pipe[6328]: B216E5C25E: to=<user@domain.com>, relay=maildrop, delay=0.03, delays=0.02/0/0/0.01, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 14:18:22 domain imapd: Connection, ip=[::ffff:127.0.0.1]
Sep  7 14:18:25 domain imapd: chdir admin@domain.com/: No such file or directory
Sep  7 14:18:36 domain postfix/smtpd[6384]: connect from domain.com[127.0.0.1]
Sep  7 14:18:36 domain postfix/smtpd[6384]: E37905C25D: client=domain.com[127.0.0.1]
Sep  7 14:18:36 domain postfix/cleanup[6327]: E37905C25D: message-id=<46E0ED3C.5010407@domain.com>
Sep  7 14:18:36 domain postfix/qmgr[5724]: E37905C25D: from=<admin@domain.com>, size=507, nrcpt=1 (queue active)
Sep  7 14:18:36 domain postfix/smtpd[6384]: disconnect from domain.com[127.0.0.1]
Sep  7 14:18:36 domain postfix/pipe[6328]: E37905C25D: to=<user@domain.com>, orig_to=<alias@domain.com>, relay=maildrop, delay=0.05, delays=0.04/0/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 14:18:36 domain imapd: Connection, ip=[::ffff:127.0.0.1]
Sep  7 14:18:36 domain imapd: chdir admin@domain.com/: No such file or directory
Sep  7 14:19:15 domain postfix/smtpd[6384]: connect from domain.com[127.0.0.1]
Sep  7 14:19:15 domain postfix/smtpd[6384]: AE9AE5C311: client=domain.com[127.0.0.1]
Sep  7 14:19:15 domain postfix/cleanup[6327]: AE9AE5C311: message-id=<46E0ED63.6080802@domain.com>
Sep  7 14:19:15 domain postfix/qmgr[5724]: AE9AE5C311: from=<admin@domain.com>, size=507, nrcpt=1 (queue active)
Sep  7 14:19:15 domain postfix/smtpd[6384]: disconnect from domain.com[127.0.0.1]
Sep  7 14:19:15 domain postfix/pipe[6328]: AE9AE5C311: to=<user@domain.com>, orig_to=<alias@domain.com>, relay=maildrop, delay=0.06, delays=0.05/0/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 14:19:15 domain imapd: Connection, ip=[::ffff:127.0.0.1]
Sep  7 14:19:15 domain imapd: chdir admin@domain.com/: No such file or directory
Sep  7 14:21:01 domain authdaemond: stopping authdaemond children
Sep  7 14:21:01 domain authdaemond: modules="authpam authmysql", daemons=5
Sep  7 14:21:01 domain authdaemond: Installing libauthpam
Sep  7 14:21:01 domain authdaemond: Installation complete: authpam
Sep  7 14:21:01 domain authdaemond: Installing libauthmysql
Sep  7 14:21:01 domain authdaemond: Installation complete: authmysql
Sep  7 14:21:02 domain imapd: NOTICE: Disconnected during shutdown by signal, user=user@domain.com, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=590, sent=1780, time=336
Sep  7 14:21:02 domain imapd: NOTICE: Disconnected during shutdown by signal, user=user@domain.com, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=376, sent=113, time=282
Sep  7 14:21:31 domain imapd: Connection, ip=[::ffff:127.0.0.1]
Sep  7 14:21:31 domain imapd: LOGIN, user=user@domain.com, ip=[::ffff:127.0.0.1], protocol=IMAP
Sep  7 14:21:34 domain imapd: Connection, ip=[::ffff:127.0.0.1]
Sep  7 14:21:34 domain imapd: chdir admin@domain.com/: No such file or directory
Sep  7 14:21:42 domain imapd: Connection, ip=[::ffff:127.0.0.1]
Sep  7 14:21:42 domain imapd: LOGIN, user=user@domain.com, ip=[::ffff:127.0.0.1], protocol=IMAP
Sep  7 14:21:44 domain imapd: Connection, ip=[::ffff:127.0.0.1]
Sep  7 14:21:44 domain imapd: chdir admin@domain.com/: No such file or directory
Sep  7 14:23:17 domain postfix/smtpd[6599]: connect from domain.com[127.0.0.1]
Sep  7 14:25:19 domain postfix/smtpd[6599]: disconnect from domain.com[127.0.0.1]
Sep  7 14:27:16 domain postfix/smtpd[6657]: connect from domain.com[127.0.0.1]
Sep  7 14:27:45 domain postfix/smtpd[6657]: 40A7F5C316: client=domain.com[127.0.0.1]
Sep  7 14:27:50 domain postfix/cleanup[6666]: 40A7F5C316: message-id=<20070907062745.40A7F5C316@domain.com>
Sep  7 14:27:50 domain postfix/qmgr[5724]: 40A7F5C316: from=<>, size=312, nrcpt=1 (queue active)
Sep  7 14:27:50 domain postfix/pipe[6668]: 40A7F5C316: to=<user@domain.com>, relay=maildrop, delay=19, delays=19/0.01/0/0.01, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 14:27:55 domain postfix/smtpd[6657]: disconnect from domain.com[127.0.0.1]
Sep  7 14:28:19 domain imapd: Connection, ip=[::ffff:127.0.0.1]
Sep  7 14:28:19 domain imapd: chdir admin@domain.com/: No such file or directory
Sep  7 14:30:38 domain postfix/qmgr[5724]: 5D5405C30B: from=<>, size=312, nrcpt=1 (queue active)
Sep  7 14:30:38 domain postfix/qmgr[5724]: D95AF5C30F: from=<user@domain.com>, size=505, nrcpt=1 (queue active)
Sep  7 14:30:38 domain postfix/qmgr[5724]: A97FD5C30E: from=<user@domain.com>, size=503, nrcpt=1 (queue active)
Sep  7 14:30:38 domain postfix/qmgr[5724]: 7A9435C30D: from=<root@domain.com>, size=278, nrcpt=1 (queue active)
Sep  7 14:30:38 domain postfix/pipe[6719]: 5D5405C30B: to=<user@domain.com>, relay=maildrop, delay=1750, delays=1750/0.05/0/0.04, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 14:30:38 domain postfix/pipe[6726]: A97FD5C30E: to=<user@domain.com>, orig_to=<alias@domain.com>, relay=maildrop, delay=1508, delays=1508/0.02/0/0.03, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 14:30:38 domain postfix/pipe[6722]: D95AF5C30F: to=<user@domain.com>, orig_to=<alias@domain.com>, relay=maildrop, delay=1327, delays=1327/0.04/0/0.04, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 14:30:38 domain postfix/pipe[6729]: 7A9435C30D: to=<user@domain.com>, orig_to=<alias@domain.com>, relay=maildrop, delay=1892, delays=1892/0.03/0/0.03, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/local/courier/bin/maildrop: Temporary authentication failure. )
Sep  7 14:38:19 domain imapd: Connection, ip=[::ffff:127.0.0.1]
Sep  7 14:38:19 domain imapd: chdir admin@domain.com/: No such file or directory

Une petite differance avec ta conf concernant le GDBM extensions enabled, je ne l'ai pas ... mais ca a marcher sans ca ...

Je pense que c'est une erreur toute bete au niveau de Authdaemonrc ... quand penses tu ?

Hors ligne

#81 Le 07/09/2007, à 09:27

toniotonio

Re : Postix - authentification smtp

cela ressemble a un pb de droit sur les binaires de maildrop.
reprend le tuto sur ce point.

de meme le user admin@domain.com n'est pas valide car il n'a pas recu de mail pour activer la creation de sa boite. Envoie un mail a admin@domain.com pour regler ce pb.

Dernière modification par toniotonio (Le 07/09/2007, à 09: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

#82 Le 07/09/2007, à 09:33

SebLinux

Re : Postix - authentification smtp

Ok merci je regarde ca
tongue

Hors ligne

#83 Le 07/09/2007, à 09:44

SebLinux

Re : Postix - authentification smtp

NOTE : sous ubuntu il faudra aussi modifier le fichier /etc/init.d/courier-authdaemon et modifier le 750 dans chmod 750 ${run_dir} par 775

Je vois bien quen c'est la mais donc la commande c'est :

chmod 775 /etc/init.d/courier-authdaemon ? exact ?

Hors ligne

#84 Le 07/09/2007, à 09:48

toniotonio

Re : Postix - authentification smtp

cela veut dire qu'il faut editer le fichier /etc/init.d/courier-authdaemon
et modifier

chmod 750 ${run_dir}

par

chmod 775 ${run_dir}

c'est dans le fichier init que la commande est effectuée.


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

#85 Le 07/09/2007, à 09:51

SebLinux

Re : Postix - authentification smtp

Pardon pardon pour cet amaterisme hmm

Hors ligne

#86 Le 07/09/2007, à 10:33

SebLinux

Re : Postix - authentification smtp

Eh bé !!!

Franchement entre nous je trouve que ton tutau(x) il vaut de l'or !

Il est détaillé ! Précis ! Complet !

Bravo bravo pour ce travail

Hors ligne

#87 Le 07/09/2007, à 10:36

toniotonio

Re : Postix - authentification smtp

merci smile

c'a fonctionne ? tu en est ou ?


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

#88 Le 07/09/2007, à 10:45

SebLinux

Re : Postix - authentification smtp

J'ai suis a la page 6 ... juste avant les anti spam et virus.

Par contre sur postfixadmin j'arrive a me logger en user mais pas en admin alors que dans ma base sql j'ai bien : admin@domain.com et ton mot de passe secret !!!
Je ne comprend pas !!!
Mais j'ai eu une erreur sur le chmod du *.ht ... ?

T'es mot de passe ils sont encrypté par encrypt + md5 ?

Hors ligne

#89 Le 07/09/2007, à 11:02

toniotonio

Re : Postix - authentification smtp

postifx admin il donne quoi comme reponse au login admin ?
tu est bien sur l'url racine: ../postfixadmin/     ?

le chmod du *.ht c'est normal

les mots de passe sont encryptés en MD5


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

#90 Le 07/09/2007, à 11:17

SebLinux

Re : Postix - authentification smtp

Postfixadmin/login.php => votre adresse de courriel est invalide

------

Autre question si j'ajoute un domaine a base mysql avec des mailbox attaché il faut que je la declare dans mes fichiers , main.cf, hosts, ... ou si j'arrive a me connecte avec postfix admin il me gere le tout ???

Hors ligne

#91 Le 07/09/2007, à 11:24

toniotonio

Re : Postix - authentification smtp

reverifie ta base en particulier la table admin

tu dois avoir dedans ton admin@domain.com en username et le pass en md5

pour l'ajout de domaine, tu n'a rien a ajouté au main.cf
en revanche il faudra ajouter le domaine a amavis.conf, a la table HELO et au fichier de controle du mail from:  our_domain_as_sender et not_our_domain_as_sender.

l'ajout de domaine n'etant pas une operation courante, il n'est pas vraiment necessaire d'automatiser ces taches a mon avis.


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

#92 Le 07/09/2007, à 11:31

SebLinux

Re : Postix - authentification smtp

reverifie ta base en particulier la table admin

tu dois avoir dedans ton admin@domain.com en username et le pass en md5

Oui j'ai bien tout ca ! mais ca passe pas ... a comprendre !!!

ajouter le domaine a amavis.conf, a la table HELO et au fichier de controle du mail from:  our_domain_as_sender et not_our_domain_as_sender.

Je n'ai pas encore installer amavis; la table Helo et le fichier de controle en font partis ?

Car actuellement ca ne fonctionne pas

Hors ligne

#93 Le 07/09/2007, à 11:37

toniotonio

Re : Postix - authentification smtp

les fichiers de controle du mail from et la table HELO sont parametrés plus loin dans le tuto.
qu'est ce qui ne fonctionne pas ?


pour postfix admin tu peux montrer le contenu de la base postfix ?


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

#94 Le 07/09/2007, à 11:50

SebLinux

Re : Postix - authentification smtp

L'ajout de domaine aucun pb (j'avais merder tout seul comme un grand "con")

Par contre entrer sur postfixadmin en administrateur, impossible :

user@domain.com  	$1$caea3837$gPafod/Do/8Jj5M9HehhM.  	Mailbox User  	user@domain.com/  	0  	domain.com  	0000-00-00 00:00:00  	0000-00-00 00:00:00  	1
	Edit 	Delete 	admin@domain.com 	$1$caea3837$gPafod/Do/8Jj5M9HehhM. 	Mailbox Admin 	admin@domain.com/ 	0 	domain.com 	0000-00-00 00:00:00 	0000-00-00 00:00:00 	1
	Edit 	Delete 	seb@seblinux.com 	$1$caea3837$gPafod/Do/8Jj5M9HehhM. 	Mailbox User 	seb@seblinux.com/ 	0 	seblinux.com 	0000-00-00 00:00:00 	0000-00-00 00:00:00 	1

Hors ligne

#95 Le 07/09/2007, à 11:52

toniotonio

Re : Postix - authentification smtp

c'est pas la table admin ca
c'est la table mailbox


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

#96 Le 07/09/2007, à 11:53

SebLinux

Re : Postix - authentification smtp

Par contre les mots de passe dans la base postfix sont codé avec la fonction ENCRYPT et pas MD5 !

Hors ligne

#97 Le 07/09/2007, à 11:57

SebLinux

Re : Postix - authentification smtp

Full Texts  	username 	password 	created 	modified 	active
	Edit 	Delete 	admin@domain.com 	808fGKvLoeZ6o 	0000-00-00 00:00:00 	0000-00-00 00:00:00 	1

Ok elle etait vide alors j'ai crée admin@domain.com

Par contre le mot de passe ne passe pas il doit etre codé avec la fonction ENcrypt ou md5 ???

Hors ligne

#98 Le 07/09/2007, à 12:03

toniotonio

Re : Postix - authentification smtp

SebLinux a écrit :
Full Texts  	username 	password 	created 	modified 	active
	Edit 	Delete 	admin@domain.com 	808fGKvLoeZ6o 	0000-00-00 00:00:00 	0000-00-00 00:00:00 	1

Ok elle etait vide alors j'ai crée admin@domain.com

Par contre le mot de passe ne passe pas il doit etre codé avec la fonction ENcrypt ou md5 ???

copie simplement le pass "secret" du tuto. (sinon tu as l'insert en question au debut du tuto, tu as du le zapper)
puis tu changeras le pass par l'interface de postfixadmin.

c'est du MD5

Dernière modification par toniotonio (Le 07/09/2007, à 12:03)


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

#99 Le 07/09/2007, à 12:05

SebLinux

Re : Postix - authentification smtp

Ca marche du feu de dieux ...

J'aimerais te rendre l'appareil un jour si c'est possible !

Hors ligne

#100 Le 07/09/2007, à 12:28

SebLinux

Re : Postix - authentification smtp

Juste une question c'est normal que les bases et ascenseur ne s'alimente pas dans postfixadmin (evenement, ...) tout reste vide ?

Hors ligne