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


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

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 :: 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 :: Setting Up A Postfix Mail On Ubuntu?

Apr 16, 2011

how the whole mail server thing works, and what software handles what job. From my understanding POP3 and IMAP are protocols to pull email from a mail server, and SMTP is used to push email to a server. There are many programs that I've seen involved with creating a mail server, but I'm trying to use just Postfix. Postfix can send and receive email right?

My server runs in my basement and runs Ubuntu Server 10.10. It uses Cherokee as its web server, and it runs several other servers as well (SSH, FTP, Git, etc). My goal is to set up a mail server so that websites I run such as a Redmine or a web forum can send emails to people (e.g. an activation email for a user registering on a forum).

Anyway, I set up postfix, and now my server can receive email. I've been able to send an email from my Gmail address to drew@minipenguin.com (my server), and it works. However, if I try to send email from drew@minipenguin.com to my Gmail, it never goes through. I don't care about receiving email, as my only goal is to be able to send it.

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

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

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

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

Server :: Controlling The Amount Of Outgoing Messages From Postfix?

Dec 20, 2010

I have a linux server set up with postfix, which sends emails to our mail servers (MS Exchange). The linux server itself generates a lot of emails, and I would like to limit the number of mails it can send out pr second so that it doesn't spam our mail servers. Anyone know how I can control the max number of outgoing emails my linux server can send? As of now it's possible for my linux server to cause a denial of service attack on our Exchange server since I have no way of controlling the rate of outgoing messages.

View 2 Replies View Related

Server :: Postfix System Outgoing Email Blacklist

Feb 7, 2011

I have a postfix system that sends allot of emails to customers and web site visitors. A lot of visitors just enter an invalid email in the WEB form just to download some files or do other tasks. Is it possible to BLACKLIST specific email addresses so the system does not send to those addresses? I can grep from the postfix mail log all those fake emails and place them somewhere.

View 4 Replies View Related

CentOS 5 :: Postfix Mail Server Will Not Start Tried To Change Postfix Smtp Port?

Oct 4, 2010

so i set out to change the default smtp port the server uses because my ISP blocks port 25 and i need the email to work in outlook. this morning i could receive email, but not send it. so i did some research and thought that i needed to edit the master.cf file in /etc/postfix/ by commenting out this line: smtp inet n - n - - smtpd -oand replace it with587 inet n - n - - smtpd (587 being the port i want to use)somewhere along the lines postfix server stopped running and now i cannot get it to start.if i try using SSH it crashes immediately and if i restart it in simple control panel nothing happens

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

CentOS 5 Server :: Postfix And Hosts File - The Mail Server Could Not Deliver Mail

Mar 20, 2011

I've setup my server by following a ton of goods, and it seems to work ok, but I need to start using my server for email in order to receive orders placed via my website. I've followed this guide - [URL] I followed the steps above, and tested the mail server via telnet, and all seemed to be ok. I tried sending an email via Squirrelmail, from cs@thinclientwarehouse.co.uk TO my working email simon@c1systems.co.uk, but the server returned with the following message:

<simon@c1systems.co.uk>: host mail.c1systems.co.uk[95.128.128.129] said: 550-Verification failed for <cs@localhost.thinclientwarehouse.co.uk> 550-The mail server could not deliver mail to cs@localhost.thinclientwarehouse.co.uk. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries. 550 Sender verify failed (in reply to RCPT TO command)

View 14 Replies View Related

Server :: Configure Postfix In Order To Check Spam Only For Outgoing Email?

May 8, 2009

It's possible to configure Postfix in order to check spam only for outgoing email?

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 :: VPS Setting Up Multiple Outgoing Ips?

Jun 10, 2011

i have ip's which are 1.1.1.1 and 1.1.1.2. If i log into 1.1.1.1 the outgoing ip shows up as 1.1.1.1 and if i log into 1.1.1.2 the outgoing ip still shows up as 1.1.1.1. I need to set it so that when i log into a 1.1.1.2 to shows up as 1.1.1.2 as the outgoing. Same for when i log into 1.1.1.1 it shows up as 1.1.1.1 on the outgoing end. I need to know how to set it like this. Anyhelp would be greatly appreciated. I am using my VPS as an SSH tunneling. I would to have it set up so that if i log into 1 account the ip will be x.xx.xx.1 and if i log into another account it would be x.x.xx.2 ect. I have been searching for hrs on thsi stuff and no luck at all.

View 2 Replies View Related

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

Server :: Postfix Logs - Difference Between The Mail.log And Mail.info Files?

Jul 27, 2010

I have setup a postfix mailserver and it seems to be working ok, we are only using this to relay mail to our forum users. Its not being used to recieve any email only send them out to the internet.

What is the difference between the mail.log and mail.info files? Can I turn one or both off? I see alot of messages like...

Just wondering what this string of log entries means? Also I am getting duplicates in the syslog file as well.

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

Server :: Configure Mail With Postfix & Cyrus-imap - Cannot Send Mail Through Command Line

Nov 19, 2010

I'm running SUSE linux Server version 11. I want to configure mail server with postfix & cyrus-imap. For that, i have read many documents in Internet by i met issues. I'm running DNS in this server & it's ok Now I cannont send mail through command line.

[Code]....

View 9 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 :: 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 :: Can't Get Postfix Mail Boxes From /var/mail To ~/Maildir?

May 31, 2010

I'm running a Debian LAMP server and I am adding postfix. The initial config is working and I can send and receive mail both locally and over the WAN. The problem is that I cannot get mail delivered to the user's home directory using Maildir/. I have set the:home_mailbox = Maildir/ parameter in main.cf but mail still goes to /var/mail after Postfix reload. The system is now using Maildir/ instead of mbox but in /var/mail. I really want to get mail into the user's home directory.

View 6 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 :: Postfix As Spam Mailscanner To Protect Mail Server Running Sendmail?

Jul 27, 2011

I am using postfix as spam Mailscanner to protect my mail server running sendmail. The problem is that when I forward an email from MailScanner mail me back with the following error:

<postmaster@localhost.@mydomain.com.>... Real domain name required for sender address (in reply to MAIL FROM command))
Jul 27 13:15:59 smtp postfix/local[28465]: C68AC1000001: to=<root@smtp.mydomain.com>,

[code]....

View 1 Replies View Related

Server :: Sended Mail Go To Trash Folder Of Reciver Using Postfix In Smtp Server?

Nov 26, 2010

my postfix to send and recive external emails, but many recive in trash folder.Other programer say me that is need some configurations in postfix with and dovecot to work, but i dont know what!This is my first time configuring a linux server at this week.

my main.conf
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES

[code]...

View 3 Replies View Related

Server :: Basic Postfix And Dovecot Mail Server For A Test Environment?

Sep 16, 2009

I did a a basic install of postfix and dovecot instead of using courier-pop and courier-imap. This is only send and receiving e-mail locally within the test network 10.7.0.X and 10.0.0.X. I used:

[URL]

my postfix.conf is;

PHP Code:

[code]....

This is the error when I send an email from a local machine on the 10.0.0.X network.

PHP Code:

Jan 20 17:05:48 testbox postfix/smtpd[2491]: warning: Illegal address syntax from unknown[10.0.0.111] in MAIL command: <test@10.0.0.112> 

View 8 Replies View Related







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