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

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)

2
votes
0answers
12 views

Log username in maillogs when there is SASL authentication failure

I have a server with postfix and cyrus-sasl. When ever there is an authentication failure it reports in maillog below line. postfix/smtpd[27669]: warning: unknown[185.xxx.xxx.xxx]: SASL LOGIN ...
0
votes
1answer
26 views

Postfix 'too many errors' after many RSET commands

I have a client who is complaining that their invoice emails are not all being sent out correctly. As far as I'm aware their invoicing software is designed to send emails directly. Looking at a ...
0
votes
1answer
30 views

Postfix IPv6 Relay access denied

I recently set up my postfix server with both ipv4 and ipv6. I am noticing that whenever my other server is sending the emails and it is received by the postfix server on ipv6, it is logging a "Relay ...
0
votes
1answer
26 views

How to interpret the debug output from Amavis->Spamassassin?

Could please someone explain how Spamassassin build the following strings: Oct 17 14:00:30 server amavis[29497]: (29497-02) SA dbg: uridnsbl: domain amazonaws.com in skip list, host sns.eu-central-1....
0
votes
0answers
16 views

opendkim on lokal net not working

I have a assignment in school to setup bind9, postfix, spf, dkim and dovecot on the same machine for the address mcduckcorp.duckburg.cali on a Debian 9 OS. I have managed to setup bind9, postfix and ...
1
vote
1answer
31 views

Postfix bounce when unable to validate TLS option

I'm using postfix as mail transfer agent on my mailgateway to send and receive emails. Because I'm communicating with sensitive information I'm using the tls options to validate the receivers mx. He ...
1
vote
1answer
32 views

How to make Postfix require authentication for internal mail?

I'm receiving mail from phishers using fake local addresses I understand that mails originated in mynetworks doesn't require authentication (for cron jobs and the like), but shouldn't someone in ...
0
votes
2answers
65 views

One domain with multiple MX servers and forwarding instead of erroring

I have a domain with few hundred email addresses. We are migrating our hosting to multiple ISPConfig servers. My problem is if someone sends email to email@domain.example and if the email does not ...
1
vote
1answer
12 views

sender_dependant_default_transport_maps not being used by postfix

Intent We are trying to use the sender_dependent_default_transport_maps feature of postfix to use different SMTP relays based on the from address of a mail. The goals are: allow our partners to use ...
0
votes
0answers
10 views

Postfix is appending myorigin to non-FQDNs despite “append_at_myorigin = no”

I have postfix and a local LMTP server running. In my main.cf, I have append_at_myorigin = no. When I run postconf|grep append_at_myorigin I get that this value is no. But for some reason, postfix is ...
0
votes
0answers
22 views

How to setup relaying based on “from” email address [closed]

I am trying to setup relaying based on the from email address for one of our client. Any mail submitted from no-reply@client_A.com should be transported through smtp.client_A.com, all emails from ...@...
-1
votes
1answer
25 views

POSTFIX / DOVECOT: limit the number of connections per user per minute

I have a virtual user that checks his mails every minute per imap, using 4 phones and 2 laptops and a tablet. how can I limit the connections per user? I do not want to limit the connections per IP.
0
votes
0answers
30 views

SMTP mail error 452-4.3.1 with plenty of available storage. Postfix [duplicate]

So I have the same error described in this question: smtp mail error 452-4.3.1. insufficient system storage coming from a client connecting to postfix on an Ubuntu14.04 server. Also this one Postfix ...
0
votes
1answer
46 views

postfix mailserver auth failed

I have an postfix + amavis mailserver, everything works fine except that somehow I will receive an spam email from me to me... so I dig and I make the following mods: vi /etc/postfix/main.cf ...
-1
votes
0answers
41 views

SASL: Connect to private/auth failed: Connection refused [closed]

I have problems with my postfix configuration I've configured on my server MariaDB to store information on virtual domains and users and i'm following this guide . When i test postfix i receve the ...
0
votes
0answers
8 views

Feedback in terms of security/spam/performance (Postfix and Dovecot config)

I would like some feedback on my Postfix and Dovecot configs. I collected the following configuration over the past year and would like to know if it all makes sense. Please be critical, I would like ...
1
vote
0answers
51 views

Backscatter relay from Postfix backup mx server causing spam (553 5.7.1)

I have 2 Postfix Servers MAIN.mail.example.com BACKUP.mail.example.com Problem scenario: If spammer sends email from "me" to me directly to BACKUP, server forwards it to MAIN MAIN server reject ...
0
votes
0answers
23 views

