Andrea Verni <[EMAIL PROTECTED]> writes:

  I have one domain and several departmental mail servers and all users
  must have the same domain in their email address.
  
  I want to avoid that when "user a" sends and email to "user b", both on
  the same dempartmental mail server, the email goes from departmental
  mail server to central MX mail server and then again to the departmental
  mail server.

The departmental mail servers should have user-specific virtualdomains 
set up.  If everyone is [EMAIL PROTECTED], and you have a 
[EMAIL PROTECTED] and a [EMAIL PROTECTED], you
should put the following into your virtualdomains:

[EMAIL PROTECTED]:alias-resend
[EMAIL PROTECTED]:alias-resend

And in ~alias/.qmail-resend, put:

|forward "$EXT2"

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.

Reply via email to