Results 1 to 2 of 2

Thread: Sendmail masqureade confusion

  1. #1

    Sendmail masqureade confusion

    Hello,

    this is my first time setting up a sendmail server.

    i have enabled the following for sendmail configuration:
    FEATURE(always_add_domain)dnl
    FEATURE(`masquerade_entire_domain')dnl
    FEATURE(`masquerade_envelope')dnl
    FEATURE(`allmasquerade')dnl
    MASQUERADE_AS(`my-site.com')dnl
    MASQUERADE_DOMAIN(`my-site.com.')dnl
    MASQUERADE_DOMAIN(localhost)dnl
    MASQUERADE_DOMAIN(localhost.localdomain)dnl

    the server hostname is thehulk, the fqdn is thehulk.my-site.com

    i have two users setup me-one and tester. after i enabled the above masquerade feature, outgoing mail has their headers correctly modified to me-one@my-site.com and tester@my-site.com.

    but when i send an email to tester@my-site.com from me-one@my-site.com the mail does not get delivered instead it gets qued as such:

    Apr 1 13:17:20 localhost sendmail[3385]: j31IHJt8003385: to=<tester@my-site.com>, delay=00:00:00, mailer=local, pri=31145, dsn=4.4.3, stat=queued

    BUT when i send an email to tester@thehulk.my-site.com the mail gets delievered and it immediatelyt shows up in my outlook express when i check it.

    i have the correct domain name entered in the local-host-names files.

    can any help me figure out what is going wrong here? why is sendmail queuing this email instead of simply deliviring it to the local mailbox....for some reason sendmail sees 'my-site.com' as a foreign mail server on the net etc......

    if exact configuration from the files are needed, i can post them here for clarification.

    thanks for any help.

  2. #2

    RE: Sendmail masqureade confusion

    I figured it out, my hosts file needed to have the domain name without the name of hostname as well. Once I changed it, sendmail was now able to recognize the domain name and deliver the mail to the correct local mailbox.

    hope this helps someone.

    therock112

Similar Threads

  1. Sendmail problem
    By arunr110 in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 01-13-2007, 07:53 PM
  2. Seems sendmail still relaying spam. Please take a look.
    By usa_serega in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 01-23-2006, 09:45 AM
  3. Sendmail issue with queue
    By NotTom in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 05-09-2005, 09:06 PM
  4. Help Required with SendMail
    By aakash_ahuja in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 04-22-2005, 09:04 PM
  5. SENDMAIL
    By drjones in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 07-31-2002, 11:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •