I'm at a loss as I believe this should be possible.

I'm using RedHat 7.2 with all updates.

I'm fetching mail for two domains hosted at an ISP. Let's say the domains
are domain1 and domain2. They come into a single mailbox domain1@isp and
domain2@isp. I'm using multidrop mode to map them to local users on this
single box.

This part is working fine.

Sendmail is running through a smarthost (mail.isp), and masquerading as
domain1.

What I've been trying to figure out how to do is, allow 3 users here, user1,
user2 and user3, to send mail with their From: header re-written to domain2.

Someone suggested virtusertable. So I tried to add to virtusertable:

user1@domain2    user1
user2@domain2    user2
user3@domain2    user3

I ran a make, re-started sendmail but when sending, these users still come
through with a From line of user<x>@domain1

After some more reading I thought genericstable might be the go. So I added
the feature to my sendmail.mc, re-created my sendmail.cf and made an
/etc/mail/genericstable consisting of the reverse:

user1    user1@domain2
user2    user2@domain2
user3    user3@domain2

again, I ran make, re-started sendmail but still the e-mails are coming
through as user<x>@domain1.

What am I really looking for? Remember this is to have SENT mail re-written
with a different domain in the From: line in the header for specific users.

Can it be done?

Regards,

---
Edward Dekkers (Director)
Triple D Computer Services P/L




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to