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.

learn more… | top users | synonyms

0
votes
2answers
930 views

Exim4 550-Verification failed - how to allow any sender?

Mail sent from a daemon on my server connecting to exim4 daemon light using SMTP seems to be being frozen. In the exim4 log: 2014-10-01 09:52:19 1XZKKJ-00049R-8p <= noreply@example.com H=localhost ...
3
votes
1answer
22 views

Syntax of smtp_url in muttrc

I'm trying to configure mutt just for the purpose of sending short report e-mails from a command-line at the end of a cron job, on a headless server. Most advice on mutt is how to set it up fully as ...
2
votes
1answer
2k views

SMTP connectivity issue in Zenoss (“Connection unexpectedly closed”)

I am using Zenoss for monitoring purpose. I have been using its mail service for a long time. Suddenly my mail service in zenoss stopped and started showing <class 'smtplib.SMTPServerDisconnected'&...
0
votes
1answer
1k views

Why use user@privatedomain@smtp.gmail.com in Mutt configuration file?

I cannot authenticate to my university smtps server with Mutt, with the same error message as http://askubuntu.com/questions/81924/sasl-authentication-failed-with-mutt-and-gmail-why/ L'...
4
votes
2answers
84 views

Postfix: prevent users from changing the real e-mail address

My postfix e-mail server is finally working well. Now, I need to prevent users from forging their e-mail addresses in the client programs in the "from" field in the header, because a user can send ...
2
votes
2answers
56 views

How to change the communication port between postfix and other servers?

I am having this trouble with our mail server (postfix): I try to send a test mail using mail command and it runs ok: mail mailamilmail@gmail.com Subject: bla bla (CTRL+D) But when I look to tail ...
4
votes
2answers
1k views

how to find out the full path of the command from the result of lsof -i

lsof is a great utility, just now started using it. lsof -i | grep smtp => this give the following result. httpd.pl 212548 global 3u IPv4 893092369 0t0 TCP server07.host...blah.....
0
votes
0answers
33 views

opensmtpd - configuration for sending email only

So what do I want for a unix server (OpenBSD 5.9 for the record): smtpd is OpenSMTPD 5.9.1 send email to the "Internet" from local users with "from" in enveloppe and "From:" headers to be of the ...
0
votes
3answers
2k views

mailx: nss-config-dir=/etc/pki/nssdb/: No such file or directory

I am trying to send email using mailx using remote SMTP server (in my case it is office365 SMTP Server). Here is the command: # echo "THis is the Body of the email" | mailx -v -s "This is email ...
0
votes
2answers
13k views

sendmail not working

I have a website where mails are sent. Those mails from website (contact mail, booking mail) are being sent well. But when I go to shell with ssh and give sendmail myemail@mail.com it is not sending. ...
0
votes
0answers
42 views

Why don't I receive mail although I get a 250 OK response?

I'm trying to send a mail with telnet. Everything seems to be OK but I don't receive the mail. Here is what I do inside my terminal on Debian 8: telnet localhost smtp 220 simon ESMTP Exim 4.84_2 Tue,...
-1
votes
4answers
9k views

What is the equivalent of telnet localhost 25 with ssh?

What is the equivalent of telnet localhost 25 using SSH ? Clarification : I would like to have an SMTP connection with a server using SSH, just like it can be done with a command like telnet ...
-1
votes
2answers
3k views

SMTP issues - unable to connect : CentOS 6.5, Postfix, Dovecot, MySQL

I'm trying to setup an email server on a CentOS system with Postfix, Dovecot and MySQL. I'm following this article for an Ubuntu system: https://library.linode.com/email/postfix/postfix2.9.6-...
0
votes
0answers
29 views

mail server for small MX domain & few email accounts

Is there some free software mail server for Linux (at least IMAP + SMTP), offering also some web interface and good spam filtering, which is specialized for small MX (in the DNS) sense, and few email ...
0
votes
2answers
566 views

Trying to use TLS SMTP against Exim, getting Security Error back; what's wrong?

OS: FreeBSD9 64 Bit MTA: EXIM4 with TLS with Self Signed Certificate. I am using telnet myserver.com 25 EHLO dummy@dummy.com STARTTLS It says TLS go ahead And then I issue MSG FROM: me@me....
1
vote
0answers
33 views

OpenVPN block SMTP Access Server completely

I've tried almost all iptables rules to block smtp on openvpn server but still clients clients can access remote smtp servers on port 25. I'm using openvpn access server. It's creating two interfaces ...
0
votes
0answers
73 views

`SMTP session failed: 501 5.5.4 connection. dafafkKHJDHJSnaf.50 - gsmp` error in mutt

