Hello J'ai modifie mon transport avec: fft.be relay:[192.168.0.1] fft relay:[192.168.0.1]
puisque le relay_domains est: fft.be OK fft OK le local_domain contient: relay.fft.be virtual contient: [EMAIL PROTECTED] announces [EMAIL PROTECTED] trainings Quelles que soient les modifs dans postfix, ca ne change rien au message d'erreur de mailman, par ex. avec un test vers [EMAIL PROTECTED]: Le mm_cgf.py: DEFAULT_HOST_NAME = 'fft.be' DEFAULT_URL_PATTERN = 'http://%s/mailman/' DEFAULT_NNTP_HOST = '' MTA = 'Postfix' POSTFIX_ALIAS_CMD = '/usr/sbin/postalias' POSTFIX_MAP_CMD = '/usr/sbin/postmap' DELIVERY_MODULE = 'SMTPDirect' SMTPHOST = '127.0.0.1' DEFAULT_URL_HOST = 'relay.fft.be' DEFAULT_EMAIL_HOST = 'relay.fft.be' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) IMAGE_LOGOS = '/mailmanicons/' (idem avec SMTPHOST='relay.fft.be' ou 'localhost' log postfix/mail: (je passe les lignes RESTRICTRIONS pour les tests RBL et SASL de l'emetteur. May 25 09:25:07 artemis postfix/smtpd[23473]: >>> CHECKING RECIPIENT MAPS <<< May 25 09:25:07 artemis postfix/smtpd[23473]: ctable_locate: move existing entry key [EMAIL PROTECTED] May 25 09:25:07 artemis postfix/smtpd[23473]: maps_find: recipient_canonical_maps: [EMAIL PROTECTED]: not found May 25 09:25:07 artemis postfix/smtpd[23473]: maps_find: recipient_canonical_maps: trainings: not found May 25 09:25:07 artemis postfix/smtpd[23473]: maps_find: recipient_canonical_maps: @relay.fft.be: not found May 25 09:25:07 artemis postfix/smtpd[23473]: mail_addr_find: [EMAIL PROTECTED] -> (not found) May 25 09:25:07 artemis postfix/smtpd[23473]: maps_find: canonical_maps: [EMAIL PROTECTED]: not found May 25 09:25:07 artemis postfix/smtpd[23473]: maps_find: canonical_maps: trainings: not found May 25 09:25:07 artemis postfix/smtpd[23473]: maps_find: canonical_maps: @relay.fft.be: not found May 25 09:25:07 artemis postfix/smtpd[23473]: mail_addr_find: [EMAIL PROTECTED] -> (not found) May 25 09:25:07 artemis postfix/smtpd[23473]: maps_find: virtual_alias_maps: hash:/etc/postfix/virtual(0,100): [EMAIL PROTECTED] = trainings May 25 09:25:07 artemis postfix/smtpd[23473]: mail_addr_find: [EMAIL PROTECTED] -> trainings May 25 09:25:07 artemis postfix/smtpd[23473]: connect to subsystem public/cleanup May 25 09:25:07 artemis postfix/smtpd[23473]: public/cleanup socket: wanted attribute: queue_id May 25 09:25:07 artemis postfix/smtpd[23473]: input attribute name: queue_id May 25 09:25:07 artemis postfix/smtpd[23473]: input attribute value: 528274598 May 25 09:25:07 artemis postfix/smtpd[23473]: public/cleanup socket: wanted attribute: (list terminator) May 25 09:25:07 artemis postfix/smtpd[23473]: input attribute name: (end) May 25 09:25:07 artemis postfix/smtpd[23473]: send attr flags = 50 May 25 09:25:07 artemis postfix/smtpd[23473]: 528274598: client=localhost[127.0.0.1] May 25 09:25:07 artemis postfix/smtpd[23473]: > localhost[127.0.0.1]: 250 Ok May 25 09:25:07 artemis postfix/smtpd[23473]: watchdog_pat: 0x80abea8 May 25 09:25:07 artemis postfix/smtpd[23473]: < localhost[127.0.0.1]: DATA May 25 09:25:07 artemis postfix/smtpd[23473]: > localhost[127.0.0.1]: 354 End data with <CR><LF>.<CR><LF> May 25 09:25:07 artemis postfix/smtpd[23473]: public/cleanup socket: wanted attribute: status May 25 09:25:07 artemis postfix/cleanup[23465]: 528274598: message-id=<[EMAIL PROTECTED]> May 25 09:25:07 artemis postfix/smtpd[23473]: input attribute name: status May 25 09:25:07 artemis postfix/smtpd[23473]: input attribute value: 0 May 25 09:25:07 artemis postfix/smtpd[23473]: public/cleanup socket: wanted attribute: reason May 25 09:25:07 artemis postfix/smtpd[23473]: input attribute name: reason May 25 09:25:07 artemis postfix/smtpd[23473]: input attribute value: (end) May 25 09:25:07 artemis postfix/smtpd[23473]: public/cleanup socket: wanted attribute: (list terminator) May 25 09:25:07 artemis postfix/smtpd[23473]: input attribute name: (end) May 25 09:25:07 artemis postfix/smtpd[23473]: > localhost[127.0.0.1]: 250 Ok: queued as 528274598 May 25 09:25:07 artemis postfix/smtpd[23473]: watchdog_pat: 0x80abea8 May 25 09:25:07 artemis postfix/qmgr[23064]: 528274598: from=<[EMAIL PROTECTED]>, size=1602, nrcpt=1 (queue active) May 25 09:25:07 artemis postfix/smtpd[23473]: < localhost[127.0.0.1]: QUIT May 25 09:25:07 artemis postfix/smtpd[23473]: > localhost[127.0.0.1]: 221 Bye May 25 09:25:07 artemis postfix/smtpd[23473]: disconnect from localhost[127.0.0.1] May 25 09:25:07 artemis postfix/smtpd[23473]: master_notify: status 1 May 25 09:25:07 artemis postfix/smtpd[23473]: connection closed May 25 09:25:07 artemis postfix/smtpd[23473]: watchdog_stop: 0x80abea8 May 25 09:25:07 artemis postfix/smtpd[23473]: watchdog_start: 0x80abea8 May 25 09:25:07 artemis amavis[19210]: (19210-09) Passed, <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, Message-ID: <[EMAIL PROTECTED]>, Hits: -5.445 May 25 09:25:07 artemis amavis[19210]: (19210-09) Passed CLEAN, <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, Hits: -5.445, tag=5, tag2=4, kill=4, L/0/0/0 May 25 09:25:07 artemis amavis[19210]: (19210-09) TIMING [total 11169 ms] - SMTP EHLO: 4 (0%), SMTP pre-MAIL: 0 (0%), SMTP pre-DATA-flush: 2 (0%), SMTP DATA: 39 (0%), body_hash: 0 (0%), mime_decode: 7 (0%), AV-scan-1: 7006 (63%), AV-scan-2: 462 (4%), spam-wb-list: 2 (0%), SA msg read: 1 (0%), SA parse: 1 (0%), SA check: 3370 (30%), update_cache: 1 (0%), fwd-connect: 7 (0%), fwd-mail-from: 3 (0%), fwd-rcpt-to: 180 (2%), write-header: 2 (0%), fwd-data: 0 (0%), fwd-data-end: 67 (1%), fwd-rundown: 2 (0%), main_log_entry: 14 (0%), update_snmp: 0 (0%), unlink-2-files: 1 (0%), rundown: 0 (0%) May 25 09:25:07 artemis postfix/smtp[23470]: 312DA40BE: to=<[EMAIL PROTECTED]>, relay=localhost[127.0.0.1], delay=12, status=sent (250 2.6.0 Ok, id=19210-09, from MTA: 250 Ok: queued as 528274598) May 25 09:25:07 artemis postfix/qmgr[23064]: 312DA40BE: removed May 25 09:25:07 artemis postfix/local[23505]: 528274598: to=<[EMAIL PROTECTED]>, relay=local, delay=0, status=sent (delivered to command: /usr/lib/mailman/mail/mailman post trainings) May 25 09:25:07 artemis postfix/qmgr[23064]: 528274598: removed Donc ca envoie bien le mail vers le wrapper mailman. Ensuite, plus rien dans les logs de postfix pour une eventuelle connexion de mailman lors de l'appel a SMTPDirect. Pour cette liste j'ai mis le post en moderation, ce qui me permet de verifier le timestamp d'un log, donc apres approval: Dans le log de mailman (smtp): May 25 09:52:11 2005 (25008) <[EMAIL PROTECTED]> smtp for 1 recips, completed in 0.006 seconds May 25 09:52:11 2005 (25008) <[EMAIL PROTECTED]> smtp for 1 recips, completed in 0.013 seconds May 25 09:52:45 2005 (25008) <[EMAIL PROTECTED]> smtp for 2 recips, completed in 0.006 seconds May 25 09:52:45 2005 (25008) <[EMAIL PROTECTED]> smtp for 1 recips, completed in 0.006 seconds Dans smtp-failure: May 25 09:52:11 2005 (25008) Low level smtp error: (-2, 'Name or service not known'), msgid: <[EMAIL PROTECTED]> May 25 09:52:11 2005 (25008) delivery to [EMAIL PROTECTED] failed with code -1: (-2, 'Name or service not known') May 25 09:52:11 2005 (25008) Low level smtp error: (-2, 'Name or service not known'), msgid: <[EMAIL PROTECTED]> May 25 09:52:11 2005 (25008) delivery to [EMAIL PROTECTED] failed with code -1: (-2, 'Name or service not known') May 25 09:52:45 2005 (25008) Low level smtp error: (-2, 'Name or service not known'), msgid: <[EMAIL PROTECTED]> May 25 09:52:45 2005 (25008) delivery to [EMAIL PROTECTED] failed with code -1: (-2, 'Name or service not known') May 25 09:52:45 2005 (25008) delivery to [EMAIL PROTECTED] failed with code -1: (-2, 'Name or service not known') May 25 09:52:45 2005 (25008) Low level smtp error: (-2, 'Name or service not known'), msgid: <[EMAIL PROTECTED]> May 25 09:52:45 2005 (25008) delivery to [EMAIL PROTECTED] failed with code -1: (-2, 'Name or service not known') Toujours ce message super informatif qui semble venir de postfix... On Wed, 25 May 2005, Xavier Renard wrote: > Salut Vincent, > > Vincent Jamart wrote: > > >Hello > > > >Avec postfix en debug, j'ai ca: > >May 24 15:48:26 artemis postfix/smtpd[25076]: >>> CHECKING RECIPIENT MAPS > ><<< > >May 24 15:48:26 artemis postfix/smtpd[25076]: ctable_locate: move existing > >entry key [EMAIL PROTECTED] > >May 24 15:48:26 artemis postfix/smtpd[25076]: maps_find: > >recipient_canonical_maps: [EMAIL PROTECTED]: not found > >May 24 15:48:26 artemis postfix/smtpd[25076]: maps_find: > >recipient_canonical_maps: announces: not found > >May 24 15:48:26 artemis postfix/smtpd[25076]: maps_find: > >recipient_canonical_maps: @relay.fft.be: not found > >May 24 15:48:26 artemis postfix/smtpd[25076]: mail_addr_find: > >[EMAIL PROTECTED] -> (not found) > > > > > > > ici, c'est normal car announces n'est pas dans le canonical_maps. > Dans les lignes suivantes, tu devrais avoir plus d'info > > >Dans smtp-failure: > >May 24 15:48:28 2005 (25008) Low level smtp error: (-2, 'Name or service > >not known'), msgid: <[EMAIL PROTECTED]> > >May 24 15:48:28 2005 (25008) delivery to [EMAIL PROTECTED] failed with > >code -1: (-2, 'Name or service not known') > >May 24 15:48:28 2005 (25008) Low level smtp error: (-2, 'Name or service > >not known'), msgid: <[EMAIL PROTECTED]> > >May 24 15:48:28 2005 (25008) delivery to [EMAIL PROTECTED] > >failed with code -1: (-2, 'Name or service not known') > > > > > > > cfr. plus bas > > >mon postfix: > >myhostname = relay.fft.be > >mydomain = fft.be > >myorigin = $myhostname > >inet_interfaces = all > >mydestination = $myhostname, localhost.$mydomain, localhost, > >hash:/etc/postfix/local_domain > > > > > Ici, j'imagine que ttf.be n'est pas dans ce fichier > > >mynetworks = 10.0.0.0/32, 192.168.0.0/32, 192.168.1.0/32, 192.168.2.0/32, > >192.168.3.0/32, 127.0.0.0/8, localhost > >relay_domains = hash:/etc/postfix/relay_domains > >transport_maps = hash:/etc/postfix/transport > >local_recipient_maps = $alias_maps unix:passwd.byname > >alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases > >alias_maps = $alias_database > >(...ssl+sasl config) > >#specific for mailman: > >owner_request_special = no > >recipient_delimiter = + > >unknown_local_recipient_reject_code = 550 > >virtual_alias_maps = hash:/etc/postfix/virtual > >(...spam/virii config) > >content_filter = smtp:localhost:10025 > > > >transport: > >#send @fft and @fft.be to the MZ mailserver. @relay.fft.be are local > >fft.be smtp:mail.fft > >fft smtp:mail.fft > > > > > > > Ici,ça peut coincer car il va faire un lookup MX. > Pour éviter cela, il faut mettre le nom entre crochet > fft.be smtp:[mail.fft] > > notes que ,comme tu as mis ttf.be, dans relay_domains. > Tu aurais pu l'écrire comme: > fft.be relay:[mail.fft] > > Perso, chez nous, j'ai préféré mettre l'adresse ip (comme c'est une > adresse ip, il faut aussi la mettre entre crochet) > fft.be relay:[192.168.XXX.XXX] > > Xavier > _______________________________________________________ > Linux Mailing List - http://www.unixtech.be > Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux > Archives: http://www.mail-archive.com/linux@lists.unixtech.be > IRC: chat.unixtech.be:6667 - #unixtech > NNTP: news.gname.org - gmane.org.user-groups.linux.unixtech > _______________________________________________________ Linux Mailing List - http://www.unixtech.be Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux Archives: http://www.mail-archive.com/linux@lists.unixtech.be IRC: chat.unixtech.be:6667 - #unixtech NNTP: news.gname.org - gmane.org.user-groups.linux.unixtech