postfix & multiple domains as mail host

Is there any way to make postfix to listen on multiple hostnames like mail.domain1.com mail.domain2.com mail.domain3.com ? I used iRedMail for email server and trying to connect to smtp from remote ...
0
votes
0answers
16 views

How to forward all email that arrived on my server domain's to my personal gmail account?

I'm using postfix cwp that forward all emails to my personal Gmail account. But the problem occurs for me that I am using mailjet (relay mail server) mailjet allow to send email through only emails ...
0
votes
1answer
34 views

Is changing the hostname on a remote Ubuntu 16.04 safe?

When installing a Postfix mail server I learned that the hostname is an important part of the servers FQDN. But the servers hostname is not related to the domain name I'm hosting or the SSL cert ...
0
votes
1answer
15 views

Complete information into Postfix logs

I'm succesfully using Postfix on Debian to relay my internal e-mail and I am sending logs from the mail.log file to a Logstash instance, and I am showing them on a Kibana dashboards to look for not ...
1
vote
0answers
15 views

Postfix: do not create bounce message for virtual_alias_maps with remote servers

I am using virtual_alias_maps to forward mail to remote mail servers (GMail, icloud). I have spam prevention in place myself (SPF checks, Before-Queue Content Filter etc), but often enough spam will ...
0
votes
0answers
6 views

Postfix sender_dependent_relayhost_maps by forwarding address

Currently I am running a postfix server that acts as an mta for 5 different brands. Each domain attaches to a different network interface on the machine. Currently receiving mail works fine and ...
-2
votes
0answers
20 views

Receiving mails in /home/vmail/%d/%u/Maildir/new but can't display in Thunderbird Inbox

Quiet everything is in the tittle, I've finish to configure my mailserver and everything seems to work fine, no errors in logs but can't get my incomming mail getting into thunderbird Inbox. (same for ...
0
votes
0answers
26 views

Postfix 451, 4.3.0 : Temporary lookup failure

we've followed the guide HERE to configure a Postfix. After sending a message via telnet we receive the following error: Oct 8 18:52:01 mail postfix/smtpd[3719]: connect from unknown[10.10.10.9] Oct ...
0
votes
0answers
10 views

Postfix not resolving rDNS - Received marked as uknown

I'm trying to configure Spamassassin to whitelist some specific servers, but it seems that it can't work until Postfix will be able to find the hostname based on the IP address. PROBLEM Postfix is ...
0
votes
1answer
33 views

incoming email in postfix centos 7 server not getting inbox

I'm using Centos 7 and postfix. While I can send email from my server but I can't read email because not getting emails in my postfix "maildir" than I command to check mail logs - [root@server ~]# ...
1
vote
1answer
57 views

Setup policyd on Zimbra 8.8.x to rate limit the number of messages each account can send with smtp-auth

I'm running Zimbra 8.8.9 and I'm trying to rate limit the number of messages that a single user can send over smtp after authenticating with smtp-auth. The purpose is to limit the damage in case one ...
1
vote
0answers
28 views

Connection to the IMAP server interrupted when connecting to Postfix + Dovecot from Outlook

Goodmorning everyone. It's been some time since I have a problem with the configuration of my mail server on Ubuntu Server 18.04.01 made with Postfix and Dovecot. When I try to send / receive emails ...
0
votes
0answers
22 views

Postfix header_checks in psql

In Postfix is it at all possible to perform header checks based on a PSQL lookup? I haven't found anything explicitly saying you can...but also haven't found anything supporting it. Ideally, I want ...
0
votes
0answers
7 views

docker issues (mount folder and after restarting iptables)

I have issues when running docker for some SMTP services. Host server IP : public ip address Docker host: 192.168.1.1 docker container: 192.168.1.2 Host OS : Centos7 Docker image : Ubuntu 1) mount /...
0
votes
1answer
34 views

Mx records point to gmail; postfix mail sent direct from server marked as spam by gmail, yahoo

I have an Ubuntu 14.04 server with postfix installed. However, I have set up the domain MX records to point to a Google apps' configuration, as per Google's instructions. All works fine using email ...
0
votes
0answers
8 views

G suite integration: local server emails can't send to g suite (postfix)

I have setup G suite with my local email server, where I only migrated few emails to G suite to reduce the costs and kept my mail server running for other emails. A@example.com have a g suite account ...
1
vote
1answer
41 views

