Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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 sendmail.cf with m4.

After doing so, setup your mailertable on Server "A":

example.com                   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

 
discard

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.