Questions tagged [smtp]

SMTP (Simple Mail Transfer Protocol) is a protocol that facilitates communication with a server application capable of sending electronic mail (e-mail).

Filter by
Sorted by
Tagged with
1 vote
2 answers
156 views

What is `postfix/smtps/smtpd` in my log file?

I know that postfix/smtpd is for incoming mails, smtp for outgoing mails. But I do see in my logfile several entries with postfix/smtps/smtpd. What is this for? Feb 22 10:57:55 mx postfix/smtps/smtpd[...
Lukas's user avatar
  • 41
0 votes
0 answers
145 views

unable to send/receive email in cpanel - SMTP error (504): authentication failed

I cant send Email in Roundcube webmail, when click to send I have this error: SMTP error (504): authentication failed I use CSF firewall and mail port is open. SMTP_ALLOWLOCAL is on, SMTP_BLOCK in on/...
omid's user avatar
  • 1
1 vote
0 answers
50 views

All SMTP mail goes through port 25 which is rejected by gmail and others

I set up postfix & dovecot using this and this. I can now receive mails OK. However, my outgoing mail is rejected, presumably because it's being sent on port 25. How can I force it to use 587 ...
Brendan Murray's user avatar
0 votes
1 answer
367 views

How to store the sasl password for Gmail from postfix?

Postfix works for sending mail to the localhost or the local FQDN, which is the hostname. Looking to send through gmail: nicholas@mordor:~$ nicholas@mordor:~$ swaks --to [email protected] -...
Nicholas Saunders's user avatar
0 votes
0 answers
288 views

Postfix is running but it is not listening in any port

this is the postfix status: ● postfix.service - Postfix Mail Transport Agent Loaded: loaded (/lib/systemd/system/postfix.service; enabled; vendor preset: enabled) Active: active (exited) ...
jstuardo's user avatar
  • 111
0 votes
1 answer
222 views

How to determine what's listening to port 25 on localhost?

How do I determine what's running on port 25 below? nicholas@mordor:~$ nicholas@mordor:~$ ss -tlpn sport 25 State Recv-Q Send-Q ...
Nicholas Saunders's user avatar
-1 votes
1 answer
543 views

Postfix outbound mail not passing SPF checks for gmail

Scenario I've had my mail with mediatemple for years but now that godaddy acquired them they have cut off my outbound mail and when I call in they are pushing microsoft 360 SO I've decided to roll my ...
Jacksonkr's user avatar
  • 341
1 vote
1 answer
183 views

Nullmailer with gmail saying user/pass not accepted but swaks can send test fine

So that's it in a nutshel. Ubuntu 22.04 LTC with nullmailer and mailutils installed. Tried a few different remotes configs but currently at: smtp.gmail.com smtp --port=465 --auth-login --user=...
Gilligan's user avatar
0 votes
3 answers
897 views

How does postfix intercept root's mail?

Quite a number of apps e.g. cron etc will send mail to root if there are errors. I saw some tutorials which involve installing postfix + quite a bit of configuration to have them forwarded to gmail or ...
bilogic's user avatar
  • 233
0 votes
0 answers
782 views

Using sendmail to send notifications (Fail2Ban) through Postfix relay

I'm still pretty much a complete neophyte when it comes to Ubuntu/Linux in general, but I'm familiar with how sending mail via SMTP works in general. So now I currently have two Ubuntu servers running ...
G_Hosa_Phat's user avatar
0 votes
2 answers
1k views

git send-email setup failure

I am unable to setup git send-mail to send a patch. os platform: Ubuntu22.04 LTS linux kernel: 5.15.0-58-generic git virsion: 2.34.1 I following these two guides. git setup guide microsoft smtp ...
Vishal Parmar's user avatar
1 vote
0 answers
99 views

How to send an ehlo test e-mail from calibre?

An excerpt from a failed test e-mail in calibre Starting job: Email book to [email protected] connect: to ('smtp.ionos.com', 587) None reply: b'220 perfora.net (mreueus004) Nemesis ESMTP ...
Nicholas Saunders's user avatar
0 votes
0 answers
1k views

smtplib.SMTPServerDisconnected: Connection unexpectedly closed Might this result from an already open connection?

The traceback points to: smtpserver.login(email, pwd) I've checked the recommended setup, and experimented and this is were I end. I've had the email app open separate from this testing, but ...
hertfordkc's user avatar
0 votes
0 answers
416 views

Thunderbird stops authenticating via gmail SMTP until restarted

I have Mozilla Thuderbird 91.11.0 (64-bit) configured with a gmail account and a MS account via Owl. My problem is that after an hour or two, outgoing mail via gmail and SMTP fails to authenticate ...
JoeBaloney's user avatar
0 votes
0 answers
111 views

Why do mail clients try to access my UBUNTU 20.04 Postfix (v3.4.13) outgoing mail server

I run a private mail server, however it is found by non associated mail clients that try to access the outgoing server smtp ports. Why and how does this happen? Is it hackers that look for machines ...
ScottD's user avatar
  • 1
1 vote
0 answers
2k views

Configure host base Postfix and send emails using a container

I have installed and configured the nano /etc/postfix/main.cf file for postfix in the host server and when I try to send it from the host server echo "Test Postfix Gmail SMTP Relay" | mail -...
hillsonghimire's user avatar
0 votes
0 answers
751 views

Can receive but can not send email ubuntu 20.04

I'm using Postfix, Roundcube 1.4.3 and devcot to receive and send emails on my vps server. I'm able to receive emails but the errors are occurring when sending the email, the mail never reaches the ...
Mwase's user avatar
  • 109
0 votes
1 answer
797 views

AWS SES send mail openssl authentication failure

I'm trying to send mail from an ubuntu client through the SES service from AWS. I'm following this tutorial. I've gotten all the way to the part where I actually send the mail. I have double and ...
jaredad7's user avatar
  • 135
1 vote
0 answers
340 views

How do I setup Alpine email client to connect my Gmail account using IMAP? (pine e-mail client)

After configuring alpine email client for ionos thought I'd try gmail, but can't seem to login. I'm using MFA on my gmail account. It's simply a fact that alpine will no longer work with gmail?
Nicholas Saunders's user avatar
0 votes
1 answer
255 views

How to configure alpine for ionos mail using the .pinerc file?

In using alpine I'm composing messages and see: HOST: smtp.foo.bar ENTER LOGIN NAME [nicholas] : ^G Help ...
Nicholas Saunders's user avatar
3 votes
0 answers
490 views

Reliable cron errors notifications, how to?

Please note: I did my research and experimentation, and I cannot solve this problem; there are many partial solutions that don't address all my points. Don't dismiss this question quickly. Scenario: ...
Alan Franzoni's user avatar
0 votes
1 answer
323 views

Problems sending with msmtp

I'm using notmuch message mode in emacs and I'm trying to send a message using msmtp. When I try to send a mail from within emacs it suddenly opens my default system email client, Evolution, and ...
RubyNoob's user avatar
  • 111
0 votes
0 answers
692 views

Port 25 (smtp) connection timed out

I created a postfix smtp server, earlier today it was working but now i can't connect to it. It gives me a "connection timed out" error. Even those online smtp checkers work. My friend also ...
HAHALOSAH's user avatar
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
9 votes
1 answer
17k views

msmtp: sendmail: account default not found: no configuration file available (system wide configuration)

I am trying to setup Ubuntu 20.04 with msmtp as a system configuration. I installed msmtp (v1.8.6-1) and heirloom-mailx (v12.5-2+deb7u1build0.14.04.1). Config file /etc/msmtprc (chmod: 600) has the ...
chribonn's user avatar
  • 291
-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
0 answers
1k views

Unable to Install Postal Mail Server on Ubuntu 20.04

I am using Digital Ocean VPS, having Ubuntu 20.04.1 and I am trying to build a new SMTP on Postal using Putty (SSH). When I copy paste the following command to install Postal, it is given me the error ...
Mr James's user avatar
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
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
0 votes
4 answers
2k views

Kmail not sending mail

I am asking this here because I could not find a solution anywhere on the web. KMail can currently receive my email but will not send any (either to mailing lists or to a regular address) The error it ...
Peterson Silva'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
1 vote
0 answers
3k views

Port opened with ufw shown closed by nmap

I need to open port 465 on my PC. I ran the following succesfully. root@user:/home/user# ufw allow 465 Rule added Rule added (v6) But when I scan with nmap. I get- root@user:/home/user# nmap -p465 ...
TheGamechanger's user avatar
0 votes
0 answers
2k views

How to forward all local SMTP requests on port 25 to a remote SMTP server on port 587

I'm trying to solve a problem with a bulky program that is, for some reason, only sending email over port 25, even when port 587 is specified. In this answer, someone suggests using the windows ...
nick carraway's user avatar
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
0 answers
516 views

How to install msmtpd on Ubuntu 18.04?

I'm able to install msmtp just find on Ubuntu 18.04 with: apt install msmtp msmtp-mta ca-certificates, however I'm not finding Minimal SMTP server (msmtpd) anywhere on the filesystem. It also does not ...
ylluminate's user avatar
  • 1,459
0 votes
2 answers
1k views

Mail body is missing, when tried from terminal

Mail body is missing while sending a mail from Ubuntu terminal as: echo "Test smtp" | sudo ssmtp -vvv [email protected] The mail is received, but it's body is empty. When I tried manually using the ...
Omi's user avatar
  • 9
-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 ...
Melody's user avatar
  • 13
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 ...
d1che's user avatar
  • 21
1 vote
1 answer
382 views

How to configure nullmailer to work with mailchimp?

As my title said i have some problem with configuration of nullmailer. Basicaly I have been following this website. I have made an account on Mailchimp - where I have send succesfully the test mail. ...
roffensive's user avatar
0 votes
1 answer
142 views

Would anyone know the source of this error in mediawiki?

Error sending mail: authentication failure [SMTP: Invalid response code received from server (code: 535, response: Authentication credentials invalid)]
Alireza Azimi's user avatar
0 votes
0 answers
592 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" ...
Rogério Dec's user avatar
1 vote
0 answers
316 views

Send mail notification Ubuntu 18.10 [duplicate]

I've set up unattended upgrades, and wish to receive an email on every update run to make sure it's running. For whatever reason, ssmtp isn't installing so isn't an option. How do I configure my ...
unixandria's user avatar
0 votes
1 answer
347 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 ...
user avatar
2 votes
1 answer
3k views

How can i setup and configure sendmail SMTP server to send bulk emails in UBUNTU?

I am working on an assignment in which i have to send bulk emails with sendmail SMTP server. I have tries many tutorial to setup sendmail server to send bulk emails but nothing helps me. Can anyone ...
Ammar Siddiqui's user avatar
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?
Ahmed Hekal's user avatar
0 votes
1 answer
2k views

Forward "local mails" to external SMTP server

I have a standalone 18.04 server just for running a simple LAMP website. Sometimes when I log in to the server I get notified that I have mail (like cron/at job outputs), and then I read them using ...
user3187356's user avatar
1 vote
0 answers
1k views

Exim: use /etc/hosts to resolve domain names

I have just installed exim4, and my /etc/hosts file looks like this: 127.0.0.1 localhost 127.0.1.1 mycomputer 192.168.100.5 rpi.mydomain.com However, when I run exim -bt [email protected]....
Flux's user avatar
  • 505
2 votes
3 answers
2k views

Can't resolve a domain in Ubuntu, but can in Windows?

A couple of days ago, I stopped being able to download my email from comcast via pop3. Every time I ask Thunderbird to get my mail, it says "Failed to connect to mail.comcast.net". Thing is, I can ...
Scott Jacobi's user avatar
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 ...
Qaiser Wali's user avatar
0 votes
1 answer
2k views

How to deny authentication on port 25 in Exim mail server

I have the following config in exim.cnf daemon_smtp_ports = 25:465 ######################## Exim TLS tls_advertise_hosts = * tls_on_connect_ports = 465 tls_certificate=/opt/ssl/...
Artex's user avatar
  • 163