Questions tagged [postfix]

Open source email server for Unix

Filter by
Sorted by
Tagged with
0 votes
0 answers
259 views

postfix error connection

my postfix not connect in the lan just localhost and local ip address: In the postfix server: :/etc/postfix$ telnet 172.28.204.36 25 Trying 172.28.204.36... Connected to 172.28.204.36. Escape ...
Hernandez Mike's user avatar
0 votes
0 answers
645 views

php7.4-imap Installed on Ubuntu 16.04 But imap_open() is not working and also says php7.4-imap doesn't exists

We have PHP 7.4 installed and want to integrate IMAP to receive emails. Also installed php7.4-IMAP but still imap_open() not responding. When trying to enable IMAP showing an error like the module ...
Kiran Waghamare's user avatar
0 votes
1 answer
107 views

rsync log file gets corrupted when using nano editor or mail ( postfix ) command

I have a strange situation where I am re-directing the whole output of an rsync command to a file and the file gets corrupted if I open it with nano editor or if I send the output to outlook mail. If ...
AlexP's user avatar
  • 103
1 vote
1 answer
2k views

Ubuntu 20.04 with postfix + OpenDKIM, not sign my emails

I've configure Postfix + OpenDkim in Ubuntu 20.04 server, and has a problem. Postfix not sign emails, with silent work, not logs with errors. Postfix main.cf smtpd_banner = central.mydomain.com ESMTP $...
abkrim's user avatar
  • 332
0 votes
2 answers
1k views

Deny smtp connection from unknown and unverified hosts with hosts.deny

I need to reject all smtp connections whose host name is unknown or does not match its address. Have tried setting in hosts.deny: smtpd: UNKNOWN smtpd: PARANOID but Postfix logs show that they are ...
yaugenka's user avatar
  • 131
0 votes
2 answers
1k views

Setting up a postfix server on a homenetwork via the noIP service for full-time use

I'm trying to learn about linux and network administration, so I'm not especially concerned if this is not the most efficient way to do things. I have a server at home running Ubuntu 20.04. I've set ...
atjb's user avatar
  • 11
0 votes
1 answer
3k views

Postfix Send-Only SMTP Server domain name configuration

I found 2 ways of sending mails from Linux/bash : through a service , like sSMTP, which implies using an external SMTP server, like gmail through Postfix server, which configures the Linux server to ...
AlexP's user avatar
  • 103
0 votes
0 answers
806 views

Smtp error (454) authentication failed

Ubuntu 20.04 contabo VPS virtualmin/webmin panel postfix+Dovecot domain is redirected from cloudflare- maybe missing any records (not sure…) A mail ip address A webmail ip address MX ...
peakminute's user avatar
0 votes
0 answers
3k views

Opendkim Key Not Secure

Ubuntu 20, cannot get opendkim-testkey to pass for the life of me. Checked all dependencies, configs numerous times, any help appreciated. --------------------------------------------------------------...
TomVT's user avatar
  • 1
0 votes
1 answer
2k views

Ubuntu 20.04 Mail Setup Setting the Default From Address

I am setting up my mail server using this chapter of a setup guide https://www.linuxbabe.com/mail-server/setup-basic-postfix-mail-sever-ubuntu. When doing a simple test to make sure postfix will send ...
macmiller's user avatar
  • 101
0 votes
1 answer
350 views

Installing Apache Mod_Evasive without installing Postfix

On Ubuntu 18 I'd like to install Apache Mod_Evasive but without installing Postfix. In fact, I'm using msmtp as a simple way of connecting to a remote smtp server to send out mail, so I don't need a ...
MrCarrot's user avatar
  • 103
1 vote
0 answers
357 views

What DNS Records should I put to configure postfix?

I am following this guide: https://www.vultr.com/docs/how-to-install-postfix-dovecot-and-roundcube-on-ubuntu-20-04 to install postfix, dovecot, and RoundCube on my azure ubuntu VM. I know it is for ...
mr noob's user avatar
  • 111
1 vote
0 answers
489 views

Postfix aborts installation after upgrade to 20.04

I cannot install Postfix on Ubuntu 20.04 after upgrading from 16.04 and previously using sendmail. The output below occurs while attempting to install Postfix using apt: Job for postfix.service ...
Coder Guy's user avatar
  • 1,248
16 votes
1 answer
21k views

Disable IPv6 on Ubuntu 20.04

Simple way that worked for a very long time was adding in /etc/sysctl.conf net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 Afterwards ...
frank_108's user avatar
  • 281
1 vote
0 answers
1k views

Postfix is sending SPAM and I don't know why

My server is sending spam through the whole world since yesterday and I don't know why. It looks like phishing mails for netflix. grep -H -i "sent" /var/log/mail.log has this entries /var/...
user1157414's user avatar
-1 votes
1 answer
6k views

Postfix can't send mails to gmail - sender non-delivery notification

Having some troubles sending mails to gmail with Postfix. Below is my log: Nov 24 15:07:02 ubuntu-4gb-fsn1-1 postfix/pickup[101539]: 4C99C4225A: uid=33 from=<www-data> Nov 24 15:07:02 ubuntu-4gb-...
Run's user avatar
  • 2,639
1 vote
0 answers
139 views

Thunderbird 78 on Windows stopped working (getting email) with my Ubuntu 18.04 Postfix/courier (sending still works)

One of my customers just upgraded his Thunderbird installation to go to the latest version which at this time is 78.4.0. Since then he can't access my Postfix mail server to view his messages. However,...
Alexis Wilke's user avatar
  • 2,717
0 votes
0 answers
88 views

I am setting up raspberry Pi as cctv camera. Trying to setup email service to send videos to my gmail

I have successfully setup Postfix as a SMTP server and add the service to my gmail with App Passwords. This is working and I am able to send emails. But there is no attachment options in Postfix. ...
Robot's user avatar
  • 21
-1 votes
1 answer
1k views

postfix nothing send email port 25

I am trying to configure the Postfix Mail server. Ready I made the configuration in postfix and devecot (imap / pop). I can receive emails on my server, but I can't send emails to other servers. im ...
MAGUIM's user avatar
  • 1
0 votes
1 answer
184 views

DNS Records Configuration - Going Straight to Spam Box?

I know that in order to hit the inbox, the main DNS records need to be properly set up. These are the main DNS records that every mail delivery system should have for their domain: TLS A MX DKIM SPF ...
Aaron Esteban's user avatar
0 votes
1 answer
360 views

Dovecot returns a hash mismatch after setup

So I had a working setup with postfix and dovecot with virtual users stored in a postgresql db on an Ubuntu 18.04 VPS. I've decided to make a new setup on a VPS based on the same settings (that I ...
ausced's user avatar
  • 21
0 votes
1 answer
1k views

530,5.7.0SMTP server error: MAIL FROM command failed Detail: Authentication Required

PHP Mail error with the message: 530,5.7.0SMTP server error: MAIL FROM command failed Detail: Authentication Required Following are the key sections of my PHP Script. new PHPMailer(true) Host as '...
Naren's user avatar
  • 1
0 votes
1 answer
551 views

Configuring DKIM over Postfix (iRedMail-1.3.1) in Ubuntu 18.04

In order to have my mail server deliver mail to Microsoft, Gmail and Yahoo users I need to configure DKIM. I am following this Debian guide: https://wiki.debian.org/opendkim. I wrote a script to do ...
Spirited Warrior's user avatar
0 votes
1 answer
371 views

Ubuntu Server 20.04 and Postfix: configure SPF for a subdomain return error: spf=neutral and all emails marked as spam

I'm trying to set up Postfix in Ubuntu Server 20.04 as an email sender (I don't need to receive emails) in my subdomain server. I have the main domain that works with one server, and a subdomain that ...
MarGraz's user avatar
  • 171
0 votes
1 answer
3k views

SquirrelMail - Error: Connection dropped by IMAP server

I am trying to use SquirrelMail on Ubuntu 16.04. When I go to localhost/squirrelmail/src/login.php and login, I encounter the error message: ERROR: Connection dropped by IMAP server. I tried the ...
user1046658's user avatar
1 vote
0 answers
187 views

Add mx record in linux - switching from postfix to hosting

I'm using ionos hosting and my domain's name servers are pointing to my static ip address where I've a linux server running. Recently I'm facing some issues with postfix, emails aren't sending and ...
Linga's user avatar
  • 121
1 vote
1 answer
2k views

Amavisd-new ports 10026 10024 not running

I have mail stuck in the queue and the problem according to the logs points to amavisd-new. Ports 10024 and 10026 are not running and I'm not sure whether it might have something to do with ...
MissAkiiki's user avatar
0 votes
0 answers
342 views

Reverse DNS Lookup Not Functioning Properly

I recently set up a server running Ubuntu 18.04 Server on my local network in a DMZ. I am trying to run it as a mail server, among other things. I had been running a mail server on a desktop PC on the ...
Jeffrey Rolland's user avatar
0 votes
1 answer
870 views

Postfix Can Send But Cannot Receive Mail, Port 25 is Filtered

I seem to have a problem with port 25 inbound connection. My ISP confirmed that port 25 is open. Yet, when I tested with nmap, I get the following results Testing nmap with public IP shows port 25 is ...
VWijaya23's user avatar
1 vote
0 answers
388 views

mail (gnu mailutils) 3.4 not able to send an attachment

We upgraded from Ubuntu 14.04 to Ubuntu 18.04 and now we are not able to send emails with attachments. On Ubuntu 14.04, we have mailutils 2.2 and we used to use the following command mail -s "...
A K's user avatar
  • 11
1 vote
2 answers
574 views

How to set up mail server (postfix or anything else) on Ubuntu?

I have installed Ubuntu Bionic on my virtual machine and have an application set up. Now what I need is to send emails from my own server. I am trying to set up postfix to do that but nothing works. ...
Davis 's user avatar
  • 121
0 votes
0 answers
212 views

Ubuntu 18.04 LTS unattended-upgrade killed my mail

OK, I have Kolab 16 as my mail package on top of a fresh install of ubuntu 18.04 LTS. Kolab (v16) includes clamav, roundcubemail, postfix, amavis and some other bits to tie it all together. It's ...
Tom Friend's user avatar
3 votes
1 answer
1k views

What replaced mail-stack-delivery?

Trying to install mail-stack-delivery on 19.10 Eoan I see it's now a transitional package that only installs dovecot-core. Before it used to install both Dovecot and Postfix and write a basic config ...
isagalaev's user avatar
  • 141
0 votes
1 answer
242 views

SSL Question - about "Unknown Authority"

I went to sslforfree gave my csr info to them and I recieved 2 files from them: 1. ca_bundle 2. certificate.crt I also have my original mydomain.key & the mydomain.csr I then put my .key and ...
jferron701's user avatar
0 votes
2 answers
244 views

How do I get rid of errors and warnings in /etc/mail.log pertaining to a defunct mailman installation?

I have an Ubuntu 18.04 LTS server that at one point in time was set up (not by me) to run GNU mailman, using Postfix as the MTA. I no longer run any mailinglists on this server, and have ‐ to the ...
Free Radical's user avatar
0 votes
0 answers
2k views

Emails on Send-only mail server not sending

I've been trying to setup my own send-only mail server so I could send emails using PHP scripts, but I've been running into some issues. Whenever I send a test email to my gmail account, it doesn't go ...
DriedSponge's user avatar
0 votes
1 answer
2k views

Setting up Postfix to do SPF checks

I'm trying to get our incoming mail set up to do SPF checks in hopes of cutting down on spoofed addresses. We run Postfix from the good old mail-stack-delivery package on Ubuntu 18.04. I followed this ...
Will Matheson's user avatar
0 votes
1 answer
216 views

Procmail: Send mails per default to deliver

i have a question^^: First i show you an simple procmail rule: DELIVER="/usr/lib/dovecot/deliver -d $LOGNAME" DEFAULT="$HOME/Maildir/" MAILDIR="$HOME/Maildir/" # deliver spam to spam folder :0 w * ^...
NETFLOX's user avatar
  • 125
