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
0answers
16 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 ...
0
votes
1answer
33 views

Auto Blacklisting in Postfix

Is there a way to created a dynamic block list of spammers connecting to my Postfix mailserver? Without such a feature, spammers can make unlimited attempts to continue connecting unless a mail ...
0
votes
1answer
25 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 ...
0
votes
0answers
22 views

What is the safest catch-all e-mail address relay deploy I can aim for?

Given a gmail account (say me@gmail.com) where I want all my mails, a custom domain (say mysite.com) and a VPS with Linux on it, I would like to configure the system so that any e-mail sent at ...
0
votes
0answers
9 views

SMTP Relay for single IP

I have a two IPs, 172.25.0.1 and 172.25.0.2, and one relayhost smtp.example.com. Now I try to send mail via IP 172.25.0.1 and it's taken the smtp.example.com relay. It's working fine, with no issues ...
0
votes
0answers
64 views

bash script for sending an email with attachments using netcat or telnet

I would like to send an email with attachments to recipients. I tested sending an email without an attachment and it works fine using netcat. How would I do this with attachments? Do I need to use ...
0
votes
0answers
9 views

Why doesn't ddclient's mail notifications recognise smtpd's aliases?

I've configured OpenSMTP's aliases, with /etc/smtpd/aliases containing: root: pi pi: pi, foo@bar.com Hence, emails to root redirect to pi; those are then duplicated to an external email address. ...
0
votes
2answers
117 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 ...
0
votes
0answers
80 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 ...
0
votes
1answer
23 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 ...
0
votes
1answer
8 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 ...
0
votes
0answers
14 views

How do I configure SMTP to be able to send from multiple domains on linux using sendmail?

I have many websites hosted on the same server. I would like to use SMTP to send mail from each domain. Right now, it's restricted to only send from the one domain, seemingly the host name. How do I ...
0
votes
1answer
41 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 ...
0
votes
1answer
70 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/...
0
votes
0answers
20 views

How to install and config several domain to use SMTP server using Ubuntu

I am using Ubuntu 18.04 server. lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.3 LTS Release: 18.04 Codename: bionic With Apache2 apache2 -v ...
1
vote
1answer
27 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: ...
-1
votes
1answer
76 views

Help in debugging Exim4 SMTP AUTH 535 Incorrect authentication data

I followed this guide to set up TLS and auth. I have a username (usr) and a password (pwd) set in /etc/exim4/passwd and the files has the right permissions: -rw-r----- 1 root Debian-exim 51 ...
0
votes
0answers
20 views

postfix sendonly smtp-server, it wanted set email user@domain.com but i recieved email as user@localhost.domain.com

i installed on my Ubuntu-Server postfix, i set my dns mx-record=localhost.mydomain.com my hostname -f is = localhost.domain.com my postfix main.cf: smtpd_relay_restrictions = permit_mynetworks ...
0
votes
0answers
23 views

Is it possible to install smtp-user-enum on macOS?

I'd like to see if there might be a workaround to install smtp-user-enum on macOS, or does it only have to be installed on Linux? I'm copying the installation part of the documentation below, not ...
4
votes
1answer
545 views

Complete setup of Exim4 as SMTP to reach most inboxes as possible (correct configuration)

I have over the last days tried to setup Exim4 to handle all mails sent from a web application. It seems to be working, but I haven't found out how to hardcode the hostname which will be sent with ...
0
votes
1answer
50 views

Exim4 - set EHLO to mail from domain

How to set EHLO to the domain in the from/envelope-from domain? The SMTP server will send mails from different domains like @mydomain1.com, @mydomain2.com etc How to set the EHLO to the specifik ...
0
votes
1answer
40 views

Setup exim4 to send mails from web application

I want to setup my own SMTP server (only mail send) to handle all notification mails etc from my web application dpkg-reconfigure exim4-config Type: internet site FQDN: ...
1
vote
1answer
136 views

mutt: Could not connect to <smtp_url> (No route to host)

I recently installed neomutt on my fresh Arch installation. I setup my .muttrc as follows: # Receive mail set imap_user = name@example.org set folder = imap://imap.example.org/ set ...
0
votes
0answers
27 views

Manage data of connected mobile using USB in Debian 9 stretch with Nautilus

I'm new in Debian, Just like in Windows or if I not wrong, Ubuntu too, we can cut, copy, move and etc the directories and files just in Nautilus. How to open them in Nautilus? Currently with Debian ...
1
vote
1answer
156 views

What's the difference between an MTA and STMTP server?

Take postfix for example. It's an MTA, but is it also an SMTP server? Are all MTAs SMTP servers? Are any? Is there a difference between a mail transport agent and a mail transfer agent? Can an MTA be ...
1
vote
0answers
141 views

How to transform postfix in a mail trap?

To allow internal testing of a mail-intensive app, we'd like to use our actual smtp (we're using postfix & co) as a mail trap: we'd like to be able to use smtp with real mail addresses but it MUST ...
1
vote
0answers
54 views

Squid & email traffic (25)

I'm using AWS, all traffic routed out (https) via a squid Farm in an ASG to Elastic NAT gateways. I need to route smtp port 25/110 out via this route. However new to this stuff. I believe squid is ...
0
votes
0answers
173 views

relaying mails without authentication

I had to configure OTRS on a RHEL 7 system and one of the tasks was to configure the system to send outgoing mails from the ticketing system. I did so by adding the relayhost directive with the ...
0
votes
1answer
107 views

Postfix send e-mail on behalf of G Suite

I have a domain registered on G Suite and I'm building a app that needs to send Transactional email such as password recovery and email verifies. The smtp for gmail has a low quota for that. I need to ...
0
votes
1answer
215 views

Closing port 25 for SMTP when using Gmail via Postfix

On my server, I need to send email via Postfix. The SMTP settings are as follows and these work. Email is sent via Gmail properly: relayhost = [smtp.gmail.com]:587 smtp_use_tls = yes ...
-1
votes
1answer
99 views

Protecting an email-proxy (Gmail) account being used by a Mail Transfer Agent (MTA)

On Debian LAMP with different PHP based CMSs I use the MTA sSMTP to send email via an email proxy (Gmail); the emails I send are only contact-form inputs transferred from any such CMS to my own email ...
1
vote
0answers
92 views

How to install Postfix in an all default way (no setup wizard) and to be used with no email DNS records?

The following question is a follow up to this question. In a latest Debian 9 stable I desire to install Postfix to send email from my machine to my very own Gmail account by the quickest install ...
1
vote
3answers
624 views

Understanding sendmail binary

I have a website with some PHP based CMS on which I'm the only user. This website has a simple contact form (name, email, phone and body) by which I get mail from non registered users. One the one ...
2
votes
3answers
434 views

Why does cron use MTA to send emails, while we use MUA to send emails?

I have looked at the definitions of MTA, MUA, MDA, for example, https://ccm.net/contents/116-how-email-works-mta-mda-mua and https://en.wikipedia.org/wiki/Email_agent_(infrastructure) In Lubuntu, the ...
2
votes
2answers
72 views

Auto-notify when postfix requires TLS?

I've set up postfix on CentOS 7, and configured it to require STARTTLS to accept incoming mail. I've run into a couple instances where a server doesn't, for whatever reason, support TLS encryption, ...
1
vote
1answer
1k views

interactive SMTP command using telnet via a shell script

I'm trying to access a SMTP remote server thru a remote shell using telnet and a command file command.txt containing command to send to that SMTP server as seen on https://tecadmin.net/ways-to-send-...
2
votes
2answers
467 views

Configure Postfix to Send Mail Using Gmail in Ubuntu 16.04

