Server :: How To Do Outgoing Mail Only To A Specific Domain

Jul 16, 2010

I m using sendmail-8.13.8-2.el5 along with MailScanner-4.79.11-1

i want to set a rule so that user1@mydomain.com can send only to anotherdomain.com domain. sending mail to any other domain will be rejected. can it be done by sendmail or MailScanner ??

View 1 Replies


ADVERTISEMENT

Server :: Postfix Filter Outgoing Mail By Sender Domain ?

Jun 17, 2010

Im trying to get postfix to filter my outgoing mail and basically drop everything that is not in my hash table.

So far I managed to get this going

Code:

Code:

Unfortunately those rules also apply to incoming messages. My goal is to disallow users on my host to change their "MAIL FROM" to anything they like and restrict them to domains I specify. I'm aware that the local part still is variable and a user of domain "foo.com" could use a email of domain "bar.com", but still some of my troubles would be solved if I get this running.

View 2 Replies View Related

Red Hat :: Discard Outgoing Mail In Postfix That Have Some Specific Content In Attachment?

Jul 30, 2010

Working in a SW company. guys transfer their codes through email outside the company. mailserver running on postfix. Is there any method to filter mails according to contents of attachment not by file extension.

View 3 Replies View Related

Ubuntu :: Postfix Emails Send Outgoing Mail With Wrong Domain Name?

Jan 29, 2010

I just configured my first postfix mail server today. Everything is working correctly except for the fact that on all outgoing emails instead of the mail format being user@mydomain.biz it says user@hostnameofpostfixserver. I've looked everywhere I can think and I cant see where I'm substituting the host-name of the server for the domain name of my email. Where else could it be?Below is my main.cf. I am running ubuntu 9.10.# 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

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 :: Mail Server Configuration - Send Mail To External Domain(internet)

Feb 22, 2011

There is an requirement, intranet people they may not have internet access but they want to send mail to external domain(internet),but in that intranet network one machine can have internet access. Is there any solution for this requirement.

View 2 Replies View Related

Server :: Merak Mail Server All The Users Should Be Able To Get That Content Automatically In Their Outgoing Mails?

Feb 22, 2010

I would like to set disclaimer like content in my meral mail server, so that all the users should be able to get that content automatically in their outgoing mails.

View 3 Replies View Related

Server :: Setting Up Postfix For Outgoing Mail?

Jul 27, 2011

I'm setting up a server and trying to make it *very* secure. Before I configured my web stack, I was about to install some security packages, Tiger and Samhain, but these packages wanted to install sendmail so that they can send outgoing notifications. From the reading I've been doing, I believe I want postfix instead of sendmail. It is my (perhaps mistaken) belief that installing postfix first will prevent them from installing this sendmail I do not want.

I want to install postfix with the following goals in mind:

* let PHP scripts send mail using the mail function.

* various system notification functions (cron, etc.) will be able to send their emails

* emails destined for root@localhost will be redirected to admin@mydomain.com

* let tiger and/or samhain send their notification emails

* NO INCOMING OR LOCAL MAIL IS PERMITTED. Because mail for my domain is handled by google apps, nobody will be checking mail on this server. Also, this server has very limited disk space. It is therefore very important that we don't have mail accumulating in boxes that will never be checked.

* no unnecessary ports, services, or cron jobs are running.

I've been reading a variety of pages that describe postfix setup on Ubuntu but these articles are imprecise, incomplete, and describe installation of things I don't want like POP/IMAP/etc.

There's also one final wrinkle. I will be setting up postfix to send via Amazon SES.

View 3 Replies View Related

Server :: Setup An Incoming And Outgoing Mail Server On Centos?

Feb 22, 2010

What is the easiest way to setup an incoming and outgoing mail server on centos? Without using a control panel, such was webmin.

View 2 Replies View Related

OpenSUSE Network :: Mail Server Outgoing Address?

Feb 15, 2010

