Ubuntu Servers :: Verify That Mail Server Is Not An Open Relay?

Apr 16, 2011

I'm setting up a mailserver for my domain.I'm seeing relay rejections in the mail.logbut I'd like to have external validation that nothing bad is exiting the domain beforeI wind up on blacklists

View 4 Replies


ADVERTISEMENT

Ubuntu Servers :: Secondary Mail Server And A Mail Gateway/relay?

Aug 3, 2011

Our primary mail server is Exchange 2003 Standard on Windows Server 2003 Standard - don't shout at me; I inherited it already set up this way.I have a couple of hardware identical redundant servers (HP ML350 boxes), all with very fast 2 or 4 disk arrays, multiple core CPUs and plenty of memory, and I am looking at two potential new additions to the infrastructure.

A secondary mail server is high on my list of priories. I've been well and truly bitten by Exchange in the past and given that this particular box has been running four years straight and that it's mail store is dangerously large, having a secondary mail server in place suddenly makes a lot of sense.

A new Exchange 2010 box is currently being set up, but the secondary mail server will remain in place even when the new Exchange server is brought online, so this won't be a wasted exercise.... I also want a gateway box in place to filter and relay mail to the primary server, or to the secondary server if the primary is unavailable. Currently our outer perimeter is:

ISP supplied CISCO router
Draytek VigorPro 5510 UTM

Untangle running in bridged mode (primarily used for SPAM filtering, URL blacklisting, and very little else) Exchange 2003 sits behind the Untangle box. This is how I want to end up:

CISCO >> Draytek >> Ubuntu gateway >> Exchange/secondary mail server

I know I could replace/remove the Draytek but I want it to remain for several reasons, including lots of VPN dial-in users already configured and that it offers us an additional layer of email antivirus scanning before things hit the Exchange box. No point switching all of our remote workers over to new tunnels unnecessarily...

I have done some research and have started testing a pilot secondary mail server using Ubuntu/postfix DNS is properly set up and MX records and reverse PTR records are all present and correct, and things are looking encouraging so far. Before I go out over deep waters and start to flounder, has anyone who has done something like this got any obvious howlers I should be looking to avoid ?

View 2 Replies View Related

Server :: Configure Postfix To Relay Mail To Multiple Internal Mail Servers With Different Domains?

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

Ubuntu Servers :: Postfix Relay - Exchange Sends The Mail Instead Giving Recipient Mail A Valid Reverse DNS Lookup

Jan 12, 2011

The scenario: We have an external server that runs HTTP/DB servers for out shop system. Then, there's our local, in-house infrastructure that runs a.. yeah... Exchange 2010. The shop system on the external server needs to send mails to customers (order confirmations, invoices, etc.). seing as sending them directly through the local MTA (Postfix) would cause mail delivery problems because of reverse DNS issues, i've set the Postfix MTA to act as a satellite to our in-house Exchange Server, so the Exchange sends the mail instead, giving recipient mail servers a valid reverse DNS lookup.

Now, mails sent by the (proprietary, uneditable) shop system are relayed correctly and sent to the target e-mail address. My problem is: Mails not sent by the shop system, but by our own PHP scripts which run on that same external servers, are NOT relayed properly. So the Exchange is fine with the mails sent by the shop system, but not the mails sent by our scripts. This is what i get in the mail.log: The successfully relayed mail sent by the shop system:

[Code]....

View 2 Replies View Related

Ubuntu Servers :: Postfix Relay Mail For Local Users?

Mar 1, 2011

I have a mail server running Postfix and the problem I'm running into is that when trying to send mail, I get a "relay access denied" error.Inside my main.cf, I did not specify 'smtpd_recipient_restrictions' so by default, the variable is:

Code:
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination
The 'mynetworks' variable looks like this:

[code]....

View 3 Replies View Related

Ubuntu Servers :: Mail SMTP Relay / Copy All Traffic To Another Port For Monitoring?

Sep 2, 2010

I'm running ASSP on Ubuntu 10.04.1 it's mostly working fine. I have one problem which has been bugging me for some time. I don't want to filter outbound mail, but if I can relay (proxy) my outbound mail through ASSP, then it can automatically add to the whitelist.

As ASSP is a proxy, I need a server to send it to once ASSP receives it. I've tried my ISP, but this failed and they weren't willing to confirm if a connection attempt was received at their end.

Current setup

Inbound

mx -> router -> ASSP -> Exchange 2003

Outbound

Exchange 2003 -> mx

I'd like to setup outbound as either

Exchange 2003 -> ASSP -> <ISP> SMTP relay
Exchange 2003 -> ASSP -> <relay running on Ubuntu eg postfix>

Can anyone help me with troubleshooting steps or a better suggestion for how I can set this up. I'd love to know why my ISP setup didn't work, but I don't know a tool for monitoring IP traffic in Ubuntu SE, in windows I use Wireshark is there any equivalent I can setup for Ubuntu or a tool I can use in windows which will show all traffic, Ubuntu and windows server are on the same netgear switch, not sure it's smart enough to copy all traffic to another port for monitoring.

