0

We need to send mails from our domain (assume this is example.com) to our self. Now, the 'incoming' mails are handled by another server (from Google). We can send mails through sendmail to external e-mail addresses, but when we tried to send to ourselves, nothing happens! What can we do to enable this feature?

We are running CentOS with Sendmail/Apache2/PHP, mails are sent by PHP.

  • Can you post relevant sendmail logs? – Sachin Divekar Nov 23 '11 at 13:24
  • Where are they located? – www.data-blogger.com Nov 23 '11 at 13:29
  • do *grep mail /etc/syslog.conf*, you will see a filename on RHS. Then send a test mail and look for relevant logs in the file. Paste them, then we will come to know what is the exact problem. – Sachin Divekar Nov 23 '11 at 13:34
  • 1
    Also if you are getting bounce back message, that will be most helpful. – Sachin Divekar Nov 23 '11 at 13:36
  • Remove your own domain on emitter from w class (/etc/mail/local-host-names and /etc/hosts maybe), check DOMAIN() dnl in sendmail config (sendmail.mc of grep sendmail.cf) – Lazy Badger Nov 23 '11 at 14:12
  • 1
    @Warren, He's asked 5 nearly incoherent questions, with basically no follow up, at least one of which I answered and never heard back from him. If he's even reading our answers, he's not responding. I'm certainly not putting any more effort into trying to help someone that that can't seem to follow basic norms. Bart also mentioned the same thing, though in a much nicer way. – Chris S Nov 23 '11 at 14:52

1 Answers1

0

Try mail hosted at Google, web server elsewhere

adamo
  • 6,925
  • 3
  • 30
  • 58