×
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

Receiving emails with sendmail, masquerade problem

Receiving emails with sendmail, masquerade problem

Receiving emails with sendmail, masquerade problem

(OP)
Hi everybody.

Working with Linux CentOs 5.10 and Sendmail 8.13.8

I'm new with Sendmail, I suppose my question is a stupid question, but it is.

My problem is a masquerade problem.

When the user jhon, from the server http://serv01.mydomain.com send a email like jhon@serv01.mydomain.com, Sendmail change the @serv01.mydomain.com to @mydomain.com, so this part, outgoing mails, work good.

The problem is when I send a email to jhon@mydomain.com, in this case I loose the email, I know that sendmail received it, manage and so on, I see this in maillog, but I don't know more about this mail.

But when I send mail to jhon@serv01.mydomain.com, all work good and perfect. Jhon receives his email and can access it through Usermin.

Can anyone help me with this?

Regards. Jose Benitez.

RE: Receiving emails with sendmail, masquerade problem

I see that this was posted quite a while back, but just in case...

What error do you see in your log file - /var/log/maillog?

If you see a line that ends in something similar to:
stat=Service unavailable

You'll need to edit your sendmail.mc file and make sure you have an entry similar to:
LOCAL_DOMAIN(`mydonain.com')dnl

If you do not, then add it - change mydomain.com to something relevant to you.

Run the m4 macro to create the sendmail.cf file:
m4 sendmail.mc > sendmail.cf

Restart sendmail:
service sendmail restart

Hopefully that resolves it for you...

Cheers,
ak.

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