1

I found out a lot of people with the same problem but anybody actually solved it aparently

The thing is that i can send emails to anyone@anywhere but when i send to @mydomain it is sending to /var/mail/root

and in /etc/mail/local-host-names there is just "localhost" written, which i commented and still the same problem

  • 1
    Details please. SMTP server, config files... – David Jul 18 '11 at 01:33
  • I use google apps to receive emails, sendmail is using it's default configurations, im on a debian – Rogério Chaves Jul 18 '11 at 01:38
  • alright i solved using the first solution here: http://serverfault.com/questions/65365/disable-local-delivery-in-sendmail but it's not exactly what i want, i want to disable it for all future domains i put on this server – Rogério Chaves Jul 18 '11 at 01:42

1 Answers1

0

I've written a blog post that covers similar problems. Maybe it can be of help to you.

adamo
  • 6,867
  • 3
  • 29
  • 58