Free and open source mail transfer agent (MTA) that routes and delivers email

learn more… | top users | synonyms

3
votes
2answers
396 views

Is my Postfix mailserver an open relay?

Postfix newbie question: If I use the default, relay_transport = relay (by commenting out the error line), does that make me an open relay? Or does the inet_interfaces fix it? inet_interfaces = ...
2
votes
2answers
82 views

can I add global alias in virtual_alias_maps but only for local domains?

I want to create a global alias for all my domains to catch all mail to addresses like postmaster@ I've added theses lines to aliases.pcre: /(MAILER-DAEMON|postmaster|abuse|webmaster)@(.*)$/ ...
2
votes
1answer
100 views

Exclude particular IP address from Postfix log

I have a postfix relay system that uses HAProxy to check to make sure Postfix is responding as it should. There is a front-end load balancer which connects using an internal IP to the backend servers. ...
1
vote
2answers
720 views

Is it possible to block a certain email adress from sending email anywhere other to its own domain?

I wonder if its possible to block all but few specific adresses to send outgoing emails anywhere other than its own domain. Also so they could still recive incomming messages. Blocking everyone isnt ...
1
vote
1answer
110 views

Disconnect modem when postfix queue empty

in /etc/ppp/ip-up.d/script I have the following that runs fetchmail when the ppp0 interface is up (connected) and when it finish the modem ends internet conection automatically. #!/bin/sh ...
1
vote
2answers
2k views

Configure Postfix to use external MX servers for delivery of local mail if user is unknown

I have a following setup: linux box with postfix configured to be responsible for example.com domain domain's MX servers are configured so that mail sent to example.com is sent to google mail ...
1
vote
2answers
3k views

How do I remove these junk mail headers?

I'm using Postfix 2.3.3 and mail sent from my server always add useless headers which I'd like to remove. Currently I'm only using the PHP mail() function to send mail. Return-Path: Received: from ...
0
votes
2answers
138 views

Why can't I send/receive emails from AWS Ubuntu using Postfix?

