Security :: Limit Number Of Emails Send From One IP?
May 19, 2009
I'm looking for a solution for sendmail to limit the number of emails send per miniute per IP. For example all my local computer user with ip 192.x.x.x need to able to send 10 emails/minite (emails, not connections!. The rest of the world can send for example 200 emails/minute to the mailserver. If the amount of emails per minute is exceeded, sendmail needs to block receiving emails from the spesific IP. I want to do this to stop spaming from my local network. Is it possible?
View 1 Replies
ADVERTISEMENT
Dec 13, 2010
Dist: Fedora 14
SSHD: OpenSSH 5.5p1
I need to limit the number of ssh connections a user has. All the users are using tunnel only so their shell is set to /sbin/nologin The logins do not open a shell they just create the tunnel so /etc/security/limits.conf has no effect on them at all.
I tried setting 'MaxSessions 1' in sshd_config but either that doesn't not do what I expect it to or it plain does not work as even with a normal user I was able to open an unlimited number of sessions. I need a good secure way to limit each user to 1 ssh session without them having a shell but Im unable to find a solution.
View 13 Replies
View Related
Jan 18, 2010
I have a standard home set-up for my Ubuntu OS, and I would like to know whether its possible to cut out the repetitive prompts to enter the password, as when you connect to the internet or access files on a partition that's not home, or install new software.
View 1 Replies
View Related
Sep 5, 2010
How to number of connections for a single ip on port 80 to CentOS 5.5 with iptables? connlimit did not work on CentOS and nginx does not provide a module for that
View 4 Replies
View Related
Dec 6, 2010
I was searching around and I stumbled upon a Linux Kernelix Sockets Local Denial of Service exploit.I downloaded the exploit, compiled it ran it to check if I am vulnerable.As I was expecting, the exploit instantly "killed" my Maverick system and I had to use the power button to reset my computer...Is there any way to limit the numberof allowed open sockets?I don't think that this can be done using /etc/security/limits.conf in a similar way of preventing the fork bombs
View 1 Replies
View Related
Aug 17, 2011
I'm writing a script that will send an alert email given certain conditions. I have the impression that sendmail is what I need to do that. I just don't know how to use sendmail at all. I assume I have to set it up like a typical mail client so that it has a mail server to log into to send from.
I've looked through the man pages, but I can't find anything in plain English there on how to set it up, or how to use it once it is set up.
View 14 Replies
View Related
Aug 27, 2011
How to limit emails sent outside my domain or from a user in my domain with postfix to a valid user? i.e., bob can't send email as jane both from my domain and neither can send email to bob@hotmail.com as someone other then themselves. Using postfix with dovecot authentication through mysql.
View 1 Replies
View Related
Aug 31, 2011
I was nosing around in my /home folder and I noticed that the /.thumbnails directory had 38,000+ files in it. That number seem a bit excessive to me. Is there a way to limit the number of files that are allowed to be in that directory, and maybe delete the oldest files automatically when the directory reaches it's limit in order to make room for the new incoming files, so there are no "directory full" type of errors?
View 8 Replies
View Related
May 6, 2010
I have a server with 48 cores, 8 6-way Opteron CPU's. Ubuntu Server 9.04 only sees 32 processors. Is there a limit on the number of cores/processors that the server will use? Windows 2008 on the same server sees all 48 cores and the so does the BIOS, so this is unique to Ubuntu right now.
View 5 Replies
View Related
May 3, 2011
I ran into a user today that indicated that their company only allows them to log in through a terminal session once (no multiple logins). On second try their login window terminates. They are using putty.Is this being accomplished through PAM or sshd ( or some other method)?
View 1 Replies
View Related
Mar 2, 2011
I have a file with 200 000 lines and I want to append the fields of each line based on matching first field. The resulting file should have 70 000 columns but has "only" 18 000. The command I'm using is working perfectly with a smaller file, wich lead to 14 000 columns. Could there be a limit in number of fields that awk can handle ? Here's my awk command :
Code:
awk -F, 'END { for (k in _) print _[k] } { _[$1] = $1 in _ ? _[$1] FS $4 : $1","$4 } ' file > out
Also, this command writes ^M (windows line break) after each columns. Removing them is easy but where do they come from ? Working on Ubuntu 10.10
View 4 Replies
View Related
Jun 22, 2010
Does anyone know if there is a limit to the number of virtual guests you can have in kvm. RHEL has a limit of 4. RHEL AS is unlimited. What is CentOS?
View 1 Replies
View Related
Feb 8, 2011
I'm stuck with postfix. It cannot send emails and I cannot find out why! smtpPort 25/tcp is open. I can telnet localhost with 25, but not the localhosts IP(192.168.1.15). Sendmail is OFF. Here is the main.cf file!
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
[code]..
View 4 Replies
View Related
Apr 7, 2011
I am trying run audio conversion on my server that I want limited to a certain number of processes based on process name. I am using the following script but it isnt limiting the number of job like I want it to.
Code:
#!/bin/bash
$num_jobs = 13
while [ $(ps -A | grep -v grep | grep -c pacpl) -ge $num_jobs ]
do
sleep 1
[Code]...
View 3 Replies
View Related
Aug 25, 2010
I have evolution set up to send emails using gmail's smtp server. I've always been able to do it with no problems, but a couple of days ago I stopped being able to send emails to gmail accounts. I can send emails to other addresses but not gmail. The same happens with my wife's laptop with ubuntu. The only thing I can think of is that we recently moved and thus changed ISP, but I don't see how that's preventing us to send mails specifically to gmail accounts...
View 3 Replies
View Related
Feb 8, 2011
i am having problems sending emails via kmail. i am using kde 4.4.4 sending on port 25
View 9 Replies
View Related
Apr 25, 2009
I have configured Postfix on a Ubuntu 8.04 box using this tutorial:I can send emails but I cannot receive any email because of a "bad recipient address syntax:"The log from /var/log/mail.info says this:
Code:
Apr 25 14:46:06 360romania postfix/pickup[31716]: 74A682190661: uid=0 from=<root>
Apr 25 14:46:06 360romania postfix/cleanup[32402]: 74A682190661: message-
[code]...
View 9 Replies
View Related
Apr 25, 2009
I have a web application installed on a Debian server that sends out a lot of e-mails. Is there a way to configure Postfix to retain the messages in a queue and send all of them at midnight for example
View 2 Replies
View Related
Oct 8, 2009
Howdy. I'm trying to get mailman up and running. I have CentOS 5 (hiab) and qmail. I did yum install mailman and that went fine, I set up apache and can see the mailman pages via htttp.The issue now is with sending mail, whenever I send emails to the list I get: 511 511 sorry, no mailbox here by that name
So I'm assuming my alias files/.qmail fies are in the wrong spot. The contents of my .qmail are (respective to the -admin, -bounces, -etc)
View 3 Replies
View Related
Feb 1, 2011
I am using ssh server to connect to my Ubuntu desktop. I opened the file sshd_config and change my port number of the server.I want to put a limit on the number of clients in the ssh server.
View 2 Replies
View Related
Jul 28, 2010
except is there is a way to enhance mod_limitipconn.c to ensure that apart from restricting one connection allowed from a given IP, also set so that an IP can only connect on every set interval ?e.g.restrict the number of connections from a given source IP to say once every 5 minutes or so?if not mod_limitipconn.c, any other mechanism to do the expected result?
View 2 Replies
View Related
Sep 14, 2010
I just want to be able to send emails through my webserver, setup. I couldn't find a dev forum - so thought i'd post here. I'd like to be able to send emails (form my localhost setup) to and from my global client, namely: ( ***@yahoo.com), using PHP and Apache. A snippet from my php.ini file looks like:
Code:
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
sendmail_path = /usr/sbin/sendmail -i -t
sendmail_from = example@yahoo.com
Now, I never could get this working in Windows, let alone Linux. I could do with it working though.
View 9 Replies
View Related
Oct 4, 2010
I am looking to send emails from cron for backup information. However, all the programs I have found (mail, mutt) require the password in plain text. Does anyone know of a more secure method? In fact, if it is only sending, is there a way to do this without logging into an account? What is the simplest way, without making it check emails too?
View 3 Replies
View Related
Aug 6, 2010
i've been trying to send emails to my gmail account and it works now. using postfix, how do i make nagios send notifications to my gmail account when any services go down?i saw this commands for email in commands.cfg:
Code:
# 'notify-host-by-email' command definition
define command{
command_name notify-host-by-email
command_line /usr/bin/printf "%b" "***** Nagios *****
[code]....
i know that will be the format of the email if i can receive it.
View 8 Replies
View Related
Feb 8, 2011
I'm experimenting with with mail-servers now and I'm trying to configure postfix to send emails from one email(pop3 is gmail) to any email outside the local network. Server is Ubuntu 10.10 with the last updates.
View 1 Replies
View Related
Jul 26, 2010
I am using postfix as my MTA. It is running on ubuntu and I am administering the system through webmin, try as I might with different configurations, I can't send email from a client. when I look in the mail.log i only find:
Jul 26 15:31:00 alpha postfix/smtpd[17430]: connect from unknown[99.153.1.214]
Jul 26 15:31:31 alpha postfix/smtpd[17430]: lost connection after UNKNOWN from unknown[99.153.1.214]
Jul 26 15:31:31 alpha postfix/smtpd[17430]: disconnect from unknown[99.153.1.214]
View 1 Replies
View Related
Sep 28, 2010
I'm trying to configure postfix to send e-mails but it is not receiving requests from networks different from its localnet (192.168.1.0/24). Iptables is like this:
Code:
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- 10.0.0.0/8 anywhere
ACCEPT all -- localnet/24 anywhere
ACCEPT udp -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
A part of main.cf is like this:
Code:
biff = no
append_dot_mydomain = no
delay_warning_time = 4h .....
View 1 Replies
View Related
May 2, 2009
We've been experiencing sudden host server crashes minutes after starting a fourth virtual machine. Our setup looks like:
Dell Poweredge T300
1 x Intel Xeon X3323 Quad Core 2.5 ghz
16 GB Ram
CentOS 5.3 (64 bit)
Server is running a stripped down version of CentOS 5.3 (64-bit), running only the built-in Xen Virtualization Environment. There is no other services running on the server (not samba, httpd, sendmail, cups... nothing except Xen) We've created several virtual machines, and as long as we don't start a fourth virtual machine everything runs smoothly (impresive hardware).
Each virtual server is configured as:
PARAVIRTUALIZED
1 Virtual CPU
1 GB RAM
However, 5 minutes or so after starting a fourth virtual machine, the entire host server crashes and restarts itself. Are we limited by the number of cores on the host machine CPU (4 cores)? 1 for the host and 3 for virtual machines? We've read in forums about other Xen setups running up to 11 virtual machines on less powerful hardware? (a dual core server). Should we be using FULLY VIRTUALIZED virtual machines instead? Is the number of XEN virtual machines in fact limited by the number of cores? If so, how can someone run several virtual machines on a single core host?
By the way, we were replacing a previous Dell Server (Poweredge 2600 with 512 MB Ram and a single Xeon single core processor running Open Virtuozzo). We were able to run up to 16 virtual machines at the same time. Of course none of the machines endured hard work (testing environments, etc). But hey, my point is that we expected to get a much higher number of virtual machines on this new hardware.
View 8 Replies
View Related
Dec 4, 2010
I'm running Evolution 2.30.3 on fc13.x64 and I've been getting a funny problem for a while, that now really annoys me:
even if the settings for my hotmail account are correct, Evolution will ask for the password every time I log in. Also, since I keep it open, after a while (~30 minutes) it "forgets" somehow the password and asks for the password again. This time, anyway, it won't work and I have to reset Evolution again.
Bonus question: even if hotmail is configured correctly for receiving and sending (smtp.live.com etc.), it won't send email, but will remain stuck on "sending".
View 2 Replies
View Related
May 10, 2011
How to seup nagios to send email to mails in MS Exchange server ?
View 3 Replies
View Related