Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
when i send mail to my local user from root
Code:
#mail shank1
hiiii
EOT
and check 'tail /var/log/maillog' it shows the message is delivered from root@client.example.com to=shank1@client.example.com to its mail box
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)}
hello
EOT
and then check the
Code:
#tail /var/log/maillog
it shows
Aug 9 07:57:01 client postfix/qmgr[1499]: 60E0F231D6 removed
and when use
Code:
#mail shank@server.example.com
hiii
EOT
it shows
Aug 9 07:57:01 client postfix/qmgr[1499]: 6464C231DA :from=root@client.example.com ,size 451 nrcpt=1 (queue: active)
Aug 9 07:57:01 client postfix/qmgr[1499]: 6464C231DA to=<shank@server.example.com> relay=none status :deferred ,hostname or domain name not found. Name service error for name=server.example.com type MX not found .try again
Last edited by magicalshashank31; 08-08-2011 at 09:27 AM.
Please try 'mail shank@[192.168.137.1]' and see what the logs say
when i use 'mail shank@[192.168.137.1]' it says in /var/log/maillog that connect to 192.168.137.1[192.168.137.1]:25:connection refused status : deffered
Sounds like it's not accepting connections .. try running 'netstat -tnlp | grep postfix' on 192.168.137.1.
no not working ,it says same error connection refused when try mail shank@[192.168.137.1] after running 'netstat -tnlp | grep postfix'
on machine 192.168.137.1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.