Sponsored Content
Operating Systems HP-UX Sendmail changes userid in Return-Path Post 302963955 by rsmitherscorp on Friday 8th of January 2016 09:29:26 AM
Old 01-08-2016
Sendmail changes userid in Return-Path

Hi,

sendmail on our hp-ux box is changing the userid of the from address. I have searched the web and read the man pages but can't stop this from happening.

We have a process which creates a text file we pass into sendmail. In the text file we write for example:

Code:
Return-Path: joe.bloggs@ourcompany.com

But when sendmail sends the email it is changed to
Code:
Return-Path: root@ourcompany.com

Is possible to fix this and if so, how?

Thanks

Last edited by rsmitherscorp; 01-08-2016 at 10:57 AM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SED - How to return PATH from PATH/NAME

Hi, How can I get /usr/people/me/ from /usr/people/me/file.abc with sed? Thanks... (2 Replies)
Discussion started by: cybotic
2 Replies

2. UNIX for Advanced & Expert Users

userid

I would like to know the difference between the real user-id and the effective user-id. If user-A runs a program owned by user-B then which is the real user-id and which is the effective user-id ? (1 Reply)
Discussion started by: sundaresh
1 Replies

3. Shell Programming and Scripting

sendmail return code

hi, I am sending mail from unix using sendmail option My requirement is that i have to check whether mail has been sent or not i can check the returnstatus using $? but is there any other option to check whether sendmail option has succeeded thanks in advance suggestions welcome (0 Replies)
Discussion started by: trichyselva
0 Replies

4. UNIX for Dummies Questions & Answers

to pick up the Return Code ( RC) from the mailx command and return it to SAS uisng 's

Hi All, Can anyone please let me know the syntax / how to pick up the Return Code ( RC) from the mailx command and return it to SAS uisng 'system()' function and '${?}'. I am in a process to send the mail automatically with an attachment to bulk users. I have used 'Mailx' and 'Unencode'... (0 Replies)
Discussion started by: manas6
0 Replies

5. Linux

userid access to a single path

Hi All, Can a user-a on linux be able to access to particular path only? I think is not possible because if the /etc have r on the other then user-a can access it. Right? Thanks for any comment you have will add. (1 Reply)
Discussion started by: itik
1 Replies

6. Solaris

How do I configure sendmail to block all OUTGOING mail FROM one userid TO the world?

Hello, ENVIRONMENT: OS: Solaris 10 Sendmail: 8.13.8+Sun BACKGROUND: We had a user account that was compromised and was used as a relay. She sent out (or would have if we didn't kill sendmail) ~10K emails alerting people they just won $75K. The target for this spam was everyone internal... (1 Reply)
Discussion started by: avikb
1 Replies

7. Shell Programming and Scripting

Return Full File Path To Array PERL

Iam trying to load the full path of multiplie files in the same directory to an array if the filenames matches a pattern. The following is the current code; where $input=C:\test # change to and open the comparison directory chdir("$input2") || die "Cannot change dir: $!"; opendir(DIR2,... (2 Replies)
Discussion started by: cold_Que
2 Replies

8. UNIX for Dummies Questions & Answers

userid and pw

questions: a. where can I customized the password of userid in solaris? say I wanted 10digits long, all caps? thanks (4 Replies)
Discussion started by: lhareigh890
4 Replies

9. AIX

Sendmail "from" is not from the userID sending

On one of my servers (AIX 7.1 sendmail=V10/Berkeley) When I login and sudo su to a serviceID and send a test email, the from header shows as being from my loginID and not the serviceID. I have a second server (AIX 6.1 sendmail=V9/Berkeley) where following the same steps the email head has the... (3 Replies)
Discussion started by: LCarpenter
3 Replies

10. Shell Programming and Scripting

Return path of specific tag using awk

The below awk is used with the attached index.html and matches the specific user id in the sub portion with path of /rundb/api/v1/plugin/49/. The command does run but the output is blank. Something changed in the file structure as it used to work. So using the first line in the output: ... (2 Replies)
Discussion started by: cmccabe
2 Replies
deliver(8)						      System Manager's Manual							deliver(8)

NAME
deliver - Delivers mail to an IMAP mailbox SYNOPSIS
/usr/bin/deliver [-d] [-r address] [-f address] [-m mailbox] [-a auth-id] [-e] [-q] [-F flag]... [userid]... deliver -E days OPTIONS
Ignored for compatibility with /bin/mail Inserts a Return-Path: header containing address Inserts a Return-Path: header containing address Delivers to mailbox. If any userids are specified, attempts to deliver to user.userid.mailbox for each userid. If the access control list (ACL) on any such mailbox does not grant the sender the right to post mail (p right) or if -m is not specified, then delivers to the INBOX for the userid , regardless of the ACL on the INBOX. If no userids are specified, the deliver command attempts to deliver to mailbox. If the ACL on mailbox does not grant the sender the p right, the delivery fails. Specifies the authorization id of the sender. Defaults to "anonymous". Enables duplicate deliv- ery suppression. This suppresses delivery of the message to a mailbox if a message with the same message-id (or resent-message-id) is recorded as having already been delivered to the mailbox. Records the mailbox and message-id/resent-message-id of all successful deliveries. Delivers a message even when the receiving mailbox is over its quota. Sets the system option or keyword flag on the delivered message. Removes the duplicate delivery database of entries older than days. DESCRIPTION
The deliver command reads a message from the standard input and delivers it to one or more IMAP mailboxes. The deliver command reads its configuration options out of the imapd.conf file. Depending on the setting of the reject8bit field in the imapd.conf file, deliver either rejects messages with 8-bit-set characters in the headers or changes these characters to X. FILE
Configuration file for the IMAP server SEE ALSO
Commands: cyradm(1), imapd(8), imapquota(8), reconstruct(8) Files: imapd.conf(4) deliver(8)
All times are GMT -4. The time now is 05:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy