Delivery Notification: Delivery has failed
807574May 6 2004 — edited Feb 20 2020Hi,
I'm Having this message for a lot of mail send by users from my server
Delivery Notification: Delivery has failed
This is the imsimta test -rewrite -debug
Initializing mm_.
Initializing mm_ submission.
Checking identifiers.
*** Debug output from initializing MM for submission:
16:01:44.11: mmc_winit('l','postmaster@imssrv.loisirquebec.org','0HXB002026AW8Q@imssrv.loisirquebec.org') called.
16:01:44.11: Queue area size 7390164, temp area size 7390164
16:01:44.11: 1847541 blocks of effective free queue space available; setting disk limit accordingly.
16:01:44.11: Rewriting: Mbox = "postmaster", host = "imssrv.loisirquebec.org", domain = "$*", literal = "", tag = ""
16:01:44.11: Rewrite: "$*", position 0, hash table -
16:01:44.11: Found: "$E$F$U%$H@imssrv.loisirquebec.org$V$H"
16:01:44.11: Rewrite failed, not forward.
16:01:44.11: Rewrite: "$*", position 1, hash table -
16:01:44.11: Failed.
16:01:44.11: Rewrite: "$*", position 0, rewrite database -
16:01:44.11: Failed
16:01:44.11: Rewriting: Mbox = "postmaster", host = "imssrv", domain = "imssrv.loisirquebec.org", literal = "", tag = ""
16:01:44.11: Rewrite: "imssrv.loisirquebec.org", position 0, hash table -
16:01:44.11: Found: "$U%$D@imssrv.loisirquebec.org"
16:01:44.11: New mailbox: "postmaster".
16:01:44.11: New host: "imssrv.loisirquebec.org".
16:01:44.11: New route: "imssrv.loisirquebec.org".
16:01:44.11: New channel system: "imssrv.loisirquebec.org".
16:01:44.11: Looking up host "imssrv.loisirquebec.org".
16:01:44.12: - found on channel l
16:01:44.12: Routelocal flag set; scanning for % and !
16:01:44.12: Rewriting: Mbox = "postmaster", host = "imssrv.loisirquebec.org", domain = "$*", literal = "", tag = ""
16:01:44.12: Rewrite: "$*", position 0, hash table -
16:01:44.12: Found: "$E$F$U%$H@imssrv.loisirquebec.org$V$H"
16:01:44.12: Rewrite failed, not forward.
16:01:44.12: Rewrite: "$*", position 1, hash table -
16:01:44.12: Failed.
16:01:44.12: Rewrite: "$*", position 0, rewrite database -
16:01:44.12: Failed
16:01:44.12: Rewriting: Mbox = "postmaster", host = "imssrv", domain = "imssrv.loisirquebec.org", literal = "", tag = ""
16:01:44.12: Rewrite: "imssrv.loisirquebec.org", position 0, hash table -
16:01:44.12: Found: "$U%$D@imssrv.loisirquebec.org"
16:01:44.12: New mailbox: "postmaster".
16:01:44.12: New host: "imssrv.loisirquebec.org".
16:01:44.12: New route: "imssrv.loisirquebec.org".
16:01:44.12: New channel system: "imssrv.loisirquebec.org".
16:01:44.12: Looking up host "imssrv.loisirquebec.org".
16:01:44.12: - found on channel l
16:01:44.12: Routelocal flag set; scanning for % and !
16:01:44.12: Mapped return address: postmaster@imssrv.loisirquebec.org
***
*** Debug output from rewriting a forward header address:
16:01:44.12: Rewriting: Mbox = "djillali", host = "loisirquebec.qc.ca", domain = "$*", literal = "", tag = ""
16:01:44.12: Rewrite: "$*", position 0, hash table -
16:01:44.12: Found: "$E$F$U%$H@imssrv.loisirquebec.org$V$H"
16:01:44.12: Rewrite failed, not envelope.
16:01:44.12: Rewrite: "$*", position 1, hash table -
16:01:44.12: Failed.
16:01:44.12: Rewrite: "$*", position 0, rewrite database -
16:01:44.12: Failed
16:01:44.12: Rewriting: Mbox = "djillali", host = "loisirquebec", domain = "loisirquebec.qc.ca", literal = "", tag = ""
16:01:44.12: Rewrite: "loisirquebec.qc.ca", position 0, hash table -
16:01:44.12: Failed.
16:01:44.12: Rewrite: "loisirquebec.qc.ca", position 0, rewrite database -
16:01:44.12: Failed
16:01:44.12: Rewriting: Mbox = "djillali", host = "loisirquebec", domain = ".qc.ca", literal = "", tag = ""
16:01:44.12: Rewrite: "*.qc.ca", position 0, hash table -
16:01:44.12: Failed
16:01:44.12: Rewrite: ".qc.ca", position 0, hash table -
16:01:44.12: Failed.
16:01:44.12: Rewrite: ".qc.ca", position 0, rewrite database -
16:01:44.12: Failed
16:01:44.12: Rewriting: Mbox = "djillali", host = "loisirquebec.qc", domain = ".ca", literal = "", tag = ""
16:01:44.12: Rewrite: "*.*.ca", position 0, hash table -
16:01:44.12: Failed
16:01:44.12: Rewrite: ".ca", position 0, hash table -
16:01:44.12: Found: "$U%$H$D@TCP-DAEMON"
16:01:44.12: New mailbox: "djillali".
16:01:44.12: New host: "loisirquebec.qc.ca".
16:01:44.12: New route: "TCP-DAEMON".
16:01:44.12: New channel system: "TCP-DAEMON".
16:01:44.12: Looking up host "TCP-DAEMON".
16:01:44.12: - found on channel tcp_local
16:01:44.12: Rewrite rules result: djillali@loisirquebec.qc.ca
16:01:44.12: Checking reverse URL cache for: djillali@loisirquebec.qc.ca
16:01:44.14: Applying reverse URL pattern ldap:///$V?mail?sub?$Q to: djillali@loisirquebec.qc.ca
16:01:44.19: Resulting URL: ldap:///o%3Dloisirquebec.qc.ca%2Co%3Disp?mail?sub?(|(mail=djillali@loisirquebec.qc.ca)(mailAlternateAddress=djillali@loisirquebec.qc.ca))
16:01:44.19: mmc_open_url called to open ldap:///o%3Dloisirquebec.qc.ca%2Co%3Disp?mail?sub?(|(mail=djillali@loisirquebec.qc.ca)(mailAlternateAddress=djillali@loisirquebec.qc.ca)), flags = 256
16:01:44.19: URL with quotes stripped: ldap:///o%3Dloisirquebec.qc.ca%2Co%3Disp?mail?sub?(|(mail=djillali@loisirquebec.qc.ca)(mailAlternateAddress=djillali@loisirquebec.qc.ca))
16:01:44.19: LDAP URL identified
16:01:44.19: URL context #1 will be used
16:01:44.19: Performing URL search on: ldap:///o%3Dloisirquebec.qc.ca%2Co%3Disp?mail?sub?(|(mail=djillali@loisirquebec.qc.ca)(mailAlternateAddress=djillali@loisirquebec.qc.ca))
16:01:44.21: mmc_read_url result: dkhadraoui@loisirquebec.qc.ca
16:01:44.21: URL resolution returned: dkhadraoui@loisirquebec.qc.ca
***
forward channel = l
channel description =
channel user filter =
dest channel filter =
source channel filter =
channel flags #0 = BIDIRECTIONAL MULTIPLE IMMNONURGENT NOSERVICEALL
channel flags #1 = NOSMTP DEFAULT
channel flags #2 = COPYSENDPOST COPYWARNPOST POSTHEADONLY HEADERINC NOEXPROUTE
channel flags #3 = NOLOGGING NOGREY NORESTRICTED RETAINSECURITMULTIPARTS
channel flags #4 = EIGHTBIT NOHEADERTRIM NOHEADERREAD RULES
channel flags #5 =
channel flags #6 = LOCALUSER REPORTHEADER
channel flags #7 = NOSWITCHCHANNEL NOREMOTEHOST DATEFOUR DAYOFWEEK
channel flags #8 = NODEFRAGMENT EXQUOTA REVERSE NOCONVERT_OCTET_STREAM
channel flags #9 = NOTHURMAN INTERPRETENCODING USEINTERMEDIATE RECEIVEDFROM VALIDATELOCALSYSTEM NOTURN
defaulthost = loisirquebec.org loisirquebec.org
linelength = 1023
channel env addr type = SOURCEROUTE
channel hdr addr type = SOURCEROUTE
channel official host = imssrv.loisirquebec.org
channel queue 0 name = LOCAL_POOL
channel queue 1 name = LOCAL_POOL
channel queue 2 name = LOCAL_POOL
channel queue 3 name = LOCAL_POOL
channel after params =
channel user name =
urgentnotices = 1 2 4 7
normalnotices = 1 2 4 7
nonurgentnotices = 1 2 4 7
channel rightslist ids =
local behavior flags = %x7
backward channel = tcp_local
header To: address = dkhadraoui@loisirquebec.qc.ca
header From: address = dkhadraoui@loisirquebec.qc.ca
envelope To: address = djillali@loisirquebec.qc.ca (route (imssrv.loisirquebec.org,imssrv.loisirquebec.org)) (host loisirquebec.qc.ca)
envelope From: address = djillali@loisirquebec.qc.ca
name =
mbox = djillali
Extracted address action list:
djillali@loisirquebec.qc.ca
Extracted 733 address action list:
djillali@loisirquebec.qc.ca
Address list expansion:
dkhadraoui%loisirquebec.qc.ca@ims-ms-daemon
1 expansion total.
*** Debug output from submitting an envelope address:
16:01:44.26: mmc_wadr(0x00060d38,'djillali@loisirquebec.qc.ca','djillali@loisirquebec.qc.ca') called.
16:01:44.26: Copy estimate before address addition is 1
16:01:44.26: Parsing address djillali@loisirquebec.qc.ca
16:01:44.26: Rewriting: Mbox = "djillali", host = "loisirquebec.qc.ca", domain = "$*", literal = "", tag = ""
16:01:44.26: Rewrite: "$*", position 0, hash table -
16:01:44.26: Found: "$E$F$U%$H@imssrv.loisirquebec.org$V$H"
16:01:44.26: Match, pattern = "loisirquebec.qc.ca", current = "(*domaincheck*)"
16:01:44.26: old state = not checked.
16:01:44.26: Using result 1 from domain match cache.
16:01:44.26: new state = succeeded.
16:01:44.26: New mailbox: "djillali".
16:01:44.26: New host: "loisirquebec.qc.ca".
16:01:44.26: New route: "imssrv.loisirquebec.org".
16:01:44.26: New channel system: "imssrv.loisirquebec.org".
16:01:44.26: Looking up host "imssrv.loisirquebec.org".
16:01:44.26: - found on channel l
16:01:44.26: Routelocal flag set; scanning for % and !
16:01:44.26: Address djillali@loisirquebec.qc.ca requires local processing.
16:01:44.27: Variant #1 = djillali@loisirquebec.qc.ca
16:01:44.27: Variant #2 = *@loisirquebec.qc.ca
16:01:44.27: Checking for djillali@loisirquebec.qc.ca in the system alias file
16:01:44.27: - not found
16:01:44.27: Checking for *@loisirquebec.qc.ca in the system alias file
16:01:44.27: - not found
16:01:44.27: Checking djillali@loisirquebec.qc.ca with URL template ldap:///$V?*?sub?$R
16:01:44.27: LDAP URL template identified
16:01:44.27: URL determined to be: ldap:///o%3Dloisirquebec.qc.ca%2Co%3Disp?*?sub?(|(mail=djillali@loisirquebec.qc.ca)(mailAlternateAddress=djillali@loisirquebec.qc.ca)(mailEquivalentAddress=djillali@loisirquebec.qc.ca))
16:01:44.27: URL context #1 will be used
16:01:44.27: Using cached LDAP result for URL info: ldap:///$V?*?sub?$R|djillali@loisirquebec.qc.ca|djillali@loisirquebec.qc.ca
16:01:44.27: Scanning LDAP result.
16:01:44.27: Attribute: objectclass
16:01:44.27: Attribute index: 0
16:01:44.27: Attribute: inetuserstatus
16:01:44.27: Attribute index: 1
16:01:44.27: Attribute: mailuserstatus
16:01:44.27: Attribute index: 2
16:01:44.27: Attribute: uid
16:01:44.27: Attribute index: 4
16:01:44.27: Attribute: mail
16:01:44.27: Attribute index: 5
16:01:44.27: Attribute: mailAlternateAddress
16:01:44.27: Attribute index: 6
16:01:44.27: Attribute: mailhost
16:01:44.27: Attribute index: 9
16:01:44.27: Attribute: mailDeliveryOption
16:01:44.27: Attribute index: 18
16:01:44.27: Attribute: preferredLanguage
16:01:44.27: Attribute index: 42
16:01:44.27: Scanning complete, begin actions
16:01:44.27: Object class: top
16:01:44.27: Object class: person
16:01:44.27: Object class: organizationalPerson
16:01:44.27: Object class: inetOrgPerson
16:01:44.27: Object class: inetUser
16:01:44.27: Object class: ipUser
16:01:44.27: Object class: nsManagedPerson
16:01:44.27: Object class: userPresenceProfile
16:01:44.27: Object class: inetMailUser
16:01:44.27: Object class: inetLocalMailRecipient
16:01:44.27: User status = active
16:01:44.27: Mail user status = active
16:01:44.27: User UID dkhadraoui found.
16:01:44.27: Processing mailhost attribute imssrv.loisirquebec.org
16:01:44.27: Mailhost references local system
16:01:44.27: Delivery option: mailbox
16:01:44.27: Delivery options value: 1
16:01:44.27: No reprocess flag on user, processing now
16:01:44.27: Status for this entry = 1
16:01:44.27: - URL match for djillali@loisirquebec.qc.ca
16:01:44.27: Delivery option template: $M%$\$2I$_+$2S@ims-ms-daemon
16:01:44.27: - dkhadraoui%loisirquebec.qc.ca@ims-ms-daemon
16:01:44.27: Parsing address dkhadraoui%loisirquebec.qc.ca@ims-ms-daemon
16:01:44.27: Rewriting: Mbox = "dkhadraoui%loisirquebec.qc.ca", host = "ims-ms-daemon", domain = "$*", literal = "", tag = ""
16:01:44.28: Rewrite: "$*", position 0, hash table -
16:01:44.28: Found: "$E$F$U%$H@imssrv.loisirquebec.org$V$H"
16:01:44.28: Match, pattern = "ims-ms-daemon", current = "(*domaincheck*)"
16:01:44.28: old state = not checked.
16:01:44.28: Using result 0 from domain match cache.
16:01:44.28: new state = fail pending.
16:01:44.28: Rewrite failed due to channel mismatch.
16:01:44.28: Rewrite: "$*", position 1, hash table -
16:01:44.28: Failed.
16:01:44.28: Rewrite: "$*", position 0, rewrite database -
16:01:44.28: Failed
16:01:44.28: Rewriting: Mbox = "dkhadraoui%loisirquebec.qc.ca", host = "ims-ms-daemon", domain = "ims-ms-daemon", literal = "", tag = ""
16:01:44.28: Rewrite: "ims-ms-daemon", position 0, hash table -
16:01:44.28: Failed.
16:01:44.28: Rewrite: "ims-ms-daemon", position 0, rewrite database -
16:01:44.28: Failed
16:01:44.28: Looking up host "ims-ms-daemon".
16:01:44.28: - found on channel ims-ms
16:01:44.28: - orig_send_access mapping check: l|postmaster@imssrv.loisirquebec.org|l|djillali@loisirquebec.qc.ca
16:01:44.28: - passed.
16:01:44.28: - send_access mapping check: l|postmaster@imssrv.loisirquebec.org|ims-ms|dkhadraoui%loisirquebec.qc.ca@ims-ms-daemon
16:01:44.28: - passed.
16:01:44.28: - adding address dkhadraoui%loisirquebec.qc.ca@ims-ms-daemon to channel ims-ms
16:01:44.28: - adding address djillali@loisirquebec.qc.ca to headers.
16:01:44.28: Copy estimate after address addition is 2
***
Expanded address:
djillali@loisirquebec.qc.ca
Submitted address list:
ims-ms
dkhadraoui%loisirquebec.qc.ca@ims-ms-daemon (orig djillali@loisirquebec.qc.ca, inter djillali@loisirquebec.qc.ca, host ims-ms-daemon) NOTIFY-FAILURES NOTIFY-DELAYS
Submitted notifications list:
Thanks