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
1k 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
115 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: ...
3
votes
0answers
298 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
45 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
245 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
16 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
26 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 ...
2
votes
0answers
22 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, ...
2
votes
0answers
26 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
93 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
30 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
979 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
233 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
183 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
14 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
40 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
46 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
39 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
34 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
156 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
16 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
44 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 ...
1
vote
0answers
36 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
50 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 ...
1
vote
0answers
44 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
24 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
105 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
63 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
39 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
205 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 ...
1
vote
0answers
32 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
30 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 ...
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
57 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
25 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
23 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
99 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 ...
1
vote
0answers
21 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
19 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 ...
1
vote
0answers
67 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 ...
1
vote
0answers
71 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
20 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. ...
1
vote
0answers
68 views

Postfix cannot start but dovecot is ok

My postfix service cannot start. Here is message: Job for postfix.service failed. See 'systemctl status postfix.service' and 'journalctl -xn' for details. And here is service status: ...
1
vote
0answers
1k views

postfix: lost connection after CONNECT/EHLO/unknown from unknown

seeing following error message while trying to send email via postfix on Centos 7 while I can receive and download messages not seeing any errors postfix/smtpd[24532]: connect from ...
1
vote
0answers
59 views

Postfix permit localhost use plain login

I have postfix 2.11 setup on Debian jessie with Dovecot SASL and I require encrypted login mechanism to send mail via smtp. For this purpose in the main.cf I've smtpd_tls_auth_only = yes option set. ...
1
vote
0answers
67 views

Postfix suddenly starts logging “unknown service: smtp/tcp”

Firstly, YES I'm aware of the other post about this, but it didn't help me. A short time ago our sysadmin unexpectedly left the company with no replacement or handover, and now it's on me for the ...
1
vote
0answers
259 views

Postfix fails to verify GMail's DKIM signature

I have my Debian (7.9 "wheezy") E-Mail-server (Postfix 2.9.6-2) setup to sign and verify DKIM signatures in e-mail messages using OpenDKIM (version 2.6.8-4). My server passes the DKIM test at GMail ...
1
vote
0answers
48 views

Why does Postfix place mail in a different mail location than I put in main.cf?

I'm trying to figure out why mail is not going to /home/username/Maildir and instead going to /var/spool/mail/ My postfix main.cf has home_mailbox = Maildir/ and dovecot 10-mail.conf has ...