OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Mail sending problem.

From: Manoj Burande (manoj.burandeartificialmachines.com)
Date: Fri Nov 13 2009 - 06:00:08 CST


Hi Barney,

   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".

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.burandeartificialmachines.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. mmburandegmail.com /
yahoo.com or manoj.burandeartificialmachines.com etc..In short it will
deliver mail on the internet to other domain users.

    Here I am providing you the output of "postconf -n". Please guide me
if I am doing anything wrong. Please...

[rootr1 ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = /usr/share/doc/postfix-2.5.6-documentation/html
inet_interfaces = loopback-only
mail_owner = postfix
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = textwand.com, localhost, localhost.localdomain, localhost
myhostname = mail.textwand.com
mynetworks = 127.0.0.0/8
myorigin = textwand.com
newaliases_path = /usr/bin/newaliases.postfix
notify_classes = resource, software, bounce
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.5.6-documentation/readme
recipient_delimiter = +
relayhost =
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name
unknown_local_recipient_reject_code = 550

> 2009/11/13 Manoj Burande <manoj.burandeartificialmachines.com>:
>> presently used parameters in "main.cf" configuration file is as
>> follows:
>
> No, please show the output of `postconf -n` when describing your
> configuration. The contents of main.cf is less useful as it doesn't
> accurately describe the configuration Postfix is using.
>
>>    But whenever I am trying to send an I got following mail logs:
>>
>> Nov 13 14:31:02 r1 postfix/smtp[2295]: D19DC8FE063:
>> to=<manoj.burandeartificialmachines.com>, orig_to=<roottextwand.com>,
>> relay=mx2.abac.com[216.55.191.203]:25, delay=35,
>> delays=0.01/0.01/33/1.9,
>> dsn=4.1.8, status=deferred (host mx2.abac.com[216.55.191.203] said: 451
>> 4.1.8 Domain of sender address roottextwand.com does not resolve (in
>> reply to RCPT TO command))
>
> This is quite clear. The sender address is roottextwand.com. The
> remote server (mx2.abac.com) is unable to (DNS) lookup textwand.com,
> so it refuses to accept the mail. You have no useful DNS records for
> textwand.com, so this is pretty reasonable.
> http://www.robtex.com/dns/textwand.com.html
>

--
Manoj M. Burande,
Artificial Machines Pvt Ltd,
System Administrator.