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. Samba confusion
    By axxis in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 05-29-2006, 12:14 PM
  2. Distros confusion
    By elovkoff in forum Linux - General Topics
    Replies: 23
    Last Post: 11-19-2003, 06:46 PM
  3. qmail, confusion on delivery method?
    By cgchris99 in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 05-07-2003, 03:37 AM
  4. Libranet Confusion
    By LiNuts in forum Linux - Software, Applications & Programming
    Replies: 10
    Last Post: 12-15-2001, 12:48 AM
  5. Aproxy confusion
    By krinkstar in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 12-04-2001, 06:57 PM

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
  •