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
0 votes
0 answers
31 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 ...
1 vote
0 answers
23 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 fake6546565345@kindle.com connect: to ('smtp.ionos.com', 587) None reply: b'220 perfora.net (mreueus004) Nemesis ESMTP ...
0 votes
0 answers
218 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 ...
0 votes
0 answers
169 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 ...
0 votes
0 answers
173 views

Send email with CURL - it returned 0 for CURL command but the receiver didn't receive attached files

I have a shell script running on a container CENTOS 7 to send automatically emails. To send email, I use SMTP server (private) via CURL (version 7.29). The code send_pdf(){ receiver="$1&...
0 votes
0 answers
178 views

NGINX not working with nodejs SMTP server

I made a SMTP server in nodejs using "smtp-server" module and tested its working using a mail sending program and tested it on local machine with program as bellow: SMTP server: const ...
0 votes
0 answers
50 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 ...
  • 1
1 vote
0 answers
1k 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 -...
0 votes
0 answers
532 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 ...
0 votes
1 answer
461 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 ...
  • 125
1 vote
0 answers
195 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?
0 votes
1 answer
151 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 ...
3 votes
0 answers
203 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: ...
0 votes
1 answer
237 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 ...
  • 111
0 votes
0 answers
485 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 ...
0 votes
1 answer
2k 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 ...
  • 63
7 votes
1 answer
11k 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 ...
  • 261
-1 votes
1 answer
979 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 ...
  • 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 ...
0 votes
1 answer
983 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 '...
  • 1
0 votes
1 answer
576 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 ...
0 votes
3 answers
1k 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 ...
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 ...
1 vote
0 answers
2k 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 ...
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 ...
3 votes
1 answer
1k 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
0 answers
411 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 ...
  • 1,129
0 votes
2 answers
766 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 test@test.com The mail is received, but it's body is empty. When I tried manually using the ...
  • 9
-1 votes
1 answer
39 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 ...
  • 13
0 votes
1 answer
2k 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 ...
  • 11
1 vote
1 answer
355 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. ...
0 votes
1 answer
117 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)]
0 votes
0 answers
550 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" ...
1 vote
0 answers
296 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 ...
0 votes
1 answer
253 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 ...
0 votes
0 answers
341 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?
0 votes
1 answer
1k 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 ...
1 vote
0 answers
912 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 john@rpi.mydomain....
  • 445
2 votes
3 answers
1k 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 ...
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 ...
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/...
  • 163
0 votes
1 answer
1k views

Simple Mail/SMTP Server with DKIM

I want o set on my Linux machine(Ubuntu Server 18.04) a simple email server. I need to: be able to create emails be able to forward (receive in one email) and sent to others Not deliver itself ...
2 votes
0 answers
458 views

Postfix SMTP lookup in /etc/services failed

I am running a postfix server on Ubuntu 16.04. Probably related to an update the mail server did not work anymore. The log tells: postfix/master[4590]: fatal: 127.0.0.1:smtp: Servname not supported ...
  • 21
10 votes
2 answers
13k views

Why was heirloom-mailx deleted from Ubuntu 18.04?

It broke my mail agent, since I need to redirect to an external smtp server, and nothing else seems to do that properly.
2 votes
0 answers
445 views

How to set the from header for outgoing system email messages that are sent via msmtp on Ubuntu 16.04 LTS

I have setup msmtp on Ubuntu 16.04 LTS to deliver system email messages (cron, etc) to my inbox using an external smtp server. I use the packages msmtp-mta, ca-certificates, heirloom-mailx The ...
  • 121
0 votes
0 answers
841 views

How to set a local smtp server to send anonymous e-mails

My attempt is to send an e-mail from [non_existing_email@address.com] to [address]@[random.com], which exists, in an unauthorized way. I have tried generic solutions i.e. 1) which is the basic case ...
1 vote
1 answer
13k views

Reverse DNS does not match SMTP Banner

I installed Postfix on my Ubuntu 16.04 server ( DigitalOcean ) , for my site: example.com I added an A record mail.example.com and an MX record for example.com handled by mail.example.com it' ...
  • 113
0 votes
1 answer
13k views

How to check whether port 25 is open or not from ssh access to server [duplicate]

I have ssh access to my Linux server and I want to check whether port 25 open or not. I discussed with hosting service provide and they said port 25 is open. I checked using PHP script for port 25 ...
1 vote
1 answer
248 views

Erratic 'connection refused'

I am unable to send emails from smtp-mail.outlook.com ufw and antivirus are disabled: Sending of the message failed. The message could not be sent because connecting to Outgoing server (SMTP) smtp-...