Sendmail - issue within DMZ for some servers but not all


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Sendmail - issue within DMZ for some servers but not all
# 1  
Old 03-21-2019
Sendmail - issue within DMZ for some servers but not all

Hi All,

I have a strange issue and I am not sure where the problem lies.

I have about six Ubuntu servers on our DMZ two of which were built on 18.04 from scratch the others were upgraded to 18.04 from 16.04.
The servers built from scratch can send emails from the server via sendmail fine, so the Firewall rules for coming from DMZ to our internal network is fine.
The servers upgraded to 18.04 cannot send out emails, it is as if sendmail does not work.

This is what I get
Code:
root@DMZ-Server:~# echo "test" | sendmail -v me@domain
domain: Name server timeout
me@domain... Transient parse error -- message queued for future delivery
me@domain... queued
root@DMZ-Server:~#

I have uninstalled & purged sendmail from a server that does not work and re-installed.
I have updated the sendmail.cf to point to the mail server
Code:
define(`SMART_HOST',`MailServer.domain')dnl

the Hosts file has the relevant info...

It still does not work...

could someone help or point me in the right direction?
I am having the same issue on all systems in the DMZ that have updated from 16.04 - 18.04
# 2  
Old 03-21-2019
It's always a good practice to post the entries related to sendmail issues and errors found in the syslog files.
# 3  
Old 03-21-2019
Quote:
Originally Posted by dakelly
I have updated the sendmail.cf to point to the mail server
Code:
define(`SMART_HOST',`MailServer.domain')dnl

Just to make sure: you do have compiled the sendmail.cf afterwards, yes? Sendmail only uses the compiled form of its configuration file, not the cleartext file itself.

And, while you are at it: can you post the version of sendmail you use? I have no idea which one is included in Ubuntu...

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
# 4  
Old 04-02-2019
Sorry I am out the office for a while..... so not in the office to check this out.

I done this:
Code:
/etc/init.d/sendmail stop
cp sendmail.mc hostname.mc
cp sendmail.cf sendmail.cf.25Mar2019
.... amended hostname.mc
m4 hostname.mc > hostname.cf
cp -p hostname.cf sendmail.cf
/etc/init.d/sendmail start

but I made 2 new servers from ubuntu 18.04 and they worked fine - send emails fine
but the ones that updated from 16.04 to 18.04 don't send... not sure if it is something to do with how networking is set up on 18.04 and 16.04 as the are different.
18.04 uses a yaml file and the 16.04 does not....
# 5  
Old 04-03-2019
Forgot to say,

in our DMZ 2 servers built from scratch on ubuntu 18.04 - work
in our DMZ 2 servers updated to ubuntu 18.04 - do not work
in our DMZ 3 servers still at ubuntu 16.04 - do not work

All sendmail versions on DMZ and non-DMZ networks have the same sendmail version 8.15.2
version found by
Code:
sendmail -d0.1

this is why I am thinking it is something to do with the networking as they are different from 18.04 & 16.04
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Sendmail issue

Dear All , I have some problem in Sendmail , where it was sending mails perfectly fine with the Ip address of the client machine. But suddenly there was an issue , the SMTP takes the IP of the bond1 interface. So the IP could not get validated in the relay server. So how should i send... (1 Reply)
Discussion started by: jegaraman
1 Replies

2. Emergency UNIX and Linux Support

Sendmail issue

Hi, I'm using sendmail version 8.13.8-8.1.el5_7. I'm pretty new to it. The servera are running RHEL 5.8. My question basically is that I would want to know is there a way to change the from address. I would be able to change it using the return address in mailx command. However I would like to... (3 Replies)
Discussion started by: maverick_here
3 Replies

3. Red Hat

Sendmail issue

Hi Every One, one of our server configuration on sendmail config we are using SMAR_HOST ### define(`SMART_HOST', 'mail.xxx.com') and /etc/sysconfig/sednmail DAEMON is setted to NO so let me know why sendmail is not working for this server any this else u need please do let me know (0 Replies)
Discussion started by: venikathir
0 Replies

4. Red Hat

Sendmail Issue.

Hi Gurus, I have been tampering around with sendmail for the past one week and seem to make little progress. Given below is an abstract of the issue. I have a Fedora 12 server(A VM on vitual Box bridged with a Windows XP host) which has to act as a SMTP server and have accordingly put up the... (8 Replies)
Discussion started by: Hari_Ganesh
8 Replies

5. Solaris

Sendmail issue

Hi all, we are using solaris 10. we need to increase every users mail boxes size as all users mail boxes got filled..Please help..its urgent.. Thanks in advance.. (1 Reply)
Discussion started by: bpsunadm
1 Replies

6. Solaris

Sendmail Issue

Hi, Guru i had configure in my two server to send out the email. One of the server able to send in the reasonable timing. but another not, it delay almost one day or two days but mostly not send at all. below is the syslog when i try to send out the mail. GOOD Server Dec 28 11:29:39... (5 Replies)
Discussion started by: SmartAntz
5 Replies

7. UNIX for Dummies Questions & Answers

Issue with sendmail

Hi Team, I have a script written to sendmail along with attachment in html format. The code is export MAILFROM="abc@abc.com" export MAILTO="abc@abc.com" export CONTENT="./GRP_SPI_ERR.html" export SUBJECT="TEST EMAIL: TESTING HTML" { print - "From: $MAILFROM" print - "To: ${MAILTO}"... (3 Replies)
Discussion started by: Vinaykumar1
3 Replies

8. Solaris

sendmail issue

Hi, yesterday I had issues, sendmail was not responding quickly while sending email and users did not receive any email, This happened with sendmail on solaris 10 and also with sendmail on a linux box. Found it is something to do with DNS blacklists, following lists did not work for me,... (2 Replies)
Discussion started by: upengan78
2 Replies

9. Linux

Sendmail issue

Hi gurus! I need help to make sendmail to accept unknown user mail. That is if the user does not exist sendmail keep on processing the mail and store it in a some mailbox ... Thanks for any idea! (5 Replies)
Discussion started by: andryk
5 Replies

10. News, Links, Events and Announcements

Linux mail servers benchmarks (Qmail, Sendmail,Postfix)

New Linux mail servers benchmarks website. Check out http://benchmarks.dmz.ro . (0 Replies)
Discussion started by: cipango
0 Replies
Login or Register to Ask a Question