Sponsored Content
Full Discussion: Emails issue
Operating Systems Solaris Emails issue Post 302824005 by hasan.kamali on Thursday 20th of June 2013 05:42:25 AM
Old 06-20-2013
Hi,

I'm Junaid Subhani's team member. Let me further clarify our email architecture for our system email alerts.

All unix/linux machines sendmail client is set to use two MTA relay sendmail servers internally in our network.

Then those two MTA relay sendmail servers forwards all the email to our company's microsoft exchange server (Microsoft servers are managed and administered by a seperate windows team).

Then mircosoft exchange server delivers the system alerts to valid microsoft exchange email IDs, e.g. xyz@waridtel.com.

So basically submit.cf of all the client machines has the IP address of internal network MTA relay sendmail server and MTA sendmail relay server has the IP of Microsoft exchange server for D{MTAHost} in submit.cf.

All the system email alerts configured by us and different application/database team (in their scripts) is properly being delivered.

Now the problem we are facing is this. Along with all the system alerts emails, all of the sendmail client machines are also sending out native OS users system generated emails (to the native user ) as well. And ...... our internal network MTA relay sendmail server obviously also relay them to our domain's microsoft exchange server, which obviously cannot recognize the destination address (e.g. user@server-hostname.waridtel.com) floods our outbound email gateway (sendmail server) with all those unwanted emails and overwhelms the mail queue.

So far, we concluded to use '.forward' option to at least deliver all the emails to proper email address (xyz@waridtel.com) of the respective owner team of the unix/linux system user. That way our corporate outbound sendmail email gateway will not be brought down due to 100,000+ unwanted system users email everyday.

Another option we have read somewhere is to configure /etc/mail/access file on the internal MTA relay sendmail server, which would discard or reject any email addressed to user@server-hostname.warditel.com. But we are not sure about the syntax to be used. Whether we can use wild card options to reject/discard all emails addressed to user@server-hostname.waridtel.com or we have to add lines for each and every user of all the servers.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

send emails to groups

Hi, I am trying to send alert emails through my script to users using a group name like DL_Failure Group@company.com but I am not able to send it, I thought it is because of the space in between and I tried to sedn is with quotes "DL_Failure Group@company.com" but that too did not work....I... (2 Replies)
Discussion started by: mgirinath
2 Replies

2. UNIX for Dummies Questions & Answers

Creating emails

Hi, I posted here 2 months ago, saying I wanted to learn UNIX for my work running a small ISP. I had the problem of practically no technical support for our system. Many courses later, I can just about do everything I need to do. The server is a FreeBSD i386. I can now create email accounts for... (4 Replies)
Discussion started by: ferret495
4 Replies

3. UNIX for Dummies Questions & Answers

duplicate emails

Hi all new here. Question. My mail server is sending out duplicate emails but its not system wide. We have several virtual host that use our email server and some are having the duplicate emails issue and some are not. For example in the office some people are getting duplicate emails but i am... (1 Reply)
Discussion started by: mcraul
1 Replies

4. UNIX for Dummies Questions & Answers

Emails on HP-UX

Hi Guys I am running Oracle database on HP-UX, every now and then I get emails that are sent to me by root. When check with the sysadmin know one have a clue as to where does the emails come from. I need to stop this emails...how do I check which script is sending me the emails. Thanks ... (0 Replies)
Discussion started by: Phuti
0 Replies

5. Solaris

Adding a footer to all emails

I am running Solaris 10 and have been asked to create a footer for all emails that go from the server. I have been looking around but no dice. I am not sure how complicated or easy it is to do it. Our system generates emails every night and then sends them out to different people on the list. We... (0 Replies)
Discussion started by: Sucio
0 Replies

6. Shell Programming and Scripting

examples of hyperlinks in emails

Hi All, Im using bash on a sloaris box. I am using mailx to send emails from the unix box to internal email accounts. Does anyone have an example of how I can generate a hyperlink within the email body so that when the recipeint recieves the email, they can click on the link and the link... (1 Reply)
Discussion started by: satnamx
1 Replies