My mutt was working fine a week ago. Suddenly it has stopped working with gmail. It throws the following error: SMTP session failed: 501 5.5.4 connection. v9sm74425825pfi.50 - gsmtp When I postpone ...
1
vote
1answer
82 views

Produce bounce message when Sendmail fails

I'm trying to receive a bounce mail message when an outgoing message cannot reach smtp external server (due to my local internet connection problems). I send emails using: mutt (compose) - procmail - ...
0
votes
2answers
371 views

Can I view my Microsoft Exchange Online Archive via Davmail in Thunderbird

I have successfully set up Davmail on Ubuntu 14 and am able to read, receive and send mail on my Exchange account in Thunderbird. This page was a big help!: http://nknu.net/ubuntu-14-04-exchange-...
7
votes
1answer
10k views

Postfix: disable authentication through port 25

When using Postfix and IMAP on a mailserver, at least 3 ports are usually opened 25 smtp : incoming emails from anybody (whole internet) 465 smtps : outgoing emails from authorized users (to the ...
0
votes
0answers
25 views

RHEL Jenkins email notifications failing

RHEL Server release 6.7 (Santiago) I know there have been multiple questions about this on SO (none of which have helped me solve my problem), but I think my problem pertains to Linux more so than it ...
0
votes
1answer
64 views

How to turn off SMTP port in Solaris

I want to turn off SMTP port in Solaris server. I am getting follwing Message. /var/adm/messages:Mar 10 06:18:08 sendmail[20024]: [ID 702911 mail.alert] /var/adm/messages:Mar 11 06:18:08 sendmail[...
0
votes
1answer
101 views

too many connection to SMTP server in exim_mainlog, How to solve it?

It is a cPanel server and from /var/log/exim_mainlog, I can see that, there are too many connections to the server. Mostly the number of action connection will be less than 25. But even after ...
0
votes
1answer
55 views

what is exact meaning smtp_receive_timeout in exim.conf?

what is the exact meaning of smtp_receive_timeout in exim.conf ? Is it timeout for receiving the data after rcpt to ? Or is the total timeout for complete receiving a mail data ? Or If there is no ...
0
votes
1answer
196 views

Firewalld says a port is open, but nmap says its closed

On my CentOS 7 install I'm having trouble connecting one of my email accounts made on the server as an alias on Gmail. I have run the following commands: firewall-cmd --permanent --zone=public --...
1
vote
1answer
1k views

Emails not sending to one specific domain

We have a AWS server where emails are delivered to domains other than our own domain. I have confirm that I can send an email to my gmail account but I can't send to my hosted gmail account. So for ...
1
vote
0answers
56 views

how to find default SMTP server name?

I have a python script which uses smtplib to send out an email. I am not sure what to use for mail server name in the smtplib.SMTP initialization. On my test server I use the below and it works fine. ...
0
votes
2answers
88 views

How can I make Google Apps trust my Unix/Linux servers to send email?

I would like to use the regular mailx package's /bin/mail app to send email alerts: echo "Testing alerts from prod server" | mail -s "Example email" user@mydomain.com I control DNS for mydomain.com....
37
votes
5answers
113k views

Can I set up system mail to use an external SMTP server?

Is it possible to set up system mail on a linux box to be sent via a different smtp server - maybe even with authentication? If so, how do I do this? If that's unclear, let give an example. If I'm at ...
1
vote
2answers
2k views

postfix multidomain myhostname configuration

I have two IP address running on Postfix and each IP has own domain. In short i want to isolate domain so outside folks think it is running on own IP and fully isolated even PTR also But in postfix ...
1
vote
0answers
194 views

gpg: passwordless decryption works in terminal, but not in tmux based msmtp/mutt (can't open /dev/tty)

first try: (with --no-tty in my msmtp config) (reboot) head -n 1 ~/.gnupg/gpg.conf use-agent gpg agent is started: % systemctl --user status gpg-agent.service gpg-agent.service - GnuPG private ...
1
vote
1answer
182 views

sending mail using telnet [closed]

I'm trying to send mail via the telnet command. I've looked at several tutorials online to use telnet <servername> 25. But I've tried telnet mail.aol.com 25 and it gets stuck on trying <...
9
votes
1answer
6k views

mutt SMTP TLS error sending mail

When I try to send a mail, I get the following error: gnutls_handshake: An unexpected TLS packet was received. This is my .muttrc (myname, myaddress and mymail are placeholders): # Automatically ...
1
vote
2answers
43 views

Debugging “unable to connect to sendmail server”

In a corporate environment, we have a mail server which has only ports 25/tcp and 587/tcp available. When we use Perl Scripts (using HTML::Mail) to send hundreds of legitimate mails, it occasional ...
1
vote
1answer
99 views

Postfix using external smtp server problem

I am not sure if this is the right stack exchange for my question, there are multiple stack exchange were my question might fit. I have setup my postfix configuration to send my emails through an ...
1
vote
1answer
46 views

Does SSMTP cause spam issues?

I am currently using SSMTP to send email notifications from my Icinga server. I am using my web host's STMP server to send the mail, with working authentication details [ eg icinga@domain.com ] When ...
0
votes
0answers
118 views

I use OpenSMTPD on OpenBSD 5.8! How can I automatically encrypt E-mail with OpenSMTPD

How can I automatically encrypt all outgoing E mail? My scenario: I use XXXX@gmail.com as my relay for all Emails my OpenSMTPD Server forwards All Emails to me as well as all Emails from somewhere to ...
0
votes
1answer
2k views

setting up a relay port for postfix smtp on CentOS 7

A CentOS 7 server has postfix, dovecot, and mailx installed. I am able to make an IMAP connection to the server from my remote Thunderbird client running on my local devbox. But I am not able to ...
-1
votes
1answer
174 views

Why are my emails generated with Python stuck in mail queue

I'm trying to send emails programmatically with Python. The emails stay in the mail queue (mailq). Details are below. My diagnosing abilities have reached their limit. Perhaps the issue is my ISP ...
1
vote
3answers
9k views

Mutt not sending email when specifying smtp server

I am trying to use mutt as my email client, and it works fine for my gmail account. But when I use my work email, it does not send the emails. It doesn't give any error, it just doesn't send them. The ...
1
vote
0answers
313 views

How to enable secure authentication (ssl,tls,starttls) in nullmailer 1.0.5. and upgrade nullmailer to 1.11

I am using a linux based device where we use nullmailer to send email using smtp. nullmailer version: 1.0.5 User-Agent: Mutt/1.5.19 (2009-01-05) In the existing mechanism, our smtp server does not ...
2
votes
1answer
288 views

Trying to send multiple text attachments via mail message

Running this script on: "Red Had Enterprise Linux Server release 5.11 (Tikanga)" Mail is: version 8.1 6/6/93 (appears quite old). Have tried various things and cannot seem to get this to work.. ...
0
votes
1answer
589 views

invalid SSL_version specified at /usr/share/perl5/IO/Socket/SSL.pm line 368

SMTP SEND CRITICAL - invalid SSL_version specified at /usr/share/perl5/IO/Socket/SSL.pm line 368 I am using a nagios script /usr/lib/nagios/plugins/check_smtp_send that sends an email using gmail. ...
0
votes
1answer
68 views

Is this the correct SPF DNS TXT syntax to allow the existing email servers (DNS MX records) and to authorize the new smtp server ip-address?

v=spf1 +mx ip4:65.1.2.3 -all Domain DNS TXT records to change: product1.com : sales@product1.com otherproduct.biz : sales@otherproduct.biz Information: Both domains have DNS MX records, and ...
3
votes
1answer
151 views

What is the correct helo for a smtp server that does not receive mail and does not have a FQDN?

What is the legal and correct helo for my SMTP server. Out going email only. Behind a NAT with no inbound ports open. SMTP server does not have a FQDN. Send mail for 2 different domains We are a ...
1
vote
2answers
345 views

Fetchmail with local Postfix on Home-Server

a small question... I have a fully configured postfix server which have a few domains, few users, and much more. Then I have a smart host which receives all mails and send all mails. For example ...
0
votes
2answers
105 views

Can I send email in the background in Mutt while still being notified of errors?

Removing mutt's send delay I originally used mutt's built-in SMTP MTA. However, there is a considerable pause after hitting send. This can be disabled by using an external MTA with set sendmail_wait=-...
0
votes
1answer
171 views

sendmail smtp auth simple,why fail auth?

On sendmail i did this for smtp auth sasl is running root 1609 1 0 05:16 ? 00:00:00 /usr/sbin/saslauthd -a pam -c -m /var/run/saslauthd -n 5 root 1610 1609 0 05:16 ? 00:...
1
vote
1answer
95 views

How can I safely send email over encrypted connection from the command line?

I found the following related questions on the stackexchange network: stackoverflow - Connecting to smtp.gmail.com via command line serverfault - Using nc.exe (NetCat) to send emails to secured SMTP ...
1
vote
3answers
964 views

postfix filter incoming mails based on 'mail from' and 'rcpt to'

I want to reject emails to my postfix server based on more than one criteria, specifically I want to block emails from Russian email addresses (or that contain Cyrillic characters, but this I suspect ...