Postfix is a free and open-source mail transfer agent (also "MTA"), written in 1997 and still actively developed.

learn more… | top users | synonyms

0
votes
1answer
3k views

PHP mail() function not working in Mac OS X

I did follow all the links given in this post, nothing worked out. Please explain me why PHP mail() does give so much problem? what exactly happening and why it will not work? I am using Mac OS X ...
0
votes
0answers
9 views

postfix is appending dns suffix

When I attempt to send a message via postfix, my configuration uses a relayhost: relayhost = mail.example.local I can do an nslookup on this record, but when I attempt to send a message via postfix, ...
1
vote
2answers
455 views

Receiving mails fails (milter service connection refusal)

I'm currently operating a server, on which runs a mailserver. The mailserver was configured by plesk and it worked fine until those messages appeared in my maillog: /var/log/maillog postfix/smtpd[...
1
vote
1answer
15 views

Stop open relay in Postfix/Dovecot

I have a mail server set up with Postifx/Dovecot/MariaDB in CentOS 7. It is somehow configured as an open relay. Do you have any idea how to stop this? Config files below: master.cf # # Postfix ...
0
votes
1answer
593 views

How to log postfix messages to a database?

mysql -u root -p postfix < /usr/share/doc/packages/postfix-mysql/postfix-mysql.sql +-----------+--------------+------+-----+---------------------+-------+ | Field | Type | Null | Key |...
1
vote
1answer
3k views

Postfix not delivering messages (554 Client host rejected: Access denied)

