×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Sendmail problem with masquerading

Sendmail problem with masquerading

Sendmail problem with masquerading

(OP)
I am having a problem with my sendmail configuration I have masquerading on but when I send a mail to multiple people it masquerades my email but not the others? see the sample below:

From: name@domain.net
Sent: Friday, July 24, 2009 9:42 AM
To: name2@machine.domain.net; name3@machine.domain.net; name4@machine.domain.net
Subject: Used Inventory


in this way if someone does a reply to all names 2,3,4 and 5 bounce back as bad addresses.

how can I have it masquerade all email addresses from my domain?

Thanks,

Gary

RE: Sendmail problem with masquerading

I had some issue with this as well and this fixed it for me
MASQUERADE_AS(`mycompany.com')dnl
dnl #
dnl # masquerade not just the headers, but the envelope as well
dnl #
FEATURE(masquerade_envelope)dnl
dnl #
dnl # masquerade not just @mydomainalias.com, but @*.mydomainalias.com as well
dnl #
FEATURE(masquerade_entire_domain)dnl
dnl #
MASQUERADE_DOMAIN(`mycompany.com')dnl

Norm
 

RE: Sendmail problem with masquerading

(OP)
Thanks normntwrk

I made these changes to my system and it didn't fix my original problem but it did fix a few others. the original problem only seems to happen if i send a mail internally to someone without the domain name added like this:

mail gary

it will be delivered but will show up with gary@machinename.domainname.net

RE: Sendmail problem with masquerading

How about the local-host-names   file- include all aliases for your machine here.

include  your domainname.net   as well as the fully qualified name in here


Norm

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close