I'm trying to automatically send an email to a mailing-list.
The machine running
example.org, which is a standard Ubuntu with Postfix. The recipient is
email@example.com which is a Google Apps-managed mail address. The email is never received.
I've tried to send an email to a
gmail.com address and it works, so I'm guessing
sendmail doesn't even bother to contact
example.org MX record (which resolves to Google) because the local domain is
example.org (registered as such in
Is my guess right? How can I force
sendmail to actually send the mail?
Here is what the mail server tells me (confirming that it's sending the mail locally).
$ cat /var/mail/foo Content-Description: Notification Content-Type: text/plain; charset=us-ascii This is the mail system at host xxx. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system <firstname.lastname@example.org>: unknown user: "foo"