Security :: Block A Domain Name In Sendmail Server

Jul 9, 2010

I want to block a domain name in sendmail server. I added the domain name and "REJECT"in /etc/mail/access file. What has to be done for the changes to take effect? when i run make command in /etc/mail dir i get following error : make: Nothing to be done for `all'.

View 1 Replies


ADVERTISEMENT

Security :: Iptable To Block A Sub-domain

Feb 23, 2011

Is it possible to block a subdomain or a one lower level directory URL access from other hosts or network ? I have a site running on my server and i want to block the particular directory under the domain, with the exception of loopback access? I mean the directory must be accessible from loopback/localhost.

[url] on port 10016(expect loopback)
[url] on port 10016 (expect loopback)

Code:

View 1 Replies View Related

Security :: Squid Proxy Block Sites Or Domain

Apr 5, 2010

I have a problem with sites or domain blocking by squid proxy server in rehl 5. I have trying lots of time but i'm not succed.pls help me how to block sites or domain in rhel 5.

View 3 Replies View Related

Server :: Sendmail - How To Do Domain Masquerading

Apr 24, 2011

I have a Centos 5.5 Server, Servername is CentOS1. It has a Forum and a HelpDesk. The Help Desk software SENDS and acknowledgement to the user and emails to all the people on the support desk. Users can reply to emails only by accessing the helpdesk NOT by mail. Thus the server is configured to only SEND mail and not to receive any mail at all.

Mail Server is Sendmail.
Hosts file reads : -
# Do not remove the following line, or various programs that require network functionality will fail.
127.0.0.1CentOS1.tech.xxxxx.com CentOS1 localhost.localdomain localhost
::1localhost6.localdomain6 localhost6

There is NO MX Record because this server receives NO mail, it's send only. Unfortunately, the mail it sends has a From Header which is @CentOS1.tech.xxxxx.com. I want it to send from @xxxxx.com. I've read all the howtos on Masquerading and I've tried many, many things, but with the same results. It will NOT change the From. I had it working perfectly a long time ago with a SuSE server, but I can't for the life of me remember what I did. I know I also battled a bit.

The last few lines of sendmail.mc read : -
LOCAL_DOMAIN('localhost.localdomain')dnl
dnl #
dnl # The following example makes mail from this host and any additional
dnl # specified domains appear to be sent from mydomain.com
dnl #
dnl MASQUERADE_AS('xxxxx.com')dnl
dnl FEATURE(masquerade_envelope)dnl
dnl FEATURE(masquerade_entire_domain)dnl
dnl MASQUERADE_DOMAIN(localhost)dnl
dnl MASQUERADE_DOMAIN(localhost.localdomain)dnl
dnl MASQUERADE_DOMAIN(CentOS1.tech.xxxxx.com)dnl
dnl MASQUERADE_DOMAIN(CentOS1)dnl
dnl MASQUERADE_DOMAIN(tech.xxxxx.com)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
dnl MAILER(cyrusv2)dnl

I've tried each one of the MAQUERADE_DOMAIN in turn, none of them work and yes, I have remade it.

View 15 Replies View Related

Server :: How To Apply Restriction On Sendmail Domain

May 21, 2010

I am using sendmail. I want to apply sendmail restriction so that nobody cannot send any mail to other domain.my domain name is msp.net
E.g. 1. rahul.com 2.kumar.com
I want to send mails only above two domain only.if any user want to send mail to other domain. It should be not reach. What should I change in sendmail.mc or in my firewall?

View 2 Replies View Related

Server :: Sendmail Outgoing To Internet Domain

Feb 26, 2010

I have sendmail installed in my home machine and also dns is configured and also I have configured mx for mail server. My dns is unregistered and my question is that can I send mail to external account like yahoo or gmail to check whether my is working or not.

View 1 Replies View Related

Server :: Setup Sendmail To Work With Domain

Apr 28, 2010

I'm Trying to setup Sendmail to work with my domain in my server which is :

Code: Linux Centos 5.4 My server can send mail locally to users in my Linux Box and it can receive mails from yahoo and other mail providers in the web, but when i try to send mails to yahoo or others it send me some mail delivery message which is :

[Code]...

View 8 Replies View Related

Server :: Sendmail Block Sending Or Receiving .exe Files As Attachment

Jun 22, 2010

Please tell me how i can block sending or receiving .exe files as a attachment in sendmail server

View 1 Replies View Related

Server :: Sendmail - Block Email To Root From Outside But Keep Receiving From Inside

May 5, 2010

I have a small internal network with about 8 or so servers or workstations. My mail server is getting spammed from all over to the root and other administrative accounts. I also get valid email sent to the root and administrative accounts from within my local network. Is there a way to block all email coming from outside my local network while still receiving it inside the local network to these specific accounts?

View 2 Replies View Related

Server :: Configuring Sendmail To Handle Addresses But Not The Whole Domain?

Mar 22, 2011

From my main Postfix SMTP heads, I am sending just a couple select emails (primarily support emails) off to a server that receives them and pipes them into the support software. So far this totally works perfectly and I am pretty happy with the configuration. However, in order for sendmail on the support server to receive those emails I have to place them in the virtusertable of course, but I also have to activate their domain in the local-host-names file. That then causes sendmail to consider itself as the destination server for that whole domain.Is there a way to make sendmail receive email for select addresses without making it think it's the server for the whole domain? This server is only receiving email from two specific smtp servers, so I wonder if I could just permit relaying? Wonder if that would just cause a giant loop though.

View 1 Replies View Related

Server :: Sendmail Not Forwarding Email To Domain's SMTP?

Apr 9, 2010

I have a server "test1" in domain [URL]. I installed sendmail on it. I have another mail server "mailsrv" installed in [URL] which is my primary mail server and contains all accounts and mailboxes. Now when I send email to [URL] from [URL] it sends successfully. But when I try to mail to user1@abc.com it tries to search user1 in [URL] but I want it to forward this mail to mailsrv.abc.com over SMTP port. Delivery will then be taken care by [URL]

My log shows following

Code:
Apr 9 18:37:06 test1 sendmail[7512]: o39Db6Hs007512: to=user1@abc.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30047, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o39Db6Il007513 Message accepted for delivery) It should not go to relay=[127.0.0.1], it should go to relay=[10.10.10.1]

View 4 Replies View Related

Server :: Using Sendmail For MediaWIKI In 2008 Domain With Exchange

Apr 4, 2011

We have a Windows 2K8 domain with Exchange 2010. I have setup a Ubuntu Server to be used as an internal wiki. Installed AMP on it and have MediaWiki running. Now I would like to setup SendmailToWiki extension. The only problem is that I do not know how do I make sendmail to work inside the LAN her with the Exchange server? This is the extension: [URL]

The e-mail address that is used in the extension is dynamic(changes for every user, since each user sets its own pinkode). And the script sets the domain part off the email to the last part off the IP of the ubuntuserver. For example: wikipost+2.12345@62.85. I cant send an email to half of an IP, can I? What I need to configure or not?

View 2 Replies View Related

Server :: What Configurations For DNS And Sendmail To Send Mails From One Domain To Other

Mar 18, 2011

What configurations will be required in DNS and sendmail server to send mails from one domain abc.com to other domain xyz.com.

View 1 Replies View Related

CentOS 5 Server :: Sendmail Don't Deliver To Locl Domain

Jul 23, 2009

I used Zimbra since a week ago to my centos 5 server, but now I'm using google apps. Today I tried to uninstall Zimbra and restore sendmail, but when I try to send a mail to local domain, it responds with an unknown user message and don't deliver the message to google mail.What I forgot in reconfiguration?

View 13 Replies View Related

Server :: Sendmail: Block Specific Sender To Specific Recipient?

Oct 1, 2009

I'm trying to configure our mail server to block email from a specific sender reaching a specific recipient. In other words, if one of our employees is getting harassed by a 'stalker', how would one go about blocking, at the MTA (Sendmail) level, a specific sender email address from reaching a particular users inbox? We do not want to capture the email - simply block it before it consumes server resources.The Sendmail server (MTA) is a front end to our Exchange server so no user accounts exist on the Linux server. We simply use it as a SPAM and Virus scanner then forward clean email to the Exchange server.

View 6 Replies View Related

Security :: Website Block By Using Proxy Server?

Mar 24, 2011

i am using RHEL 5. i configured proxy server. now i want block one website.

View 2 Replies View Related

Fedora Security :: Block Some Ip Address That Are Attacking Server?

Aug 26, 2009

I want to block some ip address that are attacking my server and making my ssh port busy. On searching the google, I found

Code:
iptables -A INPUT -s ip_address -j DROP

I will add this rule in iptables. My questions are:
1) do I have to do

Code:
chkconfig iptables on

so that it load the iptables at boot. I am wondering why do I need this because iptables is already modified and it loads the iptables at boot time if firewall is enabled.

2) When we add the above rule, which file is modified? Another way, where are this rules stored? It is not in /etc/sysconfig/iptables and /etc/sysconfig/iptables_config.

View 1 Replies View Related

Security :: Configure Server To Block Unsecured VNC Connection?

Jun 23, 2009

securing VNC connections by tunneling the connection over SSH. However, from the server perspective it will still allow an unsecured connections and you're relying on the client to setup up the SSH tunneling. Is there a way to configure the Linux server to now allow connection over an unsecured channel?

View 4 Replies View Related

Security :: Block Certain Crafted Packets With IP Tables Before Reaching A Server?

Mar 14, 2011

Battlefield 2 server being attacked by packets that creates infinite loop, then when a player disconnects, server crash.

The packets seems to be always the same.....

Attacker Script: [URL]

Script in action:

[Code].....

I need to find a way to block these 4 packets (i think theyre 4 for what i tested) with IP TABLES.

EDIT: There seem to be other different replies, maybe 1 different but no more.... maybe you can find something useful in the script.

View 3 Replies View Related

Security :: Block Particular Web Site Form Multiple Hosted Server And Allow Others?

Aug 17, 2010

I am having a web server (apache) and 3 sites are hosted in it, named as www.web1.com,www.web2.com and www.web3.com.
I need to restrict www.web2.com to Internet users and allow only to local network. At same time I need to allow www.web1.com and www.web3.com to both Internet and LAN users.

View 2 Replies View Related

Security :: Block User Accounts Who Has Not Logged In To The Server Last 2 Months?

Mar 1, 2011

We have 4 servers having rhel 5.2. We have several users logged in on one of them. We have nis server/client running on them and have common home area mounted on all of them. Now we want to disable/block the accounts of the users who have not accessed our servers in last 2 months from today.What logic should we apply to do so? We were checking stat of .bashrc of each user but is not correct logic. We are going to write shell script for the same. We dont want to do anything in users home area or their files.

View 11 Replies View Related

Server :: Samba Role Domain Member Security Ads

Oct 21, 2010

CentoS 5.5
[root@osra ~]# rpm -q samba3x
samba3x-3.3.8-0.52.el5_5.2
[root@osra ~]# rpm -q krb5-workstation
krb5-workstation-1.6.1-36.el5_5.5
Domain controller windows 2k3 sp3

I follow those guides: [URL] and [URL]. I join the domain, I can test the user
[root@osra ~]# wbinfo -a mbottalico%
plaintext password authentication succeeded
challenge/response password authentication succeeded

[root@osra ~]# wbinfo -u
administrator
guest
krbtgt

[root@osra ~]# wbinfo -g
utenti wins
dhcp users
dhcp administrators
computer del dominio
controller di dominio
getent passwd and group ok without "DOMAIN+"
kinit e klist ok.

I can browser the samba server, but I can enter on "temp", but not in "test" (access denied)
[root@osra ~]# smbclient \\osra\test -U administrator
Enter administrator's password:
Domain=[DOMAINSHORT] OS=[Unix] Server=[Samba 3.3.8-0.52.el5_5.2]
smb: > ls
NT_STATUS_NETWORK_ACCESS_DENIED listing * (I noticed only writing this message)

[root@osra ~]# smbclient \\osra\tmp -U administrator
Enter administrator's password:
Domain=[DOMAINSHORT] OS=[Unix] Server=[Samba 3.3.8-0.52.el5_5.2]
smb: > dir .....
53488 blocks of size 2097152. 49908 blocks available
smb: > q
0 blocks of size 0. 511 blocks available .....

View 2 Replies View Related

Security :: Configure Squid Server To Block Anon Proxy Sites?

Jul 22, 2010

I have setup a squid server on Rhel5.4. I would like to know how I can configure my squid server to block anon proxy sites.

View 3 Replies View Related

Software :: Sendmail Domain Could Not Be Qualified

Jan 11, 2011

We recently had an issue with our sendmail where the mail that was being sent to certain corporate users was being bounced as the domain name couldn't be qualified. After much sole searching we provided the server with the fully qualified domain name and all was well. When a user sends a mail to an internal user in our organisation it bounces with a user unknown. It would appear that it is looking for the user on this server now rather than on the exchange server where they reside. We have a smart relay address in the config file to ensure the external mail went out correctly.

As an example we have the entry in the host file as:
1.1.5.72 serverx2 foofighters.com serverx2.ad.foofighters.com

The Smart Relay as:
# "Smart" relay host (may be null)
DSxchange1.ad.foofighters.com

On exchange we have aliases as userx@foo.com where the users email address is ser.x@foofighters.com. Now when the mail is sent to userx@foo.com the server sends ok. If you send to user.x@foofighters.com we get a user unknown.

View 3 Replies View Related

Red Hat :: Sendmail 8.13 - Can't Send Mail To Own Domain

Jan 13, 2010

i have running sendmail 8.13 on my red hat enterprise linux 5.1, but i have a problem. I can send a mail from my line command terminal to hotmail, gmail, yahoo and any of these, but i can't send mail to my own domain ([URL]), when i wrote a mail i get a reply from MAILER-DAEMON@localhost.localdomain that says that the message had pemanent fatal errors and shows as user unknown the mail was suposed to recive the message.

For example, if i send one mail from user1@mydomain.com to user2@mydomain.com the user2 does not recive any mail, but that doens not happens if user1 sends a mail to any hotmail address or gmail or any other. Besides i also can't recive on my server any mail to user1@mydomain.com or user2@mydomain.com (for example), so please tell me what do i do to get the mail.

View 2 Replies View Related

General :: CentOS 5.4 - Sendmail And Host Domain

Jul 7, 2010

I'm running CentOS 5.4 with sendmail. My computer hostname is bob.domain.com. Whenever I would nc -v 127.0.0.1 25 into sendmail I would get bob.domain.com on the banner. Whenever I send out email the emails would be user@bob.domain.com. I wanted the email to show up as user@domain.com. So in the etc/mail/sendmail.cf file I changed the line

Code:
Dj$w.hostname.com
to this

Code:
Djhostname.com
Now when I enter sendmail I see domain.com in the banner so I know the change took place. However, when I send email using

Code:
mail -s "test" xxx@xxx.com
then email still goes out as user@bob.domain.com. What other changes do I need to make?

View 5 Replies View Related

Ubuntu :: Networking / Setup A Domain And Directory Server Similar In Function To Windows Server W/ AD And Join Other Machines To The Domain

Aug 21, 2009

I've got a home server running Ubuntu Server 9.04 and several machines running Ubuntu Desktop (9.04 and 8.04) and Windows (XP, Vista and 7). Now what I want to do is to create a domain and directory server similar in function to Windows Server w/ AD and join my other machines to the domain, but am not sure where to start. I already have file shares with Samba but now I want to setup a domain.

View 3 Replies View Related

Networking :: Block A Domain Using URL Filter?

May 6, 2010

Can you show me how to block a domain from local access through URL Filter?ay be an example is a very good start.

View 10 Replies View Related

Server :: Sendmail M4 Configuration Base Directory /usr/share/sendmail-cf Was Not Found

Nov 1, 2010

I am using webmin for my daily tasks. I have fedora 13, whenever I click on ''Sendmail M4 Configuration'' or Outgoing Addresses (generics)'' I get the following error message

Quote:

The Sendmail M4 configuration base directory /usr/share/sendmail-cf was not found on your system, or is not the correct directory. Maybe it has not been installed (common for packaged installs of Sendmail), or the module config is incorrect. I read documentation at sendmail.org, it seems that structure of directories for send mail has been changed in version sendmail-8.1.4 shipped with FC13. In webmin config module we have

Quote:

Sendmail M4 base directory = /usr/share/sendmail-cf

which is not there. I did a locate / sendmail-cf on the command line, it finds nothing

View 17 Replies View Related

General :: Script To Block Sender Domain

Apr 23, 2011

In our mail server we are taking lots of hits. In the maillog there's a hell of rejected mail like these:

Code:

I Have a script which search for the IP and block those. I'm having problem if IP block the RCPT IP's.

Instead i want to block the sender domain, like in this example, shareme.com. What's shall i modify in my script to do this?

Code:

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved