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
4 views

Postfix: on multi-recipient e-mails of same domain, how do you remove all but one (first) address?

We have a shared IMAP mailbox for a business. Customers are not used to not having to CC tons of people with us, so they CC everybody, which creates noisy duplicates in our shared inbox. How can I ...
0
votes
0answers
16 views

Spamassassin always says ALL_TRUSTED

So I've got a mail relay (Postfix/amavis/SpamAssassin) running that seems far too lenient on spam and I'm trying to diagnose why. Some background: we provide internet service to hotels and similar ...
0
votes
1answer
26 views

How can I strip or rewrite the sender's name of a from address when using postfix?

Objective I'm trying to configure a CentOS 7 system so all mail sent to local system accounts gets redirected to an alternate email address. For example, if mail is sent to root I want it to be ...
1
vote
1answer
34 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, ...
2
votes
3answers
194 views

What is the sendEmail equivalent on CentOS 7?

I am trying to follow the steps below. But there is no sendEmail on CentOS 7. I have looked at a few alternatives like Postfix, but I am not sure of the script commands. Alternatively you can use ...
3
votes
1answer
39 views

Foreign mail server returns “502 Command not implemented.”

I am using Postfix to communicate with foreign server and send a mail. Every time when I try send mail using Postfix, I get this error: (host mx2.seznam.cz[77.75.76.32] said: 451 Local Error (in ...
1
vote
0answers
42 views

Postfix / Relay Access Denied on mail server host [duplicate]

I checked the different answers on google and on this site about this kind of issue, but couldn't find any matching ones. I just can't send email from local (webmail) or from external mail clients to ...
-3
votes
0answers
24 views

vestacp external DKIM key records not working

For testing purpose i hosted one of my domain on vestacp and configured mail server on another server, i use opendkim for outgoing mail signing on mail server and the public key added in vestacp DNS ...
1
vote
3answers
272 views

Is postfix the only program that should be using port 25

My server IP was blacklisted for sending out spam and I am tracking down the program sending spam. I did netstat, and it shows a lot of programs using port 25 e.g tcp 0 182 ...
-6
votes
1answer
40 views

Why use both Dovecot and Postfix? [duplicate]

Just out of curiosity, there are dozens / hundreds of tutorials helping you setup a Dovecot - Postfix mail server. On the surface, both of them are email servers, why use both? Mail servers are ...
1
vote
0answers
45 views

Dovecot doesn't fetch mail from Postfix

I have installed Postfix on remote machine that successfully sends emails as well as receives. In order to connect to that remote server through email client (Thunderbird) I have installed Dovecot. ...
1
vote
0answers
21 views

SASL Auth against LDAP

So I am running into a whirlwind of issues with my cyrus install. I am setting up a multi-domain kolab groupware solution. I am on centos 6.7 I am getting this flooding my error logs when I try to ...
0
votes
0answers
27 views

How do i setup my server so that gmail does not mark it as spam [duplicate]

I have setup my domain mydomain.co.za and put an spf record to my server ip, example 123.456.789.123 when i send an email to google my postfix log shows Aug 24 20:39:25 myname postfix/smtp[21855]: ...
4
votes
1answer
46 views

Creating a postfix alias “all@domain.tld” to send to all users of a domain

I'm using Postfix + Dovecot with a MySQL database as backend and PostfixAdmin to administrate users and domains. Now I'm looking for an easy and automated approach to define per-domain alias of the ...
3
votes
1answer
48 views

Postfix: Fall back on SMTP relay that has internet access

I have a scenario where I have: Postfix server M (Stores mail) Postfix Server A (Relays mail using internet connection IA) Postfix Server B (Relays mail using internet connection IB) Internal DNS ...
-3
votes
1answer
26 views

Postfix setup issue

I'm trying to allow an external server to use my webserver (running postfix) to relay email through. I've gone through several articles on setting up iptables and I think I have it, but I still can't ...
0
votes
1answer
46 views

postfix/qmgr[…]: warning: connect to transport private/[myhostname]: No such file or directory

If I send an email from my client to an other person, the following I found with systemctl status -l postfix: postfix[20012]: Starting Postfix Mail Transport Agent: postfix. postfix/master[20119]: ...
-1
votes
2answers
63 views

Reject email if “rcpt to” does not match relay_domain - Postfix

My mail server currently shows up in mxtoolbox as Open Relay. Objective: Allow SMTP connection only when RCPT TO: says example.com What changes should I make in it so that, it would reject the ...
-1
votes
0answers
20 views

How to configure Postfix to relay mails to remote Mailman server?

I want to setup a postfix server a.example.com on one physical maschine and a postfix/mailman server b.example.com on another maschine. All mail is received by server a.example.com and has to be ...
1
vote
1answer
26 views

Update of SpamAssassin

We're running SA as a filter to Postfix and just completed an update (of SA) from 3.3.2 to 3.4.1. The spamassassin, spamd, and spamc executables have all been verified as the newer version. ...
1
vote
2answers
34 views

How do you configure postfix to only try unencrypted email with a fix list of IP address/domains?

A PCI scan told me to stop using TLS 1.0 for e-mail. I'm using postfix, so I disabled TLS 1.0, and all traffic for 1.0 stopped. Then the next day I looked at the logs and I see a lot of this... ...
-6
votes
1answer
50 views

Postfix not recieving mail from Gmail

I've Installed Postfix with Dovecot on CentOS 7. Everything is working good when I try to send / recieve emails from services like Outlook.. etc. However, there is a problem when I send an email from ...
-1
votes
0answers
25 views

Postfix: Redirect bounced emails to dynamically extracted email address

I have postfix (via iRedmail) and I want it to check bounced emails and extract an specific header X-FWD-EMAIL: email@domain.com (if there is any) and forward it to the specified email address ...
1
vote
1answer
44 views

Dovecot: virtual and local users homonyms: Mail access for users with UID 1000 not permitted

Well, the case seems simple but I can’t find a satisfactory answer. I have a Postfix/Dovecot installation with the later configured to work with virtual emails which works like a charm... for ...
2
votes
1answer
30 views

Integrating postfix with LDAP to eMail Users with Access to A Specific Host

I have a working openLDAP v3 installation under Ubuntu 14.04 (slapd 2.4.31-1) with phpldapadmin, sudo-ldap and other packages installed. I'm trying to integrate postfix with LDAP so I can send emails ...
1
vote
1answer
34 views

POSTFIX only receive email if server hostname is included in email address

I have this situation: postix/sasl/dovecot I recently added dovecot and sasl and i can only receive email to postfix if i use this email format: user@serverhostname.domain.com If i use desired ...
2
votes
1answer
52 views

Postfix - sender dependent relaying for multiple domains

I have spent the last couple of days going through SO questions and the Postfix documentation but have not succeeded in figuring out what I'm doing wrong. My situation is as follows: I have a server ...
-1
votes
1answer
58 views

Block outgoing emails from Postfix from non-existent users

I'm getting spam sent through my server. The sender names are always random, but always in the form randomname@mydomain.com. I've tried adding reject_unlisted_senders to the ...
-1
votes
1answer
53 views

SSL Certificate - Self-Signed Certificate

I'm trying to get PCI compliant and the PCI scanning company is showing below Fail scan report SL Certificate - Self-Signed Certificate SSL Certificate - Self-Signed Certificate port 25/tcp over ...
1
vote
1answer
25 views

Migrating from old mail seerver to new, error “Sender address rejected: User unknown in virtual mailbox table” [closed]

I'm trying to migrate a domain from an old mail server to iRedMail, anyway I think the topic is more broadly Postfix specific. I have set up a new server based on iredmail and then I will migrate all ...
0
votes
1answer
30 views

Force PHP mail to avoid using postfix root@myorigin; use /etc/mailname instead?

I recently posted an issue setting up a mail server with postfix and virtual aliases. I solved the problem here: Postfix/Dovecot - Multiple Domains and Multiple Linux Accounts To sum it up, I set ...
0
votes
1answer
56 views

Postfix, dovecot, squirrelmail Failed to autocreate mailbox INBOX

I'm trying to create my first mail server with postfix, Dovecot and squirrel mail on Ubuntu 14.04 To get started did i follow this tutorial on this page. ...
0
votes
1answer
37 views

Securing outgoing emails with logs of a web server

On the web server I am going to run rkhunter, tripwire, OSSEC, fail2ban and psad. All of those applications need to be able to send emails to notify the sysadmin. Therefore, I've: sudo apt-get ...
1
vote
1answer
67 views

Postfix + Dovecot with MySQL backend: md5-hashed passwords and CRAM-MD5 auth

My question What are the risks of switching from MD5 to CRAM-MD5 passwords in the database, especially considering the following, and how to approach that for an existing installation (provided I ...
-1
votes
2answers
75 views

Reverse DNS is not a valid hostname [closed]

I help a friend run a server, which includes a mail server. http://mxtoolbox.com reports that our reverse DNS is not a valid hostname. The reverse DNS currently points to domain.com. Should it point ...
0
votes
1answer
37 views

PFsense postfix troubleshooting - SMTP headers [on hold]

I am trying to setup google as mail relay but running into some troubles. I get an error that 550-5.1.1 The email account that you tried to reach does not exist My custom main in pfsense looks ...
0
votes
1answer
43 views

Why mail.log is not logging to file? [duplicate]

my server yesterday started sending thousands of spam emails. I blocked it adding default_transport=No transport to the postfix main.cf. But now of course I can't send legit emails as well. I have ...
0
votes
2answers
79 views

“503 5.5.1 Error: authentication not enabled” when trying to connect to my postfix server remotley

I have the following: postfix-2.10.1-6.el7.x86_64 cyrus-sasl-lib-2.1.26-17.el7.x86_64 cyrus-sasl-plain-2.1.26-17.el7.x86_64 cyrus-sasl-2.1.26-17.el7.x86_64 my postconf -n is: alias_database = ...
-3
votes
1answer
50 views

Postfix - Allow emails to virtual domains but block spam?

My Postfix is set up with virtual domains. This allows people to send an email to *@mydomain.com and it'll be forwarded to my gmail account. Basically the end goal is to simply allow people to email ...
0
votes
1answer
30 views

Delete old e-mails from a Maildir

I am currently trying to figure out how I can delete old e-mails in one folder of a Maildir installation on a Debian server. Basically what I want to do is to run a cron job every day or so that ...
2
votes
1answer
51 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
45 views

Ubuntu: Postfix and Cyrus expecting saslauthd PID file in different locations

I'm running postfix and cyrus in parallel on my server, as far as I understand this is a quite common think to do. Both daemons use sasl authorization. However, postfix is looking for the saslauthd ...
1
vote
0answers
13 views

Why is Postfix throwing “malformed response” and “bad command startup” errors when I send mail? [duplicate]

Why is Postfix throwing "malformed response" and "bad command startup" errors when I send mail? When sending an email from my server like: mail -s testing email@example.tld this is a test EOT I ...
-2
votes
2answers
90 views

postfix error: 535 5.7.8 Error: authentication failed: authentication failure

I need to connect to Dyn mail relay and I'm using their KB. I'm trying to connect to my postfix server with telnet to port 25. This is the postconf -n alias_database = hash:/etc/aliases alias_maps ...
-1
votes
1answer
42 views

In postfix, how to deny a specific email address from sending e-mail but still allow receiving?

The closest thing I tried was to add reject_unlisted_sender to main.conf but that also disables receiving any email to that mailbox. I want only deny sending but still allow receiving. EDIT Here's ...
-1
votes
1answer
44 views

Change MX record to another server

I have a host-machine with Centos 7 and a guest machine with Centos 6.6. I want my guest to be a mail server on dedicated static ip for all my domains (on the same host-ip and not). P.S. I use ...
2
votes
2answers
58 views

Postfix seems to send spam

I recently discovered this in my postfix-log: Aug 4 11:09:12 mail postfix/smtpd[71597]: connect from unknown[59.88.35.206] Aug 4 11:09:14 mail postfix/smtpd[71597]: Anonymous TLS connection ...
3
votes
1answer
65 views

Postfix/Dovecot - Multiple Domains and Multiple Linux Accounts

I have been trying to setup a new mail server to migrate from my VPS, as my host has decided to close its doors. The old server was running Exim/Courier (nearly a decade old at this point,) and I'm ...
-1
votes
1answer
30 views

Postfix Send many messages in one connection

i have a question about postfix. We cand send to our providers smarthost 4000 Mails per Hour. When we send this messages, we got the failure too many connections back. Now i want to send all theese ...
0
votes
1answer
22 views

Postfix ignoring relay_recipient_maps?

I am trying to setup a mail relay running Postfix in the DMZ to forward all incoming mail to the internal LAN connected mail server. I would like to be able to refuse incoming mail for non-existent ...