LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   postfix problem (https://www.linuxquestions.org/questions/linux-enterprise-47/postfix-problem-341787/)

ravi_foru 07-10-2005 04:11 AM

postfix problem
 
Hello,
I have a problem for postfix configure.
Successfully running my dns server mydomainname
llc.com
also host name llc.com
mx record is define in my dns forward file
i check my mx record for this command

[root@llc root]# host -t MX llc.com
llc.com mail is handled by 5 mail.llc.com
<http://mail.llc.com/>.

This is my /etc/hosts
192.168.0.1 llc.com

This is my /etc/postfix/main.cf

myhostname = llc.com
myorigin = llc.com
mydomain = llc.com
inet_interfaces = all
mydestination = llc.com pc.llc.com
masquerade_domains = llc.com
mynetworks_style = subnet
mynetworks = 192.168.0.0/24, 127.0.0.0/8
relayhost = 192.168.0.0/24 127/8

mydestination localhost line is commented

/etc/mail/access
192.168.0.1 RELAY
llc.com RELAY
pc2.llc.com <http://pc2.llc.com/> RELAY

my /etc/resolv.conf
search llc.com
nameserver 192.168.0.1

my mail is going locally for mail -v command

but when i try to telnet locally

[root@llc root]# telnet llc.com 25
Trying 192.168.0.1...
Connected to llc.com (192.168.0.1).
Escape character is '^]'.
220 llc.com ESMTP Postfix
helo llc.com
250 llc.com
mail from:root@llc.com
250 Ok
rcpt To:root@llc.com
250 Ok
data
354 End data with <CR><LF>.<CR><LF>
subject:hiiiiiiiiiiii
hi how r u llc.com
.
250 Ok: queued as 4E4291A663
quit
221 Bye
Connection closed by foreign host.

My mail is going in queue this is not recive by my
root@llc.com
I fully try to solve this problem myself but i m not
succeed.I remove service and restall rpm package.then
also problem is not solve .i restall my rhel3 but
problem is again not solve


plz give me guidence how can i solve this problem
-----------------------------------------------------------------------------------------------


i also want send my mail between two pc
one is llc.com
second is pc2.llc.com <http://pc2.llc.com/>
pc2.llc.com <http://pc2.llc.com/> is my slave server

how can i send mail between two pc
same postfix entry in my slave server

this is my #/var/log/maillog [detail]

Jul 10 12:14:40 llc postfix/nqmgr[1210]: 8ECB21A665:
from=<root@llc.com>, size=3
36, nrcpt=1 (queue active)
Jul 10 12:14:40 llc postfix/local[1300]: 8ECB21A665:
to=<postfix@llc.com>, orig_
to=<root@llc.com>, relay=local,
delay=206, status=sent (mailbox)
Jul 10 12:14:45 llc postfix/smtpd[1214]: disconnect
from llc.com[192.168.0.1]
Jul 10 12:17:03 llc postfix/smtpd[1452]: connect from
llc.com[192.168.0.1]
Jul 10 12:17:36 llc postfix/smtpd[1452]: 6DF011A665:
client=llc.com[192.168.0.1]
Jul 10 12:18:08 llc postfix/cleanup[1454]: 6DF011A665:
message-id=<2005071006473
6.6DF011A665@llc.com>
Jul 10 12:18:08 llc postfix/nqmgr[1210]: 6DF011A665:
from=<root@llc.com>, size=3
34, nrcpt=1 (queue active)
Jul 10 12:18:08 llc postfix/smtp[1455]: fatal: valid
hostname or network address
required in SMTP server description:
192.168.0.0/24 127/8
Jul 10 12:18:09 llc postfix/nqmgr[1210]: warning:
premature end-of-input on priv
ate/smtp socket while reading
input attribute name
Jul 10 12:18:09 llc postfix/nqmgr[1210]: warning:
private/smtp socket: malformed
response
Jul 10 12:18:09 llc postfix/nqmgr[1210]: warning:
transport smtp failure -- see
a previous warning/fatal/panic
logfile record for the problem description
Jul 10 12:18:09 llc postfix/master[1208]: warning:
process /usr/libexec/postfix/
smtp pid 1455 exit status 1
Jul 10 12:18:09 llc postfix/master[1208]: warning:
/usr/libexec/postfix/smtp: ba
d command startup -- throttling
Jul 10 12:18:12 llc postfix/smtpd[1452]: disconnect
from llc.com[192.168.0.1]





__________________________________________________


All times are GMT -5. The time now is 11:20 PM.