7. UNIX for Dummies Questions & Answers

.forward for forwarding emails

Hi, I want to forward my emails to a different email account on Unix. I created a .forward file with just one line in it. forward_to@yahoo.com The emails are not getting forwarded to the forward_to email address, instead they are going to my original inbox. Is it required that I run the... (1 Reply)
Discussion started by: foxtron
1 Replies

8. UNIX for Dummies Questions & Answers

send emails

hi guys I need to send emails to some accounts 1. I need sendmail up and running right? 2. I need my local sendmail to use an existing SMTP server to send emails (10.x.x.x)? in that case what I need to configure to send emails? since using mail myaccount@companyame.com is not sending emails... (3 Replies)
Discussion started by: karlochacon
3 Replies

9. Shell Programming and Scripting

extracting emails from a file

i have a large html file that has emails like something@domain.com and somethingdomain.com how can i print the emails? its fine if duplicates show up and it doesnt need to save into a file or anything, just whatever is the easiest way to make some basic code for this thanks! :) (2 Replies)
Discussion started by: vanessafan99
2 Replies

10. Debian

Problem sending out emails

Hi, Our email relay server is a debian server. The application team in our company regularly receives email alerts from one hpux server (which is routed through the email relay server). Today we had problems whereby our company's email recipients are not receiving email alerts from the hpux... (2 Replies)
Discussion started by: anaigini45
2 Replies
GPGMAILTUNL(1p) 					User Contributed Perl Documentation					   GPGMAILTUNL(1p)

NAME
gpgmailtunl - Encrypts an email message into the body of another email. SYNOPSIS
gpgmailtunl [options] --encrypt | --decrypt DESCRIPTION
gpgmailtunl is a filter program that either encrypts an email message using the Gnu Privacy Guard and sends it to another recipient or decrypt an email message and forwards unencrypted to another destination. It can be used to exchange emails across an open network betweeen two trusted systems. TYPICAL USAGE
This program is intended to run from program like procmail or sendmail to create an email tunnel between two systems. Of course this is not as secure as using gpg as an end user program, it may be convenient in certain case. ENCRYPTION
To encapsulates an email within another you pipe the message to gpgmailtunl. OPTIONS GetOptions( \%opt, "encrypt", "decrypt", "sign", "secret-file=s", "from=s", "to=s", "subject=s", "homedir=s", "local-user=s", "recipient=s", ) or usage; to This is the address to which the encrypted message will be sent. This is the only required fields. recipient This sets the keyid that will be used to encrypt the outgoing message. If unset, gpgmailtunl will try to find a key matching the to option. subject Sets the subject of the outgoing message. This defaults to "Encrypted mail". from Sets the From header line of the outgoing message which will contains the encrypted one. sendmail will provides a default one if this is not set. sign If this option is used, the outgoing message will be signed. In this case you should probably use to local-user and secret-file options. secret-file File from which the secret to unlock the private used to sign the message can be read. local-user The keyid of the user that should sign the outgoing message. The default user will be used if not specified. homedir Sets an alternate gpg home directory. (This is where the keyrings are stored.) DECRYPTION
To extract an email to be forwarded to the final user you pipe the encrypted email to gpgmailtunl using the decrypt switch. Once decrypted, the encapsulated email message will be sent to the original destinator of the message. OPTIONS homedir Sets an alternate gpg home directory. (This is where the keyrings are stored.) secret-file File from which the secret to unlock the private used to decrypt the message can be read. AUTHOR
Francis J. Lacoste <francis.lacoste@iNsu.COM> COPYRIGHT
Copyright (c) 1999, 2000 iNsu Innovations Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. SEE ALSO
gpg(1) gpgmailtunl(1) GnuPG(3) perl v5.14.2 2011-11-22 GPGMAILTUNL(1p)
All times are GMT -4. The time now is 07:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy