Find the answer to your Linux question:
Results 1 to 2 of 2
Hi there. I need help with a strange problem: I have a redhat server (server A) running a php eshop application (under the Code: eshop.mydomain.com domain). I also have another ...
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Posts
    1

    Help with sendmail

    Hi there. I need help with a strange problem:

    I have a redhat server (server A) running a php eshop application
    (under the
    Code:
    eshop.mydomain.com
    domain).

    I also have another server (server B - microsoft exchange) for handling the emails of
    Code:
    ******@mydomain.com
    .

    When php tries to send mail to
    Code:
    someone@mydomain.com
    , sendmail running on server A tries to handle the message and returns an error “user unknown” instead of sending it to server B.

    Any ideas?

  2. #2
    Just Joined!
    Join Date
    Dec 2009
    Location
    California
    Posts
    69
    edit /etc/mail/sendmail.cf and define Dj to be something other than mydomain.com like this:

    Dj$w.Foo.COM

    You will probably find that the setting is commented out - just uncomment and you'll be fine.

Posting Permissions

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