I have configured Postfix to Send Mail Using Gmail. I have modified the file /etc/postfix/main.cf adding myhostname = fqdn.peris.app mydestination = $myhostname, peris.app, localhost, localhost....
4
votes
2answers
5k views

Ubuntu 18.04: Error with mailx smtp - mailx: unrecognized option “-S'”?

I was trying to send an email to multiple persons using mailx (mailx (GNU Mailutils) 3.4). I did that successfully on a previous version of Ubuntu, v16.04, and the script was working fine. Now I have ...
1
vote
0answers
1k views

CentOS 7 Firewall: How to allow SMTP outgoing emails with IPTables?

I am running a Spring-Boot Java application inside a Docker container on a server running CentOS 7. [root@dev-machine ~]# rpm --query centos-release centos-release-7-5.1804.4.el7.centos.x86_64 I ...
0
votes
1answer
66 views

Does an SMTP Server have to be reachable from outside our networks

We have an environment set up with VMs and docker container. Now I have installed an SMTP Server with PTR Record bind to an IP and on the IP there is an VM running with a docker container on which ...
1
vote
1answer
283 views

Mailgun SMTP protocol doesn't send emails

I use a script where I can manage mail configuration for Mailgun. Configuration seem to be OK but the register mail doesn't send from Mailgun logs. I can use SMTP or sendmail or email protocol. I ...
1
vote
1answer
2k views

How do I correctly configure exim4 on Debian so I can use `sendmail -t` to send mail via my office365 account?

I'm using Debian stretch (9.4). I have an office365 account. Using Evolution, I can successfully download mail via POP3, and also send mail using the Evolution "Sending E-mail" preferences: Server: ...
1
vote
2answers
4k views

How to send mails using SMTP server in Linux without error

I'm trying to send mail via SMTP server. And set /etc/mail.rc file with: set bsdcompat set smtp=smtps://smtp.gmail.com:465 set smtp-auth=login set smtp-auth-user=user@gmail.com set smtp-auth-password=...
1
vote
1answer
196 views

exim4 smtp connection to rogers.com

I'm trying to set up exim4 on my Debian/Buster server to work with my new ISP (Rogers.com). They require an SSL connection on port 465, which isn't unusual, but I can't get it to work. They do require ...
0
votes
1answer
476 views

iptables: Logging connections on port 25/TCP

I have KVM virtualization. I have over 60 interfaces: vnet1-60 - virtual; vmbr0 - bridge; enp2s0f0 - PHYSOUT; I need to know how many connection make each vnet interface. I have a rule like: ...
0
votes
1answer
564 views

Alpine with hotmail | SMTP | cannot send email

Dear Unix and Linux Community, I would like to use my hotmail account through alpine. I am using the POP3 protocol, and I am able to access the email from my Inbox. However, I am unable to send any ...
0
votes
1answer
227 views

mail should come with sender name not from root

When I am sending mail by using below command in RHEL 7.4 server, I am receiving mail from root@<server name with fqdn>. echo test|mailx -S smtp=mail.sap.corp -s "test" -v venkatesh....
0
votes
4answers
950 views

A utility to email myself if my site is down

I use Ubuntu 16.04 with Nginx and a few WordPress sites. Sometimes I don't visit a site for a long time (>=1 month) and it might be that the site is down. I'm looking for a small utility that will ...
1
vote
0answers
202 views

I used to be able to use gmail to email a file from my linux SBC, but now I'm getting an error

I used to be able to send files using: mpack -subject <somefile> me@example.com but now I'm getting the following message: sendmail: Cannot open smtp.gmail.com:587 My /etc/ssmtp/ssmtp.conf ...
0
votes
2answers
249 views

Different Outputs for MX Toolbox Port Scan and nmap

I am looking at which ports are open for a smtp host (this host is not mine), and I am seeing different outputs for each of two tools (MX toolbox port scan and nmap). The nmap scan shows that port 465 ...

1
2 3 4 5