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

3
votes
2answers
862 views

Blocking PHP mailer spam using iptables

I host a public-facing web server running Debian Wheezy, and latest versions of Postfix, Apache, PHP, Spamassassin, ClamAV, rootkit hunter. Apache is configured with a handful of vhosts, each tied to ...
0
votes
2answers
88 views

Relay Access Denied - Postfix/Dovecot

Edit: Please, please read the answer before this whole thing, as it'll save you tons of time. Answering my issue was as simple as changing a setting with Outlook, it might be for you, as well. It had ...
0
votes
1answer
548 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. ...
-1
votes
1answer
102 views

How to deliver mail to non system virtual users with EXIM mta

We are running a mail server with postfix mta. But now to are moving to EXIM, as it has a lot of features inbuilt without using milters. In postfix you can deliver to non system users quite easily by ...
2
votes
1answer
93 views

searching for the correct way to compile postfix

I am experiencing issues while compiling latest version of postfix from source code. At the moment I'm trying to compile version 3 because Debian 7 and latest Ubuntu 14,10 (version 2,9 and 2,11 for ...
-1
votes
1answer
66 views

Could nginx mail module replace a Postfix/Dovecot combo

I saw that nginx has a "Mail Module". I googled but don't find much documentation about this. What is this ? For what can it be used ? Could it replace my current simple Postfix/Dovecot combo?
0
votes
1answer
119 views

Postfix Multi Domain Email Going to Spam

I have read over the other post from other users on this site about this topic. I think I see my problem but cannot figure out where to change it. My configuration: RDNS for 107.170.172.XXX: ...
4
votes
2answers
186 views

Postfix - Pipe multiple recipient message as a single message

I am trying to pipe emails through Postfix to a Python script I have. Currently, messages with multiple recipients are piped to the script once for each recipient. I would like these messages to be ...
2
votes
1answer
139 views

Postfix Limit mail for domain from IP range

I have multiple domains and email accounts on my postfix server. All of them get slammed with spam despite all my attempts to get it under control, I broke down and started paying for a pass external ...
0
votes
1answer
572 views

Postfix STARTTLS only on port 25

I want to enable STARTTLS on port 25, but for unknown reasons it only works on port 465. master.cf: smtp inet n - - - - smtpd -o syslog_name=postfix/smtp -o ...
0
votes
1answer
192 views

Postfix fails to install in MySQL 5.7

I am trying to install postfix in my server with Centos7 MySQL 5.7 Unfortunately it seems to be they are incompatible. Why? Here the error message. Is there a way around this ? [root@doc ~]# ...
0
votes
1answer
41 views

Migration Issue from Postfix

I am currently using postfix, recently I have started to migrate the mailbox to Google App for Work. While I changed the MX record from provider, it should be great that all outcoming emails to my ...
0
votes
1answer
194 views

SquirrelMail showing empty inbox. THIS FOLDER IS EMPTY

I have installed postfix, dovecot and squirrelmail. I can send messages and also receive messages. But in Squirrelmail web interface i can see only sent messages it is not showing the mails which are ...
1
vote
1answer
103 views

Configure Sympa: Command output usage error

I have a problem on configuring Sympa. I've created a new list new_test_list@example.com, but when I try to send mail to this list, I get an error in my maillog: postfix/pipe[13544]: C699261227: ...
0
votes
1answer
927 views

Postfix milter-reject: END-OF-MESSAGE from 4.7.1 Service unavailable - try again later

I am running postfix-2.11 version and recently i have added dkim-milter-2.8 Postfix configuration: # DKIM milter_default_action = accept smtpd_milters = inet:localhost:8892 non_smtpd_milters = ...
4
votes
1answer
113 views

How to handle external alias with dspam as daemon between postfix and dovecot with virtual domains?

I've got the following situation for incoming mail with Postfix 2.9.6, DSpam 3.10.1 and Dovecot 2.1.7: Incoming Mail -> SMTP -> LMTP -> DSpam (as daemon) -> LMTP -> Dovecot I've got ...
0
votes
1answer
398 views

Nagios (OP5) Postfix, Client does not have permissions to send as this sender - but testmail work

I use the Nagios based OP5 monitoring system with postfix. If i send a testmail from OP5 Portal, the message will be received. But if a message is send cause a problem, i would get the error "Client ...
1
vote
1answer
45 views