I'm trying to send/receive emails on my AWS Ubuntu box. To do so, I'm following the instructions posted by Amazon here. (I skipped the section entitled "To configure integration using a secure ...
0
votes
1answer
118 views

Postfix - Mail system is down

My Postfix mail log keeps giving me this error; Oct 4 10:32:50 postfix/master[9760]: daemon started -- version 2.9.6, configuration /etc/postfix Oct 4 10:32:54 postfix/postqueue[9885]: warning: ...
0
votes
1answer
209 views

Why don't mails show up in the recipient's mailspool?

I have postfix dovecot running with local email system on thunderbird. I have two users on by ubuntu, mailuser 1 and mailuser 2 whom i added to thunderbird. Everything went fine, except the users dont ...
0
votes
1answer
147 views

Scrub header for internal servers in Postfix?

We have all internal Centos servers sending mail to 2 outgoing MX servers in our business. I want to scrub the headers on our 2 outgoing MX servers to remove the information from where they ...
0
votes
1answer
147 views

Postfix unknown command

I'm running two milters on my current postfix installation. I'm noticing that, from one particular client, they are sending an invalid command consisting of the first 3 letters of their domain name. ...
0
votes
2answers
858 views

Postfix load balancing

I have 4 VPS servers, my plan is to use one of these VPS servers as a load balancer which sends mail received by it from another server to other 3 VPS (smtp) clients who will relay mail to the outside ...
0
votes
3answers
1k views

Migrating users and mailboxes from postfix / Maildir to Postfix with Mysql backend

So I've got 60 or so users on a hand rolled postfix installation on openbsd and I'd like to move their mailboxes to our new mail server running iRedMail (postfix, vmail/mysql back end) Does anyone ...
0
votes
1answer
176 views

Enabling per-virtualhost email relaying through external user/pass smtp relay [duplicate]

Possible Duplicate: Postfix configuration: different outgoing hosts based on sender I've got a problem that's driving me mad. Basically, I run 10 virtualhosts in a CentOS distribution. ...
0
votes
2answers
316 views

Fedora Email Forwarding (Postfix)

I would like to forward all email sent to non-existant users on my fedora server to my gmail account. Is there a simple way to do this? How would I forward all email?
0
votes
1answer
4k views

How to close an open relay in Postfix?

I've discovered my server has been an open relay. I asked about it and tried all the answers in My Postfix has gone wild. Am I hacked? but still its acting up. Every time I run #postsuper -d ALL I get ...
0
votes
1answer
353 views

Postfix null client configuration for Multiple Domains

I'm setting up Postfix null clients on in a virtual hosting server for multiple domains. I found some documentation about setting up Virtual Domain Hosting, the closest thing I could find to what I'm ...
0
votes
2answers
1k views

What does it mean to setup Postfix as “SMTP only”?

I am trying to setup Postfix a few different domains on a virtual host. I need to have email setup just to send out registration confirmations and new password requests. No one will have a mailbox on ...
0
votes
4answers
846 views

Postfix virtualised myhostname

So I have several servers all set up to send and receive mails from multiple domains, this all works perfectly fine. However a few people have complained that within the mail headers you still see ...
0
votes
2answers
420 views

Adding spam addresses to SpamHaus and SpamCop DNSRBL

I have a Postfix e-mail receiving server setup. I have applied the following setting in my Postfix main.cf file: smtpd_recipient_restrictions = reject_unauth_destination, reject_rbl_client ...
-1
votes
1answer
609 views

Monitoring message delivery on Postfix (or Cyrus IMAP)

There's mail server based on Postfix. I need to monitor which messages are delivered to end-user? and which are not. In processing of each message I need to get some information from its attachment in ...
-3
votes
2answers
358 views

Postfix SMTP server issue

So I have an Ubuntu Linux box machine for my website. (not ran locally at home, it is a public linux box). But for some strange reason I can only send Email from my home machine to this box in ...
6
votes
6answers
2k views

Spam prevention tips for Postfix

Without using SpamAssasin, or similar, what are your best tips for preventing spam. Please try and provide config examples :D
8
votes
13answers
6k views

Postfix performance

Running postfix on ubuntu, sending alot of mail ( ~ 1 million messages ) per day. loads are extremly high but not much in terms of cpu and memory load. Anyone in a similiar situation and know how to ...
17
votes
5answers
419 views

Is it good practice or too draconian to reject mails from mailservers with no RDNS

I've recently dropped SpamAssassin and am now basing spam rejection on DNSRBL's, grey-listing and other basic tests and I'm wondering whether I should also block hosts that don't have a valid RDNS ...
7
votes
4answers
13k views

How to build a high availability Postfix system?

I'm needing to set up a remote mirror for a postfix server (where the content of both mail servers should be the same at any time). The idea is that if the main server comes down at some point the ...
12
votes
2answers
4k views

Automate the installation of postfix on Ubuntu

My system configuration script does an "apt-get install -y postfix". Unfortunately the script is halted when the postfix installer displays a configuration screen. Is there a method to force postfix ...
6
votes
3answers
3k views

My Postfix has gone wild. Am I hacked?

Today, I found my server couldn't work because it was filled. I checked the logs and they had grown enormously, I deleted them so as things could work. now with current logs I'm seeing a lot of ...
7
votes
3answers
4k views

SMTP message rate control on Ubuntu 8.04, preferably with postfix

Maybe I am chasing a bug but I am trying to set up a smtp proxy of sorts. I have a postfix server which receives all the email for a collection of servers/clients. It them uses a smarthost ...
6
votes
5answers
2k views

Getting stats about deliverability from postfix

At work, our CEO is working on a plan to move away from a service provider who do our Spam filtering, etc. Currently, all our mail gets relayed out through this service, and all incoming email gets ...
5
votes
3answers
1k views

Setting up a postfix email server

When I set up an email server using postfix on ubuntu server, how do I make sure that it won't be an open relay??
4
votes
3answers
2k views

Postfix 'load balance' sending IPs

I got a server with 8 IP addresses to use as a mail server (With PostFix). I want PostFix to rotate the IP and hostname for each message. I found the config parameter smtp_bind_address = 1.2.3.4 ...
8
votes
1answer
4k views

How can I configure Postfix to ignore relayhost for some domains?

Is there a way in Postfix to ignore the relayhost? I have something like relayhost = [smtp.domain.net]:587 Now for a certain domain I don't want to send it out to that relay but want it to just ...
6
votes
5answers
4k views

Is there any alternative to SpamAssassin? [closed]

I'm looking for alternative to spamassassin. Anyone tried rspamd from Rambler.ru (https://bitbucket.org/vstakhov/rspamd/wiki/Home)?
4
votes
3answers
8k views

How do I temporarily suspend mail delivery to a specific domain (non-local) with Postfix?

Using Postfix and custom transports I can manage delivery speeds depending on the recipient's domain. (For example, I send max one message per second to *@hotmail.com) I also use similar rules to ...
3
votes
2answers
3k views

How can I route some emails to a script in Postfix?

How do I route all emails directed to user-*@example.com (i.e. user-1234@example.com) to a pipe command in Postfix? The idea is to create craigslist-style anonymization by assigning dynamic email ...
3
votes
4answers
2k views

postfix mail server setup for 8000 users using active directory

i wanna to setup postfix mail server instead of ms exchange server . we have around 8000 users , and we want to use active directory for users . how many servers do we need ? what kind of strategy we ...
13
votes
6answers
937 views

How do you monitor a monitoring server?

So we run Groundworks (with Nagios) on CentOS to monitor our various servers and processes. I have it setup to automatically send emails and SMS texts when things reach a WARNING or CRITICAL state. ...
5
votes
2answers
3k views

How to enforce sender address to be “logged-in-user@example.org” in Postfix?

I have set up a Postfix server with SMTP AUTH (STARTTLS on port 587). All my users are in the domain "example.org". I want to enforce the sender address to be "logged-in-user@example.org". I learned ...
5
votes
1answer
904 views

Hybrid gmail MX + postfix for local accounts

Here's the setup: We have a domain, mydomain.com. Everything is on our own server, except general email accounts which are through gmail. Currently gmail is set as the MX record. The server also ...
4
votes
5answers
5k views

Outgoing only SMTP server

I want to setup an outgoing only SMTP server on Debian, so my Web-applications will be able to send e-mails via it. I don't want to use another hosts because of security and customizability of my own ...
3
votes
2answers
6k views

How to setup a Postfix SMTP-only for multiple domains

This is my first question on Stacks. I always read a lot of solutions to problems here almost every other day. So thank you to all contributors. I am a noob here so please spare some space if I am ...
3
votes
2answers
3k views

Processing incoming emails with Python

I'm developing a web application that requires that a registered username be able to receive emails to: <some-username>@<my-web-app>.com I need a way to be able to process the email ...
3
votes
1answer
6k views

Can postfix be set up to forward mail to multiple recipients

I have the following postfix virtual file: test@domain.com bob@me.com This correctly forwards all emails to test@domain.com to bob@me.com However I would like to forward these emails to ...
2
votes
2answers
1k views

Postfix development server - intercept all outgoing mail

So a few times now I've been caught out by clients receiving mail sent from the development server because I didn't sanitize the db. So, as an extra safe option, I'd like to ensure that all mail sent ...
2
votes
1answer
562 views

How can I configure Postfix to send via IP based on origin domain?

I have a server that hosts multiple websites that send email. Each domain has its own IP address, and I would like Postfix to send outgoing email on the same IP so the reverse DNS points back to the ...
1
vote
1answer
3k views

Run script on incoming email message to postfix

All, I need to run a script everytime there is an incoming email message to a postfix email server. I have read the docs but I was wondering what would be the best approach to do this. Would anybody ...
1
vote
3answers
6k views

How to fix mail server SSL?

Our mail server was originally set up using self-created certificates. However when those expired, and I tried to recreate them, the whole thing just blew up. Since I know it will be important, we are ...
8
votes
3answers
10k views

Change default from address from Postfix from www-data to something else

Setting up Postfix and Apache/PHP on an Ubuntu server. Mail's now going out ok with the proper domain name, but the local part display name is always "www-data" as I'm assuming Postfix uses the name ...