I've got a Debain machine running exim acting as a MASQ machine on a pppoe
connection (e.g. the machine has two NICs).

The hostname is "burn".  The domain, for this example, is "burn.foo.net"

The problem is if I send mail to outside machines:

   echo "hello" | mail [EMAIL PROTECTED]

gives this:

     ...error from remote mailer after MAIL FROM: ...
     501 5.1.8 <[EMAIL PROTECTED]>... Domain of sender address
     [EMAIL PROTECTED] does not exist

Which is correct, burn.foo.net does not resolve.

So, in exim.conf I can add:

  qualify_domain = foo.net

And that fixes that problem (since foo.net) exists, but it now means that 

  echo "hello" | mail moseley

gets sent to [EMAIL PROTECTED] instead of delivered locally.

I only want unqualified MAIL FROM: addresses modified, not the RCPT TO:
addresses.



-- 
Bill Moseley
mailto:[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to