CentOS 5 Server :: How To Utilize Access Map And Relay-domains To Achieve Same Thing?
Feb 3, 2010
I run a few sendmail servers that run MailScanner/Spamassassin/sendmail (current versions) on Centos 5.4 and Centos 4.8 These boxes accept mail for a large number of domains (6000+) scan the mail removing spam and then forward the ham to another server for delivery. I am attempting to stop any backscatter that these servers cause by only accepting mail for specific users@domain or for domains with a catch-all account.I currently use /etc/ mail/ access.db as the access map for the domains, but this allows all mail to be accepted for the domain before the attempting to send it on for final delivery which causes NDR and backscatter for those domains which do not have a catch-all account.
I have looked at adding "To:user@domain RELAY" to the access mapand also adding "define(`_RELAY_FULL_ADDR_', `1') " in the sendmail.mc and running make -C /etc/mail but this has no effect on the sendmail.cf file. My understanding is that if I can get sendmail to accept this undocumented feature then all will be fine as I will be able to use the access map to allow mail to those specific users as well as entries of the type "domain RELAY".My second question is: Does anyone have any ideas on how to utilise access map and relay-domains to achieve the same thing?
View 6 Replies
ADVERTISEMENT
Oct 6, 2009
I would like to setup postfix to act as a relay for the outgoing mails of a couple of servers each serving it's own domain.The mails we are talking about are standard administrative emails like user registration, password reset request. The volume of those mails will naturally grow as the site grows. Which for me poses the problem that depending on the growth of the site you will sooner or later hit the quotas imposed by (my otherwise preferred) providers like GMail or smtp.com.
So what I need is a mail relay that will only accept mails from authenticated clients from hosts in its access list and relay their mail without restrictions. Is that possible with postfix? What has to be changed in the config and what are the pitfalls?
View 1 Replies
View Related
Aug 6, 2010
Two exchange servers internally. One is setup for example.com (192.168.1.10) and the other is setup for example2.com (192.168.1.20) Both are behind a single public IP.
I want to use postfix to sit in front of the two exchange servers. Postfix will accept mail for both domains and relay to the appropriate server. I have postfix installed with only defaults at this point.
View 2 Replies
View Related
Dec 17, 2010
I have not done the SMTP debug yet but just from basic troubleshooting, I think I know what the problem is. My mail server is rejecting my web server from sending mail due to 'relay access denied':
Code:
root@www:# telnet mail.domain.tld 25
Trying 211.113.101.135...
Connected to mail.domain.tld.
Escape character is '^]'.
[Code]....
View 5 Replies
View Related
Mar 21, 2011
distro = debian 5
when i tried to send to other domain, i will get "Relay access denied"
below are my configs
main.cf
Code:
# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
[Code].....
View 4 Replies
View Related
Jan 24, 2010
my server is Redhat as 5 + postfix +Dovecot .when i use smtp to send mail,it can't to send,the system return "relay access denied" ? This is my maini.cf
Code:
# Global Postfix configuration file. This file lists only a subset
# of all parameters. For the syntax, and for a complete parameter
# list, see the postconf(5) manual page (command: "man 5 postconf").
#
# For common configuration examples, see BASIC_CONFIGURATION_README
[Code].....
View 6 Replies
View Related
Apr 24, 2011
i need to configure postfix on centos to relay email from the internet to the Exchange Server and i also need that emails sent from the exchange within the same domain be sent to postfix then resent to exchange because i have spamassassin and clamav installed on centos to filter all incoming and outgoing mails ...
View 1 Replies
View Related
Nov 24, 2010
I was looking for a way to protect my samba server for limiting access to certain domains.Can I use the parameterhosts allow = example.comor something like that or is there another way to do the job for domains
View 4 Replies
View Related
Jul 20, 2010
I am still in Linux Diapers. I setup a CENTOS SELINUX box on an internal network. So the only way I know to access it's served pages is by navigating to 10.1.1.40 from a computer within the network. The issue is that I need to create sub-domains for this server but have no Idea how to go about doing that.
Is there a way of creating an alias for the dev server so I can type something like "washington" into the web browser of a computer on the internal network instead of 10.1.1.40? Can I use a fake FQDN that on this server and get served its web pages or do I need to register a FQDN?
Background: I am creating a series of websites using Drupal and am trying to implement the multisites functionality (all the sites are run from a single code base). To do this they suggest setting up each site on a sub-domain during development. We have not yet purchase the FQDN's for the sites so I have no FQDN to setup.
View 1 Replies
View Related
Mar 18, 2009
Is anyone can help me how to setup sendmail ( Centos 5.2 ) as mail relay for Microsoft exchange. I will put the mail relay in DMZ and Mail server in Local Network.v
View 1 Replies
View Related
Oct 17, 2009
I have a network (192.168.x.x) that I want to keep closed and private for the most part. I need however to get access to some files generated on the machines in this private network. So I first tried putting two cards in a machine running centos 5.2 and connecting one to the private newtork and the other to the public network. This worked somewhat but I was not able to see this bridging machine in the private network because I could not run 2 samba instances on this machine ( I need one for the public network). So I setup xen on a machine with the 2 NIC's and assigned one card to the host dom and the other to the guest dom which was connected to the private network.
This worked ok, but the only issue was the shared disk space. I couldn't use nfs because each machine operates in a different subnet and I don't know how to export a nfs drive across domains. So I created a logical volume on a disk and mounted this in both domains. This works some times,. but at other times I copy files from the private machine to the shared volume but i can't see them from the other domain. Also sometimes the guest domain which houses the private network server hangs during boot up saying that the logical volume has been assigned and cannot be mounted.
1) Is what I'm doing using logical volumes across domains legal (best practise, etc)
2) Is there another way for me to achieve what I want (sharing a disk partition across domains).
View 15 Replies
View Related
Jun 2, 2010
I am currently running a apache/postfix email service on my server. I am using aliases for two addresses for example:
trscookie@serverone.com
trscookie@secondserver.com
so the emails no matter which domain receives the email trscookie always will receive the email.
However I am unable to work out how to 'reverse' this process, for example.
If i was to go to secondserver.com/webmail I would like the emails to get sent from trscookie@secondserver.com however they are currently all coming from serverone.com. Is it possible to configure this so that it is sent from the correct domain?
Here is my main.cf:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
[Code].....
View 2 Replies
View Related
Aug 5, 2010
how to setup sendmail ( Centos 5.2 ) as mail relay for Microsoft exchange. I will put the mail relay in DMZ and Mail server in Local Network.
View 3 Replies
View Related
Feb 8, 2010
I am running Postfix 2.6.1 on Suse 11.2, and am receiving an error message on my windows machine saying "Recipient address rejected: Relay access denied." If I login to my email on the local machine or via squirrelmail I have no problem sending mail. The output of postconf -n is as follows:
server:~ # postconf -n
alias_maps = hash:/etc/aliases
biff = no
[code]....
View 1 Replies
View Related
Jan 9, 2011
just install kde in ubuntu couple of hours ago.i was just checking the panels and widgets.unfortunately i delete the bottom main panel. so i cant access any thing.just desktop is seen.without kde bottom panel kde is useless.its looks like this.snapshot1.pngwhat can i do. i want it to default position ?
View 1 Replies
View Related
Jun 3, 2010
When attempting to check my postfix install by using telnet to send an email to an address outside my local network, I get a relay access denied error.
This is how I attempted to send an email
Code:
telnet my_server 25
helo my_server
mail from: me@my_server
rcpt to: me@gmail.com
[Code].....
View 9 Replies
View Related
Jul 9, 2010
Setup an Ubuntu LAMP server to house a Wordpress site. Everything is gravy but I am having some troubles getting emails to route outside my local network. I have setup Internet and also added my ISP SMTP as a smarthost - either way I get the dreaded Relay Access Denied 5.7.1.
I am using DynDns as I do not have a static IP - not sure if this makes a difference?
telnet my_dyn_dns.org 25
ehlo localhost
250-my_dyn_dns.org
250-PIPELINING
250-SIZE 10240000
[Code]....
I have also tried the above with my ISP smtp IP in relayhost - same error.
View 2 Replies
View Related
Oct 30, 2010
Here the problem Ping to [URL]... works ok.
[Code]....
I thought, perhaps from one and one, have public IP blocked, but the funny thing is that from another PC that I have at same room (with Ubuntu 10.04 too) connected to the same internet connection (with the same public IP Address) works perfectly. What else can I check?
View 4 Replies
View Related
Aug 18, 2010
I have setup my own home server . All the applications are working perfectly except one I can't send Emails. I check weda my smtp has any errors not welll I got this
Code:
SMTP -> FROM SERVER:
220 server1.example.com ESMTP Postfix (Ubuntu)
SMTP -> FROM SERVER:
[code]....
View 1 Replies
View Related
Nov 23, 2010
I would like to set up a TOR relay and add a password so only those that have the password is able to browse the web using my ip.
View 5 Replies
View Related
Jul 2, 2010
My postfix is ok with receiving emails but i can send mail to my domain only [URL] When I want to send to other domains i receive this error (in the maillog):
Quote:
postfix/smtpd[14172]: NOQUEUE: reject: RCPT from 93-46-46-73.ip106.fastwebnet.it[93.46.46.73]: 554 5.7.1 <giannileggio@shoppeo.com>: Relay access denied; from=<info@sampledomain.com> to=<giannileggio@shoppeo.com> proto=ESMTP helo=<[36.234.52.97]>
it is the same via thunderbird or via telnet. This is my configuration
Quote:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
[code]....
I used 'sampledomain' instead of my real domain
View 2 Replies
View Related
Apr 7, 2011
I have 2 web servers running apache hosted at 2 data centres on 2 different IP ranges.The 2 servers are an exact clone of each other hosting www.example.com.What I am trying to achieve automatic failover. Say my first data centre gets wiped out, how would customers reach my website on my second server in the second data centre by still typing www.example.com?The aim is for the customer not to notice any difference.
View 3 Replies
View Related
Aug 24, 2010
I configure named and stumble upon the following problem: named is serious about user rights, every config file named uses should be named:named. I set rights to named:named as follows, but they get changed to root:named when I restart named as root. The same thing happens with SELinux context. This results in access denied type errors.
View 1 Replies
View Related
Nov 26, 2009
I am using openSUSE 11.2 and had the same issue once before in openSUSE 11.1 After some time, two domains I use very often can't be accessed any more, these are: Google and [URL]... (am doing some OO development recently). At the time where I write this post, only these two are "blocked".
When I try to access these two domains using Firefox, w3m or telnet, it tries to open the connection forever. Ping works fine. I tried opening the IP directly in the browser, but same problem, the connection never reaches. I know it's not a router issue, as the other computers can access these domains. Still, I tried to restart the router, but the issue persists. I tried restarting the network service (/etc/init.d/network stop + start), also nscd, without success. The only way I found to make it work again is to reboot. This problem reappears from time to time, after using the computer for a long time, and accessing these domains a lot of times. Note that I also use suspend to disk, so the "blocked" state is kept after resume. Only reboot "cures" it.
View 9 Replies
View Related
Apr 4, 2010
I have a server which time zone is in GMT format. I have a user which is also get time zone variable in GMT. But I want to run script which will start from crontab in EST time zone. For that I�m not suppose to give extra entry in crontab. May be it would be in script.
How can I achieve this?
View 1 Replies
View Related
May 9, 2011
I've recently installed CentOS 5, because I needed a good OS to run VMware Server. Just a heads up, I'm not very familiar with RH/CentOS distros, I usually use Arch Linux. My VMware install went fine, config is standard settings. Now I'm trying to access the VMware Infrastructure Web Access using port 8222 (http) and 8333 (https), but it's a no go. I'm connecting from another machine on the LAN, as the CentOS box is headless. I restarted the vmware services, and they seem to be launching fine. I don't know much about VMware though. I verified with netstat and ports 8222 and 8333 are listening.
View 3 Replies
View Related
Oct 21, 2009
This is my first post, I hope I'm the the right place. I installed mysql mysql-server php-mysql perl-DBD-mysql libdbi-dbd-mysql via "yum install -y" on a server running CentOS 5.3 X86_64 The install completes successful with no errors, but once I start mysqld via "chkconfig --level 35 mysqld on" ; "service mysqld start" There are no errors in /var/log/mysqld.log netstat shows mysqld listening on 3306 and localhost is in /etc/hosts
[Code]...
View 2 Replies
View Related
Mar 3, 2010
i installed MySQL 5.1.44 on my laptop and at first (2 days ago) it worked perfectly. I then decided to install the same thing on my server that also runs slack 12.2... it never worked. I initially followed the instructions step by step in the MySQL manuals and website, tried to get help from google, etc, but still doesnt work.
Basically, when I run /etc/rc.d/rc.mysqld start, I get:
Code:
nohup: redirecting stderr to stdout
Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/run/mysql/mysql.pid
100303 19:28:10 mysqld ended
[Code]...
View 2 Replies
View Related
Jul 25, 2011
Because our visitors/customers are short term, and may be configured incorrectly with their own mail servers we automagically redirect all port 25 traffic going to internal IP's to our own mail servers while on our network.(postfix on centos 5.6)While I have taken some measures to prevent it from spamming, I would greatly appreciate some assistance.I will be putting in clamav, but I haven't configured it yet with the mail.I am using postfix, but can also put on procmail or even spam assassin
View 6 Replies
View Related
Jun 10, 2009
I have just acquired a new co-hosted server and want to get squirrelmail up and running for all domains.
I only have ssh access and have installed squirrelmail using "yum install squirrelmail" which seemed to go ok but when I try to invoke it on any domain produces a blank page.
I have looked at various installation tutorials but all seem to take it from initial compilation etc which I haven't had to do. IMAP is already set up.
View 2 Replies
View Related