Postfix deliver mail for orginal destination + BCC - but only for one email

I have postfix with virtual users, I'm looking for solution, tried google it, but no luck. I want to achieve this one: mail for admin@* should be delvered to admin@* and BCC for webmaster@* I ...
1
vote
1answer
41 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 ...
0
votes
1answer
42 views

opendkim only signs for 1 zone on a hosted server

I am implementing opendkim but I can only get it to sign for 1 zone. The tld is failing to sign even though it is the same key/signature/file for both domains. my .conf: cat ...
-1
votes
1answer
73 views

Understanding Postfix Mail Log (Part II)

There are several logs like below in my Postfix mail log: Mar 9 06:01:10 postfix/smtpd[23043]: initializing the server-side TLS engine Mar 9 06:01:10 postfix/smtpd[23043]: connect from ...
0
votes
1answer
162 views

Relay denied (454) [closed]

I make test with the website mxtoolbox.com with my smtp and received this error: 220 hostname.example.com ESMTP [702 ms] EHLO MXTB-PWS3.mxtoolbox.com 250-mail.example.com 250-PIPELINING 250-SIZE ...
1
vote
1answer
122 views

Postfix, hostname and /etc/aliases

After having dig for hours on SF/SO and googled a lot, I still can't figure out how /etc/aliases is used by postfix. I use an Amazon Linux EC2 server (kind of Centos6) My server hostname is set to ...
2
votes
1answer
162 views

Postfix + mysql: virtual_users combined with a catch-all in virtual_aliases

I have a Postfix (and Dovecot) server running, using MySQL to define the domain names, users and aliases. This is all running fine, but now I want to add a catch-all to a domain where I already have ...
0
votes
1answer
720 views

opendkim public key not available [closed]

I'm having problems with my mail server sending or reciving mails from/to hotmail can anyone explain for newbies what all this errors on postfix log/gmail header/website dkim validator are telling me ...
-1
votes
1answer
1k views

535 5.7.8 Error: authentication failed: no mechanism available [duplicate]

I'm using Debian 7, with postfix/courier. When I attempt to login using SMTP I get the following error telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 ...
1
vote
1answer
54 views

How to configure postfix to use one virtual alias file per domain?

In Exim I have one file per domain where the filename itself is used to determine the domain for the aliases. For example, I'd have a file named example.org with contents like this: foo: ...
0
votes
2answers
144 views

POSTFIX: mail are sent randomly

I am trying to set up a mail server following the following tutorial: https://www.linode.com/docs/email/postfix/email-with-postfix-dovecot-and-mysql#sph_dovecot I already set up a mail server using ...
0
votes
1answer
106 views

Postfix - mail forwarding not ok - rejected by the server for domain example.com by subdomain mail.example.com

Some information: example.com has a MX-record with priority 10,20 and 30 to mail.example.com mail.example.com has an A-record to 192.0.2.0 (fictional ip) This is my main.cf of postfix #See ...
4
votes
1answer
481 views

How do I get disabling SMTP plaintext authentication to stick on OS X 10.10 Yosemite's Server.app

I've got an SMTP relay server that I recently replaced with OS X 10.10 Yosemite running Server.app. It is running as an SMTP-only relay allowing only hosts from the LAN to relay out through it. We do ...
0
votes
1answer
362 views

Zimbra - Domain on different IP address

What I'm trying to do is to set zimbra properly. I'm using on my server multiple domains. All on one IP address. But for one new domain, I want it to be visible differently. What I want to achieve is ...
0
votes
1answer
167 views

postfix header_checks - regex spanning multiple lines

I would like to create a spam filter that spans multiple lines in headers. This is my /etc/postfix/header_checks file: /^From:.*name[0-9]+@.+[\r\n]+To:.*name@domain\.com/ REJECT It's a valid ...
0
votes
0answers
20 views

Is “Received: from hostname (localhost [127.0.0.1])” triggering spam filters? [duplicate]

I am running my own postfix Mail Server. All my mails are Spam filtered (at least by Gmail and Yahoo). I don't really know why they are filtered, because I have implemented SPF, DKIM and DMARC. ...
2
votes
1answer
313 views

check header for Authenticated sender in postfix

