Stack Exchange Network

Stack Exchange network consists of 174 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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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
0answers
44 views

Emails dropped with “550 Action not taken (in reply to end of DATA command)”

In the past couple days, some emails from my server have been bouncing with this error. Nothing has changed on my end that I'm aware of. It doesn't seem to matter where the email is going-- they ...
0
votes
0answers
16 views

Match multiple strings - Monit regex match

The requirement is to match the below in monit regex match: cat /var/log/maillog |grep -v “status=sent” |grep -v “relay=local” |grep “relay=”
0
votes
0answers
25 views

Postfix check_recipient_mx_access not working

My postfix install relays for quite a few different domains but I would like it to just shove all messages from one domain, destined for any Google MX's through the Google G-Suite relay service. In ...
-1
votes
0answers
5 views

Migration of Postfix server to Xeams [on hold]

I have an old legacy postfix email server that I need to migrate to Xeams. Does anyone know how I can sync all the mailboxes to the new server.
-2
votes
0answers
12 views

mail server under home internet whit static ip [on hold]

I'm building a home server machine whit cloud, web host and mail capabilities. Mostly everything is good, but I have problems whit mail. (as expected) I setup postfix whit dovecot. Dovecot works great ...
1
vote
1answer
13 views

How mailchimp can sign email changing the domain and from header?

I've configured a SMPT server using postfix, dovecot, opendkim, openspf, openssl etc... I'm trying to figured out how mailchimp can send mails signed by their servers and deliver to recipients without ...
0
votes
1answer
31 views

How much of a security risk is the mail() function for WordPress websites?

On a VPS with Debian 9 I have a few working https WordPress sites served using Nginx + PHP 7.0 + MariaDB. I also have a mail server with Postfix + Dovecot. Everything is working ok. Yet, I'm very ...
0
votes
0answers
13 views

Postfix want bounce_notice_recipient to show original sender of NDR

I am using postfix to relay messages. I have the following configuration to send all NDR's to a specific address: notify_classes = resource, software, bounce bounce_notice_recipient = ...
0
votes
3answers
73 views

In postfix, what's the difference between myhostname and mydomain?

I'm trying to set up postfix for the first time. Reading the basic configuration docs, right off the bat I'm faced with two settings that I cannot understand - mydomain and myhostname. I've got the ...
0
votes
1answer
24 views

Mail infrastructure with dovecot proxy

Hi there, I try make to work my mail infrastructure, but i have problem with this. I tryed with NGINX but i can read mail from thunderbird, but i can't send. It's problem with authentication. My ...
0
votes
0answers
12 views

CentOS 6.8 Postfix+Dovecot can't receive emails

I have a problem with Postfix. I think that I'm doing something wrong, but I can't understand what! Here is my main.cf file, after postconf -d alias_database = $alias_maps alias_maps = hash:/etc/...
0
votes
0answers
17 views

configure postfix to allow relaying for virtual mailboxes that are forward only

I have postifx configured as a simple mail forwarder. I have 4 virtual domains in /etc/postfix/virtual with about 10 virtual mailboxes on each which all forward to my business email address. Now, I ...
2
votes
0answers
24 views

NGINX - My site has a webmail subdomain even though I never set one up. How do I redirect all webmail.domain.com requests to www.domain.com?

I have multiple nginx sites running on a Digital Ocean droplet. I've installed postfix as a relay to G Suite Gmail. I only access my email through Gmail itself. So I don't need webmail. Nor have I ...
0
votes
1answer
17 views

How to add Amazon's X-SES-CONFIGURATION-SET:ConfigSet to a my postfix mail server?

Question: Amazon shows an example on how to add their X-SES-CONFIGURATION-SET:ConfigSet to a single email. How do I add this to my postfix configuration so it uses it for all outgoing emails? Answer ...
1
vote
2answers
28 views

Postfix is ignoring the virtual maps

I am using Postfix and when I try to send an email to a virtual address (paradise@example.org), it is not able to find the user: Aug 7 11:55:32 example postfix/local[24435]: AE54C808E546: to=<...
1
vote
1answer
18 views

Postfix content filter (spamassassin) get's bypassed

Lately we're receiving a lot of Japanese spam messages, containing weird headers. At least, it looks like a mail is remotely offered, but the mail is handled as if it was sent internally, which ...
0
votes
1answer
73 views

My incoming emails for virtual domains are not being synched by email clients (gmail and Apple mail)

