Questions tagged [sendmail]

General purpose email routing software that supports mail transport via TCP/IP using SMTP

sendmail is a popular Unix-based email routing facility that makes use of and supports the transfer and delivery of email via the Simple Mail Transfer Protocol (SMTP) and many other ways (e.g. UUCP).

sendmail exists both as free and open source software and as a commercial project, called Sendmail.

1333 questions
-1
votes
1 answer

Attempting to send mail with sendmail on ubuntu 17.04?

I first installed sendmail on ubuntu 17.04 by running sudo apt-get install sendmail and then I made sure that the hostname of my machine was added to /etc/hosts/ right after localhost like this: 127.0.0.1 localhost myhostname I then ran sudo…
Ole
  • 223
  • 1
  • 6
-1
votes
1 answer

Sendmail "Connection refused by mail.example.com" when attempting to send emails

I'm trying to have a virtually hosted PHP site send emails to a particular Gmail address when the site's contact form is correctly filled out and submitted. Unfortunately, nothing is being sent out. In /var/log/mail.log I have numerous instances…
-1
votes
2 answers

Remove "Cc: " from mailx command

I have recently setup a mail server on my Ubuntu Desktop 16.10, and I made a script that when a specific user logs in, they will execute the script instead of bash. Here is the script: #!/bin/bash while [ true ] do echo -n "To: " read To …
MaliciouZzHD
  • 1
  • 1
  • 3
-1
votes
1 answer

Ubuntu Sendmail Gmail Relay verify=FAIL

I realize there are a lot of posts on this topic, though after hours I am still unable to connect to gmail. I noticed that the output does not include DIGEST-MD5 listed, could this be an issue? Any thoughts would be great appreciated, thank…
Jon C.
  • 101
  • 1
  • 3
-1
votes
2 answers

How does SORBS block my emails?

On a 1&1 shared hosting, I'm using mail(...); from a PHP script (which itself calls /usr/sbin/sendmail -t -i) and finally I get an error message (see below). More or less my mail (I send less than 5 mails per day) is considered as spam by SORBS.…
Basj
  • 709
  • 3
  • 11
  • 29
-1
votes
1 answer

Sendmail relaying mails results in invalid sender address

So i finally got the sendmail-google relay working, but now the sender address is causing troubles. For example: if in php i set: $headers = "From: Someone "; the sender name someone will be correct, but since i am relaying…
Jojo01
  • 129
  • 7
-1
votes
1 answer

sendmail : closing port 25

Nmaping my server I got theses results : PORT STATE SERVICE 25/tcp filtered smtp 80/tcp open http On the server-side : netstat -lpn Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program…
Name
  • 1
  • 1
-1
votes
1 answer

sendmail and gmail not received

I try to send mail with sendmail (Debian 8) from a PHP script. It does work but only gmail is not working. Sending a mail from root, I got this message xxx@gmail.com... Connecting to gmail-smtp-in.l.google.com. via esmtp... 220 mx.google.com ESMTP…
orugari
  • 101
  • 2
-1
votes
1 answer

Sending mail using netcat - getaddrinfo: Name or service not known

i am trying to send a mail using netcat, and i am getting an error: nc: getaddrinfo: Name or service not known this is the command i am using /usr/bin/nc smtp.xxxxx.yy 25 < test.txt this is the content of test.txt xxx.yyy.zz MAIL…
Froggiz
  • 3,043
  • 1
  • 19
  • 30
-1
votes
1 answer

Email from specific IP is not being received on server. Possibly malicious admin

A few days ago I requested SSH access to our old server where we currently host our email. We are in the process of moving over to a new host. Ever since requesting the access from the admin, emails which are being sent from the new server, eg.…
bskool
  • 151
  • 1
  • 1
  • 8
-1
votes
1 answer

Mail centos 5.5

I have an issue with user on a shared server. Sent mail bounces are sometimes returned to different users than owners? I have checked the from and return mail in headers and all fine but still sometimes this issue occures. Where to look and check?
Joe M.
  • 1
  • 1
-1
votes
1 answer

How to process sendmail queue when 25 port is blocked?

I have one VPS which forwards e-mails from one mailbox to another. Unfortunately ISP have blocked 25 port last week and since then I can't receive any e-mail from it. According to mailq there are 9000+ mails waiting. I need somehow to process the…
-1
votes
1 answer

Disable sendmail

I am setting up a Debian web server for testing and want to disable mails of any kind being send thorugh the server. I think I just have to uninstall sendmail, will that be enough? Will it affect other services?
Cudos
  • 539
  • 2
  • 7
  • 18
-1
votes
1 answer

How to config sendmail to accept emails only from trusted email servers

If I have a list of trusted email servers, is it possible to configure my sendmail server to accept emails only from the trusted severs? How do I do that?
npcode
  • 109
  • 4
-1
votes
1 answer

Sendmail (or postfix or somebody) not speaking SMTP

I've got a Linode Debian server which tries to send email (normally through PHP, but mail from the command line doesn't work either). But the mail never arrives successfully. My two clues from people who have (not) received the mail are this: Below…
Grumdrig
  • 491
  • 5
  • 10