[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
No Subject
Hi,
I've applied this diff to canon.cf to stop a machine from appending a domain
name to an address in the form of:
user@[1.2.3.4]
The machine would process mail correctly if DNS was down, but would append
the domain name of my DNS server (or 2nd entry in /etc/resolv.conf) to the
address making:
user@[1.2.3.4].demon.co.uk
In my case. Can anyone see this modification to canonical(host) breaking
anything?
Thanks
--- canon.cf~ Wed Apr 8 19:51:59 1998
+++ canon.cf Tue Oct 20 00:50:49 1998
@@ -115,6 +115,9 @@
.+\.(.)
[ $(istoplevel "\1") ] && return "$host"
;;
+ (.*)@([^@]*) # addr-spec, rightmost '@'
+ return "$host"
+ ;;
tfist
tmp="$(canon "$host")" && return "$tmp"
--
Darryl Miles