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

0
votes
0answers
27 views

Postfix: error: open database /etc/postfix/generic.db: No such file or directory

I am seeing such an error when starting the postfix server, and also lots fo failures when watching the maillog. How can I solve this issue? Jan 13 22:43:46 CentOS-72-64-minimal postfix/master[1651]: ...
1
vote
0answers
32 views

Webserver to send emails from Postfix

I have a problem with my web server sending out email from websites through postfix. I have server that is running Ubuntu 12.04.5 and using Apache webserver. I have installed virtualmin on the server ...
1
vote
1answer
18 views

how do I filter and reject mails in postfix based on the 'to' address

My CentOS server is configured for outgoing mail only. I need a filter to reject mails targeted at selected destinations. For example, if I test with > mail -s "test" spam@trash.com I want this ...
0
votes
2answers
46 views

How can I reject spam before reaching SMTP on Postfix

My server has started receiving thousands of attempts to use my mail server to send spam from dynamic.hinet.net. The attempts are always rejected, but it's non-stop. I'd like to block these attempts ...
1
vote
0answers
15 views

How do I use SRS rewrite the From header on a forwarded email message

I have a serious problem here. I run a labor dispatch website, where users can register their cell phones (I send them an auth code via text, they enter it at the website, it's entirely opt-in). A job ...
0
votes
1answer
24 views

Postfix Localhost Server Sending Spam to Itself

I have an iRedMail server that runs Postfix and am trying to determine the source of its spam problem. I have since changed the MX records on the domain for the address receiving spam and the good ...
1
vote
0answers
13 views

PostFix/Dovecot new installation on Centos6

I have installed Postfix and Dovecot on my server. It seems to be mostly working - I can send mail from my account to a remote account no problem. My problem is receiving it. When I send an email ...
0
votes
2answers
34 views

Can Mandrill route inbound email to webmail (like roundcube)

My main issue is I setup a small server, and my ISP blocks port 25. I've setup Mandrill as a relayhost on port 587 in postfix, so that solves my sending issue. I know Mandrill can be used to route ...
-2
votes
0answers
27 views

How best to restrict email from 'new' TLD

I've begun getting significant numbers of email from new TLD's such as '.cricket', '.racing', '.loan', and others. My approach so far to eliminating these is to add them to a SpamAssassin blacklit in ...
0
votes
0answers
11 views

postfix dovecot maildir pop3 strange behaviour

AFAIK, with maildir system, unread messages stored into new folder, and will be moved to cur folder when read. In my installation, every messages stored into cur folder and when I connect with pop3 ...
2
votes
0answers
21 views

Postfix: deleting emails with recipient not in virtual_alias_maps

I'm getting a lot of spam for recipients that don't exist on my domain. I'm forwarding email on this domain to various external addresses for my family by using virtual_alias_maps. To prevent these ...
3
votes
0answers
41 views

Postfix reject_rbl_client Blacklists Not Working

I have a mail server (iRedMail) that uses Postfix. I've been getting a lot of spam, so I modified the /etc/postfix/main.cf file and have the smtpd_recipient_restrictions set to this: ...
1
vote
0answers
16 views

Alias with all users in mysql table for postfix/dovecot

I have a table with users for my mail server. This table for imap authenfication in dovecot: ...
-2
votes
2answers
37 views

How to route mail server from both internet and intranet? [duplicate]

We have a mail server configured in Ubuntu 12.04 with postfix, dovecot and roundcube. It has two interfaces, one with real IP and one with private LAN IP. Incase of intranet we have branches and head ...
-3
votes
2answers
56 views

Setup scalable email server [closed]

I spent last week setting up email servers with trying all MTA and I was able to send and receive emails with attachments and do spam filtering. Now my concern is what if I got too many users and too ...
0
votes
0answers
16 views

Create alias with all users from mysql table in postfix/dovecot

I have a table with users for my mail server. This table for imap authenfication in dovecot ...
3
votes
1answer
162 views

Should Postfix run chrooted if it already is in it a FreeBSD jail?

I'm running Postfix together with Dovecot and a few milters in a FreeBSD jail. Is there a significant security gain when I run SMTP and SMTPD daemons chrooted as well?
0
votes
0answers
12 views

Postfix - dynamically change header

is possible to dynamically change an email's header by another header line? Let me explain, our email's header looks like this: Message-ID: ...
1
vote
1answer
59 views

Postfix can't send mails to google server -> FROM GOOGLE SERVER

Hy, i have a "compute engine" hosted by google. When i try to send an email via postfix, it doesn't work. Error log says: postfix/smtp[16416]: 16C5820035: to=< ...
0
votes
0answers
21 views

Postfix - master.cf - Share settings

I would like an authoritative answer on whether I can share settings as described below, from someone who has set up a production grade postfix server. The goal is to only apply spamassassin ...
1
vote
1answer
44 views

correct order for Postfix milters

I use the following milters with Postfix: ClamAV, OpenDKIM, OpenDMARC, Rspamd This is also the order they are being called via smtpd_milters. What would be the best order for them regarding ...
3
votes
3answers
99 views

Postfix sends to FQDN Hostname instead of Domain Name

I have installed a send only postfix. Postfix works when I send a mail to a full email address. However, if a mail to sent to a user, it adds the FQDN name as the extension instead of just the domain ...
0
votes
1answer
17 views

Postfix - MySQL - noreply custom response not working

I'm trying to get a custom response working for no.reply@example.com and I keep getting "User doesn't exist" errors. I have an alias of no.reply@example.com which has a 'goto' of the same value, then ...
0
votes
1answer
55 views

FreeBSD & Jails: Send mail through Postfix in Jail

I have FreeBSD 10.2 and I'm using several Jails, one of them has Postfix installed. I want my other jails and my host system to use the local Postfix installation in the Jail. They should use ...
0
votes
1answer
29 views

Email address masking

I would like to mask/alias the email addresses of my customers behind my own domain(ex: custid@mydomain.com) such that any third party (that is allowed to contact them) cannot get their real email ...
0
votes
1answer
51 views

IMAP authentication issue with roundcube + postfix + mysql + ubuntu mailserver

This problem is driving me insane and I'm now stumped. Need some help please ;) I'm setting up a mail server on an Ubuntu 14 AWS EC2 instance using mysql backend, postfix MTA and roundcube webmail ...
1
vote
0answers
98 views

Postfix “Connection timed out”

I try to send a few emails, but postfix send only 3 emails every 10-20 min. After that postfix sends 3 emails, I get the error: "Connection timed out". mail.log: Jan 4 12:16:39 mail ...
0
votes
2answers
49 views

Postfix sent mails are bounced or go to spam

I recently tried setting up a mail server to be able to send mail for the websites I host with apache. At first I tried to work with exim but I was overflown with error messages and mails I tried to ...
1
vote
0answers
42 views

How to detect SMTP AUTH attempts in Fail2Ban?

I have a Fail2Ban jail that monitors failed SASL authentications to my Postfix SMTP server. When this occurs, /var/log/mail.log contains these three lines: postfix/smtpd[32591]: connect from ...
0
votes
1answer
38 views

Setting up a simple email forwarder on EC2 [closed]

I'm migrating my personal website to be hosted on EC2. I've got the website part of it up and running, but I'm stuck getting the email server setup. All I'm trying to do is receive a small volume of ...
-1
votes
0answers
16 views

Postfix Relayhost issue

I've just configured postfix on my centos 7 machine and it's only able to do telnet localhost 25 but it gave error after typing rcpt to error message is "Relay access denied" but when i try to ...
7
votes
2answers
112 views

Is SRS rewriting absolutely necessary for a forwarding mailserver?

I am operating a Postfix email server for my domain, say mydomain.com. It mostly acts as a forwarding email server: users receive an email address @mydomain.com, but usually elect to have their ...
3
votes
1answer
65 views

In postfix, how can I allow only certain users to send mail as any other user?

My mail server's default configuration uses the reject_authenticated_sender_login_mismatch setting of smtpd_sender_restrictions to prevent an arbitrary user A from sending email as user B (in the FROM ...
6
votes
1answer
293 views

How do I get off Mimecast's greylist?

Emails from our servers sent to Mimecast are being "temporarily rejected" due to greylisting. Mimecast has docs on this; they say that every time they see a unique IP and sender, they greylist the IP ...
1
vote
2answers
87 views

Postfix - Is submission (587) enough?

I have a working postfix/dovecot solution in place and am ready to update DNS to adjust MX priority away from google MX servers to our server. But I got to thinking, do I NEED to configure postfix to ...
1
vote
1answer
20 views

Postfix: reject mail, but still deliver or archive in a folder for spam analysis

I'm using Postfix and Spamassassin, and Postfix is rejecting incoming mail that fall into spam rules. Mail are then forwarded to different relays based on many factors. Is there a way to archive ...
0
votes
0answers
70 views

Trying to set up Gmail “send mail as” SMTP mail function

Alright, so I've come here as a last resort hoping to find that last bit of help I need to solve this. I've spent the last two days scouring for answers without actually getting anything direct. First ...
0
votes
1answer
27 views

Mail Clients stopped working after MX Change

At first I was using 'example.com' as my MX record and everything worked fine, IMAP, SMTP, sending mails from the mail clients. And then I changed my mx record to 'mail.example.com' and everything ...
0
votes
1answer
15 views

Postfix RCPT TO Temporary lookup failure

I'm pretty clueless about servers as it is, and having to set up postfix is giving me a tough time. I know this error is pretty common, but even after spending half a day and trying various solutions, ...
-1
votes
1answer
27 views

Unable to use Sieve to sort out Spam Mails to a Spam folder

I have configured a mailserver with dovecot + postfix on Debian. I can send and recieve emails. Also the server detects spam emails. Unfortunately, Sieve does not sort out Spam Mails to a Spam ...
2
votes
1answer
17 views

Where does an unconfigured procmail put incoming mails?

When restarting my postfix with a slightly wrong config, a few mails that were waiting in the mail-queue were apparently delivered via procmail mail.log.0:Dec 26 00:53:38 h2229778 ...
1
vote
2answers
44 views

How to find out who is sending email

I have a server which doesn't have much activity. Today, suddenly server load went higher than 12 which compared to its normal value(0.5) is way too high. I checked and found out that postfix is being ...
0
votes
0answers
78 views

Postfix capture messages exceeding limit

Is it possible to capture/filter messages that are exceeding the limit that has been set in the postfix configuration, and forward the captured mails to an external id? thanks in advance. EDIT : We ...
0
votes
1answer
52 views

Postfix Send only Without a FQDN

I'm using OSSEC and Nagios to build a sort of HID system on our network. Everything is going smoothly so far; however I cannot get OSSEC to send email alerts. What I'm trying to do right now is get ...
0
votes
2answers
42 views

Configure mail for multiple domains VPS

I have a VPS with a few domains: domain1.com, domain2.com FQDN = domain1.com A self signed certificate for FQDN is configured automatically. iRedMail (postfix + dovecot) is configured on this VPS. ...
-3
votes
1answer
58 views

SMTP (postfix) and iPhone - can't send emails - reject: RCPT

I try to setup email server already 2 days, everything work flawless when i use roundcube on PC, I can send and receive emails, but problems start when I want to setup my email on iPhone. I can ...
1
vote
2answers
27 views

postfix virtual_mailbox_maps causes Relay Access Denied

I have postfix 3.0.3 running with PostgreSQL 9.4. My main.cf is here: broken_sasl_auth_clients = yes inet_protocols = ipv4 local_recipient_maps = $virtual_mailbox_maps mail_owner = postfix ...
0
votes
1answer
27 views

Change Return-Path address with postfix/opendkim

I've just set up opendkim on my server. Prior to this I had postfix set up to have the return path headers set to info@domain.com now after installing opendkim that's now changed back to what it was ...
-1
votes
1answer
30 views

Postfix - Host or domain not found

I installed postfix on my centos. this is postconf -n output: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix ...
0
votes
0answers
42 views

postfix Delivery expired (message too old) '[Errno 61] Connection refused' (delivery attempts: 0)

My postfix mail users have the following error being thrown at them when they send a mail. Action: failed Status: 5.0.0 X-Supplementary-Info: < #5.0.0 smtp; 5.4.7 - Delivery expired (message too ...