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.
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.
im trying to send email from the IPCOP serevr to myself. I have installed an addon called TRAFFICANDCONTROLREPORT where it requires me to input my email address and smtp server which i do and the the server hangs after saving these settings. When i reboot and login and look at the logs, i see that it failed to sent the mail cause of a socket error.
currently i cant telnet from my ipcop box to my emailserver either as telnet is not installed by default. some of the forums say that you must add the smtp server to your iptables file .. but the file is so huge, im not sure where to insert it in there.
Attached it the rc.firewall file which i hope that you need to make a change in
Please confirm that you are using IPCop version 1.4.21 (the latest supported, do not use 1.9.xx testing) on a stand alone box (not virtualized). If this is so TCAR should just run with the mod I noted.
yes i confirm that im running the latest version of ipcop.
i tried to do a test
root@ipcop:/usr/local/bin # ./tcar_SendEmail -f root@localhost -t email@example.com -s 192.168.16.24
Reading message body from STDIN because the '-m' option was not used.
If you are manually typing in a message:
- First line must be received within 60 seconds.
- End manual input with a CTRL-D on its own line.
Jul 16 17:12:34 ipcop tcar_SendEmail: Message input complete.
Jul 16 17:12:38 ipcop tcar_SendEmail: ERROR => 192.168.16.24:25 returned a zero byte response to our query.
yip using the same version of tcar_SendEmail. As soon as i enable the addon, the IPCOP server tries to update the rules and just stays there . I have to reboot the server, uninstall TCAR and then i can access the internet again ..
Oops, you do know that as soon as you enable TCAR ALL access to RED from GREEN is blocked until you enable each PC on GREEN one by one? A TCAR config error will have a red border around it. Look at LOGS > FIREWALL LOGS for "TCAR blocks stranger" entries.
I am trying to build a powerful firewall using IPCOP and its addons. I installed IPCOP 1.4.21 and TCAR TrafficControlAndReport-1.1-GUI-b2.tar.gz and i did every steps suggested by mickza, even i downloaded sendEmail 1.56 and copy it accordingly. my admin id is firstname.lastname@example.org, i configured smtp host as smtp.gmail.com and my gmail username & password as auth username and password through tcar web gui. but when i click on send reports now i got this error.
error : Mar 15 16:24:20 ipcop tcar_sendEmail: ERROR => Connection attempt to smtp.gmail.com:25 failed: IO::Socket::INET: connect: Connection timed out
even when i tested sendEmail through command promt i got the error :
Mar 15 16:37:22 ipcop sendEmail: ERROR => Connection attempt to smtp.gmail.com:25 failed: IO::Socket::INET: connect: Connection timed out