Questions tagged as ['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)
Score: 0
How to prevent unauthorized mails sent from my mail server?
bo flag

I have Postfix server that serves several domain names with SPF, DMARC, DKIM correctly set and tested many times. So no spoofing is taking place. However, despite all my efforts to tweak the Postfix configuration, outgoing spam messages like below regularly slip through the server:

Aug  5 08:37:38 mail postfix/error[9631]: BC96418C10: to=<avciuffo@comcast.net>, relay=none, delay=161913, delay ...
Score: 5
run_the_race avatar
How to verify that email from own server to google relay SMTP service is using TLS
br flag

I have a server which only sends mail out, as follows:

django/python --> postfix -----> smtp-relay.gmail.com -----> destination

When I open a gmail client that received the email, and check the details it says: security: Standard encryption (TLS) Learn more

Now I suspect its saying from smtp-relay.gmail.com --> gmail destination was TLS, but I am concerned I am sending email in plain  ...

Score: -2
DottorBooom avatar
Setup an Email server
ng flag

I know that the title of this post is not very indicative. But I thought the simpler it was the more people would watch.

I am trying to set up a mail server with Ubuntu 20.04. The software I am using are: Dovecot, Postfix and Fetchmail. The machine where I work is running webmin which allows me to access the server management directly from the browser. Returning to the main problem, I would like  ...

Score: 2
mahen3d avatar
SELinux - blocks postfix emails sending out from the Web Application
cn flag

My System environment, is Centos-7.9, Apache2.4, Php-fpm, PHP-7.4

I have postfix setup to send emails from the website, which is working in stand-alone test emails and when I turn the SELinux off.

However, if SELinux is enabled it will block sending the emails out from the server with below error in the /var/log/maillog

 postfix/sendmail[10883]: fatal: execv /usr/libexec/postfix/smtpd: Permission  ...
Score: 0
send google calendar notifications with my domain address by my postfix server
us flag

I have a mail server for my domain with postfix and dovecot: mydom.com I want to send google calendar notifications with my own domain: user@mydom.com I explored two alternatives unsuccessfully

  1. I created an alternative address on my gmail user I could send mails with my own address (user@mydom.com) but my calendar notifications have always as sender my gmail address although alternate address i ...

Score: 0
iraqiboy90 avatar
Incoming DKIM verfication check working but not rejecting
de flag

I have SPF, DMARC and DKIM configured for my mail server (postfix) on a CentOS 7 OS. Outgoing mail is getting signed as normal. All email check sites says my stuff are secured and working great but there is a site I use that purposely sends various types of spoofed emails to test all parts of incoming filters and my server seems to fail a specific DKIM part.

Site used: https://emailspooftest.com Mail 5  ...

Score: 0
OpenDkim install on Docker fail
in flag

I have a docker container, and I have installed postfix successfully, but I can not install OpenDKIM successfully.

I tried the command service OpenDKIM status, get this error opendkim is not running

I refered following link to install OpenDKIM https://www.linuxbabe.com/mail-server/setting-up-dkim-and-spf

*My docker Linux version as follow:

NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_L ...
Score: 1
TinoB avatar
Postfix "postmaster" and double-bounce emails are causing a TON backscatter
cn flag

.. and got the IP on a couple BLs..

This postfix server is set up to relay mail to and from an Exchange server.

I am seeing a lot of postmaster or root @mail.mydomain.com going out from postfix and NOT the proper mailing address @mydomain.com

The server is running SpamAssassin, Amavis, PostScreen, and OpenDMARC. I have triple checked that no configuration file states mail.mydomain.com except for extern ...

Score: 0
salim ep avatar
mail Linux command include username along with from address
us flag

Is there any way to hide username if we send email via Linux terminal? For example, I just want to hide or delete "root" username from the email header.

I have one cron job send a report every day. For now this script runs as root user.

Score: 1
Outbound email restriction
cn flag

We have a project to set up around 5,000 plus email IDs for an educational institution. Emails are meant mostly for receiving mails, and the instituition wants to set up some rule that no email id can send more than 10 emails in an hour, and not more than 50 emails in a day.

I have looked at number of open source solutions but could not find specific to set a mail restriction per email id. There  ...

Score: 0
carlitobrigante avatar
POSTFIX: New mail server. Can neither send nor receive mail
cn flag

I am trying to learn about mail servers and have setup one. However neither can I send, nor receive mail. I can login to my email account and I see the folders (Inbox, Sent, Trash, etc) are being populated within the email client. Also /var/log/syslog indicates that my user has successfully logged in via imap-login

When I click on the test button from Thunderbird before logging in, the test alway ...

Score: 1
Nichlaus avatar
Postfix + Dovecot and folder "sent mail"
ws flag

We’re using for sending mails our own mail server Postfix + Dovecot with parameter for Postfix sender_bcc_maps which ensures that sent mail thanks to blind copy (BCC) is also sent to a sender’s address „sender+sent@email.domain“. That way is mail saved to IMAP folder with other sent e-mail messages. Because of this we don’t have to rely on mail client which could do this for us. And yet we hav ...

Score: 0
carlitobrigante avatar
Postfix doesn't send mail
cn flag

I am trying to learn about mail servers and am quite daunted by all of the moving pieces in the setup..

Currently I am unable to send via from my smtp server. I can receive mails fine from various domains.

In my logs I see the below entries when trying to send mail..

  • mail.log
Jul 31 11:59:15 mail postfix/submission/smtpd[1290]: connect from unknown[78.136.22.232]
Jul 31 12:01:03 mail postfix/posts ...
Score: 0
How it works content_filter in Postfix using spamassassin and clamav ( filtering order )?
br flag

How it works content_filter in case where is used spamassassin and clamav ? Here is example for one content_filter: http://www.postfix.org/FILTER_README.html And I see that sendmail command cant use the same content_filter otherwise it would be a loop. But example if content_filter will be set up as spamassassin the how it possible that after filtering is finished will run next clamav filter ?

If s ...

Score: 0
Oliver Williams avatar
Success in getting email (albeit marked as spam) to Hotmail (Outlook), but not to Gmail
ar flag

I have set up postfix as a send-only mail server that does not relay, using this tutorial on Digital Ocean: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-mail-relay-with-postfix-and-mailgun-on-ubuntu-16-04

Aside: it worked just fine with Ubuntu 18.0.4

This includes setup of mailgun.com for the sending service. My logs on the server show that I've sent the emails I'm sending, a ...

Score: 0
buri tv avatar
Postfix cannot send any mail to internal domain
us flag

wasted too much time but could not find the problem. Postfix send any email to everywhere except not to my own domain.

I am getting 550-Unrouteable address 550 Sender verify failed (in reply to RCPT TO command)) error.


smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" war ...
Score: 0
Payomeke avatar
Removing plain passwords from auth.log
lb flag

I'm using some docker images to deploy a mail server (https://github.com/docker-mailserver/docker-mailserver). The MTA is postfix, with TLS configuration and using LDAP for login. I can login to the SMTP server and send emails but is showing the login password in plain text in auth.log

Jul 26 10:57:01 mail saslauthd[979]:                 : num_procs  : 5
Jul 26 10:57:01 mail saslauthd[979]:        ...
Score: 0
killmasta93 avatar
Issue with Sieve Filters on postfix?
cn flag

I was wondering if someone could shed some light on the issue im having, Currently i have a simple postfix server and in front it has a PMG gateway. Because PMG gateway has the spam filters i need to redirect the spam to go to the users junk folder. I have already accomplished this zimbra but on postfix i think im missing something. These were the steps i took

  1. install the package and Modify adding th ...
Score: 1
Top Stars avatar
Postfix / Dovecot can't send or receive e-mails in Ubuntu 20
de flag

I've generated ssl files using letsencrypt and everything is installed and configed but my IMAP and SMTP are not working. What I can find from the /var/log/mail.log file is this error:

dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>,TLS handshaking: SSL_accept() failed: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate: SSL al ...

Score: 0
proxy_content_filter and opendmarc milter at proxy smtpd
br flag

I set up the proxy_content_filter to inet:127.0.0.1:10025 and in master.cf: ##(DKIM: 8891, DMARC: 54321)

127.0.0.1:10025 inet n - n - - smtpd
...
smtpd_milters=inet:localhost:8891,inet:localhost:54321
...

and in logs opendmarc running too early:

