I'm going to guess that you have the DNS part handled already, and want to add the domain to Messaging Server.
Please have a look at your documentation for
commadmin domain create
http://docs.sun.com/app/docs/doc/819-2658/6n4uc226h?a=view#acfel
you can also do this through the Delegated Admin utility.
Yes, i want multiple domain in my messaging server, my old domain:abc.com, now i have add a new domain (def.com) in DA, and add new users in the new domain, i also resolve my mail server IP to def.com , but the new domain's users can't receive and send mail now.
the abc.com domain's users work fine.
bash-3.00# ./commadmin domain modify -S mail -H mail.def.com
Enter login ID: linlin
Enter login password: linlin
Invalid value for login ID: linlin
Invalid value for login password
Invalid value for login domain: def.com
Failed! can you tell me how to add a new domain? thanks!
> bash-3.00# ./commadmin domain modify -S mail -H
> mail.def.com
> Enter login ID: linlin
> Enter login password: linlin
> Invalid value for login ID: linlin
> Invalid value for login password
> Invalid value for login domain: def.com
>
> Failed! can you tell me how to add a new domain?
> thanks!
from the manual:
commadmin domain create -D chris -d florizel.com -n sesta.com -w bolton \
-S mail,cal -H mailhost.sesta.com
http://docs.sun.com/app/docs/doc/819-2658/6n4uc226h?q=commadmin&a=view
Try:
commadmin domain create -D amadmin -d mynewdomain.com -n principal.domain.com -w amadminpasswd -S mail,cal -H my.mailserver.com
Ram
> Hi,
>
> When running this command I used the admin user
> e.g.:
>
> ./commadmin domain modify -S mail -H mail.def.com
> Enter login ID: admin
> Enter login password: ********
> dns domain name: def.com
>
> Regards,
>
> Shane.
Yes Shane is admin user, did you see my other post about copy messages to one mail address?
Ram
> Now, it is important that the users in the new
> domain--def.com can't
>
> send or receive mail, the server warning:
> Authentication failed , Error
>
> NO: 0x800CCC92."password" rejected.
>
> i don't know where i have mistake configuration
Use DA web console or commadmin CLI to setup users and login to the WEbMail Interface using the login user@def.com and the password for that user.
Ram
when i run this command:
./commadmin domain modify -S mail -H <default mailhost>
it prints:OK
but when i run next command:
./imsimta test -rewrite tt@def.com
it prints list :
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 RETAINSECURITYMULTIPARTS
channel flags #4= EIGHTBIT NOHEADERTRIM NOHEADERREAD RULES
channel flags #5=
channel flags #6= LOCALUSER REPORTNOTARY
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= abc.com abc.com
linelength = 1023
channel env addr type = SOURCEROUTE
channel hdr addr type = SOURCEROUTE
channel official host = mail.abc.com
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
expandchannel =
notificationchannel=
dispositionchannel=
saslswitchchannel=
tlsswitchchannel=
backward channel= tcp_local
header To: address= tt@def.com
header From: address= tt@def.com
envelope To: address= tt@def.com (route (mail.abc.com,mail.abc.com)) (host def.com)
envelope From: address = tt@def.com
name=
mbox= tt
Extracted address action list:
tt@def.com
Extracted 733 address action list:
tt@def.com
Address list expansion:
@mail.def.com:tt@def.com
1 expansion total.
Expanded address:
tt@def.com
Submitted address list:
tcp_local
@mail.def.com:tt@def.com(orig tt@def.com, host mail.def.com) *NOTIFY-FAILURES* *NOTIFY-DELAYS*
Can you tell me what it is means?
Now ,the new domain(def.com)'s user can not send or receive mail.
when i run this command:
./commadmin domain modify -S mail -H <default mailhost>
it prints:OK
but when i run next command:
./imsimta test -rewrite tt@def.com
it prints list :
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 RETAINSECURITYMULTIPARTS
channel flags #4= EIGHTBIT NOHEADERTRIM NOHEADERREAD RULES
channel flags #5=
channel flags #6= LOCALUSER REPORTNOTARY
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= abc.com abc.com
linelength = 1023
channel env addr type = SOURCEROUTE
channel hdr addr type = SOURCEROUTE
channel official host = mail.abc.com
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
expandchannel =
notificationchannel=
dispositionchannel=
saslswitchchannel=
tlsswitchchannel=
backward channel= tcp_local
header To: address= tt@def.com
header From: address= tt@def.com
envelope To: address= tt@def.com (route (mail.abc.com,mail.abc.com)) (host def.com)
envelope From: address = tt@def.com
name=
mbox= tt
Extracted address action list:
tt@def.com
Extracted 733 address action list:
tt@def.com
Address list expansion:
@mail.def.com:tt@def.com
1 expansion total.
Expanded address:
tt@def.com
Submitted address list:
tcp_local
@mail.def.com:tt@def.com(orig tt@def.com, host mail.def.com) *NOTIFY-FAILURES* *NOTIFY-DELAYS*
Can you tell me what it is means?
Now ,the new domain(def.com)'s user can not send or receive mail.
bash-3.00# ./imsimta test -rewrite -debug qq@def.com
Initializing mm_.
Initializing mm_ submission.
Checking identifiers.
*** Debug output from initializing MM for submission:
10:30:09.45: Debug output enabled, message enqueue routines version V6.2-3.04 compiled Jul 15 200501:33:07
10:30:09.45: mmc_winit('l','postmaster@mail.abc.com','0J8N00402DM9XP00@mail.abc.com') called.
10:30:09.45: Queue area size 112181494, temp area size 5429318
10:30:09.45:28045373 blocks of effective free queue space available; setting disk limit accordingly.
10:30:09.45:2714659 blocks of free temporary space available; setting disk limit accordingly.
10:30:09.45: Rewriting: Mbox = "postmaster", host = "mail.abc.com", domain = "$*", literal = "", tag = ""
10:30:09.45: Rewrite: "$*", position 0, hash table -
10:30:09.45:Found: "$A$E$F$U%$H$V$H@mail.abc.com"
10:30:09.45:Rewrite failed, not forward.
10:30:09.45: Rewrite: "$*", position 1, hash table -
10:30:09.45:Failed.
10:30:09.45: Rewrite: "$*", position 0, rewrite database -
10:30:09.45:Failed
10:30:09.45: Rewriting: Mbox = "postmaster", host = "mail", domain = "mail.abc.com", literal = "", tag = ""
10:30:09.45: Rewrite: "mail.abc.com", position 0, hash table -
10:30:09.45:Found: "$U%$D@mail.abc.com"
10:30:09.45:New mailbox: "postmaster".
10:30:09.45:New host: "mail.abc.com".
10:30:09.45:New route: "mail.abc.com".
10:30:09.45:New channel system: "mail.abc.com".
10:30:09.45: Looking up host "mail.abc.com".
10:30:09.45:- found on channel l
10:30:09.45: Routelocal flag set; scanning for % and !
10:30:09.45:Checking reverse URL cache for: postmaster@mail.abc.com
10:30:09.45:Applying reverse URL pattern ldap:///$V?$N?sub?$R to: postmaster@mail.abc.com
10:30:09.45:URL generation failed, status = 0
10:30:09.45:Mapped return address: postmaster@mail.abc.com
10:30:09.45:from_access mapping check: ||MAIL|l|postmaster@mail.abc.com|
10:30:09.45:- passed.
10:30:09.45: Rewriting: Mbox = "postmaster", host = "mail.abc.com", domain = "$*", literal = "", tag = ""
10:30:09.45: Rewrite: "$*", position 0, hash table -
10:30:09.45:Found: "$A$E$F$U%$H$V$H@mail.abc.com"
10:30:09.45:Rewrite failed, not forward.
10:30:09.45: Rewrite: "$*", position 1, hash table -
10:30:09.45:Failed.
10:30:09.45: Rewrite: "$*", position 0, rewrite database -
10:30:09.45:Failed
10:30:09.45: Rewriting: Mbox = "postmaster", host = "mail", domain = "mail.abc.com", literal = "", tag = ""
10:30:09.45: Rewrite: "mail.abc.com", position 0, hash table -
10:30:09.45:Found: "$U%$D@mail.abc.com"
10:30:09.45:New mailbox: "postmaster".
10:30:09.45:New host: "mail.abc.com".
10:30:09.45:New route: "mail.abc.com".
10:30:09.45:New channel system: "mail.abc.com".
10:30:09.45: Looking up host "mail.abc.com".
10:30:09.45:- found on channel l
10:30:09.45: Routelocal flag set; scanning for % and !
***
*** Debug output from rewriting a forward header address:
10:30:09.45: Rewriting: Mbox = "qq", host = "def.com", domain = "$*", literal = "", tag = ""
10:30:09.45: Rewrite: "$*", position 0, hash table -
10:30:09.45:Found: "$A$E$F$U%$H$V$H@mail.abc.com"
10:30:09.45:Rewrite failed, not envelope.
10:30:09.45: Rewrite: "$*", position 1, hash table -
10:30:09.45:Failed.
10:30:09.45: Rewrite: "$*", position 0, rewrite database -
10:30:09.45:Failed
10:30:09.45: Rewriting: Mbox = "qq", host = "def", domain = "def.com", literal = "", tag = ""
10:30:09.45: Rewrite: "def.com", position 0, hash table -
10:30:09.45:Failed.
10:30:09.45: Rewrite: "def.com", position 0, rewrite database -
10:30:09.45:Failed
10:30:09.45: Rewriting: Mbox = "qq", host = "def", domain = ".com.cn", literal = "", tag = ""
10:30:09.45: Rewrite: "*.com.cn", position 0, hash table -
10:30:09.45:Failed
10:30:09.45: Rewrite: ".com.cn", position 0, hash table -
10:30:09.45:Failed.
10:30:09.45: Rewrite: ".com.cn", position 0, rewrite database -
10:30:09.45:Failed
10:30:09.45: Rewriting: Mbox = "qq", host = "def.com", domain = ".cn", literal = "", tag = ""
10:30:09.45: Rewrite: "*.*.cn", position 0, hash table -
10:30:09.45:Failed
10:30:09.45: Rewrite: ".cn", position 0, hash table -
10:30:09.45:Found: "$U%$H$D@TCP-DAEMON"
10:30:09.45:New mailbox: "qq".
10:30:09.45:New host: "def.com".
10:30:09.45:New route: "TCP-DAEMON".
10:30:09.45:New channel system: "TCP-DAEMON".
10:30:09.45: Looking up host "TCP-DAEMON".
10:30:09.45:- found on channel tcp_local
10:30:09.45:Rewrite rules result: qq@def.com
10:30:09.45:Checking reverse URL cache for: qq@def.com
10:30:09.45:Applying reverse URL pattern ldap:///$V?$N?sub?$R to: qq@def.com
10:30:09.46:Resulting URL: ldap:///o%3Ddef.com%2Cdc%3Dabc%2Cdc%3Dcom%2Cdc%3Dcn?preferredlanguage,mail,mail equivalentaddress?sub?(|(mail=qq@def.com)(mailAlternateAddress=qq@def.com)(mailE quivalentAddress=qq@def.com))
10:30:09.46: mmc_open_url called to open ldap:///o%3Ddef.com%2Cdc%3Dabc%2Cdc%3Dcom%2Cdc%3Dcn?preferredlanguage,mail,mail equivalentaddress?sub?(|(mail=qq@def.com)(mailAlternateAddress=qq@def.com)(mailE quivalentAddress=qq@def.com)), flags = 384
10:30:09.46:URL with quotes stripped: ldap:///o%3Ddef.com%2Cdc%3Dabc%2Cdc%3Dcom%2Cdc%3Dcn?preferredlanguage,mail,mail equivalentaddress?sub?(|(mail=qq@def.com)(mailAlternateAddress=qq@def.com)(mailE quivalentAddress=qq@def.com))
10:30:09.46:LDAP URL identified
10:30:09.46: URL context #1 will be used
10:30:09.46:Performing URL search on: ldap:///o%3Ddef.com%2Cdc%3Dabc%2Cdc%3Dcom%2Cdc%3Dcn?preferredlanguage,mail,mail equivalentaddress?sub?(|(mail=qq@def.com)(mailAlternateAddress=qq@def.com)(mailE quivalentAddress=qq@def.com))
10:30:09.47: mmc_read_url result: [uid=qq,ou=People,o=def.com,dc=abc,dc=com]
10:30:09.47:URL resolution returned: [uid=qq,ou=People,o=def.com,dc=abc,dc=com]
10:30:09.47: mmc_read_url result: [preferredlanguage] en
10:30:09.47:URL resolution returned: [preferredlanguage] en
10:30:09.47:Attribute index: 10
10:30:09.47:LDAP URL produced preferred language en
10:30:09.47: mmc_read_url result: [mail] qq@def.com
10:30:09.47:URL resolution returned: [mail] qq@def.com
10:30:09.47:Attribute index: 16
10:30:09.47:LDAP URL produced address qq@def.com
10:30:09.47:No more result to return
***
*** Debug output from rewriting a forward envelope address:
10:30:09.47: Rewriting: Mbox = "qq", host = "def.com", domain = "$*", literal = "", tag = ""
10:30:09.47: Rewrite: "$*", position 0, hash table -
10:30:09.47:Found: "$A$E$F$U%$H$V$H@mail.abc.com"
10:30:09.47:Match, pattern = "def.com", current = "(*domaincheck*)"
10:30:09.47:old state = not checked.
10:30:09.47:Domain check on def.com.
10:30:09.47:Added domain result 1 to cache for def.com.
10:30:09.47:new state = succeeded.
10:30:09.47:New mailbox: "qq".
10:30:09.47:New host: "def.com".
10:30:09.47:New route: "mail.abc.com".
10:30:09.47:New channel system: "mail.abc.com".
10:30:09.47: Looking up host "mail.abc.com".
10:30:09.47:- found on channel l
10:30:09.47: Routelocal flag set; scanning for % and !
***
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 RETAINSECURITYMULTIPARTS
channel flags #4= EIGHTBIT NOHEADERTRIM NOHEADERREAD RULES
channel flags #5=
channel flags #6= LOCALUSER REPORTNOTARY
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= abc.com abc.com
linelength = 1023
channel env addr type = SOURCEROUTE
channel hdr addr type = SOURCEROUTE
channel official host = mail.abc.com
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
expandchannel =
notificationchannel=
dispositionchannel=
saslswitchchannel=
tlsswitchchannel=
backward channel= tcp_local
header To: address= qq@def.com
header From: address= qq@def.com
envelope To: address= qq@def.com (route (mail.abc.com,mail.abc.com)) (host def.com)
envelope From: address = qq@def.com
name=
mbox= qq
Extracted address action list:
qq@def.com
Extracted 733 address action list:
qq@def.com
Address list expansion:
*** Debug output from alias expansion:
10:30:09.47: Inner expand, level = 0, mailbox = qq@def.com
10:30:09.47: Rewriting: Mbox = "qq", host = "def.com", domain = "$*", literal = "", tag = ""
10:30:09.47: Rewrite: "$*", position 0, hash table -
10:30:09.47:Found: "$A$E$F$U%$H$V$H@mail.abc.com"
10:30:09.47:Match, pattern = "def.com", current = "(*domaincheck*)"
10:30:09.47:old state = not checked.
10:30:09.47:Using result 1 from domain match cache.
10:30:09.47:new state = succeeded.
10:30:09.47:New mailbox: "qq".
10:30:09.47:New host: "def.com".
10:30:09.47:New route: "mail.abc.com".
10:30:09.47:New channel system: "mail.abc.com".
10:30:09.47: Looking up host "mail.abc.com".
10:30:09.47:- found on channel l
10:30:09.47: Routelocal flag set; scanning for % and !
10:30:09.47:Reparsed mailbox: qq
10:30:09.47:Reparsed host: def.com
10:30:09.47:Variant #1 = qq@def.com
10:30:09.47:Variant #2 = *@def.com
10:30:09.47:LDAP URL template identified
10:30:09.47:URL determined to be: ldap:///o%3Ddef.com%2Cdc%3Dabc%2Cdc%3Dcom%2Cdc%3Dcn?*?sub?(|(mail=qq@def.com)(m ailAlternateAddress=qq@def.com)(mailEquivalentAddress=qq@def.com))
10:30:09.47:URL context #1 will be used
10:30:09.47:Performing URL search on: ldap:///o%3Ddef.com%2Cdc%3Dabc%2Cdc%3Dcom%2Cdc%3Dcn?objectclass,inetuserstatus, mailuserstatus,inetMailGroupStatus,uid,preferredLanguage,mailRoutingAddress,mail DeliveryOption,mail,mailAlternateAddress,mailEquivalentAddress,vacationStartDate ,vacationEndDate,mailConversionTag,mailMsgMaxBlocks,mailhost,mailQuota,mailMsgQu ota,mailProgramDeliveryInfo,mailDeliveryFileURL,mailDeliveryFile,mailAutoReplyMo de,mailAutoReplySubject,mailAutoReplyText,mailAutoReplyTextInternal,mailAutoRepl yTimeOut,mailSieveRuleSource,mailForwardingAddress,mailDeferProcessing,mgrpMsgRe jectAction,mgrpRejectText,mgrpMsgRejectText,mgrpBroadcasterPolicy,mgrpDisallowed Broadcaster,mgrpAllowedBroadcaster,mgrpDisallowedDomain,mgrpAllowedDomain,mgrpMs gMaxSize,mgrpAuthPassword,mgrpModerator,mgrpDeliverTo,memberURL,UniqueMember,mgr pRFC822MailMember,rfc822MailMember,mgrpErrorsTo,mgrpAddHeader,mgrpRemoveHeader,m grpMsgPrefixText,mgrpMsgSuffixText,mgmanMemberVisibility,expandable?sub?(|(mail= qq@def.com)(mailAlt10:30:09.48:Scanning LDAP result.
10:30:09.48:Attribute: objectclass
10:30:09.48:Attribute index: 0
10:30:09.48:Attribute: inetuserstatus
10:30:09.48:Attribute index: 1
10:30:09.48:Attribute: mailuserstatus
10:30:09.48:Attribute index: 2
10:30:09.48:Attribute: uid
10:30:09.48:Attribute index: 5
10:30:09.48:Attribute: preferredLanguage
10:30:09.48:Attribute index: 10
10:30:09.48:Attribute: mailDeliveryOption
10:30:09.48:Attribute index: 13
10:30:09.48:Attribute: mail
10:30:09.48:Attribute index: 16
10:30:09.48:Attribute: mailhost
10:30:09.48:Attribute index: 30
10:30:09.48:Attribute: mailQuota
10:30:09.48:Attribute index: 31
10:30:09.48:Scanning complete, begin actions
10:30:09.48:Possible user object classes: inetLocalMailRecipient+inetmailuser
10:30:09.48:Possible group object classes: inetLocalMailRecipient+inetmailgroup
10:30:09.48:Object class: userpresenceprofile
10:30:09.48:Object class didn't match
10:30:09.48:Object class: top
10:30:09.48:Object class didn't match
10:30:09.48:Object class: iplanet-am-managed-person
10:30:09.48:Object class didn't match
10:30:09.48:Object class: iplanet-am-user-service
10:30:09.48:Object class didn't match
10:30:09.48:Object class: inetadmin
10:30:09.48:Object class didn't match
10:30:09.48:Object class: organizationalperson
10:30:09.48:Object class didn't match
10:30:09.48:Object class: person
10:30:09.48:Object class didn't match
10:30:09.48:Object class: inetuser
10:30:09.48:Object class didn't match
10:30:09.48:Object class: inetlocalmailrecipient
10:30:09.48:Object class match, reference value 18
10:30:09.48:Object class: iplanetpreferences
10:30:09.48:Object class didn't match
10:30:09.48:Object class: ipuser
10:30:09.48:Object class didn't match
10:30:09.48:Object class: inetorgperson
10:30:09.48:Object class didn't match
10:30:09.48:Object class: inetsubscriber
10:30:09.48:Object class didn't match
10:30:09.48:Object class: inetmailuser
10:30:09.48:Object class match, reference value 1
10:30:09.48:User/group index = 1
10:30:09.48:Domain is active
10:30:09.48:Mail domain is active
10:30:09.48:User status = Active
10:30:09.48:User is active
10:30:09.48:Mail user status = active
10:30:09.48:User is active
10:30:09.48:User UID qq found.
10:30:09.48:Delivery option: mailbox
10:30:09.48:Delivery options value: 1
10:30:09.48:Block limit now: 2147483647
10:30:09.48:Processing mailhost attribute 61.172.245.40
10:30:09.48:Mailhost references remote system.
10:30:09.48:Adding result to cache.
10:30:09.48:Status for this address = -3
10:30:09.48:Initial line address: qq@def.com
10:30:09.48: Inner expand, level = 1, mailbox = @61.172.245.40:qq@def.com
10:30:09.48: Rewriting: Mbox = "qq", host = "61.172.245.40", domain = "$*", literal = "", tag = ""
10:30:09.48: Rewrite: "$*", position 0, hash table -
10:30:09.48:Found: "$A$E$F$U%$H$V$H@mail.abc.com"
10:30:09.48:Rewrite may fail, host not right of @.
10:30:09.48:Match, pattern = "61.172.245.40", current = "(*domaincheck*)"
10:30:09.48:old state = not checked.
10:30:09.48:Domain check on 61.172.245.40.
10:30:09.48:Added domain result 0 to cache for 61.172.245.40.
10:30:09.48:new state = fail pending.
10:30:09.48:Rewrite failed due to prechannel mismatch.
10:30:09.48: Rewrite: "$*", position 1, hash table -
10:30:09.48:Failed.
10:30:09.48: Rewrite: "$*", position 0, rewrite database -
10:30:09.48:Failed
10:30:09.48: Rewriting: Mbox = "qq", host = "61", domain = "61.172.245.40", literal = "", tag = ""
10:30:09.48: Rewrite: "61.172.245.40", position 0, hash table -
10:30:09.48:Failed.
10:30:09.48: Rewrite: "61.172.245.40", position 0, rewrite database -
10:30:09.48:Failed
10:30:09.48: Rewriting: Mbox = "qq", host = "61", domain = ".172.245.40", literal = "", tag = ""
10:30:09.48: Rewrite: "*.172.245.40", position 0, hash table -
10:30:09.48:Failed
10:30:09.48: Rewrite: ".172.245.40", position 0, hash table -
10:30:09.48:Failed.
10:30:09.48: Rewrite: ".172.245.40", position 0, rewrite database -
10:30:09.48:Failed
10:30:09.48: Rewriting: Mbox = "qq", host = "61.172", domain = ".245.40", literal = "", tag = ""
10:30:09.48: Rewrite: "*.*.245.40", position 0, hash table -
10:30:09.48:Failed
10:30:09.48: Rewrite: ".245.40", position 0, hash table -
10:30:09.48:Failed.
10:30:09.48: Rewrite: ".245.40", position 0, rewrite database -
10:30:09.48:Failed
10:30:09.48: Rewriting: Mbox = "qq", host = "61.172.245", domain = ".40", literal = "", tag = ""
10:30:09.48: Rewrite: "*.*.*.40", position 0, hash table -
10:30:09.48:Failed
10:30:09.48: Rewrite: ".40", position 0, hash table -
10:30:09.48:Failed.
10:30:09.48: Rewrite: ".40", position 0, rewrite database -
10:30:09.48:Failed
10:30:09.48: Looking up host "61.172.245.40".
10:30:09.48:- Not found
10:30:09.48: Rewriting: Mbox = "qq", host = "61.172.245.40", domain = ".", literal = "", tag = ""
10:30:09.48: Rewrite: "*.*.*.*", position 0, hash table -
10:30:09.48:Failed
10:30:09.48: Rewrite: ".", position 0, hash table -
10:30:09.48:Failed.
10:30:09.48: Rewrite: ".", position 0, rewrite database -
10:30:09.48:Failed
10:30:09.48: Looking up host "61.172.245.40".
10:30:09.48:- Not found
@61.172.245.40:qq@def.com
***
1 expansion total.
*** Debug output from submitting an envelope address:
10:30:09.48: mmc_wadr(0x085745b0,'qq@def.com','qq@def.com') called.
10:30:09.48: Copy estimate before address addition is 1
10:30:09.48:Parsing address qq@def.com
10:30:09.48: Rewriting: Mbox = "qq", host = "def.com", domain = "$*", literal = "", tag = ""
10:30:09.48: Rewrite: "$*", position 0, hash table -
10:30:09.48:Found: "$A$E$F$U%$H$V$H@mail.abc.com"
10:30:09.48:Match, pattern = "def.com", current = "(*domaincheck*)"
10:30:09.48:old state = not checked.
10:30:09.48:Using result 1 from domain match cache.
10:30:09.48:new state = succeeded.
10:30:09.48:New mailbox: "qq".
10:30:09.48:New host: "def.com".
10:30:09.48:New route: "mail.abc.com".
10:30:09.48:New channel system: "mail.abc.com".
10:30:09.48: Looking up host "mail.abc.com".
10:30:09.48:- found on channel l
10:30:09.48: Routelocal flag set; scanning for % and !
10:30:09.48:Address qq@def.com requires local processing.
10:30:09.48:Variant #1 = qq@def.com
10:30:09.48:Variant #2 = *@def.com
10:30:09.48:Checking for qq@def.com in the system alias file
10:30:09.48:- not found
10:30:09.48:Checking for *@def.com in the system alias file
10:30:09.48:- not found
10:30:09.48:Checking qq@def.com with URL template ldap:///$V?*?sub?$R
10:30:09.48:LDAP URL template identified
10:30:09.48:URL determined to be: ldap:///o%3Ddef.com%2Cdc%3Dabc%2Cdc%3Dcom%2Cdc%3Dcn?*?sub?(|(mail=qq@def.com)(m ailAlternateAddress=qq@def.com)(mailEquivalentAddress=qq@def.com))
10:30:09.48:URL context #1 will be used
10:30:09.48:Using cached LDAP result for URL info: ldap:///$V?*?sub?$R|qq@def.com|qq@def.com
10:30:09.48:Scanning LDAP result.
10:30:09.48:Attribute: objectclass
10:30:09.48:Attribute index: 0
10:30:09.48:Attribute: inetuserstatus
10:30:09.48:Attribute index: 1
10:30:09.48:Attribute: mailuserstatus
10:30:09.48:Attribute index: 2
10:30:09.48:Attribute: uid
10:30:09.48:Attribute index: 5
10:30:09.48:Attribute: preferredLanguage
10:30:09.48:Attribute index: 10
10:30:09.48:Attribute: mailDeliveryOption
10:30:09.48:Attribute index: 13
10:30:09.48:Attribute: mail
10:30:09.48:Attribute index: 16
10:30:09.48:Attribute: mailhost
10:30:09.48:Attribute index: 30
10:30:09.48:Attribute: mailQuota
10:30:09.48:Attribute index: 31
10:30:09.48:Scanning complete, begin actions
10:30:09.48:Possible user object classes: inetLocalMailRecipient+inetmailuser
10:30:09.48:Possible group object classes: inetLocalMailRecipient+inetmailgroup
10:30:09.48:Object class: userpresenceprofile
10:30:09.48:Object class didn't match
10:30:09.48:Object class: top
10:30:09.48:Object class didn't match
10:30:09.48:Object class: iplanet-am-managed-person
10:30:09.48:Object class didn't match
10:30:09.48:Object class: iplanet-am-user-service
10:30:09.48:Object class didn't match
10:30:09.48:Object class: inetadmin
10:30:09.48:Object class didn't match
10:30:09.48:Object class: organizationalperson
10:30:09.48:Object class didn't match
10:30:09.48:Object class: person
10:30:09.48:Object class didn't match
10:30:09.48:Object class: inetuser
10:30:09.48:Object class didn't match
10:30:09.48:Object class: inetlocalmailrecipient
10:30:09.48:Object class match, reference value 18
10:30:09.48:Object class: iplanetpreferences
10:30:09.48:Object class didn't match
10:30:09.48:Object class: ipuser
10:30:09.48:Object class didn't match
10:30:09.48:Object class: inetorgperson
10:30:09.48:Object class didn't match
10:30:09.48:Object class: inetsubscriber
10:30:09.48:Object class didn't match
10:30:09.48:Object class: inetmailuser
10:30:09.48:Object class match, reference value 1
10:30:09.48:User/group index = 1
10:30:09.48:Domain is active
10:30:09.48:Mail domain is active
10:30:09.48:User status = Active
10:30:09.48:User is active
10:30:09.48:Mail user status = active
10:30:09.48:User is active
10:30:09.48:User UID qq found.
10:30:09.48:Delivery option: mailbox
10:30:09.48:Delivery options value: 1
10:30:09.48:Block limit now: 2147483647
10:30:09.48:Processing mailhost attribute 61.172.245.40
10:30:09.48:Mailhost references remote system.
10:30:09.48:Status for this address = -3
10:30:09.48:- URL match for qq@def.com
10:30:09.48:Initial line address: qq@def.com
10:30:09.48:- @61.172.245.40:qq@def.com
10:30:09.48:Parsing address @61.172.245.40:qq@def.com
10:30:09.48: Rewriting: Mbox = "qq", host = "61.172.245.40", domain = "$*", literal = "", tag = ""
10:30:09.48: Rewrite: "$*", position 0, hash table -
10:30:09.48:Found: "$A$E$F$U%$H$V$H@mail.abc.com"
10:30:09.48:Rewrite may fail, host not right of @.
10:30:09.48:Match, pattern = "61.172.245.40", current = "(*domaincheck*)"
10:30:09.48:old state = not checked.
10:30:09.48:Using result 0 from domain match cache.
10:30:09.48:new state = fail pending.
10:30:09.48:Rewrite failed due to prechannel mismatch.
10:30:09.48: Rewrite: "$*", position 1, hash table -
10:30:09.48:Failed.
10:30:09.48: Rewrite: "$*", position 0, rewrite database -
10:30:09.48:Failed
10:30:09.48: Rewriting: Mbox = "qq", host = "61", domain = "61.172.245.40", literal = "", tag = ""
10:30:09.48: Rewrite: "61.172.245.40", position 0, hash table -
10:30:09.48:Failed.
10:30:09.48: Rewrite: "61.172.245.40", position 0, rewrite database -
10:30:09.48:Failed
10:30:09.48: Rewriting: Mbox = "qq", host = "61", domain = ".172.245.40", literal = "", tag = ""
10:30:09.48: Rewrite: "*.172.245.40", position 0, hash table -
10:30:09.48:Failed
10:30:09.48: Rewrite: ".172.245.40", position 0, hash table -
10:30:09.48:Failed.
10:30:09.48: Rewrite: ".172.245.40", position 0, rewrite database -
10:30:09.48:Failed
10:30:09.48: Rewriting: Mbox = "qq", host = "61.172", domain = ".245.40", literal = "", tag = ""
10:30:09.48: Rewrite: "*.*.245.40", position 0, hash table -
10:30:09.48:Failed
10:30:09.48: Rewrite: ".245.40", position 0, hash table -
10:30:09.48:Failed.
10:30:09.48: Rewrite: ".245.40", position 0, rewrite database -
10:30:09.48:Failed
10:30:09.48: Rewriting: Mbox = "qq", host = "61.172.245", domain = ".40", literal = "", tag = ""
10:30:09.48: Rewrite: "*.*.*.40", position 0, hash table -
10:30:09.48:Failed
10:30:09.48: Rewrite: ".40", position 0, hash table -
10:30:09.48:Failed.
10:30:09.48: Rewrite: ".40", position 0, rewrite database -
10:30:09.48:Failed
10:30:09.48: Looking up host "61.172.245.40".
10:30:09.48:- Not found
10:30:09.48: Rewriting: Mbox = "qq", host = "61.172.245.40", domain = ".", literal = "", tag = ""
10:30:09.48: Rewrite: "*.*.*.*", position 0, hash table -
10:30:09.48:Failed
10:30:09.48: Rewrite: ".", position 0, hash table -
10:30:09.48:Failed.
10:30:09.48: Rewrite: ".", position 0, rewrite database -
10:30:09.48:Failed
10:30:09.48: Looking up host "61.172.245.40".
10:30:09.48:- Not found
10:30:09.48: mmc_wnadr(0x085745b0,'qq@def.com','@61.172.245.40:qq@def.com') called.
10:30:09.48:Cancelling DSNs that were created
10:30:09.48:- adding address qq@def.com to headers.
10:30:09.48: Copy estimate after address addition is 1
10:30:09.48: Cancelling DSNs that were created***
Expanded address:
qq@def.com
Submitted address list:
Address list error -- 5.1.2 unknown host or domain: qq@def.com
Submitted notifications list:
bash-3.00#
thanks
I suspect that this is your problem:
10:30:09.48: Block limit now: 2147483647
10:30:09.48: Processing mailhost attribute 61.172.245.40
10:30:09.48: Mailhost references remote system.
Why do you have " 61.172.245.40" as mailhost? You should have the fqdn of your machine, not the ip address.