Questions tagged [smtp]

SMTP is a protocol built upon TCP/IP, used for outgoing email transmissions, and email relaying. It uses ports 25 (clear) and 465 (SSL) by default.

Filter by
Sorted by
Tagged with
0 votes
1 answer
37 views

Python Scrips on Raspberry - ssh works, cronjob doesn't

I wrote a python script that checks a website and eventually sends an email. I copied the script to my raspberry and when I execute it via ssh it works fine. But when I let it execute by the crontab ...
user avatar
  • 1
0 votes
0 answers
81 views

Telnet error - "Connection timed out"

I am trying to telnet a port at a client's location. telnet someexampledomain.com 25 It shows: Trying someexampledomain.com... telnet: connect to address someexampledomain.com: Connection timed out ...
user avatar
  • 101
0 votes
0 answers
11 views

Should mail clients ignore the "Sender:" field?

I thought I knew something about SMTP but obviously you learn every day. So, imagine a department in a large organisation (say, a local Council). There are a number of humans managing a shared email ...
user avatar
2 votes
1 answer
66 views

How can I make GNU mailutils to use an external SMTP server?

Does anybody on this planet know what the equivalent GNU mailutils command to the following looks like? Is this even possible without a local MTA with mailutils? Using s-nail it works as intended. s-...
user avatar
0 votes
0 answers
33 views

Is it possible to use an IMAP backup server as main IMAP server for my mailboxes?

The normal setup using an existing provider is: [PROVIDER-MAIL-SERVER] [IMAP/POP3 >] ---------> [EMAIL-CLIENTS] [Storage] The problem here are the small storage from the ...
user avatar
0 votes
1 answer
48 views

Send-only SMTP mail via postfix rejected by relayhost (550-Please turn on SMTP Authentication)

I want to configure a Centos 8 machine to send emails via an external SMTP relay. (I control the Centos box and have no control over the external relay). I've read countless posts on how to set up ...
user avatar
  • 377
1 vote
1 answer
1k views

Upgraded Postfix and now seeing "discarding EHLO keywords: CHUNKING" in maillog

Upgraded Postfix to 3.5.8-2.el8 on RHEL 8.5 and started seeing below in /var/log/maillog: postfix/smtpd[7575]: discarding EHLO keywords: CHUNKING Reviewed main.cf and master.cf but can't see any ...
user avatar
  • 1,880
0 votes
2 answers
75 views

Postfix cant fix open relay

postfix configuration: ~ # postconf -n | grep mynetworks mynetworks = 127.0.0.0/8 mynetworks_style = host smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject ...
user avatar
1 vote
1 answer
36 views

clamsmtpd won't start with the user specified in clamsmtpd.conf

Since I upgraded my server from Debian Stretch to Debian Buster, clamsmtpd is always running under the clamsmtp user althoug I specified to run under the clamav user in /etc/clamsmtpd.conf file. Here ...
user avatar
0 votes
1 answer
453 views

Postfix error for office365: TLS library problem - wrong version number

I am trying to reconfigure a (currently working) debian 10 postfix configuration because we have moved to Office365 as SMTP server. The postfix mail configuration is only used for sending out mails ...
user avatar
0 votes
0 answers
35 views

How to test starttls+sasl config?

I have a requirement to provision SMTP authentication services running in the cloud. I have setup postfix and confirmed that it does not allow relaying without authentication (tested with telnet) and ...
user avatar
  • 4,225
0 votes
1 answer
181 views

Can msmtp rewrite *all* recipient addresses?

I'm using msmtp to deliver system email from an Ubuntu server via an SMTP account. Can I somehow configure this setup to rewrite all emails to one specific recipient address? If so, how? Or put ...
user avatar
  • 120
2 votes
1 answer
506 views

mutt error sending mail: gnutls_handshake: An unexpected TLS packet was received

I keep on getting an error as indicated by the title sending email in neomutt, This is what I put in my muttrc: set from = "myemail@domain.ca" set realname = "my name" set ...
user avatar
1 vote
2 answers
936 views

Postfix: sending outgoing mail through port 465/587 locally

I've got a mail server set up using postfix, dovecot, opendkim, and spamassassin. After a bit of hassle, I managed to get incoming mail working--I even set this account up using that server. However, ...
user avatar
  • 31
0 votes
1 answer
442 views

How can I identify what process is sending emails?

My email service provider has informed me that I keep hitting my daily SMTP quota limit and has identified one of my servers as sending email from a root account. I've disabled any cronjobs that were ...
user avatar
  • 101
0 votes
0 answers
488 views

Postfix: 554 5.4.0 Error: too many hops

I've got a mail server set up using postfix, dovecot, opendkim, and spamassassin. After a bit of hassle, I managed to get incoming mail working--I even set this account up using that server. However, ...
user avatar
  • 31
