Philip Prindeville wrote:
> Damrose, Mark wrote:

>> If you are using NAT, then in order to accept mail to
>> [EMAIL PROTECTED] (see RFC1123 Section 5.2.17), you'll need to
>> include [ip.add.re.ss] in /etc/mail/local-host-names.  Why not read
>> that file?

> Gak.  Then we're relying on its format staying the same, and second that
> we need to be able to parse the file.

Or how about parsing the output of:

   echo '$=w' | sendmail -bt

At least that format is likely to stay the same, and you can be guaranteed
that your filter and Sendmail will both agree on the meaning of "local".

Regards,

David.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to