Server :: Postfix As Sending MTA For Multiple Domains?

Jun 7, 2010

I am setting up a Postfix MTA that will be only sending mail for 10 different domains. We have other servers that will be receiving the mail for the domains so I only need to set up for sending on Postfix.

What my issue is I am trying to configure Postfix so that when it sends mail the header shows what domain the mail came from and not the domain the Postfix server is set to. For example....

[URL]

When I send mail from domain2.com I want it to show in the header it was sent from domain2.com and not from domain1.com. What do I need to set in postfix so that this happens? Right now no matter what domain the mail is from the header always shows the server domain and I can't have that.

View 5 Replies


ADVERTISEMENT

Server :: Postfix: Sending Mail From Multiple Domains?

Jul 20, 2009

I'm running a server with two sites which both need to be able to send emails. Currently I have Postfix set up to send email via Google Apps. This works fine, but Google's servers ignore the From: address I specify and substitute the one I logged in with. Is there a way to make Postfix log into Google Apps with a different username based on what site the email is coming from? The server does not recieve any mail itself; Google recieves it and we have it set to forward it to the appropriate person's real email address. I'm only worried about sending mail.

(Postfix is not a requirement here, so if there's another mailer that can do this better, I'm open to ideas. However, sending email directly from the server isn't an option as it's a residential IP address and blocked by most of the big email providers.)

View 6 Replies View Related

Server :: Postfix As Receiving Mails For Multiple Domains?

Nov 15, 2010

I have configured postfix to send/receive mail from/to for two domains we manage. [URL] and [URL] Most of the cases there is no issue sending out or receiving emails. However, a few users of domainY.com complained that their senders were not able to sent them email. after much investigation, we started thinking that the mailserver failed to send us email may the failing on doing a SMTP Banner issue.

Is there anyone who knows how to deal with this SMTP banner issue with multiple domain. We want different SMTP banner when doing EHLO on different server.

530 mail.domainX.com ESMTP MailEnable Service, Version: 1.981-- denied access at 11/16/10 10:51:21
530 mail.domainY.com ESMTP MailEnable Service, Version: 1.981-- denied access at 11/16/10 10:51:21

View 5 Replies View Related

CentOS 5 Server :: Postfix Multiple Domains One User?

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

Ubuntu Servers :: Sending Mail From Multiple Domains?

Apr 6, 2010

how can i configure my server to send mails from about ten different domains i use google apps and want to know if its possible. Because it sends mail but all goes to spam and i have a static ip

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

Fedora Servers :: Multiple Domains With Postfix

Aug 4, 2010

I have Postfix + Unix Accounts + Virtual Domains. I have a bunch of domains hosted on my machine, let's call them [URL] [URL] and [URL]... etc Until know, domain2.com, domain3.com were mapped in virtual domains to [URL] So this is how /etc/postfix/virtual looks like:

[URL]

Like I said, all mail accounts are unix accounts, so, if for example I have the user "paul" this user will receive e-mail for ALL DOMAINS. [URL]But as it turns out, I now need a COMPLETELY ISOLATED domain... let's call it [URL]. So If I create a new user, let's call it "steve" I want steve to receive e-mail ONLY on [URL] and not on all others.

I would have to redo the whole thing from the beginning. I'd have to comment out the $mydestination parameter in the main.cf file and start using only virtual domains. So if I have the following users: paul, steve, sally, megan, jenny and I want paul and steve to ONLY receive mail for domain1.com, sally and megan to receive mail for domain2.com and jenny to receive mail for domainX.com, my /etc/postfix/virtual file would have to look like this:

[URL]

I'd have to create the unix account and then start modifying the /etc/postfix/virtual file.

View 1 Replies View Related

Red Hat :: Installing Postfix On RHEL For Multiple Domains?

Nov 23, 2009

I've sifted through hundreds of Google results, but I cannot seem to find a tutorial or how-to for installing and configuring Postfix on Red Hat Enterprise for use with multiple domains. We have a web server serving four websites so far. Each of these websites has their own domain that they'll require email for.

