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
0answers
2k views

opendkim fail | bad RSA signature | verification failed unprotected key

I have fully manageable VPS running Ubuntu 14.04 which hosts websites for several domains. Recently I have tried to add DKIM signatures to avoid spam filters. I've followed ubuntu-postfix-dkim ...
3
votes
0answers
345 views

Configure mailgun as relayhost on top of existing postfix server already using sasl

I might be barking at the wrong tree completely here, but I'll ask anyway. I've followed a tutorial to setup a Mailserver on ubuntu 14.04 with postfix, dovecot and mysql. Now I have setup mailgun to ...
3
votes
0answers
46 views

I need help trying to authenticate with AD from my linux machine

I am not experienced in this, so there might be some points that I am missing. Initially I tried to setup Cyrus Mail w/ SASL for AD authentication. After several tries, it failed to work. I switched ...
3
votes
0answers
283 views

Recipient address rejected: User unknown in virtual mailbox table

I have a dedicated linux server running Plesk 12.0.18. On this server, I have running 61 subscriptions, only 1 have this problem. When I want to send an e-mail using roundcube from 1 of my ...
2
votes
0answers
25 views

System reboot results in T_DKIM_INVALID spamassassin

I have installed and configured OpenDKIM in my Ubuntu 16.04 digitalocean vps and enabled the DKIM Plugin in SpamAssassin with loadplugin Mail::SpamAssassin::Plugin::DKIM in one of the .pre files ...
2
votes
0answers
25 views

PAM vs /etc/shadow in Dovecot SASL configuration - Security differences?

I set up a server with Postfix SMTP auth through Dovecot SASL. However, it was not possible to get the PAM authentification working as standard out of the box. So more by chance, I changed it to ...
2
votes
0answers
38 views

Postfix filter incoming mail

Currently I have a Postfix setup on a CentOS machine. It has multiple virtual_alias_domains and virtual_alias_maps = hash:/etc/postfix/virtual. There are multiple entries in /etc/postfix/virtual like:...
2
votes
0answers
39 views

Properly Configure Postfix to be secure (SASL + TLS)

I've followed online tutorials online to setup my mail server with SASL and TLS, and amavis. It all seems to works - except i can send mails even if i don't authenticate first - which is not good. I ...
2
votes
0answers
19 views

Debian Postfix distribution list accessible only for few adresses

Actually I'm working with Postfix server and trying to implement distribution list with simple restrictions. My assumptions: I created alias: managers@mydomain.com -> manager1@mydomain.com, manager2@...
2
votes
0answers
33 views

Postfix STARTTSL works in LAN but not from external (centos 7)

if I connect in LAN on port 25 to my mailserver it offers STARTTLS telnet mailserver.com 25 Trying 192.168.0.x... Connected to mailserver.com Escape character is '^]'. 220 mailserver.com ESMTP ...
2
votes
0answers
27 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 ...
2
votes
0answers
22 views

Limit allowed envelope senders for Postfix's sendmail

I have a Linux server with local accounts (they are used by PHP-FPM processes) that are using Postfix's sendmail binary to send e-mails. All e-mails are sent through local Postfix to a central ...
2
votes
0answers
109 views

Configure Postfix to route to specific IP based on the recipient MX record

I have Postfix running on a VPS with Ubuntu 12.04, the server has multiple IP addresses. I want to configure Postfix so that it will route mail to send via one of these IP's based on the MX record of ...
2
votes
0answers
33 views

Postfix relaying for multiple domains with Amazon SES

I'm a little confused about relaying with Postfix. I added this line to my /etc/postfix/transport mydomain34.com smtp:email-smtp.us-west-2.amazonaws.com I know this is wrong, but this is what I ...
2
votes
0answers
1k views

When does Postfix not perform lookups in virtual_alias_maps?

I'm having a real pickle of a problem: I have a Postfix 2.6.6 / CentOS 6 server that's set up to forward mail from specific aliases to specific destinations. This is done through a mysql ...
2
votes
0answers
240 views

Postfix mailbox_command + netcat + nodejs

I use Node.js script to process incoming emails and pipe them from Postfix via netcat in mailbox_command (namely: nc 127.0.0.1 3002). Node is listening on port 3002 and calls socket.destroy() once ...
2
votes
0answers
185 views

Mail Service requires reboot every few days

I'm kind of new to postfix so am hoping someone can point me up the obvious here I have a Postfix working as SMTP server and everything is fine for a few days. Then without warning or apparent reason ...
1
vote
0answers
9 views

Prevent misdirected bouncebacks from forwarding server

Note: This question is a duplicate of Avoid creating backscatter on a Postfix forwarding server, for which the only answer was "sorry, nothing you can do", but I provide more detail here, consider ...
1
vote
0answers
8 views

Email address tagging doesn't work with virtual mailboxes in postfix

I have my own email server, and I'd like to be able to use dynamic email address tagging. I added the recipient_delimiter = +- directive to my config and restarted postfix, but now if I email bob+...
1
vote
0answers
18 views

Postfix. Sending some messages using external smtp server and some messages “directly”. Issue with sender_dependent_relayhost_maps

I'm configuring a new web server and i need to make emails from my PHP scripts to be sent. Most messages should be sent using mandrill SMTP and some "directly" from my server to email services. I ...
1
vote
0answers
72 views

CentOS mail bounced error dsn=5.1.0 status postfix issue

I'm running centOs on my server and i use postfix for sending emails but a while ago postfix has started bouncing every mail i try to send giving this error: Jun 9 12:06:49 IrideLamp1 postfix/pickup[...
1
vote
0answers
44 views

Postfix ignores my transport maps

I'm trying to pipe incoming email for helpdesk@example.org to a script called rt-mailgate, while sending the rest of my incoming emails (anything...@example.org) to Dovecot with ldap and spamassassin. ...
1
vote
0answers
21 views

Using an after queue policy daemon with postfix

I have this scenario: Postfix is configured with cluebringer (Policyd v2.1) and emails that are exceeding the quota are deffered. What I need to do is somehow use cluebringer in after-queue so it ...
1
vote
0answers
18 views

Sieve saved EICAR virus to Junk folder but also disregarded in the log

I have setup my own mail server by partially following the guide (series) here The sieve filter rule is: ... truncated ... # Trash messages with improperly formed message IDs if not header :regex "...
1
vote
0answers
66 views

Use postfix through a proxy. How should it be configured?

Postfix by default uses ports 25, 465 and 587. In my configuration, I enabled TLS encryption using the option smtpd_use_tls=yes in postfix's main.cf. This makes all smtp communications encrypted as ...
1
vote
0answers
74 views

Postfix relayhost not working

I have a simple goal: I am setting up a monitoring system and I want this monitoring system to send me emails when a problem with my servers occurs. I have Postfix installed. And I want to use mail, ...
1
vote
0answers
79 views

PHP Script sending spams and mail.add_x_header not working

I've got my server hacked lately by some Php64 malware. Since then, I have found a lot of PHP files in my /var/www sub-folders. I am trying to delete each of these or clearing the files when some ...
1
vote
0answers
58 views

Is there a way to configure postfix to bypass spam/RBL checks on a particular destination hostname or username?

I'm running Postfix on CentOS 7, a fairly generic implementation, but I do employ some RBL checking on incoming mail. I like using SORBS for example but I have a few clients who seem to have issues ...
1
vote
0answers
221 views

Not able to send mail of Hotmail with your own postfix

I purchased DigitalOcean VPS in that installing cwp.admin open source panel. Also all configuration completed like postfix,rDNS,DKIM,DMARC,SPF,DNS Settings,etc... My problem is not able to send mail ...
1
vote
0answers
25 views

How to block a users name from getting mail using postfix

I have a setup where I use /etc/aliases to define several email addresses for a user, e.g.: foo: user bar: user foo.bar: user However I want to block the users name (user@domain.com) from ...
1
vote
0answers
62 views

Postfix logs to remote log host

On my Ubuntu 14.04 server, I'm using Postfix as a front-end mailserver, and I would like to send all mail related info, including email addresses, to a remote host. In the file /etc/rsyslog.d/50-...
1
vote
0answers
38 views