0 votes
1 answer
307 views

Postfix: "Relay access denied"

I've been trying to set up a mail server, with dovecot, postfix, opendkim, and spamassassin. After some hassle I managed to get incoming mail working (I signed up for this account with the email!). ...
user avatar
  • 31
1 vote
1 answer
41 views

Relay access denied only for one machine?

So i have a postfix relay that works for my first machine (SLE12 SP5) but not for my second one (SLE12 SP4). Both machines are in the same domain, they are also in the same local network and same ...
user avatar
0 votes
0 answers
100 views

Connection refused when trying to connect to Postfix

I have configured a little SMTP, IMAP server using Postfix + Dovecot on my main VPS. The server seems to be reachable by doing some tests from my home PC (I have configured Thunderbird and it works ...
user avatar
0 votes
0 answers
163 views

connection to blacklisted host DNSBL

I’m trying to build a mail server, but when I tried to check the if TCP Port 25 (outbound) is blocked or not I got the following root@mail:~# telnet gmail-smtp-in.l.google .com 25 Trying 74.125.71.27… ...
user avatar
0 votes
1 answer
63 views

sendmail not delivering all email in 50 messages batches immediately [closed]

I'm programmatically sending email to somewhere between 1 and 50 emails. The program is creating and handing off the emails and many are sent immediately. However, i frequently get some that are ...
user avatar
  • 13
0 votes
1 answer
73 views

How to setup SMTP authentication for a backend-frontend contact form in a Linux environment (CentOS)?

On a CentOS-Bash shared hosting environment I host a website with a simple backend-frontend contact form with the PHP mail() function. Test emails can reach my Gmail account but if they do reach it at ...
user avatar
0 votes
0 answers
388 views

Can't open port 465 on Manjaro/Arch

I have been trying to send an email to gmail through nodemailer, but it gave me the following error: Error: queryA EREFUSED smtp.gmail.com at QueryReqWrap.onresolve [as oncomplete] (node:dns:209:...
user avatar
1 vote
1 answer
55 views

Can I delay exection or otherwise postpone an outgoing netcat connection within a pipe?

I'm not sure if this is an XY problem, but I have to aupport a horrible piece of software that won't talk to modern mail servers properly. It can only do SMTP and insists on providing AUTH ... even ...
user avatar
  • 1,076
1 vote
2 answers
255 views

Unable to send out emails from my Linux Host

Unable to send out emails from my Linux Host. Below is the command I try: echo "This is the message body and contains the message" | sudo mailx -v mypunnq@gmail.com -s "This is the ...
user avatar
  • 297
1 vote
0 answers
78 views

SMTP Server Mail Alerts using TLS and authentication

i am a bit new in using SMTP server Alert configurations on AIX 7.1 OS . i am currently using below syntax which is running fine : mail -s "Subject" "abc@test.com" < /path/to/my/...
user avatar
0 votes
0 answers
64 views

simpler alternative to Dovecot for receiving emails on Centos 8

We want to receive emails on our server, so when we setup MX DNS record, the emails sent to that domain could be seen on the server I wonder if there is any simpler alternative to Dovecot for ...
user avatar
0 votes
1 answer
41 views

Is my server using SSL encryption to deliver e-mails?

I have deployed a little mail server using sendmail. I think the agent is properly configured to accept delivery requests both with and without encryption. That's because, with the following telnet ...
user avatar
0 votes
1 answer
24 views

A Record Configuration: Host Content on Webserver IP and Smtp IP From Another Server

I’m stuck on a basic dns issue here "I think". I can send email but unable to receive. What I want to achieve is host webfiles of my webpage on 184.69.151.38 and use smtp ip from 193.47.34....
user avatar
0 votes
1 answer
10 views

How can I create a user that is just used for STMP authentication in Redhat 6

I want to create authenticating user for SMTP on RedHat 6. When a user needs to use exim4 smtp user must be used but not for ssh or anything else.
user avatar
0 votes
1 answer
37 views

How do I assign an Ubuntu user to SMTP service for authentication?

I need to lock down my SMTP port with authentication. How do I assign a user to it that doesn't have root access?
user avatar
0 votes
0 answers
48 views

How to use IFS in a smtp email

I have a text file with that contains 1 2 3 4 5 When I send a email using SMTP the format shows 1 2 3 4 5 I want it to display vertically. Here is what I have. file=$(cat file1.txt) echo -e "...
user avatar
0 votes
1 answer
466 views

Alpine email client: send mail from a different server via ssh

I have suffered from important emails not being received, while I do not receive a bounce message. I wonder whether one factor in this problem is that my laptop, which sometimes has a dynamically-...
user avatar
  • 121
1 vote
1 answer
75 views

outgoing smtp choose server based on From address

I use an email client called Alpine. Currently I start it in one of several different modes in order to specify the outgoing SMTP server based on what I'm doing, in particular the From address that I ...
user avatar
  • 121
0 votes
1 answer
193 views

"Unable to set AuthPassword" ssmtp

I am setting up smtp to sent mails via terminal and getting "non-zero" status. In my log files there is a log about "Unable to set AuthPassword" password contains characters and ...
user avatar
  • 3
1 vote
0 answers
65 views

Can't login with Mac mail smtp can't /send or receive emails with dovecot/postfix

I set everything up following guides. Every test I run tells me it's all working but I can't log in with Mac mail with -o smtpd_sasl_auth_enable=yes when I turn this to no I can log in with Mac mail ...
user avatar
0 votes
1 answer
159 views

block IP or spam or another problem

I setup an SMTP server(Postfix), Then I send an email to my gmail, I get the following email from gmail: This is the mail system at host mail.pahlevanzadeh.net. I'm sorry to have to inform you that ...
user avatar
  • 10.2k
0 votes
2 answers
87 views

(Noob) Is giving root-only permission to hide python script good?

I don't want people to see my python script and my searches tell me that it's not really possible, but will setting the python script read access to root-only work? Is there a downside to this? The ...
user avatar
0 votes
1 answer
191 views

Is there any IMAP/POP3 rely and archiving server application?

Classic email setup: [REAL-MAIL-SERVER] [IMAP/POP3 >] ---------> [EMAIL-CLIENT] [Storage] Is there any server application (open source) that would permit to store ...
user avatar
  • 12.7k
1 vote
0 answers
279 views

msmtp with iCloud account doesn't work

I'm very new to Linux (Raspbian at Raspberry Pi 4 Model B) and I just try to send an e-mail via command line. Right now, this is working with msmtp and a gmx.de account following this guide. apt-get ...
user avatar
  • 115
0 votes
0 answers
22 views

squirrelmail installed, but no send / receive email

I recently installed squirrelmail on Ubuntu 18.04 server mostly following the guidelines in How to setup a mail server on Ubuntu 18.04? I am able to use login from browser, but when trying to send ...
user avatar
  • 121
-1 votes
1 answer
172 views

Auto Blacklisting in Postfix

I have numerous Postfix directives which successfully limit abuse. HOWEVER: After a restriction is enforced, the abuser just reconnects and goes through the complete process of re-failing the same ...
user avatar
  • 1,880
-1 votes
1 answer
1k views

How to Create a PTR Record for AWS Mailserver's Elastic IP Address

I configured an SMTP server (Postfix) on an AWS instance. However, as a defense against spam most well-managed emailservers will reject messages sent from any host whose IP does not resolve back to ...
user avatar
  • 1,880
0 votes
2 answers
2k views

sendmail - sendmail using relay (Why it doesn't work?)

I am trying to configure configure sendmail to use a relay. I've tried several procedures, but I don't know why it doesn't work since the same relay is used by other services and it works. Below is ...
user avatar
0 votes
0 answers
739 views

Whitelist sender SMTP Server in Postfix header_checks

I'm trying to whitelist a SMTP server in my postfix header_checks configuration file. To prevent Phishing mails we reject all external mails to our internal network with our company domain as e-mail ...
user avatar
0 votes
1 answer
457 views

Setting up smtp server for local use only

So I have a security cam that will send out an email notification anytime motion is detected. I got this to work with gmail and it will properly send out an email. However, I don't want to use gmail ...
user avatar
0 votes
1 answer
37 views

courier-mta (esmtpd) only delivers messages to /var/lib/courier/tmp

I swear that courier-mta was working before, but now it has stopped working. The problem first started out with getting "submit: Permission denied" errors and I was unable to send emails to the ...
user avatar
0 votes
1 answer
322 views

I want to configure postfix to use a relay smtp server, so that drupal uses postfix, but I don't know how to do it and I'm trying all I know

Objective I want to be able to send emails with drupal 8 using postfix. The latter is configured to use a relay server. For example, I'm using the module webforms, so I could test the sending of ...
user avatar
0 votes
1 answer
221 views

How to read mail using terminal?

I've set up my my smtp server using ssmtp which I set up as default. So now I can send emails using mail and I'm receiving them(checked on my phone), but I can't read them using mail, or by cat /var/...
user avatar
  • 113
1 vote
1 answer
195 views

How to tell sendmail to send out all mail using Mandrill smtp, smtp port, username, api key?

How to tell my CentOS sendmail to send all the mails of my incoming SMTP using following credentials (which is a third party service, who deliver my mails)? Host smtp.mandrillapp.com Port 587 SMTP: ...
user avatar

1
2 3 4 5 6