I just set up a new router for our home office. I've enabled traffic logging, and I'd like to have the logs emailed to me. However, in order to configure email-notification, the router needs and outgoing mail server. Forgive me, but I don't really understand the terminology being used here. I've googled this a bit, but I'm not sure I now what "outgoing" vs "incoming" mean in the context. I tried using my gmail account as the outgoing mail server (smpt.gmail.com) but it requires TTLS encryption, and there's no option for that on my router.

So I figured I'd setup a simple mail server on my local network. I have a dedicated server machine, so I'd just configure a mail server there. But I got stumped at the first input box (in the yast module):"Outgoing Mail Server".That's what I wanted to use this server for. What is this "outgoing mail server"? I understand it in a normal emai context (I think) but this is confusing me. I've read through the HowTo on the openSUSE wiki, but it still doesn't answer this question.Isn't there some way to have a simple, local mail server (without MX records and the like) so I can send email from a local machine?

View 2 Replies View Related

Server :: Setting Up Email Address For Outgoing Mail

Dec 1, 2009

I have setup mail server on Ubuntu 9.10 and it's is working fine.I am using Webmin to addministrate my mail server.My Ubuntu server name abcs.I send a test mail from Wedmin for user gom.Why it keep adding InfoNet. What I would like is setup as gom@abcs.com.

View 1 Replies View Related

Server :: Separate Incoming And Outgoing Mail Server?

May 4, 2011

I want to have separate incoming and outgoing mail servers with smtp authentication.

Server1 will act as incoming mail server
Server2 will act as outgoing mail server

How can i authenticate domains users of Server1 from Server2 for smtp authentication.

View 2 Replies View Related

Server :: Postfix Or Qmail: Configure Multiple Mail For Incoming And Outgoing?

May 17, 2011

As a part of migration I am proposing different scenarios to my organization. One which is asked to prepare is to configure multiple mail servers to handle incoming and outgoing mails. Say I have -[URL], I need to have accept mails from [URL] and send mail from [URL].

View 1 Replies View Related

Server :: Configure Mail Server For Outgoing Only ?

Jan 14, 2010

We run a service in which a customer types in a form and gets a confirmation email after submitting the form. We are on a server with no control panel. We are running CentOS 5.

When we did our testing sendmail sent mails just fine and I was able to receive them. After we went live we found that 75% of our emails are being rejected by other mail servers. Doing research is seems that the headers indicate the emails are coming from 127.0.0.1.

