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

Postfix Package Openarc

I have a server running Ubuntu 16. I'm trying to get postfix configured to use OpenArc. I've installed the OpenArc package, but it's not automatically starting on reboot. If I run openarc -c /etc/...
0
votes
0answers
28 views

Difference between sysv-rc-conf and update-rc.d?

I have recently installed PostSRS from https://github.com/roehling/postsrsd on my Postfix server, so that my forwarded mail passes SPF checks (I've been getting a lot of legit mails marked as phishing ...
0
votes
0answers
123 views

Dovecot are not delivering spam emails to Junk folder - Debian 9, postfix, spamassassin

I followed this answer but the spam emails aren't being delivered to Junk folder My files: /etc/postfix/master.cf # # Postfix master process configuration file. For details on the format # of the ...
1
vote
2answers
167 views

SpamAssassin, Postfix, and Multiple Addresses in From Header

I'm working on a problem that I'm seeing with an email scanning server (MailScanner, Spamassassin, Postfix, etc.), and From header spoofing. Unfortunately, some of the versions of these components ...
2
votes
0answers
55 views

How to deal with outgoing spam flooding with Postfix

I have one Postfix SMTP server with hundreds of users, which are using it to send e-mails as authenticated users. Sometimes one account is hacked and thousand e-mails become to go out from the SMTP ...
0
votes
0answers
89 views

Postfix always_bcc loses original recipient

I have a software that sends email through Postfix (ver 2.10.1) on the same server (RedHat). I want to archive all sent email for specific user. For this I have added this to main.cf: always_bcc = ...
0
votes
1answer
344 views

Connection closed by foreign host (postfix)

Tried to test my smtp server (centos server), I am using telet at centos When I tried to test using code: telnet 127.0.0.1 25 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. ...
1
vote
0answers
39 views

Postfix - External incoming mails with company domain

We use postfix as internal and external relay and Exchange inside the organization. Our company is receiving a lot of SPAM and phising mails whose Sender is our own company domain. Searching Exchange ...
0
votes
0answers
26 views

How to configure Postfix in Debian 9 to send emails using verified email address in AWS Simple Email Service?

Let us say I have verified an email address webserver@example.com is AWS SES for use. When the backup scripts that are run with cron fail to execute successfully I want the Postfix mail server on ...
0
votes
0answers
24 views

Milter application on Postfix server

I am trying to deal with this problem: As email is queuing up in Postfix, Postfix should be invoking a milter to check the sender against a flat file source that will be available on the same server ...
0
votes
0answers
130 views

Mailbox name not allowed. The server response was: 5.7.1

I setup postfix on centos 7 server, and when I tried to send mail using that server I am receiving errors as below: Mailbox name not allowed. The server response was: 5.7.1 : Sender address ...
3
votes
2answers
657 views

Postfix not resolving MX record

Log to=<x.y@example.com>, relay=none, delay=21311, delays=21301/0.04/10/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=localdomain type=MX: Host not ...
1
vote
0answers
366 views

Gmail rejects forwarded mail with DMARC but I AM using SRS

I'm forwarding mail from my domain leif@example.org to leifex@gmail.com. I have followed this: Why is Google rejecting mails forwarded from my Postfix server? Install pfix-srs. Create an spf ...
0
votes
0answers
72 views

Postfix TLS with Subject Alternate Name

I have setup Postfix with a purchased SSL certificate. Everything works on the mail server except that the clients perceive the SSL certificate as "invalid - identifies the wrong site". Here are the ...
0
votes
2answers
18 views

get all sender's list from vmail directory

I am trying to build an email list. I would like to get the email addresses from an email incoiming mails directory (vmail/..../cur). I use dovecot, but I think it does not matter. Is there a way to ...
1
vote
1answer
51 views

SquirrelMail doesn't send or receive any mail

I just tried to set up a mail server on my Ubutnu 14.04. The goal is to be able to send mails from info@mydomain.com and receive mails sent to the same adress. Now I followed this tutorial to install ...
2
votes
1answer
76 views

High volume e-mail delivery to internal recipients on Google G-Suite

Attempting to deliver more than a few hundred e-mails per day via SMTP to our own employees on Google G-Suite tends to cause significant delays due to arbitrary quota limitations on the Google side. ...
1
vote
1answer
38 views

wrong email -address- in mailq, Why doesn't the sender be notified?

