Sponsored Content
Top Forums UNIX for Advanced & Expert Users sendmail: trusted-users or aliases? Post 302542423 by alan on Wednesday 27th of July 2011 02:14:09 PM
Old 07-27-2011
sendmail: trusted-users or aliases?

For a project that I have been assigned to, I need to send emails to a business partner (business_partner.com) from one production server. However, my emails neither reach their destination nor bounce back to me.

Working with our business partner's IT support, the following error was discovered in their maillogs:
Quote:
chqsmt05 postfix/smtpd[1605]: NOQUEUE: reject: MAIL from unknown
[hidden_ip_address]: 450 4.1.8 <ddwmadm@pxclpd30.hidden_domain_name.com>: Sender address rejected: Domain not found;

from=<ddwmadm@pxclpd30.hidden_domain_name.com> proto=ESMTP helo=<pmempe31.prd.ext.hidden_domain_name.com>
Further analysis by my IT support shows that emails are successfully sent out ("Message accepted for delivery"):

Quote:
[root@hidden_host_name log]# grep -i business_partner maillog*
maillog.1:May 13 17:41:18 hidden_host_name sendmail[23823]: p4DHfIet023823: to=me@hidden_domain_name.com,customer@business_partner.com, ctladdr=user_name (8116/6124), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=120260, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (p4DHfI53023824 Message accepted for delivery)
The app I coded is not using a public internet email address (e.g. me@hidden_domain_name.com) to send these notifications. Instead, it uses an intranet email address (the server's where my code resides: user_name@servername.hidden_domain_name.com).

My IT support guys believe it is the cause of the problem. We created an alias but it made no change. Would adding my public internet email address to "trusted-users" file (we use sendmail) help?

How can I solve this?

Al.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Sendmail / Aliases

I'm trying to make a script that will automatically read incoming mail, parse the recipient, then send a file off to the recipient. (Name of file = mail.pl) #!/usr/bin/perl $mailDir = "/var/spool/mail/" $user = print `cat <STDIN> | grep To: | cut -b5-`; print `elm -s Awaiting Mail $user <... (1 Reply)
Discussion started by: ComTec
1 Replies

2. UNIX for Dummies Questions & Answers

Problem on sendmail between users

Hello, I am new to sendmail and know very little of it. I appreicate any help. I tried sending mail between 2 users - alice and bob. I did: alice% mail bob Subject: test test . EOT alice% Then, I got error log in /var/log/mail.log May 4 18:23:26 localhost sendmail: My... (2 Replies)
Discussion started by: hypamw
2 Replies

3. UNIX for Dummies Questions & Answers

NIS+ and trusted hosts

Hello there, Can someone tell me if you need to make the hosts trusted hosts if you use NIS+? Thanks, E (2 Replies)
Discussion started by: eknaap
2 Replies

4. Solaris

how to send mails to users on exchange server from sendmail/solaris(mailx)

Hi, Can anyone pls. tell me how to access Active directory from solaris. I am looking at solution by which I can send mail notification from the logs generated by scripts, to the users on Exchange server. I am trying for a Perl-LDAP module , but don't realy know how to go for it (5 Replies)
Discussion started by: ganeshh
5 Replies

5. UNIX for Advanced & Expert Users

sendmail aliases not being honored

Running sendmail Version 8.12.10+Sun on Solaris 9. I need to send mail from this server (serverA) to the mail server (Mserver), which will relay the message to the correct user. If I specify the user specifically, as in: mailx -s"test" John.Doe@company.com test . It works perfectly and... (13 Replies)
Discussion started by: dangral
13 Replies

6. Cybersecurity

Trusted Computing

About a year ago, a friend of mine who worked on the OReilly Snort book took a propsal he and I had worked on for a book on Trusted Computing. Though the editor thought the content was good and worthwhile, he felt that there wasn't enough of a market to justify printing such a work. How many... (0 Replies)
Discussion started by: kduffin
0 Replies

7. HP-UX

Trusted system: Please Help.

I was playing with sam and i turned on the Trusted System feature (UX11i). Now i cant log onto it anymore, i can ping it, but icant telnet, rlogin or login at the login screen. I dont want to reboot my machine because i am affraid it wont boot and ask for a password. My root password is not... (1 Reply)
Discussion started by: Netghost
1 Replies

8. UNIX for Advanced & Expert Users

Sendmail retries sending to non-existant users

How can i get sendmail to immediately bounce mail when the server on the other side gives a "550 unknown user" SMTP error? Currently, the outbound mail stays in the queue and is retried until our server gives up, some days later. (0 Replies)
Discussion started by: vertigo23
0 Replies

9. Shell Programming and Scripting

sendmail issue while cc to users

Hi, I have one file that needs to be send as attachment. I am using the following command to send the mail. echo "Subject: Test" | cat - file | sendmail -t abc@cca.com But how can I put CC mail list in sendmail. Can anybody help me out? Thanks in advance..! ---------- Post... (0 Replies)
Discussion started by: Kattoor
0 Replies

10. Red Hat

/etc/aliases & Sendmail

I've recently migrated a Solaris 10 server, to Redhat. I've migrated all my crons & scripts and now I'm attempting to set all the aliases, to send to the appropriate accounts. I have a particular user defined in /etc/aliases, however, when a particular script is ran in cron, I do not receive any... (2 Replies)
Discussion started by: Nvizn
2 Replies
Log::Dispatch::Email(3) 				User Contributed Perl Documentation				   Log::Dispatch::Email(3)

NAME
Log::Dispatch::Email - Base class for objects that send log messages via email SYNOPSIS
package Log::Dispatch::Email::MySender use Log::Dispatch::Email; use base qw( Log::Dispatch::Email ); sub send_email { my $self = shift; my %p = @_; # Send email somehow. Message is in $p{message} } DESCRIPTION
This module should be used as a base class to implement Log::Dispatch::* objects that send their log messages via email. Implementing a subclass simply requires the code shown in the SYNOPSIS with a real implementation of the "send_email()" method. CONSTRUCTOR
The constructor takes the following parameters in addition to the standard parameters documented in Log::Dispatch::Output: o subject ($) The subject of the email messages which are sent. Defaults to "$0: log email" o to ($ or @) Either a string or a list reference of strings containing email addresses. Required. o from ($) A string containing an email address. This is optional and may not work with all mail sending methods. o buffered (0 or 1) This determines whether the object sends one email per message it is given or whether it stores them up and sends them all at once. The default is to buffer messages. METHODS
o send_email(%p) This is the method that must be subclassed. For now the only parameter in the hash is 'message'. o flush If the object is buffered, then this method will call the "send_email()" method to send the contents of the buffer and then clear the buffer. o DESTROY On destruction, the object will call "flush()" to send any pending email. AUTHOR
Dave Rolsky, <autarch@urth.org> perl v5.12.1 2009-09-22 Log::Dispatch::Email(3)
All times are GMT -4. The time now is 02:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy