Free and open source mail transfer agent (MTA) that routes and delivers email. When asking about postfix problem, please include the relevant maillog lines and output of the following command: "postconf -n" (content of main.cf) and/or "postconf -M" (content of master.cf)

learn more… | top users | synonyms

4
votes
5answers
5k views

Redirect specific e-mail address sent to a user, to another user

I need to redirect e-mail within our MTA when the two following criteria are both true: When an e-mail is: Sent from: user@isp.com Addressesd to: user@ourcompany.com Result: redirect e-mail to ...
3
votes
2answers
648 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)@(.*)$/ ...
3
votes
3answers
3k views

Postfix restrict recipients

how can I configure postfix to allow sending to a certain (external) domain only? I'm already using check_recipient_access. Content of my /etc/postfix/recipients_restrictions: domain.com OK My ...
3
votes
2answers
432 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
1answer
542 views

postfix: relay access denied. How to fix it?

I've been fiddling with main.cf file for a long time but still couldn't find why. I've set up an email server with this tutorial Email with Postfix, Dovecot and MariaDB on CentOS 7 This is the part ...
2
votes
1answer
305 views

SASL PLAIN authenticating with primary domain, but not with virtual domain

Postfix + dovecot and sasl. Works so far with 1 domain. Added a virtual domain. Incoming mail for this works. Outgoing however has SASL authentication failing. Why does it fail I don't know. ...
2
votes
1answer
279 views

postfix parameter default_privs

I have set default_privs=myuser in main.cf, which is a perl script, executed in the context of this user. In the perl script I added some debug to print out the user: my $exec_username = ...
2
votes
2answers
1k views

Postfix Domain Whitelisting in Combination with Sender Authentication

I'd like to whitelist several domains in my Postfix configuration in such a way that all e-mails from those domains are accepted as long as they're properly authenticated using SPF and/or DKIM, should ...
2
votes
2answers
1k views

Postfix sends email to spam (gmail, hotmail)

I recently installed a postfix + dovecot + dkim multi domain, multi user, multi alias mail server on my debian squeeze system. Everything works except for one big issue that basically makes the whole ...
2
votes
2answers
2k views

Postfix Connection Timed out

I used the tutorial below to setup postfix and dovecot on a Digital Ocean server. But I'm getting "Connection Timed out" when postfix/smtp tries to deliver an email to a remote host like gmail or ...
2
votes
1answer
110 views

“Masquerade” mail sender on a multi-domain shared hosting [duplicate]

I've a single host with CentOS 6.3. I manage that host via SSH. The server itself is uname -n: servername.foo.com. On this host I've multiple, unrelated httpd vhosts. The problm is: when one vhost ...
2
votes
1answer
7k views

Postfix (SASL) / MySQL: Use MD5 Encryption?

Is it possible to use MD5 password encryption to encrypt passwords when using Postfix / SASL and MySQL? Currently, my setup is using the MySQL CRYPT() function, which for various reasons isn't ideal.
1
vote
1answer
69 views

Postfix acting like an open relay for domain mailboxes

I have a mail server running on Debian 7.8 configured with postfix 2.9.6. My restrictions are these: smtpd_sender_restrictions = reject_sender_login_mismatch, reject_unknown_sender_domain, ...
1
vote
1answer
229 views

mail client Thunderbird does not read new mails from dovecot/postfix mail server

I run a server: Debian GNU/Linux 7.8 (wheezy) and used the default mail system (exim) for mails with regular users (no vmail). Mail system did not work properly for some users, so I removed exim and ...
1
vote
1answer
80 views

postfix configuration and Received from

Having some trouble here. My server has 3 IP addresses and this is my /etc/hosts: 127.0.0.1 localhost 46.38.235.226 brian.smares.de brian 46.38.238.199 stewie.smares.de stewie 46.38.238.137 ...
1
vote
1answer
138 views

Postfix after-queue filtering for local destinations only

I need to run all mail addressed to local domains (as defined in vmail_domains) through a simple after-queue content filter which then re-injects the processed emails back into Postfix via sendmail. ...
1
vote
1answer
136 views

How to configure postfix to replace the name of the sender to a configured one

I have postfix installed on my machine. I also use the generic maps to overwrite the email address from ubuntu to admin@example.com: /etc/postfix/generic ubuntu admin@example.com With this ...
1
vote
2answers
2k views

Why is OpenDKIM not signing and verifying my emails? (CentOS 6.5, Postfix & OpenDKIM)

I'm running: CentOS 6.5 Postfix 2.6.6 opendkim: OpenDKIM Filter v2.9.0 Compiled with OpenSSL 1.0.1e-fips 11 Feb 2013 SMFI_VERSION 0x1000001 libmilter version 1.0.1 Supported signing ...
1
vote
2answers
2k 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 ...
1
vote
2answers
1k 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
4answers
5k views

How to route email to a script

What I'd like to do is set up an address like something@myhost.com which will take whatever email it gets and run the full message as STDIN into a shell script. I can't seem to get this working ...
1
vote
2answers
2k views

Postfix not working

A while ago I installed the postfix mail server on my ubuntu 10.04 VPS. At the time it was working good but now it's just stopped working. I was trying to enable SASL authentification and somewhere it ...
1
vote
1answer
2k views

Conditionnal relay in postfix

I use postfix to send direct email. But, I use a relay to send email for specific senders. So I use "sender_dependent_relayhost_maps" : /etc/postfix/main.cf : relayhost = transport_maps = ...
1
vote
1answer
121 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
1k views

Can Postfix prevent duplicate in RCPT TO address?

My server running opends for LDAP and postfix dovecot procmail delivery My /etc/aliases contain the group of email address, for example : all : a@mydomain.com, b@mydomain.com, c@mydomain.com..... ...
1
vote
2answers
6k 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 ...
1
vote
4answers
896 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
1answer
3k views

Temporary Lookup Failure - Postfix/Dovecot

Alrighty... So here's what's going on. I can sign in with Outlook to my Mail Server, but when I go to send an email, I get this error. Using SquirrelMail, I don't get any errors, sending works fine. ...
0
votes
1answer
336 views

How can I disable local mail delivery in Centos? [closed]

I want to disable local mail on my Centos VPS because the I have a web form (on a website which is hosted by the VPS) which is delivering mail to the local mailbox rather than looking at MX records to ...
0
votes
1answer
149 views

Postfix reply to emails addressed to external email while keeping the correct from address

I have a mail server all set up and running on ubuntu 14.04 with Postfix / Dovecot for the domain "postfixserver.com". A second domain "googleapps.com" is running on google apps. user@googleapps.com ...
0
votes
1answer
4k 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
609 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
501 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
2k views

Postfix: Possible to overwrite Return-Path via SMTP

I tried sending mails via SMTP and provied a Return-Path. Postfix seems to override my values with the "From"-Header. When im sending Mails via PHP, I am able to set the Return-Path Header with the ...
0
votes
1answer
2k views

Postfix on Ubuntu tried everything, won't send emails

I'm trying to get postfix set-up on Ubuntu 13.04 but no luck so far. I found a few answers here on ServerFault that didn't work. I re-installed a bunch of times, nothing. This is my first time dealing ...
0
votes
3answers
143 views

How to test and actually perform a transfer of an internet domain to a new server regarding mail?

My setup is a productive server (e.g. 1.1.1.1) hosting a domain, lets say example.com. Currently, postfix and courier (only IMAP) are doing the job of hosting mail. I am planning to transfer the ...
0
votes
3answers
3k 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
1k views

Postfix: combine check_client_access and check_sender_access for Relayaccess

We have a mailserver running on Postfix. Only authenticated users are allowed to send emails. One client has a multifunction printer, which is configured to send scanned documents to an email ...
0
votes
1answer
261 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
3answers
6k views

Rewrite recipient of all (except one recipient) outgoing e-mail

I have a server that hosts a Java application that is allowed to send out emails. During testing, I want Postfix to send all outgoing email to test-javaapp@my-company.com, however email that sent to ...
0
votes
1answer
5k 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
465 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
2k 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
3answers
2k views

Postfix: relay access denied

I never got my SMTP service working, now i'm ready to try again. The server is a FreeBSD 8.1-RELEASE-p1, postfix was installed as part of the Webmin/Virtualmin install.sh I have read Postfix Virtual ...
0
votes
2answers
478 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
2answers
465 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?
-4
votes
2answers
462 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 ...
27
votes
2answers
10k 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
6answers
3k views

Spam prevention tips for Postfix [duplicate]

Without using SpamAssasin, or similar, what are your best tips for preventing spam. Please try and provide config examples :D
11
votes
13answers
8k 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 ...