View 3 Replies View Related

Server :: How To Block Domains (Postfix)

Nov 20, 2008

who manage Postfix servers, what do you recommend is the best way to refuse all incoming and outgoing mail to specific domains? I want a blacklist of domains such as:

- AOL
- Yahoo
- MSN
- Hotmail
- Gmail

Is there a proper way I can tell Postfix to please deny sending and receiving SMTP traffic to and from those specific domains I specify? I see no need in my corp. mail server has to communicate in any way to those. I allow access to all those accounts via port 80/443 so they can just login to the web and send non business related junk this way.

View 7 Replies View Related

Server :: Postfix $myorigin For Virtual Domains?

Jan 30, 2010

I have a postfix mail server up and running. I've added more than one domains to recive mail by adding them to the :/etc/postfix/virtual and poiting to a UNIX user account. That works fine. But when users send out mails (From squirrelmail) all users send from the same domain. How do I add a $myorgin to a virtual domain?

View 1 Replies View Related

Server :: Postfix - Block Certain Foreign Domains?

Jun 18, 2009

I am running a spam filter on debian lenny 5.1 with postfix, amavis-new, spamassassin, and clamav. It works pretty well but I would like to finish tweaking it to minimize the mail getting quarantined. It really isn't quarantining anything that isn't spam, except for an occasional list mailer. However, the quarantine is huge, and takes a while to go through. I noticed that much of the spam is coming from foreign country tld's like .cz is there anyway to have postfix run a check on the header and if the email, or smtp origination is from a server from a foreign tld have it just rejected. I can whitelist anything if need be in the future but as of now we don't do any business overseas and don't need to worry about blocking legit email.

I think this should be possible, however, I am unsure of the syntax for the file, where to put it and if wildcards are possible in domain blocking like

Code:

*.cz REJECT

View 2 Replies View Related

Server :: Postfix Not Delivering Mail To External Domains?

May 23, 2009

i have configured postfix to deliver mail from an internal mail server to external domains... however i keep getting this errors

Code:

un 10 23:23:59 smtpserver postfix/local[28831]: 7800CF0058: to=<root@smtpserver.domain>, orig_to=<postmaster>, relay=local, delay=0, status=sent (delivered to mailbox)
Jun 10 23:23:59 smtpserver postfix/qmgr[5989]: 7800CF0058: removed
Jun 10 23:25:19 smtpserver postfix/smtpd[28824]: connect from unknown[192.168.5.22]

[code]....

View 2 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 :: Configuring Webmin Postfix Server With Multiple Postfix Virtual Hosts?

Sep 25, 2010

is there any HOWTO for configuring Webmin Postfix server with multiple postfix virtual hosts? Seems to be a tough challenge to set it up without any easy manual..

View 1 Replies View Related

Server :: Postfix Don't Sending / Receiving Anything?

Nov 8, 2010

Yesterday i run a postfix everything works fine and today it hangs up. if i dial "telnet localhost 25" i get (before day i get 220 answer and ordinary hello):

Code:
Trying 62.197.207.43...
Connected to trons.sk.
Escape character is '^]'.
and nothing go far.

[Code]....

View 2 Replies View Related

General :: Join Server With Multiple Domains?

Jan 13, 2011

Is it possible to add/join my Linux Suse 11.3 server with 2 domains ? I know I can do that with Windows PC, but I never try that with my Linux box. FYI, my Linux server is already joined with a domain, now I want to join my box with another domain and I don't want to take it off the current joined domain.

View 1 Replies View Related

Server :: Squid 3.1.12 To Connect To Multiple Domains?

May 18, 2011

I am using squid 3.1.12 as a proxy cache. All the requests initially land on a Apache server which acts as a reverse proxy server, the Apache redirects some URLs based on the context to Squid server. This Squid server based on the URL needs to forward the request to the specific tomcat server where the application is deployed. I am able to configure just for one application but how do I configure multiple tomcat servers(each tomcat having different application deployed on it). Squid needs to redirect based on the URL.In Squid.conf I made the following changes