View 4 Replies View Related

Server :: Internal Mail Relay To Exchange Setup

Jan 25, 2010

I have ticket tracking software that mails ticket to groups. Right now the software is on an exchange server. After moving it to a dedicated linux server (debian lenny) I cant get it to email any of the internal domain addresses. I have tried to setup sendmail to relay it to the exchange server. Logs indicate that it was sent by the ticket tracking software but the message never hits the mailbox. It also wont get to any other mail address. Is there a better way to do this? The crm software will utilize either a smtp server or any mail server on the localhost. The problem is that with the dedicated server on the same network as the exchange server, it fails to send the mail even if I assign an external smtp server. But if the dedicated server is on a different network then it works using any smtp server in its configuration. I need something that can "pass the email" to the exchange server. Or just be able to send the mail to internal email account and still be on the same network.

View 2 Replies View Related

CentOS 5 Server :: Setup Sendmail As Mail Relay?

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

Ubuntu :: Gmail Relay And Post Fix / Send Emails With Postfix And Gmail As The Mail Relay?

Apr 29, 2011

My issue is that i'm trying to send emails with postfix and gmail as the mail relay,i'm trying to send emails to my self by sendmail -bv user@gmail.com

In the logs, i can understand that it been delivered to the destination,
taken from: /var/log/mail.log:
Apr 30 00:05:23 moni postfix/pickup[10490]: 9C7552170C: uid=0 from=<root>
Apr 30 00:05:23 moni postfix/cleanup[10495]: 9C7552170C: message-id=<20110429210523.9C7552170C@moni.localdomain>
Apr 30 00:05:23 moni postfix/qmgr[10491]: 9C7552170C: from=<root@moni.localdomain>, size=283, nrcpt=1 (queue active)
code....

When login in my gmail account i can't see nothing under the sent / inbox / spam folder.

it's seems like the mail are been sent.. but nothing is happening.

View 1 Replies View Related

Server :: Postfix Not Relay Mail Via Gmail Account SMTP

Feb 11, 2011

I'm trying to set up my postfix server to relay mail (via a php cms) using Gmail's smtp on my account, but for some reason, Gmail returns an error code that StartTLS must be sent first, my postfix main.cnf file can be found at pastebin, because of this forum's text length I cannot paste my postfix main.cnf file as can be seen I have everything set and configured for Gmail, but postfix (for some unseen reason) can not send StartTLS. [URL].

View 4 Replies View Related

Server :: Using Postfix To Relay To MS Exchange Allowing Only Mail To Domain

May 13, 2011

I'm using Ubuntu Server 10.04 and I can successfully relay mail generated by php scripts through an Exchange server.What I want to do is accept incoming mail from the Internet through postfix and relay it to the Exchange server but I want all mail that is not addressed to ...@mydomain.edu to be discarded.

View 3 Replies View Related

CentOS 5 Server :: Setup Sendmail (5.2) As Mail Relay For Microsoft Exchange?

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

Server :: Setting Up Postfix As Outgoign Mail Relay For Several Domains / Hosts

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

Server :: Use Postfix Send Mail Return 'relay Access Denied' ?

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

Server :: Stop Setting Up An Open Relay Spam Server?

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

Server :: Left Exim4 As Open Relay, Got Reported As Spam?

Apr 19, 2011

I set up an exim4 server successfully and was able to send/receive mail! I fired off a couple emails to my friend and never got a response. Oh well, I thought, must be because my domain name might be considered spam.Flash forward to today and I get an email from the people who host my server, telling me that I have left my exim4 relay open. Looking through some of my users' email, I see a series of messages with the subject 'Message frozen':

Code:
Message 1QCCQJ-0004FP-OY has been frozen (delivery error message).
The sender is <>.

[code]....

View 1 Replies View Related

Ubuntu Servers :: Migrate Postfix Mail Server To Exchange 2010 Mail Server

Nov 3, 2010

I have a problem relate to posttfix.I want to mirgare postfix mail server to exchange 2010 mail server but I can't do it,u can help me.You can show me have to do configure postfix and exchange how to?

View 1 Replies View Related

Ubuntu Servers :: Make A Local Mail Server That Itself Is A Client To A WAN Mail Server?

Mar 10, 2011

How do I make a local mail server that itself is a client to a WAN mail server.I want the local mail server to query new mail every 30 minutes from the WAN server.

View 6 Replies View Related

General :: Add ISP Mail Relay To DNS Configuration

Jul 26, 2011

I am trying to get ISP to relay mails for me if my mail server is not available and they are sking me to add their relay name in to my DNS configuration.

View 4 Replies View Related

OpenSUSE Network :: Specifying Smtp Relay On Commandline Of Mail Command?

Aug 9, 2011

