Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
We have lotus Notes email server at Head Office and we were connecting in replication mode from local office through VPN. Now, we have setup an IT helpdesk system in fedora 4. In this system when user create a ticket an automatic email has be sent to the concerned person using sendmail from Linux box (contains apache, php, mysql) which is not happening. Checked and found sendmail is running. I want to troubleshoot why the email is not sending from linux box.
Are there any errors reported in sendmail's log (probably /var/log/maillog)? If so, can you post them here please? If not, have you checked apache's logs for error messages?
Are there any errors reported in sendmail's log (probably /var/log/maillog)? If so, can you post them here please? If not, have you checked apache's logs for error messages?
Hi,
Thank you for your reply.
The following is the log of maillog which i am not sure, because i have created ticket through helpdesk software where email did not send and after that i checked maillog which has not updated. The following entries are the same before i created a ticket.
The following is the log of maillog which i am not sure, because i have created ticket through helpdesk software where email did not send and after that i checked maillog which has not updated. The following entries are the same before i created a ticket.
That log output shows the message queued after not being able to send after a 4 hour delay. Delays like that are usually caused by the receiving server not being available to accept the mail. Have you checked that you can resolve and connect to the receiving server? You can also use tools like tcpdump and wireshark to examine the traffic leaving your server to see what is happening to it.
Tsaravan - It could have to do with SMTP. By default, Notes replication takes place under its own protocol when done between servers or a server and client. If you are using SMTP on the Linux computer, you will want to make sure that SMTP is enabled on the Lotus Notes email server. If this particular Notes server routes your mail to the Internet, then SMTP should already be active, but I wanted to make you aware of this.
If SMTP is running on the Lotus Notes server, there are a couple things to check. First check the server log (log.nsf) on the Notes server and under messaging you should see some reference to the Linux server trying to connect to the server. If not, then try a manual telnet test (telnet <ip address of Notes server> 25) from the Linux box to the Lotus Notes server to further diagnose the issue.
If you are seeing references in the Notes log that the Linux server is connecting, see if there is an error message. Most Notes mail servers are set to deny an email if one of the addresses do not contain a reference to your domain. So for instance on the Helpdesk software, you may want to set it so that it sends with an address of helpdesk@yourdomain.com.
If the Notes logs show that the Linux server connected successfully and transferred the message, but you can't find it then on the Notes server check the mailbox file (mail.box) to see if it is residing there with an error as to why it can't be delivered.
That log output shows the message queued after not being able to send after a 4 hour delay. Delays like that are usually caused by the receiving server not being available to accept the mail. Have you checked that you can resolve and connect to the receiving server? You can also use tools like tcpdump and wireshark to examine the traffic leaving your server to see what is happening to it.
Hi,
I think your reply indicates i am near to the problem. Can u please let me know how to check whether i am able to resolve and connect to the receiving server. My linux box is being configured as follows:
1) having two NICs, LAN on eth0 (192.168.0.1, 192.168.0.2, 192.168.0.244) and eth1 (Internet broadband connection with static public ip)
2) DNS Configuration
//
// named.conf for Red Hat caching-nameserver
//
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
// forward first;
// forwarders {
// 61.1.96.69;
// 61.1.96.71;
// };
};
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
type master;
file "named.ip6.local";
allow-update { none; };
};
zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
};
zone "teri.res.in" IN {
type slave;
file "slaves/teri.res.in.hosts";
masters {
172.16.0.41;
};
};
zone "src.teri.res.in" IN {
type slave;
file "slaves/src.teri.res.in.hosts";
masters {
172.16.0.41;
};
};
include "/etc/rndc.key";
3) resolv.conf
nameserver 127.0.0.1
Further we have VPN box configured another ISP's broadband connection whose private ip is 192.168.0.3 and this has been assigned to all the users in our LAN as gateway for accessing internal services provided by Head Office such as Intranet, ESS etc. Hence linux box is serving as squid proxy where all the users browser is being configured this IP as a proxy.
I hope, i am not confusing or diverting by giving above details. This is just to diagonise the problem if i am wrong in anything else.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.