The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Finding a file delivery time and sending it as an email rajasinn Shell Programming and Scripting 8 09-22-2009 07:32 AM
Delivery Failure notice when aliase has added mindtee_abhi UNIX for Advanced & Expert Users 3 04-13-2009 04:54 AM
QuickTime 7: Preparing movies for Internet delivery iBot OS X Support RSS 0 10-23-2008 07:10 AM
S-244: Cisco IOS User Datagram Protocol Delivery Issue for IPv4/IPv6 Dual-Stack Route iBot Security Advisories (RSS) 0 03-27-2008 04:40 PM
Mail delivery confirmation CSGUY UNIX for Dummies Questions & Answers 3 04-28-2005 10:02 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 10-02-2009
neil_is_ere neil_is_ere is offline
Registered User
  
 

Join Date: Aug 2009
Posts: 12
Issues on email delivery

Hello, there is a problem when using sendmail to certain destinations, basically the recipient will reject the incoming message because the user@local.domain.com is used as the sender (Return-Path), they would verify local.domain.com is not a valid DNS record which is true because it is a local machine.

However the "From:" field in the custom header contains a valid address and host in DNS, let's say popeye@spinach.com.

Why does sendmail use @local.domain.com instead of using @spinach.com? I have a feeling this is solely down to the Return-Path because when I used the command "sendmail -t < header.txt -f popeye@spinach.com" it was received fine but that is abit of a hack fix.

I then tried setting "Return-Path: popeye@spinach.com" in the custom header.txt but it seemed to be keep overriding to user@local.domain.com again. So I proceeded to the look inside sendmail.cf, changed the Return-Path setting:
From:-
Code:
H?P?Return-Path: <$g>
To:-
Code:
H?P?Return-Path: <$f>
Refreshed sendmail, and triggered another message... however this made no difference it seems.

The recipient receives this message in the logs when rejecting:
Quote:
Oct 2 11:20:15 mail0 postfix/smtpd[14382]: NOQUEUE: reject: RCPT from
unknown[123.234.345.45]: 450 4.1.8 <user@local.domain.com
<mailto:user@local.ourdomain.com>>: Sender address rejected: Domain not found; from=<user@local.ourdomain.com <mailto:user@local.ourdomain.com>>
to=<user.name@recipientdomain.com
<mailto:user.name@recipientdomain.com>> proto=ESMTP helo=<gateway01.domain.com>
Here is what we get in our logs, I highlighted the important part:
Quote:
Received Time: 30 Sep 2009 08:51:41 (GMT -0400)
MID: 44444444
Message Size: 3150 (Byte)
Subject: TEST EMAIL
Envelope Sender: user@local.ourdomain.com
Envelope Recipients: user.name@recipientdomain.com
Message ID Header: <200909301234.asdf1234567@local.ourdomain.com>
IronPort Host: GATEWAY01 (123.123.123.123)
SMTP Auth User ID: N/A
Sending Host Summary
Reverse DNS Hostname: None (unverified)
IP Address: 123.123.123.123
SBRS Score: not enabled
Processing Details
MAIL POLICY "Corporate Email" MATCHED THESE RECIPIENTS: user.name@recipientdomain.com
30 Sep 2009 08:51:41 (GMT -0400) Protocol SMTP interface OutboundInterface (IP 123.123.123.123) on incoming connection (ICID 123321123) from sender IP 123.123.123.123. Reverse DNS host None verified 0.
30 Sep 2009 08:51:41 (GMT -0400) (ICID 123321123) RELAY sender group RELAYLIST match 123.123.123/24 SBRS not enabled
30 Sep 2009 08:51:41 (GMT -0400) Start message 44444444 on incoming connection (ICID 123321123).
30 Sep 2009 08:51:41 (GMT -0400) Message 44444444 enqueued on incoming connection (ICID 123321123) from user@local.ourdomain.com.
30 Sep 2009 08:51:41 (GMT -0400) Message 44444444 on incoming connection (ICID 123321123) added recipient (user.name@recipientdomain.com).
30 Sep 2009 08:51:41 (GMT -0400) Message 44444444 contains message ID header '<200909301251.n8UCpfZV1003650@local.ourdomain.com>'.
30 Sep 2009 08:51:41 (GMT -0400) Message 44444444 original subject on injection: TEST EMAIL
30 Sep 2009 08:51:41 (GMT -0400) Message 44444444 (3150 bytes) from user@local.ourdomain.com ready.
30 Sep 2009 08:51:41 (GMT -0400) Message 44444444 matched per-recipient policy Corporate Email for outbound mail policies.
30 Sep 2009 08:51:41 (GMT -0400) Message 44444444 scanned by Anti-Virus engine Sophos. Interim verdict: CLEAN
30 Sep 2009 08:51:41 (GMT -0400) Message 44444444 scanned by Anti-Virus engine. Final verdict: Negative
30 Sep 2009 08:51:41 (GMT -0400) Message 44444444 queued for delivery.
30 Sep 2009 08:51:42 (GMT -0400) SMTP delivery connection (DCID 55555555) opened from IronPort interface 147.179.184.137 to IP address 204.248.176.91 on port 25.
30 Sep 2009 08:51:42 (GMT -0400) (DCID 55555555) Delivery started for message 44444444 to user.name@recipientdomain.com.
30 Sep 2009 08:51:42 (GMT -0400) (DCID 55555555) Message 44444444 to user.name@recipientdomain.com delayed. Reason: 4.1.0 - Unknown address error ('450', ['<user@local.ourdomain.com>: Sender address rejected: Domain not found']) [('from', 'popeye@spinach.com')]
30 Sep 2009 08:51:42 (GMT -0400) Message 44444444 to user.name@recipientdomain.com pending until Wed Sep 30 08:52:42 2009 as per bounce profile Default.
30 Sep 2009 08:52:43 (GMT -0400) SMTP delivery connection (DCID 77777777) opened from IronPort interface 147.179.184.137 to IP address 204.248.176.91 on port 25.
30 Sep 2009 08:52:43 (GMT -0400) (DCID 77777777) Delivery started for message 44444444 to user.name@recipientdomain.com.
30 Sep 2009 08:52:43 (GMT -0400) (DCID 77777777) Message 44444444 to user.name@recipientdomain.com delayed. Reason: 4.1.0 - Unknown address error ('450', ['<user@local.ourdomain.com>: Sender address rejected: Domain not found']) [('from', 'popeye@spinach.com')]
30 Sep 2009 08:52:43 (GMT -0400) Message 44444444 to user.name@recipientdomain.com pending until Wed Sep 30 08:54:47 2009 as per bounce profile Default.
30 Sep 2009 08:54:50 (GMT -0400) (DCID 53198980) Delivery started for message 44444444 to user.name@recipientdomain.com.
30 Sep 2009 08:54:50 (GMT -0400) (DCID 53198980) Message 44444444 to user.name@recipientdomain.com delayed. Reason: 4.1.0 - Unknown address error ('450', ['4.1.8 <user@local.ourdomain.com>: Sender address rejected: Domain not found']) [('from', 'popeye@spinach.com')]
30 Sep 2009 08:54:50 (GMT -0400) Message 44444444 to user.name@recipientdomain.com pending until Wed Sep 30 09:01:08 2009 as per bounce profile Default.
Thanks for any help you can provide.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:30 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0