On my opensuse 11.4 box (although I assume the version is irrelevant), I'm trying to figure out how to do something with the mail command. We have multiple smtp relay servers and sometimes I have to test to verify that mail is bouncing off of them successfully. On my laptop, in my main.cf file for postfix, I've got the relay server listed. But to test multiple servers, I have to change the main.cf, restart postfix, send message, and then repeat for each test.

I'm trying to figure out a way to specify the smtp relay on the command line. I've been playing with the -S option which is supposed to allow variables and one of the variables in the man page is 'smtp'. I've tried several different syntaxes but nothing seems to work.

The closest I've come is:
mail -S smtp 10.1.0.63 -s "test" user@email.com < main.cf

That syntax doesn't give me an error but it still routes the message off the smtp server listed in main.cf which is not 10.1.0.63.

View 3 Replies View Related

OpenSUSE :: Find If Is Being Used As Open Relay?

Jun 11, 2010

has a small company with an opensuse linux computer and their ISP just told them that something's sending spam. The person who set this computer up is long since gone. They don't know anything about linux and have no idea what programs are on there.How would I figure out:

1. If there's an emailing program on there
2. Whether it's sending or capable of sending spam
3. Lock it down

View 6 Replies View Related

General :: Mail Server - 111 Cannot Open SMTP Stream

Oct 20, 2010

We 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 Related

Server :: Migration To Open Source Mail System?

Jan 27, 2010

I have a friend that want to migrate his server to a open source mail system. Currently, he's using a system using Maildir. So I decided to use qmail since it has support for Maildir and it has pop3 capability. Courier-imap is the one I'll be using for IMAP. My concern is webmail. Can anyone suggest a webmail that will run using Maildir format and has addressbook and calendar feature. I'll be using a single server only. Please exclude Squirrelmail from the list.

View 2 Replies View Related

Ubuntu Servers :: Verify What IP Address Created What File

Jun 10, 2010

I know the who belongs to the IP address that created the file. (is there any way to verify what IP address created what file?) My concern is that it did not come from the address specified. I found this in /tmp/udp.pl.

[code]...

View 1 Replies View Related

Ubuntu Servers :: Mail Server On Own Server

Dec 18, 2010

After days and days spent in reading guides, how-to, forum post and much more, I still have some doubts regarding the possibility of developing a personal mail server having a fully functional ubuntu server. ( of course this is due to my lack of knowledge...hehe )

First thing I wish to understand is the focal point "Can I have my private mail server pointing to mymail@myinventeddomain.whatever ONLY IF I have previously registered ( bought ) myinventeddomain.whatever?"

Second thing is: " Could it be a work-around setting up a free dynamic name server ( pointing to my server, where a LAMP stack is already fully functional ) and then use this "name" to create my email? "(*) Example: using my own server, already accessible from outside my lan using a free dyndns name, I'm able to access and manage some web-based services. Is it possible to apply concept two at this situation? The base idea is to have my own email service, with my own domain like neomod@thenameiwant.xxx , so I can create email-based notification between my server and some other email addresses without relying onto some public service ( let's say google or my own isp mail server ).

I have read about the common solution in theese cases ( Postfix ) but in each guide, tutorial, faq or similar I could have read there is no explanation about " How to choose/obtain your own domain name".Reading forum discussion situation isn't better, because some one clearly states that I need to by a domain name ( ex. godaddy, aruba, etc. ) while some others say that I can realize it on my own just using dinamic dns name and a few other things.So beg my pardon if this question might seems stupid, but since I already own a domain name+webhost I reallu wish to understand before spending other money.

View 4 Replies View Related

Ubuntu Servers :: Mail Server For Interal Use Only

Apr 9, 2010

I am talking classes at a university. One of my classes has a large group project. Part of the project has me setting up a mail server. I don't have a domain to use for this server, So I need to have it setup for local use only. but I have not been able to find much info on how to do so for local use only.

View 3 Replies View Related

Ubuntu Servers :: Relay Access Denied 5.7.1

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

Ubuntu Servers :: Nullmailer Relay Through The Postfix?

Feb 21, 2011

I currently have a postfix / dovecot server running on one ubuntu server with nullmailer relaying webmail on a different server. This is currently working except the mail server is rejecting incorrect addresses which results in the messages being stuck in the nullmailer queue on the webmail server. Is it possible to force postfix to accept and manage all relayed messages from webmail, or is it possible for the nullmailer to manage the bounced messages correctly?

View 1 Replies View Related

Ubuntu Servers :: Server Side Mail Retrieval

Mar 9, 2010

I'm looking for some sort of app that will hit a pop3 server every x minutes and automatically download the mail from it to a text (mbox?) file. It's a remote server so something that can be ran from terminal and just set up in a cron job I guess.

View 1 Replies View Related

Ubuntu Servers :: Looking For Good Mail Server/Webclient?

Oct 13, 2010

I am looking for a good Email Server/Webclient, needs to use pop3+smtp. I also need to be able to add users/permissions via web client. If anyone knows of anything useful for me, then email me or post back here

View 2 Replies View Related







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