Jul 23 12:42:07 mail postfix/smtpd[10474]: NOQUEUE: client=test.com[192.168.1.1]
Jul 23 12:42:07 mail postfix/10025/smtpd[10482]: connect from localhost[ ...
Score: 0
Bill R avatar
Google VM with a postfix and mailman issue
ca flag

I have a VM with Google running postfix 3.5.8 and mailman 2.1.29. The original that Google generated was similar to this: "new-host.c.agile-being-111111.internal". I've now reset the server to its final name i.e. host.org but the original Google generate name is embedded into all email and urls associated with mailman. The problem appears to be in the list's config.pck where dumpdb produces two lines ...

Score: 0
ajax1515 avatar
Mail server set up for inbound mail on a subdomain to trigger php script
cm flag

I'm trying to set my company server up to be able to receive emails to a certain account on a subdomain of our main domain i.e.: linuxuser@subdomain.domain.com

Those incoming mailers should trigger a php script that will handle some content processing.

I'm running Ubuntu Server 20.0.4, Postfix is installed, Dovecot is installed, I also tried using courier so that's there too, but I couldn't get that ...

Score: -1
Marcelo Tenorio de Souza avatar
How to setup a Linux LAN local mail?
bq flag

I'm looking for instructions on how to create a Linux local mail server for a LAN, in the following way:

  • The Server (Ubuntu) as the SMTP server;

  • The workstations getting their mail (and sending to other clients) through the server.

Initially, only local mail (say ending with @localhost.com).

So far, I've found stuff about using the very client machine as the host, not including the server.

Thank y ...

Score: 0
Bill R avatar
Google Compute Services VM and mailman
ca flag

I have a VM with Google running mailman 2.1.29 and it is rejecting inbound emails quoting the Google Compute Services name (new-xxxx.c.agile-being-nnnnnn.internal) and "Relay access denied". The hostname has been set to the active DNS name and /etc/hosts file reflects the same. But I cannot figure out where it is getting the "agile-being" name from.

Thanks for any suggestions!

Additional Details:  ...

Score: 0
macOS - sendmail - postfix messages
jp flag

My app is attempting to use sendmail to send an email message. I can see the email's sitting in /var/spool/postfix/maildropbut for some reason which I need help figuring out, the postfix pickup service is not sending them out?? - how to debug?

Score: 0
Ahmed Reda avatar
550-5.7.26 Unauthenticated email from domain is not accepted due on ERP only
id flag

I have made updates to our mail server to use DMARC. So after This our ERP system cannot send emails to gmail.com or yahoo.com but Outlook sends emails with no problems.

Below is the header for an email that was sent from my domain to Gmail and comes safely:

Message ID <4bcfe9f3-0eb7-98cf-dcaf-0440d4a5e67f@domain.com>

Created at: Fri, Jul 16, 2021 at 11:30 AM (Delivered after 4 seconds)

From:  ...
Score: 1
DottorBooom avatar
Clarification on the configuration of a mail server
ng flag

I would like to start by saying that I have not seen any other forums or posts that clearly explain this thing. If there are, my poor English skills probably didn't make me understand the solution clear.

As you already understood, I am trying to set up an internal email server to download mail from some providers. Looking for the best software combinations, I came across the Postfix (MTA) and Dov ...

Score: 1
Sumak avatar
SMTP 550 5.1.1 but mailbox exists
ru flag

I'm creating a mailbox on our Postfix server. We've a script which synchronize our LDAP to our Webmail (~RoundCube), and then we must execute the following command on the Postfix server:

echo -e "test@domain.tld\tOK" >> /etc/postfix/virtual_mailbox
echo -e "test@domain.tld\talias.test@domain.tld" >> /etc/postfix/virtual_alias # if we want an alias
postmap /etc/postfix/virtual_mailbox & ...
Score: 0
How do I make vacation autoresponding work for aliases?
cn flag

We have an e-mail server on Ubuntu 18.04 running Postfix and Dovecot. How can I make vacation autoresponding work for our user's aliases?

Example: Say our Deputy Librarian is theirname@ourlibrary.com and that's also their user and e-mail account on the system, the one I sudo su theirname to in order to run the vacation program. But they also have an alias in /etc/aliases called deplib, so that e-mails s ...

Score: 0
Marcel avatar
Postfix Relaying Denied issues With ASSP
pe flag

I'm playing around with ASSP and postfix on a gateway server... Basically all mail sent to the server will run to the gateway 10.0.0.1:25 (gateway.hostname.com), Hit ASSP, once processed will then be routed to localhost:10.0.0.1:25(same server postfix config handles the difference) and then postfix is setup to forward the mail out to the receiving server...

The issue I am having is that all mail  ...