Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running sendmail with amavis + amavis-milter on SERVER "A". SERVER "B" is working behind SERVER "A" which holds multiple domains. Some of the domains having catchall accounts for unknown users.

Emails for unknown users are being considered as unknown user by SERVER "A".

share|improve this question
anyone please reply... – User4283 May 17 '11 at 17:36
I find the question difficult to understand. What it being asked? Is server A a relay in front of server B? Is the opposite happening? How are the catchall addresses defined? What is it that you want to achieve? – adamo May 25 '11 at 20:42

A shot in the dark, because your question is not detailed much.

So my Interpretion of your problem:

You are using Server "A" just as a Mailrelay for Domains on Server "B". In that case Server "A" does not need to know anything about users in a domain which Server "B" is responsible for.

Use on Server "A" in your .mc:

FEATURE(mailertable, `hash -o /etc/mail/mailertable')

Then build your with m4.

After doing so, setup your mailertable on Server "A":                   esmtp:[SERVER "B"]

Then the well known:

makemap hash mailertable < mailertable

Im running nearly the same setup and all is working fine.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.