We need to correct this problem, as well as do everything we can to reduce the risk of our mails being marked as spam. We do not receive mail on this server, but rather send mail. We have another email server on another server for receiving mail for our domain, which is already configured with cPanel (which doesn't have a problem).

We can not use cPanel on this server because of certain security restrictions.

I know that sendmail is cryptic to configure. We are willing to switch to Exim if necessary.

As far as installing Exim, I understand it's as easy as:

yum install exim
yum remove sendmail
system-switch-mail (if installed)

But as far as setting up Exim for our needs.

View 6 Replies View Related

Networking :: Iptables - Allow Http And Https Together With Mail Server (incoming And Outgoing) And Ftp - Ftps And Ssh

Apr 28, 2010

i need is to have http and https allowed, together with mail server (incoming and outgoing) and ftp, ftps and ssh. all other ports have to be closed.

View 3 Replies View Related

Server :: Mail Server Blocks: Warning: Numeric Domain Name In Resource Data Of MX Record

Feb 4, 2010

My test messages from one mail server to another are getting sent to my spambucket and the only error in the logs is: warning: numeric domain name in resource data of MX record for [URL]: 74.63.64.42

View 1 Replies View Related

Server :: Multiple Domain Name In One Mail?

Apr 6, 2010

I have a Slackware 12.1 box with mail server running on Postfix and Dovecot. My domain name is,say, [URL].. I have another domain, mail.xyz.net. I want to use both the domain for incoming. Like, someone sends mail to [URL]... otherone sends mail to user@xyz.net. Both the mail should be received.

View 2 Replies View Related

Ubuntu :: Make A Mail Server But Have No Domain

Apr 16, 2010

I recently decided I wanted a web server so I installed Ubuntu and apache2 on it and it works fine. I installed forums on the site as well and it's working fine to. Problem I don't know exactly what to do with the site so I haven't purchased a domain yet (so to access the site you just type in the ip address).

I know this sounds really weird but I want to know if I can make a mail server without a domain name. I kinda want to use it for e-mail verification for the forum. I have been following this tutorial: [URL] and it seems i need a domain name. Is it possible? Also I am not using Ubuntu server, would setting up a mail server be much easier on there (or rather, does it come with a mail server?)

View 5 Replies View Related

Server :: Setup An Mail Filter For Domain?

Aug 11, 2010

I'm trying to set up an mail filter for our domain. At the moment we're using ClearOS as the filter, works OK but I still get something through and the blacklist and whitelist doesn't seem to work. I was hoping to set up a mail filter on my own, using Spamassassin and/or something else. It seems I have to buy subscription at ClearOS to make it update better or something. I might just do that, it's just tempting to find a way to do it on "my own". I tried to follow these instructions but I don't seem to go anywhere... ...I began with setting up the base server as it is shown there. I've setup quite a few Linux servers, mainly as firewall/gateway kind of things but also some DNS servers, web servers and so on.

I have one mail server and the mail filter is supposed to be on the outside to filter mail before it hits the mail server.

View 3 Replies View Related

CentOS 5 Server :: Send Mail From A Different Domain

Feb 12, 2009

I have a CentOS 5.2 server with hostname support.companyname.local It's used to run Request Tracker 3.8.1. I need to be able to send email from this machine and make it look like the email came from user@companyname.com instead of user@support.companyname.local

View 5 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

Server :: Redirect / Forward Mail To Another User From Specific Address?

Jun 30, 2009

I wish to intercept/forward emails that is sent to one user on multi user mail server.I only want email from one specific address or group,to be redirected and it will be redirected to another user on same server.The email should not arrive in original users inbox.".forward" file can not give me such solution,because ".forward" file will forward all mails to another specific mail id,which i don't want. I want only specific users mails onto another local user.Is this possible in sendmail?Anybody have clear idea of "virtusetable" & "aliases" file?

View 1 Replies View Related

General :: NETWORKING: Assign Domain To Point To DDNS For Mail Server?

Feb 25, 2010

I was thinking about setting up my own mail server. Problem is my ISP will not let me have a static IP unless I upgrade to a Business class service which is just too expensive for home use. As a work around I use a DDNS service from Dlink, which is actually done via DYNDNS.com. So essentially I have mydomain.dlinkddns.com point to my Dynamic WAN IP, and it is all automatically managed by my router.

Is there a way I can haveoint to my mail server without it being a subdomain of my DDNS om)? In other words I would like to have the email someone@mymaildomain.com and not have it be dlinkddns.com or something like that. I know someone has done it, I just have never done it. Not quite sure what to google to find the answer myself either.

View 4 Replies View Related

Server :: Plesk 9 - Send Domain Mail To Offsite / External Host

Apr 26, 2010

I am managing a Fedora dedicated server with Plesk 9 and just recently moved the email for one of the domains on the server to Google Apps for business. Unfortunately, I cannot get email messages from the website forms to deliver to addresses on this domain. For anyone familiar with Plesk, I have disabled mail in the hosting settings by un-checking the "Activate mail service on domain" checkbox and there are no accounts in the domain. (Other readings have indicated that this should be enough to allow mail to be directed to the appropriate server). My MX records correctly point to the google apps mail server.

I'm quite comfortable with command line, but I know almost nothing about the sendmail program or its alternatives and my attempts at researching how to set up this relay has been futile. I'm pretty sure I'm using sendmail and not qmail or anything else from what the red-hat style "alternatives" symlinks point to. I've also checked the /etc/mail/access, domaintable, mailertable, sendmail.cf, virtusertable, local-host-names, sendmail.cf, and submit.cf and most of these files are empty (except the .cf files), and the sendmail.cf and submit.cf make no reference to the domain in question.

