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
1
vote
1answer
604 views

How to use multiple Exim SMTP AUTH methods (dovecot and plaintext)

I would like to configure Exim to allow SMTP AUTH logins using the same credentials as for a Dovecot IMAP server on the same machine, but I would also like to allow additional sets of credentials so I ...
2
votes
1answer
5k views

Sendmail SMTP “My unqualified hostname” and “My unqualified domain name”

Recently, I've been setting up an SMTP mail server for my website (ironfi.st) on a server titled "ironfist-droplet". I'm using the WP-SMTP-MAIL plugin. I have the apache2 server setup up and ...
1
vote
1answer
665 views

Sendmail SMTP not working on apache2 server [My unqualified host name (X) unknown]

I recently did a task for my development team's website (ironfi.st), in which I set us up an SMTP mail server on an apache2 web server. I used sendmail to complete the task along with a WordPress SMTP ...
0
votes
1answer
242 views

Does this postfix config cause open relay?

[root@server ~]# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix ...
0
votes
2answers
946 views

postfix & cyrus-SASL SASLDB2 0: NO “authentication failed”

We are setting up a Postfix mail relay to accept only authenticated smtp sessions and forward them to our backend smarthosts. CentOS 6.8 postfix-2.6.6-6.el6_7.1.x86_64 cyrus-sasl-lib-2.1.23-15.el6_6....
1
vote
1answer
756 views

Postfix getting temporarily banned for too many mails sent (newsletter)

We are sending a newsletter every day, where most of the recipients have their email address registered at one mail service specific for Czech Republic. There are more than 10 000 mails sent every day ...
3
votes
1answer
47 views

How to retrive mails from previous hosting server?

I am moving from my current web hosting provider to another. I have moved my whole website completely but the problem I am facing is how to move mails as well. Both the hosting servers are UNIX ...
1
vote
1answer
1k views

Postfix + dovecot, disable authentication on port 25

I use postfix 2.9.6 on ubuntu 12.04 (with dovecot if that matters). I'm trying to disable auth on port 25 and only allow it on port 587, so that I can receive mails normally from other servers but ...
1
vote
0answers
84 views

GUI app for sending emails through specific smtp servers

Anyone know of an application like swaks but with a GUI? Preferably the application would have auto resolve of MX for the recipient domain. The purpose would be to be able to manually send email ...
0
votes
1answer
12k views

How to configure sendmail to listen to ports 25 and 587?

The provided sendmail.mc file is used to enable ports 587/submission and/or 465/smtps. The problem is that enabling either one disables port 25/smtp. I only have one server and would like to use it ...
6
votes
1answer
2k views

Configure Postfix and Dovecot-LMTP to receive mail via SMTPUTF8?

I am running a Postfix server which uses Dovecot LMTP for mail delivery. I am doing this because it plays well with sieve. However, I have gotten some email lately with Unicode in the subject line. ...
2
votes
1answer
2k views

How can I avoid 550 “Relaying denied” with postfix?

I've been using fetchmail and postfix for a long time to receive and sent email from my private Linux box. My ISP was acquired and merged several times, but the original SMTP host always kept working. ...
0
votes
1answer
187 views

Exim dnslookup, priority and “blacklist” (not really blacklist)

I'm investigating how exim deliver mails, and I came to the conclusion that when the server is going to send a email exim makes a nslookup and get the higher priority (lower value) MX record and tries ...
-1
votes
3answers
2k views

Where to find SMTP configuration for mutt on redhat?

I can already send emails using mutt, but I want to know the IP of the SMTP server that mutt is using, where should I search for this IP ?
0
votes
1answer
57 views

Can I host an email account in 2 or more servers?

I have been testing SMTP and its related DNS register, but I already tested it and what I have achieved is be able to send emails from the same email account (user@mydomain.com) from different servers,...
0
votes
1answer
2k views

“TLS is required, but was not offered by host alt4.gmail-smtp-in.l.google.com[64.233.186.27]”

Sending emails using TLS not working. Without its working. Copy of tls_policy_file (if I change gmail to secure it gives TLS is requied error): cat /etc/postfix/tls_policy gmail.com may ...
1
vote
0answers
310 views

msmtp Empty TO and FROM Field - All mail ends up in Bulk Mail when sent from CLI or manually

I have set up MSMTP with the following but if I send an e-mail from the CLI it either gets blocked, or ends up in my SPAM because it has no TO/FROM or anything up top. But e-mails from CRON are ...
5
votes
1answer
3k views

Fail2ban-Regex test always tells no host in group [closed]

I'm trying to build a filter myself using regex. This is a line i want to filter for example: Aug 30 11:07:38 *** postfix/smtpd[17969]: connect from vps10685425.123-vps.co.uk[46.32.239.160] An this ...
5
votes
3answers
33k views

How to check whether port 25 is open or blocked?

I'm trying to determine if port 25 is available on a server. I tried using nc and telnet to connect, but each of those failed to connect. Is there any other test I can do to find out if there is ...
1
vote
1answer
950 views

SendEmail having issues, any alternatives?

As opposed to writing something else, I'm looking for an alternative to sendemail or maybe even some help with trying to fix the issues I'm experiencing. I've always used sendemail with absolutely no ...
3
votes
1answer
3k views

Postfix TLS Encryption for outgoing email

This is my postfix main.cnf configuration file smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next ...
5
votes
1answer
2k 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 ...
6
votes
2answers
4k 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
5k 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 -...
1
vote
0answers
939 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,...
0
votes
0answers
48 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 ...
1
vote
0answers
226 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 ...
1
vote
1answer
476 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
999 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
827 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
1k 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 ...
4
votes
2answers
6k 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
0answers
1k 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
3answers
413 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. ...
1
vote
2answers
341 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
623 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 ...
0
votes
1answer
613 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 ...
1
vote
1answer
219 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 ...
-1
votes
1answer
1k 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
0answers
995 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 ...
3
votes
1answer
3k 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 ...
0
votes
1answer
3k 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. ...
2
votes
1answer
3k 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
432 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 mail ...
4
votes
2answers
2k 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
4k 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 ...
2
votes
3answers
698 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
1k 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
299 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 ...
0
votes
1answer
935 views

Postfix does not work with TLS but Dovecot does

I have posted this question on Sever Fault but as soon as I mentioned that I have a control panel installed on my server (even though it has nothing to do with the issue) my question was closed. Here ...