I have setup a mail server on ubuntu 16.04 using postfix, dovecot and spamassasin, I am able to login to gmail and apple mail. emails in the form user@mydomain.com works fine, both incoming and ...
0
votes
1answer
24 views

Postfix SMTP on port 587 errno connection refused only from localhost

If I connect from a website from the localhost (127.0.0.1) with port 587 and STARTTLS to my smtp-server on mail.example.tld, I get the the error "Connection refused, errno 111". Connections from a ...
0
votes
0answers
23 views

Configuration Postfix, Dovecot on VPS (configuration domain records A and MX may not works well)

I am trying to configure mail server on my VPS (CentOS 7). I installed Postfix and Dovecot probably corectly and I guess it can be problem with well config A and MX record on my domain configuration ...
-1
votes
0answers
15 views

How to send mails with via server domain using iRedMail

I configured iRedmail server, and I setup DKIM for my server domain (i.e think main-domain.com ) and emails are going perfectly fine with server domain email address (i.e admin@main-domain.com ). ...
0
votes
1answer
29 views

How do I configure postfix for Mysql 5.7

I made the appropriate changes to postfix to get mysql 5.7 working as the database instead fo Maria DB. I can run tests and all seems to work on the server. However, I cannot log into my account from ...
0
votes
1answer
15 views

Postfix, Exchange Online - Copy specific e-mails to another mailbox received during the night

We used postfix + sieve before, but we migrated to Exchange Online, therefore we need another solution, postfix is still running as a mail gateway. We need to copy e-mails received from a specific e-...
0
votes
0answers
59 views

Yahoo dkim=permerror (bad sig), gmail dkim=fail

We are using postfix(with opendkim) to send registration information from our site. When the information sent to gmail it goes to inbox but it shows dkim=fail and in Yahoo it always goes to spam ...
1
vote
1answer
45 views

Postfix not using TLS for outbound emails

I think I have opportunistic TLS configured correctly in postfix but it seemingly never chooses to actually use TLS. It always falls back to an unencrypted connection and gives me no indication as to ...
0
votes
0answers
26 views

Email “catch all” function for postfix with mysql

I spent a day searching for an answer and I decided to write about it. Here's my question. My mail server configuration is based on this tutorial: https://thomas-leister.de/en/mailserver-debian-...
0
votes
1answer
44 views

Postfix - Use Address Rewriting to add specific recipient to all mail - can't use always_bcc

I am setting up a Postfix relay for one purpose - to add a specific email recipient to all emails being relayed through this server. I thought that I could use always_bcc, which worked, but the bcc ...
1
vote
0answers
44 views

Why is OpenDMARC using my (the recipients) configuration for incoming mail?

Recently I've had some incoming emails be rejected by my mail server for failing DMARC checks. Upon closer inspection I noticed that the logs mentioned that the rejection was because OpenDMARC was ...
0
votes
0answers
26 views

Mail clients circumventing Postfix antispoofing through IMF headers

I'm running Zimbra 8.6 Network Edition and I'm trying to prevent compromised mailboxes on my platform from spoofing other domains on the same platform. I've enforced reject_sender_login_mismatch in ...
0
votes
0answers
56 views

winbindd - getent passwd show groups from AD

this is my first post. I have setup winbindd to cooperate with my AD. This is my /etc/samba/smb.conf: [global] security = ADS workgroup = MYDOMAIN realm = MYDOMAIN.LOCAL log file = /...
4
votes
2answers
148 views

Why does postfix say 'Helo command rejected: Host not found' when dig finds the host?

So I see the following error Helo command rejected: Host not found; in /var/log/syslog, but when I do forward and reverse lookups on the host in question, the DNS records appear reasonable. The mail ...
0
votes
0answers
80 views

HAProxy - IMAP, SMTP, POP3 - Multiple Servers

Please accept my apologies if this is off topic or does not apply on a more broad scale (i've searched the internet and can't seem to find a solution anywhere). I'm not sure if this is even possible, ...
0
votes
0answers
20 views

Postfix: Script to difference hard vs soft bounces

I followed the steps mentioned in the forum - how to collect bounces for triggering a script upon a bounce receipt. Now, I would like to classify the bounce depending on the status. It would be ...
0
votes
1answer
14 views

Postfix appends hostname instead of domainname to outgoing mail

I did a basic postfix config on my Ubuntu VPS. When I try to send mail using the command: echo "message" | mail -s "subject" target@example.com The mail fails. Upon inspection, I notice that ...
0
votes
1answer
25 views