Postfix - Rspamd + amavis

Currently I have Postfix with Amavis, Spamassassin, Clamav and all the bells and whistles up and running. I would like to add RSpamd to the configuration, I don't want to replace Amavis, just keep ...
-1
votes
1answer
56 views

SPF and DKIM configuration Ubuntu 18.04 fails

I have been following this tutorial from DigitalOcean. I have followed every detail but nothing seems to work as expected. Assuming that my FQDN is the following: mydomain.com. Here are my details: ...
0
votes
0answers
18 views

Disabling Postfix address rewrite

Just trying to see if I can get some more Information on setting up postfix on Linux. Actually I am looking to disable address rewriting and have set the following base_mta.conf configuration file: ...
0
votes
1answer
63 views

Postfix & Spamassassin - custom rule for return-path and from address not in same domain

Having a little trouble with Spamassasin identfying spam emails coming from a domain of mine. The spam email is coming in from a return-path of someone@spammer.com, but the from field in the header ...
0
votes
0answers
28 views

Do you need to use IMAP to read bounced emails?

I'm writing a send email app in Laravel which will use my own email servers. Many apps read an IMAP inbox to log the number of bounces a user might receive- using some cron to check and delete bounces ...
0
votes
0answers
35 views

Fail2Ban failregex to block bulk spam from external ips

I need to build a failregex for fail2ban, to block bulk spam from external ips. I would like to build it based on this piece of the log: Oct 4 08:53:08 mail postfix/smtpd[44304]: 401E438E25DC: ...
0
votes
1answer
19 views

Postfix pipe delayed

I am running postfix on a raspberry pi. My outdoor camera is sending an email when it detects any motion. I am piping this email to a script. There is always a delay of 2-3s but the pi is 99% idle. So ...
0
votes
1answer
19 views

Unknown non-local mail is being sent from Postfix?

I'm keep seeing these lines in the Postfix maillog, from serveral unknown non-local email-addresses: Oct 3 08:47:32 srv04 postfix/pickup[86325]: F020C5C1101: uid=80 from=<noreply@example.se> ...
0
votes
1answer
24 views

postfix smtpd_restriction_classes not working

I'm trying to restrict who can send emails on a server. I use this directive in main.cf: smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access Content of /etc/mailname is: ...
1
vote
2answers
41 views

Dockerfile for postfix

I have tried to implement postfix in dockerfile, and it failed when i tried to send a mail saying (address resolved failure). Do i need to reconfigure the docker network or just the postfix main ...
0
votes
1answer
33 views

How to let Postfix relay mails at least once

Setup: Internet <> Firewall Firewall <> DMZ (192.168.200.0/24) Firewall <> Green (192.168.100.0/24) 192.168.200.11: Proxmox-Mail-Gateway 192.168.200.12: Postfix I have set up a Mail-Server-...
-1
votes
1answer
40 views

One of my mailboxes sends a huge amount of spam to gmail and yahoo addresses. Cannot stop it

I'm stuck in here. I'm using ISPConfig on a Debian Wheezy Postfix mail server, and I have the following problem: I have multiple mailbox addresses on 14 domains. One of the addresses started 2 days ...
0
votes
3answers
32 views

Authenticate users using their firstname

I'm setting up a Postfic and Dovecot with LDAP email server. My users in LDAP is like this: dn: uid=firstname,ou=People,dc=domain,dc=com uid: firstname uidNumber: 4025 gidNumber: 4025 givenName: ...
0
votes
1answer
62 views

postfix: Cannot assign requested address

I have app that uses postfix. When i send an email from one user to another, works well, as you can see here Sep 28 14:34:04 webcat-node-77f77644-vhq94 postfix/smtpd[546]: connect from localhost[...
0
votes
0answers
8 views

postfix deliver to mailbox if command fails

I'm trying to use .forward files to have mail delivered to a command. However if the command fails I want it to deliver to the user's mailbox instead. I've tried putting this in the user's .forward ...
0
votes
1answer
30 views

iredmail - Emails go out but don't come in

I setup an iredmail server so that my website can send registration emails and all that sort of thing. Problem is, it can send mail just fine (And even inbox) but it can't receive. Port 25 is open, ...
-1
votes
0answers
30 views

Postfix LDAP Tree

I still don't know if I ask about this topic here, on ServerFault, or on StackOverflow. But this seems to me that it requires more knowledge on how LDAP and Postfix work rather than how to write bits ...