[URL]

cache_peer abc.dev2.xxx.com parent 8080 0 no-query originserver refresh_pattern -i /ABC144020%1440 override-expire override-lastmod reload-into-ims ignore-reload
#cache_peer def.dev2.xxx.com parent 8080 0 no-query originserver

[code]....

Here Squid is deployed on my host [URL], Apache redirects any URLS with the context 'ABC' or 'DEF' to squid. Squid needs to redirect it to the individual hosts thats [URL] or [URL] based on the URL. I have commented the entry for DEF in my squid.conf as it was not working. But it does work for any URLs with ABC as the context.

View 1 Replies View Related

Server :: Postfix - Sending SMTP Mail ?

Oct 27, 2010

I have the following config with Postfix:

Quote:

But it keeps coming up with:

Quote:

Is there any reason from these configs as to why this should be occuring?

This was the guided step by step tutorial I followed: [url]

View 2 Replies View Related

CentOS 5 :: Postfix Not Sending Email To Right Server?

Jul 23, 2009

I have postfix sort of working correctly. postfix can send email to the internet but it doesn't want to send email to my local exchange server. What I need is for postfix to send emails directed to @xyz.com to my exchange server instead of itself.

My setup
mail.xyz.com - exchange 2003 server
www.xyz.com - centos 5.3 server with postfix

www.xyz.com can send emails to my hotmail.com account so that part works correctly. www.xyz.com can't send email to username@xyz.com. postfix seems to be delivering the email to itself and not the exchange server.

How can I tell postfix to send the @xyz.com emails to my exchange server?

Here is a sample of my /var/log/maillog
Jul 22 15:43:43 list postfix/smtpd[9802]: D63168604A3: client=localhost.localdomain[127.0.0.1]
Jul 22 15:43:53 list postfix/cleanup[9805]: D63168604A3: message-id=<20090722204343.D63168604A3@www.xyz.com>

[Code].....

View 3 Replies View Related

Ubuntu Servers :: OpenLDAP Multiple Domains On One Server?

Apr 17, 2011

I work for a college with many departments. I'd like to just deploy one LDAP/krb5 server (plus slave replicas) to authenticate all users in all departmentsIs it possible to do this?The proposed DNs for the departments matches what is done for NIS now.If anyone has any pointers or URLs that describe how to properly do this.

View 1 Replies View Related

Ubuntu :: Using The Postfix SMTP Server For Sending Emails?

Dec 13, 2010

I am using the Postfix SMTP server for sending emails. However I just did a default installation and subsequently someone is sending spam using my SMTP server. I would like some help on securing my Postfix server and to block these mischievous emails being sent from my server.

View 2 Replies View Related

Server :: Postfix Is For Sending/receiving Internal Emails Only?

Jan 21, 2010

One of our postfix servers is for sending/receiving internal emails only. When a user entered a wrong recipient address, it will take almost an hour for the user to get the "Recipient address rejected" email. What can be done to let the user get the "Recipient address rejected" email quickier.

View 7 Replies View Related

CentOS 5 Server :: Postfix No Longer Sending Mail?

Jan 7, 2010

One of my mailservers running postfix has suddenly stopped sending mail and has been generating the following errors:

Jan 7 12:03:08 postfix/sendmail[3560]: warning: premature end-of-input on /usr/sbin/postdrop -r while reading input attribute name
Jan 7 12:03:08 postfix/sendmail[3560]: fatal: root(0): unable to execute /usr/sbin/postdrop -r: Success

[Code].....

Things I have tried to fix this problem, but didn't work.

1) Stopped postfix, uninstalled and reinstalled.

2) Did a complete filesystem relabel with a touch /.autorelabel and reboot.

3) Did a restorecon -F -R on /etc/postfix, /var/spool/postfix and /usr/sbin/post*