0 votes
1 answer
5k views

Postfix SASL LOGIN: 535 5.7.8 Authentication failed: wrong user/password

I was trying to set up my postfix email server (mailclient --> postfix/relay host --> smarthost/mailprovider) and got the following errors when sending mails: luke postfix/smtp[9059]: < smtp....
Roete1958's user avatar
0 votes
0 answers
2k views

mail problem with Postfix: (Outgoing) Connection timed out

I installed Postfix on Ubuntu 18.04 lts and try to send mail with the PHP mail function. What I get in the mail.log follows. Can anyone see a problem in the log output? Jan 27 16:27:23 dv7 postfix/...
E. Porter's user avatar
2 votes
1 answer
4k views

s-nail: /home/ion/Maildir: No such entry, file or directory

I am trying to setup postfix on my server with the tutorial How To Install and Configure Postfix on Ubuntu 18.04. But after running echo 'init' | s-nail -s 'init' -Snorecord ion, and s-nail I am ...
Ion Mîndru's user avatar
2 votes
0 answers
532 views

Several questions about my VPS - ubuntu

I noticed some suspicious actions on my vps and I wanted to understand them a bit more. postfix: I saw a lot of actions using postfix in mail.log so I shut postfix down and saw Jan 9 22:58:28 ...
Amos's user avatar
  • 135
3 votes
1 answer
2k views

How to add a Reply To: header to mail when using postfix and Mailgun as SMTP server?

I'm trying to add a Reply To: header to mail when using postfix on Ubuntu 19 and SMTP for mailing via Mailgun. Mail works fine when testing with swak, but mail to my final destination @protonmail.com ...
BlueDogRanch's user avatar
0 votes
1 answer
656 views

Postfix Relay Access Denied But Spam Still Being Sent?

I am running a Postfix mailserver on Ubuntu 19.10 and have mynetworks set to localhost so any attempts to relay email are blocked - i.e.: telnet emailserver.com 25 helo testing.com mail from:<test@...
Robin Wilson's user avatar
0 votes
1 answer
91 views

Configure a simple send-only mailserver for system mail?

I'm running a cloud VM (18.04), and I'm trying to get emails from unattended-upgrades. Can someone tell me the easiest way to get these emails forwarded to me? I've tried several guides for postfix ...
James Walters's user avatar
0 votes
0 answers
184 views

Trouble setting up postfix and dovecot. Folder permissions?

I've never posted on here so I will do my best to describe the issue. I am also pretty new to linux/ubuntu. (Using ubuntu 18.04) Here goes: I am trying to setup a mail server for my portfolio ...
Rumpelstompskin's user avatar
1 vote
1 answer
902 views

ClamAV not Scanning for Viruses

Currently running Postfix, Amavis, Spamassassin, and ClamAV spam filter which sends to on site Exchange server. Running on Ubuntu Server 16.04 CLI. Everything works and sends mail to Exchange server ...
rets34's user avatar
  • 11
1 vote
0 answers
187 views

18.04 logwatch version is mismatched to postfix-policyd-spf-python -- how to escalate?

Ubuntu 18.04 LTS provides the versions shown below of logwatch, postfix, and postfix-policyd-spf-python. This particular release of logwatch is old, and does not correctly process some of the messages ...
Niall O'Reilly's user avatar
0 votes
0 answers
108 views

How to find out which service is sending an email?

Last week I installed Postfix (only for sending from server) on my Ubuntu 18.04 server. I didn't prepare any service for sending yet, because I want to clear something. In /var/log/mail.log I see many ...
JanezKranjski's user avatar
8 votes
1 answer
44k views

How to completely erase Postfix

I install Postfix on my Ubuntu server 18.04 I modified the configuration of the file /etc/postfix/main.cf I made mistakes and I want to restore the original file. So I uninstalled Postfix : $ sudo ...
a713f93eb1's user avatar

1 2
3
4 5
15