Questions tagged [postfix-mta]

QUESTIONS ABOUT POSTFIX ADMINISTRATION ARE OFF-TOPIC. Server admin questions may be asked on Server Fault. Postfix is a free, open-source, widely used cross-platform mail server (mail transfer agent), available on all common platforms.

The postfix-mta tag can be used for programming questions related to the Postfix mail transfer agent. Non-programming questions relating to setting up a mail server are off-topic for Stack Overflow. Such questions are often on-topic on Server Fault.

Postfix is a popular mail transfer agent (MTA), created as an alternative to Sendmail by Wietse Venema. Postfix is intended to be similar enough to Sendmail to be comfortable for those already familiar with Sendmail. However, Postfix is specifically intended to be fast, easy to administer, and secure, and will deviate from Sendmail convention when necessary to achieve those goals.

Postfix is free and open source, and offers a source distribution that is capable of running on a wide range of Unix-like systems, including Linux, Solaris, FreeBSD, AIX, HP-UX, and Mac OS X. Some system vendors also provide pre-built binaries for ready-to-run use.

Useful Links

1541 questions
-2
votes
1 answer

Client host rejected: cannot find your reverse hostname

Can send but not receive from a Gmail. Postfix is on 3.6.2, OS is Ubuntu 18.04. I am trying to get chroot setup on my Postfix server. I have used the LINUX2 script from examples\chroot-setup. This article mentions my exact problem, but the…
Tyler Montney
  • 1,402
  • 1
  • 17
  • 25
-2
votes
1 answer

Use fail2ban to allow only specific ip to connect to mail account

We would like to give access to a specific mailadress on our server (postfix and dovecot) only from a specific ip address. My idea was to use fail2ban for that. How could a filter look like for that?
MrYeti
  • 1
  • 2
-2
votes
1 answer

Fail2Ban filter to ignore specific usernames in postfix and dovecot

One of our clients has a wrong configured device which sends a wrong username. He can not find the device, so fail2ban keeps blocking him. When we add the ip to the whitelist it works, but he gets banned again, when his router sets a new ip…
MrYeti
  • 1
  • 2
-2
votes
1 answer

MySQL 5.7 error while starting on Centos7

I am getting an error while starting MySQL 5.7 on Centos7: -- Unit mysqld.service has begun starting up. Mar 30 11:07:24 my_hostname postfix/smtpd[361229]: connect from localhost[127.0.0.1] Mar 30 11:07:24 my_hostname postfix/smtpd[361229]: lost…
-2
votes
1 answer

Postfix With PostfixAdmin and MySQL backend table lookup/permission denied error

I have setup MySQL,Postfix & PostfixAdmin (https://github.com/postfixadmin/postfixadmin) as separate VMs : sql.example.net - 192.168.99.10 smtp.example.net - 192.168.99.15 admin.example.net - 192.168.99.2 I followed the installation instructions…
Marl
  • 169
  • 1
  • 7
-2
votes
2 answers

PhpMailer cannot send via postfix

This is my code. I would like to know why the email is no sent. use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; require 'vendor/phpmailer/phpmailer/src/Exception.php'; require…
Albert
  • 1
-2
votes
1 answer

Mail configuration Postfix+wordpress

It's the first time I have to configure a mail server and I don't know what I have to configure. I have read so many different things that I must ask you guys.... I can already send mail on my server with the mail command. I want my server to be…
yevic tabita
  • 59
  • 1
  • 7
-2
votes
2 answers

Procmail Forward script to forward emails from one domain to the other

I am trying to write a procmail forward script, which will forward all the mails received at mydomain.com to mydomain.NET. To be more clear, if mail is to:jack@mydomain.com, it should forward to: jack@mydomain.net. Like this it should forward for…
Nanda Kishore
  • 2,789
  • 5
  • 38
  • 61
-2
votes
1 answer

Mailserver on Ubuntu 16.04

I'm following this guide on how to install a mail server on Ubuntu 16.04 with postfix: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-on-ubuntu-16-04 The problem is, when I get to step 7, I get the expected…
Evan Bloemer
  • 1,051
  • 2
  • 11
  • 31
-2
votes
1 answer

postfix sasl send from different from address

I have a working postfix server with sasl auth, and it works perfectly as long as I use the e-mail address in the from-field which belongs to the user I use for sasl_auth. However, if I would like to send from a different email than the one used in…
SecoJS
  • 1
  • 3
-2
votes
1 answer

Postfix SSL not working, mails go to spam

I'm trying to configure postfix with SSL. I've followed this tutorial: https://www.cloudjojo.com/how-to-install-mail-server-on-ubuntu-14-04-part2/ My main.cf: # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian…
Daniel Koczuła
  • 1,034
  • 3
  • 15
  • 29
-2
votes
1 answer

postfix/smtp dns lookup A record fails

I configured another postfix relay server today. For now I closed all incoming ports, so when I send E-Mails through a transport relay I talk to the local unix smtp client. When I call this through postqueue -f it says [root@dev-core-mailhub1…
ikrabbe
  • 1,909
  • 12
  • 25
-2
votes
6 answers

(a+++++b) doesn't work, while (a++-++b) works

Why do I get an error in this program? If I change the middle operator to minus like this (a++-++b), it is executing without any error: class Demo { public static void main(String []args){ int a=10; int b=20; …
javaMahesh
  • 21
  • 1
  • 1
-2
votes
1 answer

can't allow relay for privileged IP address centos

I want to allow sending emails through server B using an application hotsted on server A.for that I had to use "allow relay for privileged IP address". I added "mynetworks = 127.0.0.0/8, ip.Of.Server.A/24" to /etc/postfix/main.cf but nothing…
-2
votes
1 answer

How to configure Send-Only mail server in Linux which will accept and perform email delivery for multiple application/web servers in same network

I've one Web server, one Middleware server and one backend application server in same subnet/network. All these three servers needs to send notification alert emails to multiple email IDs like GMAIL, Yahoo, Outlook etc. for this I've to configure…
1 2 3
99
100