My users send email with SMTP AUTH via SASL Authentification. Unfortunately their mails would marked as NoBounceOpenRelay by Amavis. So I set this to postfix main.cf smtpd_sasl_authenticated_header ...
0
votes
1answer
612 views

SMTP Error (451): Failed to add recipient. Temporary lookup failure

Installed iRedMail on Debian Server Can Login to Roundcube Sending Mails from Roundcube results in the following error: SMTP Error (451): Failed to add recipient "XXX@mydomain.de". Temporary ...
1
vote
1answer
43 views

helo message set to local hostname

I have a droplet on DigitalOcean and decided to implement my own mail server there using postfix and dovecot. Everything worked correctly and I was able to send and receive emails via a mail client ...
1
vote
1answer
109 views

Unable to send email from a ec2 instance using postfix

I find that I did not receive email for a while. When I checked the log I see error messages like this: 1 Mar 7 03:37:32 ip-179-45-37-216 postfix/smtpd[24969]: connect from localhost[127.0.0.1] ...
0
votes
0answers
78 views

Hotmail SMTP cache?

So this is an odd one ... Does Hotmail in anyway resolve and cache information for MX records or A records for individual email addresses? For Example: I setup a personal test bed mail server and ...
1
vote
1answer
127 views

Postfix: How to make complex attachment filtering?

I have Postfix on our server. I need to filter attachments in incoming mail not only by it type, but also check what inside of it. Exactly by now I need to filter attachment that: is a .zip archive ...
0
votes
2answers
156 views

Protocol between MTA, MDA, and mailbox in Postfix

I've read that LMTP is used to manage local messages with no need of queues. What I don't understand exactly it's how what protocols are involved and then, so please correct me if I'm wrong: Let's ...
1
vote
1answer
174 views

Block attachment files without extensions in Postfix via mime_header_checks?

We know how to reject executables and other potentially dangerous file extensions via mime_header_checks directive: mime_header_checks = regexp:/etc/postfix/mime_header_checks (main.cf) ...
2
votes
2answers
2k views

GitLab not sending mails

I have a Linux Ubuntu 14.04 installed on my VM. Recently I have installed GitLab 7.8.2 using the instructions on GitLab site, and encountered problems in making Gitlab to send mails. for example, ...
0
votes
1answer
63 views

Postfix mydestination trouble

UPDATE: I solved this by setting myorigin to $myhostname ("prime.example.com"). Now system mail goes to "user@prime.example.com", which is what I wanted. My app explicitly says it wants to send ...
-1
votes
1answer
81 views

postfix apparently relay email

I have read as many documents as I could understand about tuning postfix main.cf parameters, but still get some external email relayed. Here is a typical example in /var/log/mail.log: Mar 6 06:26:13 ...
0
votes
2answers
369 views

Postix or Dovecot debug log for Maildir folder, Virtual user mail folder owner and permission

I'm no able to find a complete tutorial about Maildir and the folders where reside owner and permissions if there's any and you already found it , please share. Anyway I wonder if there is a way to ...
0
votes
1answer
66 views

Recomendations for this mail server setup?

EMAIL SERVER SETUP Hey, its my first time using serverfault but I hope the community can help. I am trying to build a secure email system using Linux, Postfix, Dovecot and MySQL. I have read on ...
0
votes
2answers
321 views

email sending speed - how to improve

I am maintaining a server to send email mailings (no spam, of course). The current speed of this machine is approx. 2000 emails per hour. (edit: actually I did a test mailing today, removing the ...
4
votes
1answer
517 views

how do I set up two smtp ports for postfix?

A CentOS 7 server with postfix, dovecot, and mailx needs to accommodate mail being sent through port 465 and received through port 25. What specific syntax and files need to be changed in order to ...
1
vote
1answer
136 views

Understanding Postfix Mail Log

Recently I checked my mail log and found a lot of messages like this (some cipher text have been truncated): Feb 23 11:57:42 postfix/smtpd[32451]: initializing the server-side TLS engine Feb 23 ...
1
vote
1answer
217 views

Increase timeout for Postfix/Cyrus “Command time limit exceeded”?

I have an old OS X Server 10.4.x running Postfix 2.1.5 which is configured to use cyrus as mailbox transport. Here's postconf -n: # postconf -n alias_maps = ...