I use postfix relay smtp server. Rarely send senders to a faulty email address but not send a notification to the sender that the address is wrong, only the letter is in the mail queue. 766AA2133F ...
0
votes
2answers
216 views

Tons of OpenDKIM Issues

I for the life of me cannot get OpenDKIM to work correctly. I can send and receive messages just fine with postfix and roundcube. I have tried tons of things to get this working. At this point, I am ...
1
vote
1answer
27 views

How do I get Postfix to run a script every time there is a outgoing delivery error?

I would like postfix to run a external php script (a hook) every time there is a outgoing delivery error. For example, my webserver sends out emails and sometimes the recipients mailbox is full or ...
0
votes
1answer
29 views

How to mask local host name when sending emails using postfix through gmail

I have a few scripts I'm running that are sending an email. I wanted to configure everything to be able to use simple mail() functions and have emails coming from my gmail account, without exposing my ...
1
vote
0answers
114 views

postfix multiple smtpd_sender_login_maps

I'm using postfixadmin with included vacation feature. support@mail-server.cc is a regular mail-account i'm using to send e-Mails from different services via smtp auth - in this case in the vacation....
4
votes
2answers
49 views

Postfix - blocking by From rather than sender

I have a ton of incoming spam that masquerades as being sent by me, but has a sender at some arbitrary spammer domain. e.g. Return-Path: <admin@aiuw.com> ... (stuff elided, etc.) Received: from ...
0
votes
1answer
196 views

Unable to connect to port 993 for IMAP on Ubuntu server with Postfix/Dovecot/MySQL

Ubuntu 16.04.5 Apache2 MySQL Postfix w/MySQL Dovecot SASL2 UFW I am trying to install a working mail server and client on this machine. I followed this tutorial which allows authentication through ...
1
vote
0answers
52 views

Add postfix fail2ban filter for incorrect auth

I'm trying to add a failregex for Postfix to catch systems sending no correct auth commands. If I receive a line like this: disconnect from unknown[ADDRESS] ehlo=1 auth=0/1 commands=1/2 I'm looking ...
0
votes
1answer
79 views

Postfix relay authentication for both server and client

I built a postfix relay several years ago that relays through office365. This is limited to hosts on the VPN, but now want to provide a public IP and allow remote printers to relay through postfix for ...
0
votes
2answers
332 views

CentOS 7 fresh installation having trouble sending emails to gmail

I have just setup a small VPS on Vultr.com using CentOS 7 to serve a few Wordpress sites. Apart from Nginx and PHP the server is completely fresh. The Wordpress setup went fine except when trying to ...
0
votes
1answer
56 views

Postfix / Thunderbird / Cyrus SASL2: Username Or Password Invalid

I'm quite certain that I've entered my password correctly; that Thunderbird regards it as incorrect is I expect due to a Postfix or Cyrus SASL misconfiguration. I am perpetually confused about eMail ...
0
votes
1answer
30 views

Should I put reject_rb_client on smtpd_client_restrictions or smtpd_recipient_restrictions?

I am configuring Postfix so that it can better defend itself against spam. The software has an option reject_rbl_client [banlist] that allows you to specify a URL banlist. Should I be putting this ...
0
votes
0answers
29 views

Postfix appending AUTH= to envelope sender prevents delivery

When using AUTH, postfix adds AUTH=<> to the envelope sender. This causes a CrossBox server to reject the message: 220 CrossBox SMTP Proxify # 232 (1) Fri, 04 Jan 2019 08:13:35 +0000 EHLO ...
2
votes
2answers
575 views

“Relay Access Denied” error when trying to use Office 365 as mail relay

I redirect outgoing emails in my organization to my postfix MTA. from there, i'm redirecting the mails to office 365 for relaying to the original recipients. For external recipients, I get the ...
0
votes
1answer
68 views

Is greylisting would effect all domains that serve the same email service?

Is greylisting would effect all domains that serve the same email service? For example: Google is own @gmail.com and @googlemail.com for their email service FastMail have multi domains, you can ...
0
votes
1answer
73 views

The difference between mail in /var/mail vs /home/user/mail

I have an Ubuntu server using Postfix and Dovecot to manage approx. 5 email accounts. If I look in /var/mail, I can see one (large) file per email address. Looking at the contents of these files, ...
0
votes
1answer
37 views

