When start xmail with /etc/init.d/xmail start, when I try to send mail to another domain outside (ex. terra.es, yahoo.com, hotmail.com, ...) I get this error: [PeekTime] 1090298833 : Tue, 20 Jul 2004 04:47:13 -0000 << ErrCode = -40 ErrString = Invalid server address ErrInfo = otherdomain.com SMAIL SMTP-Send FF = "otherdomain.com" SMTP = "localdomain.com" From = "root@localdomain.com" To = "aaa@otherdomain.com" Failed ! SMTP-Error = "417 Temporary delivery error" SMTP-Server = "otherdomain.com" >> and DNS_FAILED? in the XMail Queue Manager. But when I start xmail in prompt directly with: ./XMail -Pl -Pp 110 -Sl -Sp 25 -Ql -Fl -Fp 29079 -Cl -Cp 29617 -Ll I can send mails without problems. This problem is because the service is started in chroot mode (I think).
The version of xmail is: mail-mta/xmail-1.16 But I test with xmail-1.20 with the same problem.
I perform some tests and I reach to this conclusion: - In chroot mode the xmail need these files: /chroot/xmail/lib/libresolv* /chroot/xmail/lib/libnss_dns* /chroot/xmail/etc/resolv.conf (xmail restart) someone can to verify it? Thanks.
I believe I had this same issue. The only way I found around it was to offload all my outbound SMTP traffic to another server. It's not a fix, don't get me wrong - but it is the only way around it I've found.
This is a DNS issue. See the xmail@xmailserver.org mailing list archives (http://www.mail-archive.com/xmail%40xmailserver.org/) or newsgroup (news://news.saltstorm.net/saltstorm.xmail) for details.
This issue isn't related to something broken with the package, so we're going to close this.
(In reply to comment #2) i have dozens of times restarted xmail an after each change i sent a mail to a foreign account an watched with find /chroot/xmail/var/MailRoot/dnscache/ -type f if the maildomain could became resolved. > I perform some tests and I reach to this conclusion: > - In chroot mode the xmail need these files: > /chroot/xmail/lib/libresolv* > /chroot/xmail/lib/libnss_dns* > /chroot/xmail/etc/resolv.conf > (xmail restart) > someone can to verify it? yes. i have veriefied your solution. exactly the same changes i did.