[xmail] Re: mail list problem
Hello Tony, Wednesday, April 13, 2005, 1:12:30 PM, you wrote: TS What is the bat which you say is your client? It is a very good Windows MUA, I use it too. Never had any weird error related to it though, they are very clean when it comes to following RFC's. The Bat! www.ritlabs.com/en/products/thebat/ -- Best regards, Charlesmailto:[EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Your software is not RFC compliant
3.6 Domains Only resolvable, fully-qualified, domain names (FQDNs) are permitted when domain names are used in SMTP. In other words, names that can be resolved to MX RRs or A RRs (as discussed in section 5) are permitted, as are CNAME RRs whose targets can be resolved, in turn, to MX or A RRs. Local nicknames or unqualified names MUST NOT be used. There are two exceptions to the rule requiring FQDNs: - The domain name given in the EHLO command MUST BE either a primary host name (a domain name that resolves to an A RR) or, if the host has no name, an address literal as described in section 4.1.1.1. - The reserved mailbox name postmaster may be used in a RCPT command without domain qualification (see section 4.1.1.3) and MUST be accepted if so used. = One should always read all the relavent RFC's when he is goingo to offer a port or service to the Internet. It is actually interesting reading, you can see how it all started and got all messed up right after certain 'players' got involved. 8-) Brett - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Question for Davide.. or a matter of fact for every developer on XMail
Hi All, According to *http://tinyurl.com/6g9ze, ### * If a message that has as target domain of '*sub1.sub2.domain.net*' arrives at the XMail server, '*AND*' XMail does not have a real domain '*sub1.sub2.domain.net*' inside its domain list, XMail decides if this domain gets a custom domain processing by trying to lookup: sub1.sub2.domain.net.tab ..sub2.domain.net.tab ..domain.net.tab ..net.tab ..tab ### * *Now this works very well when XMail is sending a mail, checkout this code in SMAILUtils.cpp: int USmlGetDomainMsgCustomFile(SPLF_HANDLE hFSpool, QUEUE_HANDLE hQueue, QMSG_HANDLE hMessage, char const *pszDestDomain, char *pszCustFilePath) { snip .. .. .. /snip /// // Check if this is a custom domain /// char szCustDomainFile[SYS_MAX_PATH] = ; if (USmlGetDomainCustomFile(pszDestDomain, szCustDomainFile) 0) return (ErrGetErrorCode()); RLCK_HANDLE hResLock = RLckLockSH(szCustDomainFile); snip .. .. .. /snip } *However it works differently when XMail is receiving a mail for delivery, that is if the destination domain is a custom domain:* Checkout this code in SMTPSvr.cpp: static int SMTPHandleCmd_RCPT(const char *pszCommand, BSOCK_HANDLE hBSock, SMTPSession SMTPS) { snip .. .. .. /snip /// // Check FORWARD PATH /// char *pszRealRcpt = NULL; char *pszSMTPError = NULL; if (SMTPCheckForwardPath(ppszFwdDomains, SMTPS, pszRealRcpt, pszSMTPError) 0) { ErrorPush(); StrFreeStrings(ppszFwdDomains); SMTPSendError(hBSock, SMTPS, %s, pszSMTPError); SysFree(pszSMTPError); return (ErrorPop()); } StrFreeStrings(ppszFwdDomains); snip .. .. .. /snip } In above SMTPCheckForwardPath calls *USmlDomainCustomFileName* which is _very similar_ to *USmlGetDomainCustomFile* in above, Checkout the diff of two functions: 1c1 int USmlDomainCustomFileName(char const *pszDestDomain, char *pszCustFilePath) --- int USmlGetDomainCustomFile(char const *pszDestDomain, char *pszCustFilePath) 12c12 // Build file name --- // Lookup custom files 18c18,21 SysSNPrintf(pszCustFilePath, SYS_MAX_PATH - 1, %s%s.tab, szCustomDir, szDestDomain); --- for (char const *pszSubDom = szDestDomain; pszSubDom != NULL; pszSubDom = strchr(pszSubDom + 1, '.')) { SysSNPrintf(pszCustFilePath, SYS_MAX_PATH - 1, %s%s.tab, szCustomDir, pszSubDom); 20c23,24 return (0); --- if (SysExistFile(pszCustFilePath)) return (0); 22c26,31 } --- } SysSNPrintf(pszCustFilePath, SYS_MAX_PATH - 1, %s.tab, szCustomDir); if (SysExistFile(pszCustFilePath)) return (0); 23a33,36 ErrSetErrorCode(ERR_NOT_A_CUSTOM_DOMAIN); return (ERR_NOT_A_CUSTOM_DOMAIN); } Any clue why Custom Domain is different with respect to sending (SMAIL)/ receiving (SMTP) file ? Thanks -VK - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Error 232
On Thursday, April 14, 2005 8:32 PM [GMT+1=CET], Tony Shiffer [EMAIL PROTECTED] wrote: What are possible causes for an error 232? We have users getting this error when communicating with one domain. Xmail docs are vague in this regard. Please give us an exact error message. - what are you trying - who is sending this error - if you have a bounce message, send it. - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Error 232
Sorry - here is snip. Mail sends sucessfully from other locations/servers. ErrCode = -232 ErrString = Error connecting to remote address SMAIL SMTP-Send MX = mx1.imr.gm.com. SMTP = websyscon.net From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = mx1.imr.gm.com. Tony - Original Message - From: Sönke Ruempler [EMAIL PROTECTED] To: xmail@xmailserver.org Sent: Thursday, April 14, 2005 1:03 PM Subject: [xmail] Re: Error 232 On Thursday, April 14, 2005 8:32 PM [GMT+1=CET], Tony Shiffer [EMAIL PROTECTED] wrote: What are possible causes for an error 232? We have users getting this error when communicating with one domain. Xmail docs are vague in this regard. Please give us an exact error message. - what are you trying - who is sending this error - if you have a bounce message, send it. - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]