Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [postfix]

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` (non-default content of main.cf) and `postconf -M` (content of master.cf)

0
votes
1answer
22 views

Step by step replace postfix mail server with a new machine and keep service working? [on hold]

I have an amazon postfix mail server on Ubuntu 16.04. I need to replace it with 18.04 for some reasons. I need to use the tutorial below: https://www.exratione.com/2019/02/a-mailserver-on-ubuntu-18-04-...
0
votes
0answers
8 views

Postfix header conditional rewrite

in my mail server I have a mailbox me@mrtsolutions.it and an alias ciao@mrtsolutions.it which send all to me@gmail.com. Now when I send from user@gmail.com an email to ciao@mrtsolutions.it, I receive ...
-1
votes
0answers
12 views

Can't send e-mails from container with postfix [on hold]

I am using boky/postfix docker image to send e-mails. But my first test with my personal gmail box is not working. I am using the image without modifications. Here is the container log: 2019-05-...
0
votes
0answers
19 views

No signing table match for <user@gmail.com> in OpenDKIM configuratio

I have a problem with my opendkim configuration. I have the alias ciao@mrtsolutions.it that forward all to mymail@gmail.com. When I send email to alias ciao@mrtsolutions.it from me@mrtsolutions.it, I ...
0
votes
1answer
9 views

Postfix's header checks not working as expected

This question continues from this identical but focuses on another aspect of detail: the Postfix testing tool and the different options. As the OP of the linked question, to prevent spam, and ...
1
vote
0answers
14 views

Finding origin of rejected mails (550 5.5.1)

Recently all the mails that my clients are sending from one of my servers started to go straight to the SPAM folder. After a quick search using http://multirbl.valli.org it came clear that it's ...
0
votes
0answers
5 views

dkimproxy not rejecting spoofed address

I am under heavy attack by the infamous hacker extortion scam. I am hardening the security of my mail server as I run my own Postfix on cloud. Today I have stumbled upon this evidence in my logs: ...
1
vote
2answers
29 views

How to change the date format of maillog?

The format of the dates of my maillog logs looks like this: May 12 04:12:54 I need to include the year on this date. Is it possible to make this kind of change?
0
votes
0answers
14 views

Put mail to non-existent users to spam folder [on hold]

I have postfix+dovecot email server for personal domain, with several users including myself. I decided to redirect all mail for unknown users to myself, because sometimes people make mistakes in ...
0
votes
1answer
17 views

Reducing spam on Ubuntu

I'm getting plenty of emails to postmaster@host.hostname.com Transcript of session follows. Out: 220 host.hostname.com ESMTP Postfix (Ubuntu) In: EHLO mail-serv.info Out: 250-host.hostname.com ...
0
votes
1answer
18 views

Spamassassin - Whitelist Domain A to Domain B

I want to whitelist certain domains in spamassassin only if the recipient is also in a specific domain. As far as I can tell from the documentation, there seems to be no way to configure this ...
-1
votes
0answers
14 views

How to setup local network passwordless mail gateway to one single gmail account [closed]

I have several linux and windows boxes on my home network. I also have Rpi (first one with 1core cpu; model B without +) acting as my core server for dhcp and local dns only. Rpi newest raspbian ...
0
votes
0answers
33 views

Rewriting sender address not working in postfix [closed]

I'm running postfix on a Raspberry Pi, with the goal of having mail sent from the Pi always look like it's coming from my personal "external" email address (the Pi is never intended to receive mail). ...
1
vote
0answers
13 views

Postfix “unknown user” using dovecot-lda and no unix account

Historically I've had a local user account for each email user and everything has been fine. Recently I've moved from Procmail to dovecot-lda, with Dovecot using its own user database. Dovecot is ...
0
votes
0answers
31 views

Port 25 Connections Unknown - Should I DROP them?

I have a Zimbra Mail Server setup, and have noticed quite a few connection attempts on port 25 which are rejected because the reverse lookup fails. Here is an example output: Apr 30 06:04:48 mx1 ...
1
vote
1answer
27 views

Postfix not sending mail using specific outgoing ip address

I have a cluster set-up using pacemaker/corosync and have some fail over IPs set-up. I have designated postfix to use ome of those failover IPs using:- smtp_bind_address = aa.bb.cc.dd in main.cf ...
-2
votes
1answer
40 views

server listed in backscatterer twice in 2 months [closed]

My server was listed twice in a 2 months time window in backscatterer.org blacklist, for a low severity. I'm not finding anything about the reason of blacklisting. Would there be anyone to help me to ...
2
votes
1answer
27 views

smtp client setup on ubuntu desktop to use Gmail smtp server for corporate domain

How to configure SMTP client (Ubuntu desktop) to use Gmail SMTP server to send email from my desktop using postfix. This is how we login to company provided email. we login to gmail.com using ...
0
votes
1answer
23 views

Postfix: Deliver relay failure messages locally, instead over the failed relay

Is it possible to exempt "MAILER DAEMON" messages from alias expansion or relaying? Context: Let's illustrate the problem is on this trivial forward-all setup: /etc/aliases root: monitoring@domain....
0
votes
1answer
25 views

OpenDKIM / Postfix sign console-sent mail, but not from a mail client / SMTP

I have Postfix running on a Debian 9 machine, and installed opendkim (both from the Debian repositories). The milter socket/connection is inet:localhost:8892, and the iptables firewall allows that ...
-1
votes
0answers
10 views

postfix aliases seems to not match aliases seen in web based postfix.admin

I am trying to figure out where to start hunting down odd issues I am seeing with aliases between postfix.admin and my postfix setup. I can find where most the flatfile alias files are... I am new to ...
1
vote
1answer
27 views

Why postfix does MX lookup for relayhost?

I have in the postfix conf: relayhost = my.internal.relay.example.org All the mails transit through this relay. by default, postfix will try to do a MX lookup on my.internal.relay.example.org Why ...
1
vote
0answers
29 views

Configure postfix mail server with outlook or Thunderbird mail client

I have successfully configured my email server with digital-ocean ubuntu 18.04 LEMP droplet and everything work fine so far. I can send & receive email and also successfully configured with round-...
0
votes
1answer
9 views

OpenDKIM - Correct setting for “MTA” option

I have a server which is used purely for outbound email. I would like opendkim to sign every email going through, assuming it has a signing table entry. However, I can't seem to find any documentation ...
0
votes
0answers
9 views

Emails are going to Spam instead of inbox [duplicate]

We are phplist to send mail , the mail will not go to Inbox intsead of that it goto Spam Folder, We already have SPF record and DKIM signature, What could be the cause. or is there anuthing we missed. ...
0
votes
1answer
32 views

How can I use transport_map without a existing alias or user in Postfix?

I'am searching for a way to bypass some accounts to a diffrent Mailserver then postfix. So some accounts should exist on the postfix server but anything else should be transport to a second SMTP ...
0
votes
0answers
24 views

Postfix/dovecot can send, but does not receive mails

I have a VPS server, it worked like email server from 2015, but I reinstalled the Debian OS. (Old version 7.6, the new is 9.8) Before I reinstalled the OS, i backed up the postfix, dovecot, ...
1
vote
0answers
10 views

rsyslog ommail to localhost postfix

Is it possible to use the ommail module that comes with rsyslog to send email through a local postfix install. I use gmail as my smtp and ommail doesn't do authentication. Will using something like ...
2
votes
0answers
17 views

Postfix relay rules for sender / recipient combo

We have a postfix that lives on a web server and processes mails both from the system (cron mails etc.) and the web application. It sends mails for an own domain and a customer's domain. Mails for ...
1
vote
0answers
28 views

Postfix isn't delivering Mails only to one specific user

Our Mailsystem includes a Postfix, openLDAP and Cyrus. All run smoothly till last week. When I created a new Mailbox for a user who before had only an Alias with an forwarding external Mailadress. To ...
-1
votes
0answers
48 views

Unable to get ports 993 and 995 open

For some reason, I cannot figure out how to get ports 993 and 995 open, here is all of of the information I could think to include. I am at a loss, but a lot of this is new to me in the linux world. I ...
1
vote
0answers
58 views

Postfix not sending emails (few problems detected)

Emails can not be sent to domains other than local. My mail server is placed behind proxy server. Ip of the proxy is: 192.168.18.1. Just to mention that I can receive all emails sent to my mail ...
0
votes
0answers
20 views

Courier not listening on IPv4 ports

I am having an issue with postfix/courier after a software update in which courier is no longer listening on the IPv4 ports. Here is the netstat output: ubuntu@ip-10-x-x-x:~$ sudo netstat -plnt sudo: ...
0
votes
0answers
19 views

Postfix/Amavis : send group messages separately and do not fail if one recipient fails

Background: We have a online shop which is using a SMTP server to send messages. When a customer place an order, the system sends the confirmation to the customer's address (A), and a copy to other ...
-1
votes
2answers
52 views

Email not getting redirected to as per MX record to business email server

I've purchased business email so all emails to contact@anikadigital.in should go to privateemail.com as per the MX record of anikadigital.in. Here is the MX lookup of anikadigital.in: DNS server ...
1
vote
0answers
9 views

SASL not blocking non authenticated user sending email to itself

My email server is working fine except that still allows anyone to send email from a my@email.pt to my@email.pt. I eanbled in /etc/postfix/main.cf smtpd_sasl_type = dovecot smtpd_sasl_path = private/...
2
votes
1answer
22 views

DKIM on aliased domains with rspamd and postfix

I'm having trouble DKIM signing my outgoing emails when they're sent from an alias domain. That is, when I'm authenticated with user@domain1.com sending as user@domain1.com or somebodyelse@domain1.com ...
1
vote
0answers
27 views

LetsEncrypt TLS Cert invalid? “EVP_MD_size:message digest is null”

I am finding this in my logs for postfix, I'm using a LetsEncrypt certificate but I'm unable to find any useful information online about it. Does anybody know if this is a problem or something that ...
0
votes
1answer
51 views

Add sender to my exchange out of office mails which are sent via postfix with an empty sender

Out of office mails works internally but externaly the logs says : - it goes out of Exchange 2010 to go to Postfix (without any sender), - Postfix sends it out to the sender without any sender - the ...
1
vote
0answers
15 views

Postfix disable local e-mail delivery, but maintain inbound delivery

I'm running a SYMPA lists server. I also host e-mail on a separate server for the users that want these lists. Primary MX records go to the Zimbra e-mail server, lists that reside on my Linux SYMPA ...
0
votes
0answers
13 views

Minimal Postfix relay configuration accepting only TLS connections of authenticated users

I have a mail (and web) server running Debian 7 with Postfix 2.9. Currently Postfix is essentially used as a mail forwarder; there is only one mailbox (root) which is accessed locally with the "...
-4
votes
1answer
58 views

How is it that my postfix server can also be used without authentication? [closed]

Whenever I send an email via my Postfix server, I see this in the log: postfix/submission/smtpd: ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=8 That is, I have to authenticate ...
0
votes
1answer
22 views

How to build a whitelist of domains we ignore SPF check for in Postfix

My question would seem to be the opposite of How to setup postfix to check SPF record only for domains that i want to check - How would I go about modifying my Postfix server so that it checks SPF ...
0
votes
0answers
49 views

postfix sender dependent relay and transport rules

in our system our exchange server can not do "sender based mail routing" so it sends all emails to a (redundant) linux system which should do sender based routing and also it does IP randomization in ...
0
votes
0answers
55 views

Fail2ban not finding IP on which to act

I have two jails running. apache-test is a test one I made because postfix-auth wasn't working. apache-test works with no issue. Fail2Ban v0.9.6 Raspbian GNU/Linux 9 (stretch) Edit: I uninstalled ...
0
votes
1answer
60 views

Prevent intruders to send emails from myself (Postfix)

recently we have been victim of a simple phishing. Yet simple but it can be scary for some users, I don't know how to block this. The intruder connects via telnet to our mail server and sends ...
0
votes
0answers
54 views

Stop spoofing emails of my own domain in my own postfix server

I am receiving spam mail from a spoofed email account in my debian postfix server. SPF checks are activated, but the messages still arrives. The SPF checker reports PASS as seen in the headers below, ...
-2
votes
1answer
55 views

Postfix receives email but doesn't send [new to server management]

As the title suggest, I'm struggling to get the mail server to send emails. I recently purchased a VPS for hosting and I'm currently trying to set up the mail server which can now receive emails but ...
0
votes
1answer
47 views

postfix: keeps appending domain name to sender

I've got two servers with the same setup. The first sends mails fine, the other one will not send mail. It appears the problem is the sender. When I send a local mail using: echo 'Message' | mailx -s ...
1
vote
1answer
106 views

Postfix - Recipient Address Rejected on Incoming Mail Only

I am working on building a secure mail server for the first time using Postfix and Dovecot and I have encountered a problem that I cannot surpass. To avoid the email delivery in the spam box of ...