2009/11/13 Manoj Burande <manoj.bura...@artificialmachines.com>: > Here I just wanted to explain you that what exactly I am trying to do is, > > 1] I am trying to configure postfix mail server that can only send mails. > It receives no mail from the network. > > 2] The MX records tell the world which server will accept inbound mail for > your domain. They have nothing to do with sending outbound mail. That's > why I have not made any DNS entry for my domain "textwand.com".
This is reasonable. *However*, most mail providers tend to reject mail from domains like yours, which have no DNS records. There's theoretically nothing wrong with your setup, but given that most email nowadays is spam, mail providers are only interested in "legitimate" looking mail. Furthermore, mail "should" be able to go back to the sender for accountability, such as spamming problems and administrative issues. It's basically, "if I can't contact you, then I'm not interested in your mail". See further down for more notes. > 3] Locally generated mails will be forward ALERT / INFO /CRITICAL > notifications generated by my local syslogd to me. I want generated log > reports to go to my "manoj.bura...@artificialmachines.com" account. > > 4] I have hosted my JAVA application on the same server. And it will > generate mail to deliver to the users. e.g. mmbura...@gmail.com / > yahoo.com or manoj.bura...@artificialmachines.com etc..In short it will > deliver mail on the internet to other domain users. Big, free providers like Gmail and Yahoo are *very* strict on things like this. Yahoo is notoriously difficult to get mail to sometimes, as an example, but your mileage may vary. > Here I am providing you the output of "postconf -n". For outbound-only mail that generally looks okay. It's worth noting that some mail servers will perform "sender callback", where they attempt to connect to the MX of the sending domain (again, they want to check that the sender will also receive mail, in case of problems, abuse, etc.). Because you're only listening on loopback addresses, you may fail that check on some servers, so they'll refuse your mail. It's difficult to make a comprehensive list of things you can/should do to successfully send mail, but having DNS records would be an important step - you don't *have* to accept inbound email, but it'll help your legitimacy.