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
26 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 ...
0
votes
1answer
1k views

Cannot send email via postfix / dovecot error status=deferred (mail transport unavailable)

I am trying to setup a mail server with postfix/dovecot/maria DB on centos 7 and have seem to hit a roadblock. I am not able to send emails to internal users and the logs suggest "mail transport ...
1
vote
0answers
28 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 ...
0
votes
1answer
2k views

SMTP relay check (test) (Postfix)

I want to add item/trigger to Zabbix to check that some server A can send mails via mail server B (SMTP relay) without sending on real/fake email and I haven't a problem with firewall/iptables rules ...
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 ...
1
vote
0answers
33 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
215 views

Whitelist certain IP in Debian postfix/courier mailserver

On a debian jessie mailserver with postfix and courier I want to whitelist certain IPs, that are blocked somehow (those IPs are from an openvpn provider) so I can send out mails with that server. I ...
5
votes
3answers
2k views

How to send raw mail message on Linux?

If I have the full contents of a MIME message, what is the best utility on Linux to send the message? The MIME message would include the full headers and mail body, for example: Received: (qmail ...
2
votes
2answers
33k 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
9 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 ...
13
votes
2answers
14k 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
3answers
264 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 ...
0
votes
1answer
20 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 ...
2
votes
1answer
1k views

How to configure the “mail” command to use an SMTP relay server without using sendmail service?

Since I new to redhat ver 6 linux I wanted to know how I can configure our web server that is running redhat to used out exchange 2010 relay. I already configure our exchange 2010 to allow our web ...
0
votes
1answer
1k views

IMAP Dovecot cannot connect

I am trying to set up my own mail server (for 'fun'). I followed this tutorial to the bone. But I get this error message: imap-login: Disconnected (auth failed, 2 attempts in 9 secs): user=<...
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 ...
0
votes
2answers
936 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....
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. ...
5
votes
4answers
54k views

Relay access denied when using SMTP to external recipients POSTFIX FREEBSD

i am trying to send an email with my freebsd server using postfix and dbmail to an external adress. I have noticed the following things: MYSERVER -> MYSERVER = OKAY EXTERNALSERVER -> MYSERVER = ...
3
votes
1answer
4k views

SMTP Auth - SASL on Dovecot, Postfix and CentOS 6.2 (and Open-Xchange)

I am trying to get open SASL to work on CentOS 6.2. I followed this tutorial: http://wiki.centos.org/HowTos/postfix_sasl I suspect it works perfectly for CentOS 5.x so all I really need is an update ...
1
vote
2answers
3k 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 ...
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 ...
0
votes
1answer
26 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 ...
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'&...
2
votes
1answer
2k views

Sendmail issues “530 Authentication required” error message when authinfo is supplied

sender_email - email address that does not exist, but must be used as FROM address, because receiver host rejects emails from other emails. receiver_email - email that is supposed to receive the sent ...
11
votes
1answer
26k 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 ...
1
vote
3answers
10k 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 ...
1
vote
1answer
461 views

Altermime and SELINUX

I've setup an application called altermime (http://www.pldaniels.com/altermime/) for postfix (SMTP server) which alters emails midstream. I'm injecting a "X-ListUnsubscribe" header into every email ...
0
votes
1answer
1k views

Mutt | SMTP session failed: 553 5.7.1

I'm trying to set-up my aol mail to work with mutt. I can read my messeges but can't send/reply. All I get is this message: SMTP session failed: 553 5.7.1 : Sender address rejected: not owned by ...
1
vote
2answers
2k 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=...
2
votes
0answers
483 views

Sendmail configuration with user mapping on Solaris

I have the following: host1.intra.net which has sendmail and users: user1, user2 & user3. It is running SunOS 5.10. host2.intra.net which has SMTP server. No authentication, no encryption. Email ...
0
votes
0answers
5k views

SMTP Issue: did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA

We need to create a mail server to send mail for our Portal application using Liferay. The mail account will be an administrative account to maintain the portal. I was able to send mail successfully ...
0
votes
0answers
8 views

Milter for Sendmail not sending data over socket - very little documentation, any ideas?

I have configured Milter for sendmail on a virtual machine. I can send an email in my test environment, it is currently accepted by Sendmail and relayed to my exchange server (including when I enable ...
1
vote
1answer
225 views

Postfix: Can I configure it to *not* include original email on undeliverable?

The Postfix server is used only for mail-relay; in the office back-end, we use hMailServer. Some hMailServer users have their emails auto-forwarded to their BlackBerry account. Sometimes, they changed ...
2
votes
5answers
32k 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
votes
1answer
80 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 ...
0
votes
0answers
83 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 ...
8
votes
8answers
62k views

Helo command rejected: need fully-qualified hostname Error

My mail server is in some blacklist cause of spams. I reconfugured postfix. Aften then My customers get this error they can't send emails. 404 4.5.2 <PLLAMNAZIFE>: Helo command rejected: need ...
3
votes
1answer
903 views

Can Apache Web server Respond to SMTP/IMAP/POP3 requests?

I want to know what functions are provided by the Apache 2.4.9 Web server on Fedora 20. I understand that Apache responds to HTTP request only. I believe that SMTP and POP3 protocols don't use HTTP. ...
2
votes
3answers
255 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 ...
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. ...
4
votes
2answers
7k views

Where to configure my smtp server in Mutt utility

I have my smtp server -- smtp.drdb.com which is registered in DNS. I need to setup Mutt utility in my RHEL 6 server. Where should I input my smtp server details in mutt.rc file so that I can send mail....
0
votes
2answers
996 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[...
2
votes
2answers
53 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, ...
0
votes
1answer
933 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 ...
1
vote
1answer
642 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-...
0
votes
1answer
267 views

SendGrid SMTP integration with Snipe-IT asset management

I am trying to implement SendGrid SMTP integration with snipe-it . I am testing out both applications on a vmware player with centos7 . i have successfully setup snipe-it and now trying to test ...
1
vote
1answer
66 views

ssmtp myaddress@gmail.com < file.log doesn't work. Body is blank

I'm running a simple rsync script where I log stdout and stderr to two different files, rsync_stdout.log and rsync_stderr.log. When I'm trying to email the content of rsync_stderr.log using: echo $(...
2
votes
2answers
207 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....
2
votes
2answers
3k 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 ...