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
SEND-REMINDERS(1)					User Contributed Perl Documentation					 SEND-REMINDERS(1)

NAME
Send-reminders - send email reminders for special occasions SYNOPSIS
Send emails reminders set by users for special occasions. DESCRIPTION
Email-reminder allows users to define events that they want to be reminded of by email. Possible events include birthdays, anniversaries and yearly events. Reminders can be sent on the day of the event and a few days beforehand. This script is meant to be invoked everyday by a cron job. It mails the actual reminders out. When run by the root user, it processes all of the spooled reminders. When run by a specific user, it only processes reminders set by that user. OPTIONS
--help Displays basic usage message. --simulate Does not actually send any emails out. --verbose Prints out information about what the program is doing, including the full emails being sent out. --version Displays the version number. FILES
~/.email-reminders, /etc/email-reminder.conf AUTHOR
Francois Marier <francois@email-reminder.org.nz> SEE ALSO
email-reminder-editor, collect-reminders COPYRIGHT
Copyright (C) 2004-2010 by Francois Marier Email-Reminder 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 3 of the License, or (at your option) any later version. Email-Reminder is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Email-Reminder; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. perl v5.14.2 2012-05-28 SEND-REMINDERS(1)
All times are GMT -4. The time now is 05:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy