Questions tagged [postfix]
Open source email server for Unix
720
questions
1
vote
1
answer
1k
views
Postfix SASLnot workign on upgrade to 19.10
I upgraded from 18.04LTS to 19.10. However, postfix with SASL (cyrus) has stopped working. It is configured as a smarthost/relay for smtp.office365.com:587 using the normal methods as described widely....
0
votes
1
answer
191
views
Not receiving mail notification
I recently installed Nagios Core 4.4.3, after a while I wanted to set up mail notification, I installed Postfix (GMAIL SMTP Config) and the config seems to be fine as I tried to send some mails but ...
1
vote
1
answer
820
views
Change server mail from postfix to sendmail virtualmin
Hi I have already install an ubuntu server with postfix and sendmail mail servers.Although postfix runs perfectly when I go to Virtualmin panel>Virtual Configuration>And choose sendmail mail server to ...
0
votes
1
answer
200
views
Mails sent from the command line not appearing in inbox or spam folder
I sent some test mails using the command line. In the log I can see that status = sent, but I am not getting any emails in my inbox or spam folder.
Oct 11 15:51:01 ip-10-0-1-80 postfix/local[20606]: ...
1
vote
0
answers
1k
views
Ubuntu Server, Postfix, Localhost, Temporary Lookup Failure
I installed Ubuntu Server 18.04, installed Apache, MySQL, PhpMyAdmin, Postfix, Dovecot, Mailman, etc from the Ubuntu Server guide on Ubuntu Documentation website and I am getting this error when ...
0
votes
1
answer
6k
views
Postfix + Ubuntu: SASL LOGIN authentication failed: authentication failure
On Ubuntu 18.04 server, I use Webmin and Virtualmin to manage the server and the virtual host.
Looking at the file: /var/log/mail.log
I have this:
Sep 5 12:11:50 ns3147326 postfix/smtpd[17356]: ...
1
vote
1
answer
160
views
No email message when attachment is sent
I am writing a script that sends log files via the terminal to my email address. It appears, that when I'm using the -A flag, the message itself does not show in the email.
echo "This is the message ...
0
votes
1
answer
1k
views
Postfix | Because When I send a email to Gmail, this is received as spam?
I had installed Postfix with the configuration mode: Internet SIte
My file /etc/postfix/main.cf have follow it:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian ...
-1
votes
1
answer
56
views
Connect to postfix from two different servers with two different user/pass combinations
I have 3 vps servers: two of them hosting a website each and a third one hosts postfix.
VPS [1]: domainone.com
VPS [2]: domaintwo.com
VPS [3]: smtp.domainthree.com
How do i connect from vps [1] to ...
2
votes
0
answers
132
views
Can Admin Notifications by Email be Set up without an FQDN?
I am attempting to migrate a personal/family server from AWS to a local Ubuntu 18.04 server. I want to experiment with this local server for possibly months before cancelling the AWS server, so prefer ...
1
vote
1
answer
3k
views
postfix on Ubuntu 16.04 LTS can't find sasl_password or sasl_password.db
I followed this slightly outdated tutorial for setting up my ubuntu server as a send-only mail server using my FastMail account as an SMTP relay but I ran into some problems.
When I start the postfix ...
0
votes
1
answer
114
views
Update Libreoffice and Delete Evolution mail client
I just update Libreoffice because it wasn't working properly by:
snap install libreoffice
But I install a newer version and keep the old one. And did not get the programs working yet.
So I update ...
2
votes
1
answer
5k
views
Why doesn't postfix/dovecot receive mails from Gmail?
I'm setting up a Postfix server that use Dovecot SASL Authentication on a EC2 virtual machine with an ubuntu 16.04 Xenial. I can send mails to my Gmail account but I cannot receive them. It supposed ...
0
votes
1
answer
6k
views
Postfix outgoing SMTP: "connection timed out"
I have a little problem with my postfix. The thing is that I can receive emails but when I send an email I get a Connection timed out error.
connect to outlook-com.olc.protection.outlook.com[104.47.5....
0
votes
1
answer
3k
views
Postfix trying to contact wrong server when sending emails?
I'm new to Linux servers and am trying to setup a Drupal site.
However, when the site sends an email, postfix/SMTP tries to contact the local web server, and the connection is refused.
I've been ...
1
vote
0
answers
487
views
Ubuntu, postfix, dovecot mail server cannot configure with Outlook or Thunderbird mail client
I have successfully configured my email server with digital-ocean ubuntu 18.04 LEMP droplet and everything work fine so far. I can send & receive email and also successfully configured with round-...
0
votes
1
answer
430
views
why sed is not replacing special character <
I am trying to replace charater < with empty or no charaeter in this file /etc/dovecot/conf.d/10-ssl.conf
My script is
sudo sed -i 's/\<\/etc\/dovecot\/private\/dovecot\.pem/\/etc\/dovecot\/...
0
votes
1
answer
893
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 ...
0
votes
0
answers
629
views
Send email to gmail using postfix
I am trying to send an email to my gmail using postfix. I am using bash on ubuntu on windows 10. I have tried the website tutorials and was unsuccessful.
main.cf:
# See /usr/share/postfix/main.cf....
0
votes
0
answers
593
views
Can't send email from Ubuntu 18.04.2 LTS inside Vmware [duplicate]
I have Ubuntu 18.04.2 LTS installed on Vmware, inside Windows.
Using terminal, I'm trying to send a test e-mail using this command:
echo "Test Email message body" | mail -s "Email test subject" ...
0
votes
0
answers
72
views
Postfix and GMail
I have set up postfix on a server that it forwards root mail to my Gmail. I have a problem with postfix.
When mail from root@mydomain come to Gmail it goes to Inbox Folder and Send Folder. The Send ...
0
votes
1
answer
246
views
Removing mail-stack-delivery doesn't remove its components
Once I installed mail-stack-delivery
$ sudo apt-get install mail-stack-delivery
I decided I wanted something else, so I tried to uninstall it
$ sudo apt-get remove --auto-remove mail-stack-delivery
...
0
votes
1
answer
1k
views
Regex for fail2ban config file to match pregreet lines in mail.log
The lines in mail.log to match are like:
May 6 10:06:16 mikes-serverbox postfix/postscreen[15486]: PREGREET 14 after 0.1 from [173.225.99.104]:57130: EHLO ylmf-pc\r\n
May 9 11:36:36 mikes-...
1
vote
1
answer
2k
views
How to reject incoming e-mail with Postfix?
I would like postfix to not accept incoming mail. I do however use it for sending e-mail, so I cannot simply uninstall it.
How can I configure postfix to reject all incoming mail?
0
votes
1
answer
1k
views
Error when installing postfix 18.04 LTS
Haven't done much on this machine yet but when I try to install Postfix it does this to me. I am trying to build an email server for my Linux class.
root@mail:~# sudo apt-get install postfix -y
...
0
votes
1
answer
348
views
Postfix--running--SMTPS still is closed
I have created a certificate and applied all the necessary changes to configuration files in the postfix.main and postfix.master files. I also edited the dovecot.file to enable SASL-AUTH. I have made ...
2
votes
1
answer
3k
views
Cannot send mail from command line, sasl authentication error
I followed the instructions here How to send an email using command line?, but it dont work. When I test mailing someone it return:
(SASL authentication failed; server smtp.gmail.com[74.125.130.109] ...
0
votes
1
answer
2k
views
change outgoing (send only) email from www-data@ to info@
Running Ubuntu Server 16.04
having searched for days and tried many things that did'nt work, here i am.
I have a PHP script that sends email (out bound only) to a list of subscribers and it works fine!...
2
votes
3
answers
9k
views
Postfix continue sending mails with the hostname instead of the domain
I'm trying to configure Postfix to only send (not receive) emails. I have followed this guide, but I didn't change my hostname to match my domain, because if I can avoid it, I would like to do it.
So,...
-3
votes
1
answer
179
views
No report from backup.sh to mail
I have a problem with the backup report in Ubuntu Server 16.04. In /usr/local/bin I have backup.sh and for some time I do not get a report from this script to mail.
In /var/mail/nobody I see that ...
4
votes
1
answer
4k
views
DKIM failure 'body hash did not verify', but only on CRON output
I have successfully installed Postfix and OpenDkim on my server, and it's correctly signing mail from several different domains. The host we'll call webhost.example.com. It's running Ubuntu 18.04.2 ...
0
votes
0
answers
152
views
Emails that forward back to us from external SMTP server
I have a Mail server (FQDN: mail.ours.com) using Postfix and Dovecot, users having email address like [email protected]. Like many others SMTP server, if user claim that they are from @ours.com, they need ...
0
votes
0
answers
433
views
Gmail does not receive mail from my server
Install Postfix on my server
You have set all settings
But the problem is that the server sends mail to all servers except Gmail
Have any of you experienced this problem before?
How can I solve it?
1
vote
0
answers
1k
views
Mail sent successfully but failed to be received
I tried to send mail to personal email
me@host:~$ mail -s "Sending a Tesing" [email protected]
Cc: [email protected]
This is a testing mail.
The records :
me@host:~$ tail -n 15 /var/...
2
votes
1
answer
1k
views
Baffling menu when installing RKHunter
Someone advised me to install a program called rkhunter for security. I've tried to do so, just using the apt command at the terminal, but am presented with a weird message about e-mail servers.
I ...
0
votes
1
answer
4k
views
Ubuntu MX records
I am little confused about MX records.
At least I think that is the problem, I followed a lot of guides about how to setup postfix, postfixadmin, dovecot on my VPS with Ubuntu 16.04,
but I had no luck ...
0
votes
0
answers
231
views
POP3 problem. Cannot receive mail in Thunderbird
I'm having trouble with Thunderbird. Again.
When I click Get Messages it gives me this error:
When I click OK I get this:
I tried to enter a new password. changed the user password twice but it ...
0
votes
1
answer
2k
views
Someone used my postfix to send mails
I just received mail from my server provider that my server is sending mails..i don't know about these mails and i never used smtp of that server before..can anyone guide me how this is possible?...
0
votes
2
answers
323
views
Can I have a mail server and use gmail at the same time?
I am configuring a mail server (vps)
I installed Postfix and Roundcube, after some hours of configuration I got the connection with MySql and gmail working, the problem is I don't have a user yet so ...
1
vote
1
answer
98
views
Ubuntu postfix help
I now have this setup in postfix:
sudo nano main.cf
inet_interfaces = loopback-only
relayhost = [smtp.gmail.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/...
3
votes
0
answers
3k
views
Postfix: Allow only one specific sender to send email
I want to allow only one sender with a specific address to send email on the localhost
main.cf
smtpd_sender_restrictions =
check_sender_access hash:/etc/postfix/senders,
reject
senders
...
0
votes
0
answers
413
views
Dovecot-mysql has unresolved dependancies
I have set up a new Ubuntu 18.04 LTS server with a LAMP + Postfix + Dovecot setup. Almost everything is working but I am getting an issue with dovecot dependencies. I have installed dovecot-core using ...
0
votes
1
answer
882
views
hostname and /etc/hosts
I intend to purchase a domain, say for instance muppets.org, for my web server and I would like to install Postfix on the same machine for sending transactional emails.
Am I expected to set as ...
2
votes
1
answer
744
views
Postfix using gmail relay without a domain name gets dns error
When I send mails using sendmail or mutt, /var/log/mail.log shows that emails get delivered to smtp.gmail.com. I can actually see the email appearing in my Gmail outbox. However, I receive an error ...
0
votes
1
answer
2k
views
How to use cron job to execute python script that sends emails without using MTA?
I've defined a cron job which use python script to send mails to office365 users emails from office365 email.
15 16 * * * 3 cd /home/path_to_app && /home/path_to_env/flaskvenv/bin/python -m ...
1
vote
1
answer
444
views
Ubuntu Server 18.04 with Postfix
Good Day,
I have POSTFIX + Courier-IMAP + Courier-POP on UbuntuServer 18.04; The server has two network cards; 1 card connected to the Internet with Dynamic IP and the other card to the local network....
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 ...
0
votes
1
answer
1k
views
Sending email via gmail smtp ubuntu 18.04 php
In RoR in order to send email from the application, we simply provide smtp settings for gmail and the server start using them to send emails.
I have bought Active Super Shop Multi-vendor CMS which ...
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 ...
2
votes
2
answers
229
views
Strange symbols in front of suspicious services
I have an EC2 instance running a postfix-dovecot email server. I use an AWS security key to access this EC2 and I consider the security pretty tight.
When I run: systemctl list-units --type service --...