Change postfix limit size of file attachment for some user

I'm using postfix as a relay server and using SASL as authentication. In my case, I want to set a different limit for some SASL user and the others will be using the default limit of postfix. Based on ...
0
votes
1answer
14 views

Postfix bounce notifications not going to email address in main.cf

I am trying to configure Postfix to send bounce notifications to a specific mailbox so that in my email client, Mailwizz, the "Bounce Server", which is configured to look to a specific mailbox, will ...
0
votes
1answer
29 views

postfix-Postfwd rate limit

I have total 4000 mail for an outgoing recipient and I want to send mail 2 mail every 1 minute. so I have configured postfwd. #/etc/postfwd.cf id=RATE01 ; action=rate($$recipient_domain/1/60/450 4.7....
0
votes
1answer
38 views

Postfix transport map always using catchall definition

Hoping one of the Postfix experts on here can help me debug an issue I am having with transport maps. I've gone through a the recommend list of questions to try and resolve my issue with no luck. ...
1
vote
0answers
27 views

CRITICAL: Error code 69 returned from /usr/bin/mailq while using check_mailq plugin

While running check_mailq with root user output is as expected but with icinga user it is giving below error: [root@servername ~]# /icinga/plugins/libexec/check_mailq -w 1 -c 2 postqueue: warning: ...
2
votes
2answers
59 views

how to configure postfix behind haproxy?

During the last years I had an emailserver running for my small business without problems. Now that my company has grown, I wanted to add a bit of redundancy and added a failover emailserver with a ...
0
votes
1answer
33 views

can I use multiple selectors for opendkim?

I have 4 domains hosted on a single server. Should I use 4 separate dkim keys or one for all of them? Also as far as selectors go do I need to use the one specified in opendkim.conf or can/should I ...
0
votes
0answers
37 views

How to send mail from web page if one server hosts page and another email?

I already asked the same question here, but I think Serverfault might be more appropriate. I have two VPS: name.com, hosting the web page, and mail.name.com, which is a pure mail server. I can ...
0
votes
0answers
116 views

Postfix virtualdomains and relays of some domains

I have an ArchLinux server with postfix, postfixadmin, dovecot, roundcube, quotas and spamassassin running fine. The server is the main (not a backup or forwarding) of 3 virtual domains: domone....
0
votes
0answers
14 views

Postfix rejecting incoming messages from one sender

a user is complaining that all incoming messages from a specific external user are being rejected and never making it to her inbox. maillog contains the following entries. It looks like milter is ...
0
votes
1answer
32 views

Postfix: Blocking connections on submission port based on geoip

Currently I'm reducing failed authentication spam in logs by blocking access to Dovecot and SSHD based on the IP address country of origin. Both services require authentication and I have no users or ...
0
votes
1answer
24 views

Postfix + Dovecot to receive emails only for specific mailboxes others piped to php script

I am fairly new to Postfix, Dovecot and have only basic knowledge of mail routing. There is a server that supposed to receive emails for variety of mailboxes with unlimited domains. (info@example.com,...
0
votes
1answer
72 views

Postfix allow incoming mail for specified domain from specified ips

I am running a Postfix mail server. Some domains are configured that the DNS MX record is set to an antispam service. This service is forwarding the good mails to our mailserver. Some sender are ...
1
vote
1answer
29 views

I'm able send email via Thunderbird, but not via my own app. The email settings are identical

I have my Postfix server. I can send email via it with no problem using Thunderbird. For smtp I have: port - 587 Normal Password STARTTLS However, I can't send an email through the same server via ...
0
votes
1answer
74 views

Set up certs for multiple domains in Postfix and Dovecot

I don't know how to set up main.conf postfix config file and 10-ssl.conf dovecot config files in order to make my mail server capable to handle with multiple certificates. Let me explain... I have two ...
1
vote
1answer
55 views

How do I set Postfix to now send MAILER-DAEMON messages

One of my domains is being spoofed as a 'from' address and all of the rejects are coming back to my server. I am getting 400-500 per minute. I am trying to get the registrar to help set up an SPF ...
0
votes
0answers
28 views

zimbra/postfix: unreasonable virtual_alias_maps map nesting

I have pretty good working zimbra configuration of zimbra. Recently I've noticed some problem: If someone sends e-mail to address that is wrong in log I can see unreasonable virtual_alias_maps map ...