Nothing above has worked and have no idea why with selinux disabled postfix works and with it on it fails.

View 6 Replies View Related

Ubuntu Servers :: Mail Server Setup For Multiple Domains?

Jul 4, 2010

Im moving all my websites on a dedicated box. I had a cpanel hosting account, and now moving to a terminal and ssh system.I need some advice on choosing my mail setup. I need POP, SMTP, with multiple domains, as host for a few clients.I would like the most simple version.The server will only send +- 100 mails / day.I currently running Ubuntu Linux 10.04.

View 1 Replies View Related

Ubuntu Servers :: Mail Server Setup - For Multiple Domains ?

Oct 10, 2010

I have recently setup an Ubuntu 10.04 Minimal x64 Server. I plan on setting it up as a mail server. I need a secure server, that has spam prevention on it. Im setting up around 50 domains and would like a web based control panel. What is the most secure mail server, that i can setup for multiple domains?

View 2 Replies View Related

Server :: Config NGINX For Multiple Domains With Wordpress On Debian?

Jun 20, 2010

I have VPS installed with Debian, NGINX, mysql, php and wordpress. By default the template gives 1 wordpress install in the /var/www/ directory. However, now I want to add more domains with wordpress to that VPS. I created a directory called /home/public_html/domain1.com and linked it to the /var/www/ directory. then I created another directory called /home/public_html/domain2.com and uploaded wordpress there. What I did next was edit my /etc/nginx/nginx.conf file with the following code:

Code:

user www-data www-data;
worker_processes 4;
events {

[code].....

View 1 Replies View Related

Server :: Postfix And Amavist - Lost Connection While Sending End Of Data

May 24, 2010

Since today morning we are getting this error, could not track down the cause

We are running :
Postfix
Amavist and Clam

70A6C45A1CE: to=<actualemailid@yahoo.com>, relay=none, delay=0, status=deferred (delivery temporarily suspended: lost connection with 127.0.0.1[127.0.0.1] while sending end of data -- message may be sent more than once).

View 6 Replies View Related

Server :: Sending Email To Gmail Account Via Postfix / Procmail

Feb 2, 2010

Does anyone have some quick tips on how to send an Ubuntu server's email to a gmail account via postfix/procmail?

View 5 Replies View Related

CentOS 5 Server :: Access Denied When Sending Mail - Postfix

Jan 18, 2011

I have configured mail server with postfix with dovecot with no encryption:
When connecting with Thunderbird imap is working fine. When sending email from another domain to this domain again it is fine. But when I want to send mail from my domain to another it gives me error and this is /var/log/maillog:
Quote:Jan 18 18:23:09 srv1 postfix/smtpd[3991]: NOQUEUE: reject: RCPT from unknown[95.81.67.120]: 554 5.7.1 <Recipient email>: Relay access denied; from=<Sender> to=<Recipient email> proto=ESMTP helo=<[127.0.0.1]>

View 1 Replies View Related

Server :: Unsure Of Exim Configuration - Accepts Mail From Users On Multiple Domains To Pass On To The Outside World

Dec 29, 2010

I'm in the process of starting a migration from an old postfix server to nice shiney new exim server however there are a few things i'm really not clear on and i'm hoping that some one here could point me in the correct direction. Okay the postfix server at the moment does the follwoing ( i'll try and keep this simple ):

* accepts incoming mail for users on multiple domains and puts the mail in the users mailbox ( external -> internal )

*accepts mail from users on multiple domains to pass on to the outside world ( internal -> external )

Obviously the POP and Imap functions are handled by other daemons.. I'd like to replicate this sort of setup on the new exim box, however the guides i can find only help with configuring the exim system for incoming mails ( external -> internal ) for multiple domains and i cant seem to find a guide that would indicate how to do both ( internal -> external and external -> internal ) on one box. I'm guessing i may have to do some sort of auth to get exim to accept and then handle the internal -> external side of things?

View 1 Replies View Related







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