Messages from localhost is working normally, but when I try to send mail from i.e. gmail to my domain (as in virtual domain mapping) postfix is denying it with error (554 5.7.1 : Client host rejected: ...
0
votes
1answer
26 views

postfix, dovecot and usernames different to e-mail addresses

I want to replace an old mailserver setup with postfix+dovecot. The problem I'm facing now is, that the old system had usernames different to the e-mail address of the user. For example: E-Mail-...
0
votes
0answers
25 views

Postfix relay should depend on sender

I have a Linux server with Postfix, and I need to send mail with several different sender addresses. Something like this: If the outgoing mail contains From: xxx@alpha.com, Postfix should use one set ...
0
votes
0answers
28 views

How do I block non-local domains from sending local mail through postfix?

I have postfix running under Alpine docker. If I start it up like so: docker run --name local -it -p 2500:25 alpine sh / # apk update && apk add postfix / # newaliases / # mkdir /var/mail / # ...
0
votes
0answers
11 views

dovecot, postfix mail wont encrypt

I tried to install a mail server on my debian 8 vServer. I followed a tutorial, step by step. Everything works fine, but when I send mails to my private google mail account, google mail puts that mail ...
3
votes
1answer
35 views

How to set up Postfix to save the message body in the log file?

I need all the body of incoming and outgoing messages are written to the log file. How to setup Postfix to do that?
0
votes
1answer
15 views

Postfix keeps saying wrong MySQL-Syntax

I have the following Postfix config-file to map an email to itself (All credentials are fictional): user = db_mailuser password = mailuser_password hosts = 127.0.0.1 dbname = mailserver query = ...
1
vote
0answers
21 views

Has my virtual alias table somehow been exposed?

I run a CentOS server with postfix 2.6.6-6.el6_5 (just updated to 2:2.6.6-6.el6_7.1 a few minutes ago). I use the mail server to do aliasing and to send out some email from localhost to users for the ...
0
votes
1answer
40 views

Postfix setup with Dovecot, MySQL error when sending mail

So, following problem. I'm trying to setup a Mailserver loosely following this tutorial here: https://workaround.org/ispmail/wheezy/ The problem starts when I try to send my first testmail (inside ...
0
votes
0answers
13 views

Postfix maillog interpretation

What gives me trouble is this: May 17 03:27:31 server postfix/qmgr[6628]: 96SE62EI0T6H: from=<some.address@domain.bla>, size=4893, nrcpt=30 (queue active) This line is normal, but, as I saw ...
1
vote
1answer
4k views

Fatal error (bad field count) while configuring Postfix

I'm using this tutorial to configure a mail server using postfix, dovecot and mysql. While configuring Postfix I have to uncomment the following lines and then restart Postfix with service postfix ...
1
vote
0answers
29 views

Postfix with Relay and fetchmail

I have a server with Zarafa, Postfix and fetchmail. I have a local domain: mylocaldomain.com The local domain is configured on my server as mydomains on postfix. So every mail to @mylocaldomain.com ...
0
votes
0answers
18 views

Setting up email server with postfix

I am setting up an email server on Amazon ec2 running Ubuntu 14.04 using postfix. I am trying to have emails come from: user@example.com In postfix, I have the following set inside /etc/postfix/...
0
votes
1answer
39 views

postfix redirect mail to transport going round relayhost

I have worked correctly postfix with this setting: main.cf smtp_sender_dependent_authentication = yes sender_dependent_relayhost_maps = hash:/etc/postfix/relayhost_map transport_maps = hash:/etc/...
0
votes
1answer
35 views

postfix gateway reject incoming spoofed emails from my domain

I have a postfix gateway. It only allows emails from the outside to a list of internal users in mydomain.com and it allow emails from my internal mail server to go out to the internet. There is no ...
0
votes
1answer
16 views

Where is the email address for maillog set?

I've got a CentOS 6.7 system that currently emails a certain address to send system messages (for example, it emailed with the body "Terminated" to indicate a process spawned by cron that was killed ...
0
votes
1answer
184 views

Postfix problems sending mail to gmail addresses

I have just installed Postfix and while recieving email seems to work fine, I have trouble sending email. When I send mail to an address provided by my ISP, the mail gets delivered successfully. The ...
0
votes
0answers
18 views

Postfix: reprocess mails placed in wrong inbox (/var/mail/nobody) due to misconfiguration?

Due to a misconfiguration of $mydestination and virtual alias maps, all my server mails were placed into /var/mail/nobody by postfix. Can I reprocess these mails via postfix and send them to the ...
0
votes
1answer
42 views

Postfix ignoring virtual alias in MySQL database, returns error “Unknown user”

I set up a Postfix email server over a year ago following this guide: https://www.howtoforge.com/virtual-users-and-domains-with-postfix-courier-mysql-and-squirrelmail-debian-wheezy. The server has ...
0
votes
1answer
40 views

Mails to Microsoft's servers rejected

When I send an email to any Microsoft address it's instantly rejected. Searching for a while I find that only MS servers blacklist my IP, and I need to go to JMRP and ask them to remove it: https://...
0
votes
0answers
38 views

Trouble setting up mail server(postfix, dovecot) on centos

I'm having trouble setting up my mail server, i have followed this tutorial: http://www.krizna.com/centos/setup-mail-server-centos-7/. Now i'm trying to send mails to my outlook adress, but i can't ...
0
votes
0answers
46 views

Migrate emails to new server but prevent Outlook from re-downloading them

I have a sendmail server that is nearing end-of-life. I need to move all email accounts to a new server (postfix), but I don't want Outlook users to re-download all their existing messages after the ...
0
votes
1answer
54 views

git-send-email Causes “Must issue a STARTTLS command first” Error

I am attempting to send a patch with git-send-email through my Postfix mail server. Unfortunately, whenever I do, I just get this error spat back to me: <recipient@example.com>: host domain....
0
votes
0answers
32 views

How do I eliminate the hostname from HELO greeting of postfix?

According to http://www.postfix.org/BASIC_CONFIGURATION_README.html, postfix should derive $myhostname if you set myorigin = just the domain name, however I haven't found that to be the case. I did ...
0
votes
1answer
119 views

How do I get opendkim to sign emails?

I am running on a ubuntu 14.04 VPS and am having trouble getting opendkim to sign outgoing emails. Also, I do not understand the results from dig -x, and I'm not sure my VPS provider entered the rDNS ...
0
votes
1answer
19 views

Alternative postmaster address if first fails

I am using postfix to send status reports about my server to an external email address. If the delivery fails the postmaster is informed. It's address is defined in /etc/aliases with something like ...
0
votes
1answer
57 views

postfix: how to generate a bounce

Is there a way to generate a bounce programmatically? The only thing I found is "-N" flag in sendmail wrapper and bounce_template_file configuration parameter: /usr/sbin/sendmail -N failure But for ...
0
votes
0answers
46 views

Piping Postfix messages to a script

I have googled and found many instances of people asking this same question, but none of the hits has helped me. Coming from qmail, I thought that Postfix would be easier. I have Postfix installed on ...
0
votes
1answer
11 views

Multi-Email Address Forwarding Not Working

I am using POSTFIX on my CentOS server box to do email forwarding. The goal is to be able to create some simple forwarding addresses for the multiple domains on this box to route mail to a single ...
0
votes
0answers
4 views

Configuring postfix to work with TLS

I have a couple of questions regarding postfix config. First of all I need TLS as of the perl smtp plugin mediawiki uses, forces TLS authentication. Will it work on 25? Or what's the advised port? ...
0
votes
0answers
41 views

Postfix configuration: bypassing a relayhost under certain conditions

We have a simple email system that uses Postfix to forward on emails sent to our accounts to our gmail accounts. This is achieved through virtual_alias_maps in main.conf and a corresponding file that ...
0
votes
0answers
43 views

How to make Postfix chain multiple accounts in recipient_bcc_maps

recipient_bcc_maps works fine for 1 level of recipients but it does not chain multiple recipients. For example: # cat recipient_bcc_maps recipient1@example.com recipient2@example.com recipient2@...
0
votes
0answers
50 views

How to make Postfix to bcc of incoming mail when the mail is delivered to an alias

When you configure recipient_bcc_maps straightforward, it works fine. But when an email is delivered to an alias that is defined in virtual_alias_maps, which can be either a name alias or a domain ...
0
votes
0answers
53 views

Hold outgoing spam by header in postfix

I would like to hold outgoing spam emails by checking the X-Spam-Flag header. I tried with smtp_header_checks (/^X-Spam-Flag:\s+YES/ HOLD), but it doesn't allow HOLD. I don't want to discard it ...
1
vote
0answers
13 views

Is it possible to tell Postfix to keep full emails for (e.g.) a week after they are sent?

Our mail server was recently blacklisted because a web server was infected with a spamming virus. We discovered and blocked the guilty sender only after we started inspecting the message bodies of ...
0
votes
0answers
92 views

Configure Postfix to reject mails with invalid DKIM signature

I have configured Postfix to sign my mails using OpenDKIM. (I followed this tutorial.) Now I would like to configure Postfix to reject mails for domains that have DKIM configured and the mail lacks a ...
2
votes
3answers
1k views

Using supervisord to control the postfix MTA

I am trying to use supervisord to control postfix. The usual method is to specify a command which starts the daemon, I use postfix -c /etc/postfix start. The postfix man page says that to stop you ...
1
vote
1answer
352 views

postfix: block mails to a specific and non existent mail address

How could I block mail to an incoming address that spammers are hammering via postfix? I have a webmin interface to postfix, so if this can be done via webmin interface that would be great.
1
vote
1answer
41 views

postfix + dovecot configuration, no mails received

I'm trying to install a postfix + dovecot mail server on my own server and have trouble receiving mails. I followed this tutorial https://samhobbs.co.uk/2013/12/raspberry-pi-email-server-part-1-...
0
votes
0answers
67 views

Roundcube not sending email via smtps

I am running Roundcube 1.1.4 on Debian Jessie - it all works OK apart from sending emails via my SMTPS server (which normally works OK). I use self-signed certificates. No additional Roundcube plugins ...
1
vote
1answer
320 views

Ubuntu postfix sendgrid unknown mail transport error

I have configured postfix similar to this one: "Recipient address rejected" when sending an email with sendgrid $ /etc/postfix/main.cf smtp_sasl_auth_enable = yes smtp_sasl_password_maps =...
0
votes
0answers
20 views

External mail from windows get rejected, local mail works

I have linux server with working SMTP server (postfix)... (I can send emails to gmail when connected to it via ssh) But if I send through bmail in Windows i get this in linux mailq: BB986640FC9 ...
1
vote
1answer
129 views

How can I prevent that an user sends mail like another user on Postfix?

I am running a Mail Server on CentOS 7. All programs and system are up to date. My Mail Transfer Agent is Postfix, and it uses Dovecot SASL to authenticate the users. In Postfix's configuration, my ...
0
votes
0answers
96 views

Building a local mail server using postfix + dovecot + apache + squirrelmail on ubutnu server 15.10

i followed this tutorial to setup the mail server : http://www.tecmint.com/setup-postfix-mail-server-in-ubuntu-debian/ I managed to install and configure all the softwares , at the end i can send ...
0
votes
0answers
73 views

CentOS - Postfix rejects incoming mails

I have VPS with Centos 6 with Postfix, Exim and Dovecot. When I try to send mail from GMail to mail account from my server I receive following error in /var/log/maillog: Feb 3 13:36:29 mobilepro ...