Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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've been using postfix for almost a year now automatically sending notifications to my email address regarding some startup statistics. For some reason, a couple of weeks ago, it stopped sending the emails and they just started accumulating in the queue. When I run mailq, I notice that it complains about the connection timing out. This happens on all three computers that postfix is running on. One of these machines has had literally nothing change in the past three months except for some security updates. Below is a copy of the script that I have the machine run to send the email on login.
Code:
#NOTE: my email has been removed from this code and replaced with <MY EMAIL ADDRESS@gmail.com>.
COMPUTER="mycomputer"
ping -c 1 -q 208.67.222.222;
NetStat=$?;
if [ $NetStat == 0 ]; then
#<collect statistical information> (removed)
#Send Information to ME:
echo -e "The following information is related to $COMPUTER: \n <system startup statistics>" | mailx -s "Information for $COMPUTER" <MY EMAIL ADDRESS@gmail.com>
fi
EDIT: here's some additional info that may be of use:
Trying 64.233.182.26...
Connection failed: Connection timed out
Trying 2607:f8b0:4001:c0a::1b...
telnet: Unable to connect to remote host: Network is unreachable
Yes, my telnet command is for port 25 (I made sure of it).
Like I've said, nothing has specifically changed from when it stopped working. I have a testing machine (with no firewall) that I only do security updates to and it also has this issue. I've tried adding new rules to iptables, however nothing seems to change.
All I really have between my computer and the internet (aside from internal firewall, which I checked) is an old belkin router, but it has never been an issue for me.
I've tried disabling all security features (iptables, firewalls, etc) and it doesn't help. I'm thinking that perhaps my ISP is doing something (although they've assured me that they aren't)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.