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
5k views

Email client, "Mutt", is not sending messages?

I recently installed mutt on my computer... I configured my muttrc to be like this: set ssl_starttls=yes set ssl_force_tls=yes set imap_user = '[email protected]' set imap_pass = 'password' set from ...
1 vote
2 answers
129 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[...
0 votes
0 answers
116 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/...
1 vote
0 answers
46 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 ...
0 votes
1 answer
330 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] -...
7 votes
2 answers
9k views

Easiest way to setup a SMTP server to receive mail?

I want to setup a SMTP server to receive all mails. I have only found mail sending software so far (like postfix). But I want to have software to make the server being able to receive mails. Bonus ...
0 votes
0 answers
248 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) ...
0 votes
1 answer
176 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 ...
2 votes
2 answers
11k views

Can't connect to smtp.gmail.com on port 465 or 587

I have an Ubuntu 14.04 (Trusty Tahr) is mounted on AWS and i cannot connect to the SMTP GMail service vía: SSL(465): ## $ telnet smtp.gmail.com 465 ## Trying 74.125.28.109... Trying 74.125.28.108... ...
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 ...
-1 votes
1 answer
523 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 ...
1 vote
1 answer
182 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=...
0 votes
3 answers
855 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 ...
0 votes
0 answers
736 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 ...
0 votes
2 answers
996 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 ...
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 ...
1 vote
3 answers
4k views

How can I change EXIM4 config from warn on no reverse DNS to actively rejecting mails with no reverse DNS

By default EXIM4 only warns about mails with no reverse DNS. I need to block and actively reject mail which has no reverse DNS. I am willing to accept that it's possible that some legit mail will be ...
1 vote
0 answers
98 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 ...
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 ...
0 votes
0 answers
406 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
108 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 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 -...
0 votes
0 answers
747 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 ...
2 votes
3 answers
3k views

Claws mail 3.11.1 Could not queue message for sending

Have been using Thunderbird for some time then installed Claws mail and both worked on same Pc. What i liked about Claws that it authenticate connection and bind to a specific PC across different ...
0 votes
1 answer
789 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 ...
1 vote
0 answers
337 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
247 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
484 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
318 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 ...
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 ...
25 votes
4 answers
97k views

How do I configure exim4 to send mail through a password protected ssl smtp mail server?

I'd like my cronjobs to be able to send mail from my home computer. My servers configure exim4 like this: dc_eximconfig_configtype='internet' dc_other_hostnames='' dc_local_interfaces='127.0.0.1' ...
0 votes
0 answers
688 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
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 ...
2 votes
2 answers
5k views

Exim not able to listen on port 465 or 587 for TLS connection

I am configuring Exim on a Ubuntu server to send and receive mails via TLS. Followed many guides which shows on how to configure Exim with TLS but still my Exim doesn't listen on 465 or 587 Exim ...
2 votes
1 answer
4k views

Unable to clean sendmail/ssmtp output queue

I have an old message stuck somewhere. The recipient's address is invalid and the system keeps trying to re-send despite mail output queue being supposedly empty. Any ideas where I should look for the ...
4 votes
3 answers
9k views

Evolution sending Email Settings

Can receive Comcast mail with evolution but cannot send. The SMTP settings record more digits when clicking the Server Configuration apply key. Sending ([email protected]:tenz222) port587 After ...
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 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
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
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
3k views

How to set up SMTP?

I want to send mail from a local server. I tried to install sudo apt-get install postfix but it showed this error Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/p/postfix/postfix ...
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
862 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 ...
1 vote
2 answers
6k views

Sending Emails from existing SMTP host from Ubuntu Server

I feel like my problem is very simple, but I've been trying for quite some time and haven't cracked it. You experienced server guys will probably laugh at this, but I'm finally at the point I need ...
2 votes
1 answer
733 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
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
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 ...
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 ...
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 ...
5 votes
2 answers
24k views

Mail Server: system requirements

I want to create a mail server for personal use. It will be used mainly by me and possibly some family members. The system load will be in the order of 5-10 IMAP mailboxes, all for "human" use: no ...