General :: Block FTP And SMTP Service?
Sep 8, 2010i would like to block FTP and SMTP service as a part of linux server hardening.
View 14 Repliesi would like to block FTP and SMTP service as a part of linux server hardening.
View 14 Repliesclafiry what this means? It is in my secure log file: xinetd[5544]: START: smtp pid=6574 from=xx.xx.xx.xx xinetd[5544]: START: ftp pid=6465 from=xx.xx.xx.xxThey are repeated in my secure log hundreds of times, one every second or so.Also how can I stop my ftp and smtp service? Tried the usuals:service ftpd stop/etc/init.d/proftpd stopIt's a Fedora server.
View 1 Replies View RelatedI have installed qmailrock on my CentOS 5.4, finishing installation until sucees to launch webmail via GUI (squirrelmail). but my smtp service (:25) is always failed to connect.I can telnet on port 110, 80, etc. But on port 25, the result is not shown comment 220 oK.when i check using : qmailctl stat here the result :
/service/qmail-send: up (pid 26403) 5 seconds
/service/qmail-send/log: up (pid 26404) 5 seconds
/service/qmail-smtpd: up (pid 26455) 0 seconds
[code]....
FYI, i have installed postfix before, but i've un-install it using yum remove.
how to block all ports except pop,pop3,smtp in nat using iptables in squid on redhat A3
View 2 Replies View Relatedwill the command service httpd restart the apache service if i enable httpsd service in graphical mode
View 12 Replies View RelatedIn order to have greater control over the emails sent out the company I imagined the following scenario.ScenarioDescribing in words what I need.ser sends an email to user@hotmail.com for example, using the smtp of my isp (is the internet).Before the email is sent, the firewall checks if the recipient is blocked transparent, if you are locked out rejects the email.I searched several forums and mailing lists, but did not find scenarios similar to mine.Where found situations in which the mail servers were internally in the company, which is not my case.
View 2 Replies View RelatedI have a domain name registered in asianet.com, they provide email service also, can i use local mail server and registrar's smtp server at same time?
View 5 Replies View RelatedCode: Warning: fsockopen() [function.fsockopen]: SSL: Success in /var/www/krai/class.smtp.php on line 105
Warning: fsockopen() [function.fsockopen]: Failed to enable crypto in /var/www/krai/class.smtp.php on line 105
Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (Unknown error) in /var/www/krai/class.smtp.php on line 105
Those 3 errors popups when i chroot my webroot dir, without chrooting it works fine and email is send.
I've installed pop-before-smtp in my mail server(iredmail). configure the $pat to read the pattern of my Dovecot file. Dovecote log file is like this:
Code:
2011-05-14 14:01:21 pop3-login: Info: Login: user=<test@example.com>, method=PLAIN, rip=180.234.45.133, lip=66.165.162.157
2011-05-14 14:01:22 POP3(test@example.com): Info: Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
2011-05-14 14:01:52 pop3-login: Info: Login: user=<test@example.com>,
[Code]....
I am running Server 10. I have a requirement to perform an action before the MySQL service starts, and perform another action after MySQL service stops.
I found the init script for MySQL under /etc/init/mysql.conf. I added my thing to the pre-start script there and works fine.
I am having trouble finding the script that stops the server so I can modify.
What is the simplest way I can get a secure, authenticated SMTP server running on my Linux machine so my family can use it to send mail from hostile networks?
Currently I have exim bound to 127.1:25 so if I can send mail from my laptop using ssh -L2525:localhost:25 wolever.net... But I'd like exim (or some other SMTP server) to bind to, eg, 0.0.0.0:2525 and accept authenticated SMTP connections.
I'm running Nagios Core 3.2.3 in a CentOS 5.5 Server, i'm trying to set the notifications, however they don't go through. I'm Using Postfix, i also setup squirrel mail and i can send mails through it successfully, can anyone give me some advice about the logs to check or configurations to check?
View 2 Replies View RelatedM using Ubuntu. How do i unlock POP and SMTP ports.
View 1 Replies View RelatedI need to send authenticated mails from a RHEL machine to a relay that only accepts authentication mails from domain users. I've never done this so I'm a bit lost. I read some sendmail docs and I uncommented these optins in sendmail.mc file
define(`confAUTH_OPTIONS', `A p')dnl
...
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
and then regenerated the /etc/mail/sendmail.cf file and restarted senmaild, and started saslauth service. Still I can't send an e-mail.
I am unable to send emails throught smtp class with auth server. Whenever i send the email even throught mybb smtp class in forum i see blank page and apache logs shows: Code: [Thu Jul 29 16:41:49 2010] [notice] child pid 23716 exit signal Segmentation fault (11) any idea what i have to add for proper work of this?
View 1 Replies View RelatedIn my home we have got an internet connection which is connected to desktop machine having two network cards. One card is connected to external internet and second is used for internal LAN.
We have installed a proxy on desktop machine so that we can connect to internet through proxy. So we are not able to telnet to smtp.gmail.com 587 from laptops of internal LAN laptop installed with ubuntu and fedora.
At the same time we are able to ping smtp.gmail.com from the desktop machine which is exposed to internet.
I want to automate email through shell script using smtp.gmail.com.
i can smb in centos 5 and i run service smb restart, it shows :smb: unrecognized service..... i run rpm -qa |grep samba,it shows
samba-common-3.0.33-3.7.el5
samba-client-3.0.33-3.7.el5
.....
From a scan with nmap,I saw that,on my desktop,3 services were visible,ssh(which I don't want to disable),rpc-bind and smtp.As far as I know rpc-bind and smtp aren't needed on a desktop pc(I don't plan on having a mail server,at least on this pc),but before disabling something I need,I am asking it here-do I need them for some vital service?I am running OpenSuse 11.
View 2 Replies View RelatedI have username1@domain.com and [URL] I want to send emails to two different groups of people and use a separate smtp server for each account so people that receive emails from username2 don't know about username1 account. At the moment I have to manually go into settings and change the default smtp server before I send the message. So I basically want to associate an smtp server with an identity. It doesn't seem that this is possible to do. I do know about the "Reply to Address" option but this is not what I want. For starters my smtp server won't allow this operation to take place.
View 1 Replies View RelatedWe have one major problem in our dedicated online mail server. In this mail server both sendmail and qmail running for send and receive mails. In this server I can able to send mail to other domain like Gmail and yahoo its works fine. But I am not receiving any mails from other domains. And automatically I got telnet localhost 25 connections refused error. When I send mail from my webmail I got like this error Connection refused Server replied: 111 can't open SMTP stream. This is I got when I send mail from webmail. I am using centos 5.2 version.
View 2 Replies View RelatedI often see hundreds of entries like this in my logwatch report:
[code]...
I am wondering if this would be correct?
[code]...
will it keep that marauder away from Dovecot?
I need to setup a mail server, purely for relaying mail to a MS exchange server. A previous employee used Postfix on CentOS. I have limited Linux knowledge and no experience with any mail server software other than MS Exchange, so we cannot continue with this solution (unless I can find a way of managing it all from a gui). Does anyone know of an MTA that can be configured completely by GUI? Everyone says sendmail has millions of features and loads of documentation, but I simply do not have the time to learn it. I need something that can be configured with minimal knowledge and via GUI, not command line. The only reason I'm not using Exchange is to try to save money, and hopefully it will be more secure.
View 10 Replies View RelatedI need to start a service before network service How to?
View 1 Replies View RelatedI'm hoping someone here can help, as I've been beating my head on the wall for a week now with little advancement. I've found a number of tutorials on setting this up, however none of them have gotten me 100% of the way there. Here's my situation: home-based Fedora server (Core 8), running sendmail 8.14.2-1. Connecting to hosting company's smtp server over port 587, to bypass Verizon's blocking of port 25.
My /etc/mail/sendmail.mc file looks like this (comment lines removed):Quote:
divert(-1)dnl
define(`SMART_HOST', `smtp2.datarealm.com')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 PLAIN')dnl
FEATURE(`authinfo',`hash -o /etc/mail/auth/client-info.db')dnl
define(`RELAY_MAILER', `esmtp')dnl
[Code]....
I've used fetchmail for quite a while now and never had a problem, until (without having changed anything) today it suddenly quit working, giving me the error message:
fetchmail: connection to localhost:smtp [127.0.0.1/25] failed: Connection refused.
fetchmail: SMTP connect to localhost failed
fetchmail: SMTP transaction error while fetching from stefan%mydomain.com@mail.mydomain.com and delivering to SMTP host localhost
fetchmail: Query status=10 (SMTP)
I googled the error message, but didn't find anything that look promising. I use ubuntu 10.4.
When sending a message some recipients get it while others don't and i receive this mail every time an e-mail has failed to be received by others:
Code:
Subject: failure notice
This is the qmail-send program at XXX-XX-XXX-XX.local. I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<XXXXX@XXXXXXX.com>:
Sorry, I wasn't able to establish an SMTP connection. (#4.4.1)
I'm not going to try again; this message has been in the queue too long.
Below this line is a copy of the message.
Information about my server: Plesk 9.3.0 | PHP Version 5.1.6 | CentOS release 5.4 | Linux 2.6.28.7 | GenuineIntel, Intel(R) Atom(TM) CPU 330
[url]
I use horde webmail installed through Plesk, and i access it through webmail.domain and not mail.domain
I'm trying to set up a tool that emails me periodically (in my case, psad). It allows by default to define just a destination email for reports. Is there a general way to get this or similar tools to use a non-default SMTP server, with TLS? (e.g. gmail's SMTP)
View 1 Replies View RelatedHow to communicate with an SMTP server with telnet, in order to send a mail?
telnet smtp.something.somewhere 53 Trying
10.xxx.xxx.xxx...
Connected to smtp.something.somewhere.
Escape character is '^]'.
And that is as far as I got. What do I have to do after?
What do I have to write after "HELO"?
I want to know that by default do we need to configure SMTP and POP3/IMAP sever for sending and receiving mails in Linux server and client machines or we can directly send and receive mails without configuring these mail servers?
View 2 Replies View RelatedI've set up Ubuntu 9.04 (desktop) at home in a lab environment (workgroup rather than domain) and have configured Squid. Everything works fine but, when I took it to the next level and made the proxy transparent, my problems began. I can still access sites (having pointed the XP Pro client to the squid box as the DG) and the sites are logged in /var/log/squid/access.log but I am unable to use Outlook to access my SMTP and POP3. I guess that the setup is blocking ports 25 and 110 and I'll need to configure iptables to forward packets destined for these ports directly to the "real" DG, rather than the Squid box. Here's the set up:
A single NIC (eth0) on 172.19.0.250 / 16 (static) ADSL router ("real" DG) on 172.19.0.1 I executed iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128 My squid.conf:
Code:
acl all src all
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl localnet src 10.0.0.0/8# RFC1918 possible internal network
acl localnet src 172.16.0.0/12# RFC1918 possible internal network
acl mynet src 172.19.0.0/16
[Code]....