Postfix: define a global concurrency_limit

I need to limit the simultaneous outgoing connections Postfix can make. It is possible to limit the number of connection per destination with transport_destination_concurrency_limit, but not globally ...
0
votes
0answers
72 views

PCI Compliance - SSL certificate doesn't match hostname (port 25)

I'm working on an Ubuntu server hosting multiple websites for one company. Trying to get one of the domains to be PCI compliant, but it's failing on port 25 (SMTP) because the SSL certificate hostname ...
2
votes
1answer
257 views

Forwarding emails from postfix to exchange server?

I have some web application which is used as a webmail client to exchange. I can pull emails from exchange server via IMAP, but problem is at sending mails. Application is using MSMTP client to send ...
0
votes
0answers
17 views

Forward all e-mails to one user if local user not exists [duplicate]

I would like to forward all e-mails for which there is no local recipient in the system. Is that possible? A wildcard user, so to speak, who receives all *@domain.com e-mails if no suitable user ...
2
votes
0answers
97 views

Postfix Conditional redirects

I have a tricky one here! I have a dinamic list of some... 3000 email addresses that I need to filter on Postfix. I need that if any of these addresses sends an email to (support@mydomain.com or ...
0
votes
0answers
199 views

Amavis decide_mail_destiny crash

After upgrading to FreeBSD 12 I'm experiencing issues with amavis from time to time. The reason for the crash in unclear for now. A simple kill -9 $amavispid && service amavids start does ...
1
vote
1answer
49 views

Automatically copy all mails from one folder to another

I have a postfix/dovecot mailserver setup, running fine. My problem is that different e-mail clients save sent e-mails in different folders. I realize that saving sent e-mail is not in the SMTP ...
0
votes
0answers
92 views

spamassassin ignores local.cf when run by mailscanner

I have problem with SpamAssassin ignoring /etc/mail/spamassassin/local.cf when run through MailScanner. I'm using local.cf to manually add some blacklisted domains to spamassassin using blacklist_from ...
0
votes
1answer
89 views

In postfix can I add message-id to another header?

I'm trying to PREPEND the message-id on another header using variable for example. /^From:/ PREPEND VAR_Message-id is this possible. excuse my ignorance i'm new to postfix
0
votes
1answer
65 views

Exception to wildcard postfix catch alias to let dovecot store email

I have configured postfix to read alias maps from PostgreSQL (virtual_alias_maps = pgsql:/etc/postfix/pgsql-virtual-alias-maps.cf ), every domain I've configured has a wildcard/catch-all rule. ...
0
votes
0answers
214 views

Multiple “SASL PLAIN authentication failed” errors

The mail server is working, but I have some misgivings if there is something wrong with the configuration. I could not reproduce the errors. Apparently the server itself tries to connect and fails (...
0
votes
0answers
13 views

Postfix myhostname attribute and rDNS

I run a mailserver on Ubuntu using Postfix to serve a domain I have. Let's call it domain.com. For this domain, I have the follow DNS records: A domain.com 1.2.3.4 A mail.domain.com 1.2.3.4 MX ...
2
votes
0answers
43 views

Postfix: restrict outgoing mail sender domains

I have a postfix 3.2.4, listening on port 25 for both incoming and outgoing mail. I know, it would be much better to use 587 submission port, but I can't reconfigure all of the existing email clients ...
1
vote
1answer
142 views

iRedmail server deferring mail sent from another internal server

Synopsis: 4 separate servers: one iRedMail server (new-domain.com) one application (existing.com) one node emailer (relay) one node instance acting as an email password manager for iRedMail ...
1
vote
0answers
71 views

Block dangerous word and excel docs?

The newest craze, apparently, is to add garbage into Office '97 formatted *.doc and *.xls files so that when a user opens them, and ignores warnings from Defender or anything else, they get infected ...
0
votes
0answers
52 views

Supporting multiple domains under one mailserver

I'm running my own Ubuntu server using Postfix to serve my email needs for a certain domain (let's call it domain.com). The mailserver does not have a mailbox, it forwards received emails to assigned ...
0
votes
1answer
77 views

Postfix + Cloudflare configuration for FQDN mail server

My configuration is Ubuntu 16.04 LTS + postfix for basic Internet mail server. We are using Cloudflare as our DDOS protector for websites. Here is the problem: The website record A example.com ...