Postfix send SPAM

I come a few days being listed in the Spamhaus CBL. CBL list reports that I have a virus on the network and that is sending emails as "localhost.localdomain". I do not know where to be coming this "...
1
vote
0answers
109 views

Problems whitelisting senders in Amavis-new

I've a CentOS6 server with Amavis 2.9.1 + Postfix 2.6.6 + clamav 0.99 that I use as mail relay (aka mail gateway), with network set as follow: eth0 (10.10.132.104) as external inteface eth1 (10.10.133....
1
vote
0answers
74 views

SSL_accept error with postfix oportunistic STARTTLS

I have configured postfix 2.6.6 on centos 6 as a mailrealy in front of an exchange 2010 server. Things work. Now I would like to add oportunistic encryption to incomming and outgoing mail. At least ...
1
vote
0answers
25 views

what's the difference between '/etc/aliases' and /etc/postfix/aliases'

In my system I've noticed that there are these two files, coming from different packages: /etc/aliases --> netcfg-11.5-27.1.noarch /etc/postfix/aliases --> postfix-2.11.6-19.1.x86_64 I've also ...
1
vote
0answers
205 views

postqueue: fatal: Cannot flush mail queue - mail system is down

Setting up a server, and I am having the damnest time getting postfix to send out an email! I have several emails in the queue, but when I force them I get this: postqueue: warning: unable to look ...
1
vote
0answers
84 views

Postfix with Dovecot Disconnects after STARTTLS on Port 25

I am having a lot of trouble setting up the Postfix to do STARTTLS. It seems that I could successfully send outgoing mail using Thunderbird. However, I can't seem to get the Postman SMTP for Wordpress ...
1
vote
0answers
57 views

postfix empty from when redirecting to return-path

We are sending mail from our server via postfix, and capturing bounces in an inbox via return-path. We're seeing an odd situation where sometimes the bounce rejection appears to happen directly during ...
1
vote
0answers
294 views

Postfix couldn't send mail on Ubuntu VPS server, network unreachable/connection timeout

I have a problem with postfix. When I am trying to send some mail from commandline, I get: Feb 14 12:44:35 some-server postfix/smtp[1022]: connect to gmail-smtp-in.l.google.com[2a00:1450:4010:c07::1a]...
1
vote
0answers
40 views

Troubleshooting: Integration of SSL certificate into Postfix

In order to use TLS on my Postfix server, I have used directly the nginx ssl files from my other server, which also uses the domain that I want to use with postfix. I have integrated the files in the ...
1
vote
0answers
23 views

Redundant procedure when using Postfix relay

I have a Postfix server with the following main.cf file (I'll show just the relevant info): smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd ...
1
vote
0answers
63 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
0answers
32 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 ...
1
vote
0answers
17 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 ...
1
vote
0answers
24 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: +-------------+------------------+-------------------+------------------+------+------+--------------------...
1
vote
0answers
145 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 unknown[...
1
vote
0answers
23 views

Postfix responds with 450 4.7.1 even though names resolve properly

The following is happening for reasons I do not understand. Excerpt: from mail.log Dec 21 17:03:56 server postfix/smtpd[13014]: NOQUEUE: reject: RCPT from unknown[10.X.X.40]: 450 4.7.1 Client ...
1
vote
0answers
74 views

Postfix set EHLO name for virtual domains

I need to set EHLO name for my virtual domains. Postfix sending mail with EHLO as JV.localdomain where JV is my hostname my server ip is 62.210.xx.xx I am hosting 2 domains domain1.com and domain2....
1
vote
0answers
126 views

Postfix sending mails hundreds of times to e-mail address hosted on plus.net

I have a Postfix mail server handling mail relay for web sites. It's working perfectly and delivering hundreds of mails every day without issues. In the past few months, there have been 4 occurances ...
1
vote
0answers
23 views

Authnetication failure with postfix and sasl using sasldb

I'm really not sure what my issue is. I've checked several guides, and I am sure I have set this up correctly, including config fails, restarting the service, permissions etc. OS is Ubuntu Server. ...