On Thu, 20 Mar 2003, Rasjid Wilcox wrote: > > Okay, I will be more precise. Qmail does deal with the error code, it just > doesn't deal with it in the way that I would like. > > From /var/log/qmail/current: > > @400000003e7858d51d7aaf2c delivery 231: deferral: > Connected_to_210.9.200.225_but_my_name_was_rejected./Remote_host_said:_504_DNS_verification_of_sending_machine_failed:_no_mail_will_be_accepted/
Now I understand. I agree that qmail-remote's behaviour is inconvenient in this case. However I may have a work around for you. Section 4.1.1.1 of RFC 2821 states: 4.1.1.1 Extended HELLO (EHLO) or HELLO (HELO) These commands are used to identify the SMTP client to the SMTP server. The argument field contains the fully-qualified domain name of the SMTP client if one is available. In situations in which the SMTP client system does not have a meaningful domain name (e.g., when its address is dynamically allocated and no reverse mapping record is available), the client SHOULD send an address literal (see section 4.1.3), optionally followed by information that will help to identify the client system. ... 4.1.3 Address Literals Sometimes a host is not known to the domain name system and communication (and, in particular, communication to report and repair the error) is blocked. To bypass this barrier a special literal form of the address is allowed as an alternative to a domain name. For IPv4 addresses, this form uses four small decimal integers separated by dots and enclosed by brackets such as [123.255.37.2], which indicates an (IPv4) Internet Address in sequence-of-octets form. ... So, try doing this: echo "[$(/sbin/e-smith/db configuration get ExternalIP)]" \ > /var/qmail/control/helohost And then try sending some mail to the ISP in question. If it succeeds you'll need to add some logic to the ip-up event (or the ip-change event, I can never remember which) to expand your custom template for /var/qmail/control/helohost. If it doesn't work, please let us know. In the meantime, I'll raise the issue with engineering and I'll also raise it on the qmail list. -- Regards Peter ---------- Peter Samuel, Senior Systems Administrator [EMAIL PROTECTED] http://www.e-smith.org (development) http://www.mitel.com (corporate) Phone: +1 613 592 2122 Fax: +1 613 592 1175 Mitel Networks, 350 Legget Dr, Ottawa, ON K2K 2W7 Canada "If you kill all your unhappy customers, you'll only have happy ones left" -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org