Here is the output from a sendmail test that was was not received. (Private data omitted of course).
sendmail -v xxx@yyy.com
test email from yyy.com webserver. please ignore.
xxx@yyy.com... Connecting to [127.0.0.1] via relay...
220 my.server.com ESMTP
>>> EHLO my.server.com
250-my.server.com .....
Closing connection to [127.0.0.1]
>>> QUIT

Performing the same test and sending an email to a non-hosted domain works fine.

View 12 Replies View Related

Fedora Networking :: Send All Outgoing Traffic To A Specific Nic?

Jun 9, 2011

I use a server with 3 nics,

eth0 192.168.2.100 (internal Web, Mail)
eth1 192.168.3.100 (Default Gateway nic for clients)
eth2 192.168.3.110 (should be default Gateway for all outgoing traffic not belonging to 192.168.2.100 and 192.168.3.100)

They are all on the same machine

i cannot set eth1 or eth2 as default gateway, as outside requests to eth0 would be handled in a false manner (somehow)

is there an easy iptables-rule to say, that outgoing traffic, not belonging to my networks can be redirected to a specific NIC (eth2)?

View 3 Replies View Related

Software :: 'auto' CC All Outgoing E-mail?

Jul 2, 2010

I'm using Debian 5.0.4 with shell access only, exim4 and mutt. I would like 'all' outgoing mail sent by any/all users to be auto'ed CC (not BCC) to a specified e-mail account for auditing purposes. I do have it working for BCC using 'unseen', but I really want it be CC. I have spent hours of searching/reading/testing and have not been able to find out how. I have seen it done on other shells I've been on as a user; any mail that I sent out, I did not see it was being CC'd but once the recipient received it was also addressed 'toaddr@thatshell.com').

It's not practical to add an alias for every user on the system (/etc/aliases) and to remember to do so each time adding a user. If I set in etc/profile alias mail= mail toaddr Users can still find ways around that.

View 2 Replies View Related

Fedora Servers :: Setting Up An Outgoing Mail Using 587?

Oct 25, 2009

I have a small home network running mail agents Evolution and Thunderbird, and connected to the internet via Comcast. Originally I used my campus office computer as a mail server, but encountered problmes because Comcast started blocking port 25, allegedly because of span problems. I need to change the setup on my campus office computer so it uses port 587 when functioning as an outgoing mail server.

Can anyone recommend a tutorial which tells me everything to do in order to accomplish that?

At present I'm, using Comcast's outgoing mail server, but I started having problems with sporadic blokage of outgoing mail with attachments, which Comast can't explain.

View 7 Replies View Related

Ubuntu :: Evolution - Get The Signature In Outgoing Mail?

Jan 9, 2010

I created a signature, for my outgoing mail, in Composer Preferences but it don't show when I create a new mail. how to get the signature in my outgoing mail, it would be nice to share.

View 5 Replies View Related

Fedora Servers :: Can't Send My Outgoing Mail Using Port 587 / Why Is So?

Dec 10, 2009

I have installed a sendmail server on fedora 10
I try to configure my sendmail server as a mail server to send outgoing email using port 587( because port 25 is blocked). after finishing configuring my sendmail server, i checked out my sendmail server using telnet localhost 587, and it worked fine as below code...

I have tried two different ways for user name: name, or name@mail.mydomian.com, but not working at all, the two results are the same.
PS: I have test port 587 and can use port 587 and Kmail to send outgoing mail using other external relay server

is my wrong configuration for sendmail server or kmail?

View 9 Replies View Related

Fedora Servers :: No Outgoing Mail - Service Unavailable

Aug 2, 2011

I am facing a problem with Linux fedora 9 mail server. I cant send any mails outside, since in log I found that
dsn= 5.0.0, stat = service unavailable

View 1 Replies View Related







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