postfix not working over LAN
i am trying to Configure a mail transfer agent (MTA) to accept inbound email from other systems and
Configure an MTA to forward (relay) email through a smart host. Code:
#postconf -e inet_interface=all i am able to send mail to the users of my machine via Code:
#mail user1 Code:
#mail user2@192.168.137.2 |
Quote:
Code:
#postconf -e "inet_interfaces = all" |
Quote:
but it do not worked for me.:( |
Logs are your friends try something like this
Code:
less /var/log/maillog Code:
less /var/log/mail.log JC |
please configure the postfix to process all lan queries
|
Following jrosco's comments, please try 'tailf /var/log/maillog' in one terminal then attempt to send an email in another terminal. If you post the logs from that time period we can assist with troubleshooting.
|
Quote:
when i send mail to my local user from root Code:
#mail shank1 but when i use Code:
#mail shank@192.168.137.1 {where shank is the user of my second machine 192.168.137.1(server.example.com)} Code:
#tail /var/log/maillog Code:
#mail shank@server.example.com |
Quote:
Please try 'mail shank@[192.168.137.1]' and see what the logs say |
Quote:
and what about the error hostname server.example.com not found type=MX ,what does it say??? |
Quote:
|
Sounds like it's not accepting connections .. try running 'netstat -tnlp | grep postfix' on 192.168.137.1.
|
Quote:
on machine 192.168.137.1 |
All times are GMT -5. The time now is 10:13 PM. |