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)

1
vote
1answer
10 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
28 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
24 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
0answers
15 views

Postfix not getting installed on CentOS [on hold]

This is what I get after running the install command. [root@server etc]# yum -y install postfix Loaded plugins: fastestmirror, universal-hooks Loading mirror speeds from cached hostfile * EA4: 208.43....
-2
votes
0answers
13 views

IMAP, email Aliases and syncing with clients [closed]

So, I'm gradually setting up a personal mail server to decouple from the internet giants a little, and I'm wondering about some quality of life tweaks to keep everything running smoothly. at this ...
0
votes
2answers
62 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
19 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
14 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 ...
0
votes
0answers
28 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....
0
votes
0answers
8 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
14 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
8 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
14 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
24 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
10 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
6 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
22 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 ...
1
vote
2answers
90 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 ...
-1
votes
0answers
38 views

Postfix I CAN NOT receive external emails [closed]

I have an account on a VPS server and create several websites with virtualmin, but there is an erroneous configuration in my main.cf postfix file so my mail does not receive emails from servers like ...
0
votes
1answer
61 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
42 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
23 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 ...
-1
votes
0answers
19 views

I have “warning: restriction `reject_authenticated_sender_login_mismatch' ignored: no SASL support”

I'm using Postfix with Dovecot and Postfix. Domains and usernames are stored in a db. In order to send email I have to authenticate. However, sometimes I receive spam from my own email - sender and ...
0
votes
0answers
46 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
31 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
12 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
65 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
27 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
21 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
26 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
0answers
11 views

how to get postfix on drobo 5n to use external smtp server instead of mx lookup

I run a website on my Drobo 5N that emails me a notification when a user uploads a file. I have the modoboa mail server installed which uses postfix. It sends me the email but it gets put in the ...
0
votes
1answer
47 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
23 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
33 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
8 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 ...
3
votes
0answers
12 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
74 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
35 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
25 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
29 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 ...
0
votes
2answers
15 views

Login using email address in roundcube in one server

How to config roundcube setting so that I can login using my full email address instead of username. I can login in roundcube using john, but I cant login successfully with john@mydomain.com.
0
votes
2answers
28 views

Why my postfix server is connecting to outside IP constantly?

I've set up a VPS which is working fine. I'm using postfix server to send email using PHP. I was just checking the log files and I noticed that my server is getting a connecting request or connecting ...
0
votes
1answer
23 views

Fail2Ban Postfix sometimes banning domain names instead of IP addresses in iptables

I'm running an Ubuntu server with Postfix serving as a mail relay. To prevent brute force attacks, I installed Fail2Ban and configured it to look at /var/log/mail.log to ban IPs accordingly. I'm using ...
0
votes
0answers
12 views

AWS Elastic Beanstalk: Routing system mails to real email address?

How can I from within Elastic Beanstalk instances have system emails routed to a real email address instead of just piling up in like /var/spool/mail/root? I thinking of both system-wide emails by ...
0
votes
1answer
28 views

Postfix not starting in gitlab docker container

I am trying to get postfix running on the gitlab/gitlab-ce:9.3.6-ce.0 docker container and it doesn't seem to work startup I get the following error: postfix start postfix/postfix-script: starting ...
0
votes
0answers
35 views

My postfix server rejects my python script - “Client host rejected: cannot find your hostname”

I have a postfix on a server. When I'm trying to send an email from my python script, it gets rejected due to "Client host rejected: cannot find your hostname". How to allow an email come through? If ...
0
votes
1answer
62 views

postfwd rate limit sender to recipient

I have to limit the number the emails sent from 1 sender to 1 recipient doesn't matter of domain. For this purpose I to use postfwd. id=RATE01 ; action=rate(sender/5/300/450 4.7.1 sorry, max 5 ...
1
vote
2answers
90 views

POSTFIX cant connect from SMTP with TLS

Thanks all for helping me :),i was working a direct bulk mail sender project, my program was running properly then it gave me an error then i've spend too much time with a lot of searching from ...
0
votes
1answer
56 views

Postfix, Dovecot and catch-all

I've set up my mail server using a guide from Digital Ocean, followed by another guide. So, now if I send mail to torvin@mydomain, it works. Now I'm trying to set up a catch-all address for all ...
0
votes
1answer
53 views

(Can't load main.ndb) ClamAV Deamon Virus signature DB Error

I installed ClamAV as a "normal" application and inside the daemon mode. After the installation, the daemon status says the following part. clamd[7425]: LibClamAV Error: cli_parseadd(): Problem ...