Questions tagged [postfix]
Open source email server for Unix
720
questions
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 ...
0
votes
2
answers
812
views
Courier IMAP postfix Question folders and namespace
So, I'm running a small email server. On this server, I have installed and run postfix with courier-imap. It works great, but I need to expand it's folder options for better record keeping. ...
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 ...
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 ...
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 ...
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.
--------------------------------------------------------------...
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 ...
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 ...
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 ...
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/...
2
votes
4
answers
4k
views
newbie question - postfix and s-mail - ""Can't canonicalize""
just making my very first steps with mail on Ubuntu. Followed This guide
But when I try to initialise my mailbox with
echo 'init' | mail -s 'init' -Snorecord sammy
I get the "would be" expected ...
0
votes
3
answers
13k
views
can't send emails to gmail accounts from postfix
Hi I have a VPS running Ubuntu 14.04 configured as email box using this guide
http://www.krizna.com/ubuntu/setup-mail-server-ubuntu-14-04/
and then install and configure spamassasin with this ...
5
votes
1
answer
23k
views
set up mailserver for multiple domains guide for beginner
I am not Linux pro, and after days of trying with tutorials how to set up postfix or other e-mail server I am try to find solution here.
In your office we have HP Proliant server with Ubuntu server ...
4
votes
4
answers
4k
views
Why does /usr/bin/mail ignore aliases in $HOME/.mailrc
When I send email using /usr/bin/mail on the command line (Ubuntu 13.04 64-bit), it does not pay attention to any aliases in my .mailrc file. Does anybody know how to fix this?
To reproduce the ...
-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-...
19
votes
2
answers
37k
views
How to change Helo Address?
Right now my Helo Address = localhost (helo=localhost). Is it better to set this to my server's domain name? If so, how do I change it? I'm running Ubuntu 12.04 and Postfix. Thanks.
1
vote
1
answer
1k
views
having trouble with getaddrinfo()
I have a 14.04 LTS server installation. It is relatively new. It is up to date on its patches. I'm running postfix on it and I noticed that the SMTP server was having trouble resolving delivery....
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,...
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. ...
-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 ...
0
votes
2
answers
1k
views
Setup Postfix/dovecot/maysql - receiving mail in Maildir but not in client inbox
I'm not an expert in mail server configuration
I successfully setup the server to send mail but i cant find the solution for receiving my emails in the client inbox but i can in my Maildir.
response ...
0
votes
1
answer
183
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
...
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....
0
votes
0
answers
123
views
Mail Server running well but incoming traffic kills my internet connection
I am running a Postfix - Dovecot - MySQL mail server on my personal Ubuntu dedicated server which I'm hosting it in my home.
Everything is working amazing except the fact that I am getting loads of ...
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 ...
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 '...
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 ...
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 ...
1
vote
2
answers
1k
views
Postfix SMTP mail server External smtp relay
How can I configure postfix smtp?
External smtp relay
Smtp authentication
Email send rate limit
Schedule emails
0
votes
1
answer
370
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 ...
0
votes
1
answer
892
views
Find the process that is shutting down or killing a program or service in Linux
In my situation, Postfix mysteriously shuts itself down: postfix/postfix-script stopping the Postfix mail system
On a fresh Ubuntu 18.04, when I run
service postfix start
It starts up, but the a few ...
3
votes
1
answer
4k
views
Postfix is not logging anything to journal
I'm trying to get journalctl in Ubuntu 18.04 to log everything, or mostly everything at least.
One thing that I noticed was, that postfix does seem to log to journal.
I can clearly see entries when I ...
0
votes
1
answer
5k
views
4.7.1 Service Unavailable - try again later
I'm not sure this is the best place for this question, but I have googled around and can't seem to find a resolution to my issue. Please feel free to redirect me somewhere else if necessary. :)
So, I ...
1
vote
0
answers
386
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 "...
5
votes
3
answers
13k
views
postfix: error: unsupported dictionary type: mysql
I just was installing new mail server on Ubuntu 16.04, starting my installing and configuring postfix and mysql,:
apt install postfix postfix-mysql mysql-server mysql-client
After configuring ...
7
votes
3
answers
36k
views
Postfix Using Gmail Relay: Must issue a STARTTLS command first
I get this error: Must issue a STARTTLS command first with all sent mail.
Can anyone see why?
main.cf:
relayhost=[smtp.gmail.com]:587
smtp_connection_cache_destinations= [smtp.gmail.com]:587
#TLS ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
0
votes
1
answer
215
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
* ^...
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 ...
0
votes
1
answer
2k
views
Connection closed by foreign host postfix error
I'm trying to set up Postfix on the latest Ubuntu and I have followed the official documentation. However, I get the following error message below when trying e.g. telnet localhost 25:
"Connection ...
1
vote
1
answer
5k
views
How to set up a mail server with multiple domains (12.04)
I'm the only user on my server, so the default install of postfix/dovecot has been fine until now. But I now have 4 domains and need an email address for each of them. I would like to be able to send/...
2
votes
1
answer
759
views
Postfix Outgoing Email Authentication
I have a VPS that I'm using as a webserver and an email server. I have an issue with postfix. It's not asking for a password on outgoing email from an unauthorized domain.
This is a telnet call from ...
0
votes
1
answer
2k
views
Problem with mailutils, ubuntu 18.04
Can someone help me about this problem, I've tried to find out where the problem is comming from, but have no luck, I've tried to re-install postfix and mailutils, but still have this problem, if ...
5
votes
4
answers
7k
views
Can queued messages be moved between Postfix servers?
My scenario is that I have an air gapped machine for keysigning. I was given some code that generates emails for individuals to receive their signed keys but I would like to keep this machine off any ...
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 ...