Sponsored Content
Operating Systems AIX Mutt/Sendmail Masquerading Problem on AIX 5.3 Post 302391674 by FHMARTINS on Tuesday 2nd of February 2010 06:59:22 AM
Old 02-02-2010
Error Mutt/Sendmail Masquerading Problem on AIX 5.3

We are running Unix AIX 5.3 and I have been asked to masquerade the sender name on our email processing.
We have one domain name and many users:
user1@domainname
user2@domainname
user3@domainname

We use mutt/sendmail to do our email processing.

I discovered that using genericstable within sendmail covered this.
So I created a genericstable:
user1 new1@emailaddress
user2 new2@emailaddress
user3 new3@emailaddress

and amended sendmail.cf to take in:
Kgenerics and Ruleset 93

and then started doing some testing.

This works well when using mail:
mail -s "test" deliver@address < /dev/null
If run from user1 the sender address becomes new1@emailaddress

However if run from mutt the result is not what I want:
mutt -s "test" deliver@address < /dev/null
If run from user1 the sender address remains user1@domainname and doesn't become new1@emailaddress.

I can't see where the problem lies as surely mail and mutt must be using sendmail and yet mutt must be ignoring the genericstable.

Has anyone experienced anything similar?

Many thanks.
Francisco Martins
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Sendmail config on AIX 5.3

Hi, I've looked through the posts here and tried everything and cannot get sendmail to work properly. The server only needs to send and not receive mail. I need it to be routed through an open relay which has ip address of 10.126.35.8. Here's what I've done so far: I have amended... (1 Reply)
Discussion started by: johnbrickell
1 Replies

2. AIX

Mutt 1.5 on Aix 5.3

Anyone out there successfully compile mutt 1.5 on AIX 5.3? I get an error on 'make install' but can't sort out what the issue is: # make install ./gen_defs ./OPS ./OPS.PGP ./OPS.SMIME ./OPS.CRYPT > keymap_defs.h ./patchlist.sh < ./PATCHES > patchlist.c echo... (0 Replies)
Discussion started by: eth0
0 Replies

3. UNIX for Dummies Questions & Answers

Sendmail Masquerading

Hi, I'm trying to get my mails sent from the address user@domain instead of user@hostname.domain. Should be simple masquerading configuration in sendmail config files, but this is where I fall (newbie). The sendmail.cf is not recommended for editing. There should be some kind of .mc file that... (0 Replies)
Discussion started by: shimpanzo
0 Replies

4. AIX

How to configure sendmail for AIX 5.3

Hello All, I am very new to this sendmail thing. I need to set up AIX servers with sendmail service to get emails in my corporate email address. All I am asked to do is use SMTP gateways (already in place) for using sendmail. thanks in advance (0 Replies)
Discussion started by: solaix14
0 Replies

5. SCO

Sendmail masquerading

I am having a problem with my sendmail configuration I have masquerading on but when I send a mail to multiple people it masquerades my email but not the others? see the sample below: From: name@vegena.net Sent: Friday, July 24, 2009 9:42 AM To: name2@atksco1.vegena.net;... (0 Replies)
Discussion started by: garycrow
0 Replies

6. AIX

AIX sendmail configuration

I want to configure sendmail on AIX 4 and 5 to send emails to a windows SMTP proxy server for distribution. Mail would be going from AIX to Windows but any return emails would be sent not AIX but to a default Windows return address. What variables in the AIX sendmail.cf file would need to be... (1 Reply)
Discussion started by: rahe
1 Replies

7. AIX

sendmail on AIX

Hi, Is sendmail required to read local mail for root user on AIX? I shutdown sendmail daemon and sent a test mail to root and I got it. I don't know if I'm missing something here. Thanks regards Israel. (1 Reply)
Discussion started by: iga3725
1 Replies

8. Ubuntu

Problem with Mutt!

HI i am using Ubuntu 10.10. I tried to install Mutt downloaded from 'ftp://ftp.mutt.org/mutt/mutt-1.4.2.3.tar.gz'. I tried to configure and make install. I was successful to configure is note but make install is giving me make not found error. How to successfully install please tell. (6 Replies)
Discussion started by: nixhead
6 Replies

9. AIX

sendmail masquerading on AIX.

Hello all, I have a requirement wherein I need to change the "received from" address parameter for outgoing mails from an AIX server. I tried using the option to specify the "reply-to" address, still my relay server rejects the mails as the "received from" address still contains . I know,... (1 Reply)
Discussion started by: thisissouvik
1 Replies

10. Red Hat

Sendmail - Masquerading multiple domains with different addresses

Hello Friends, I am running Sendmail 8.14 on rhel6. I have one simple question regarding domain masquerading, i would want to masquerade different domains with different addresses. By that what i mean is that lets say i have 3 domains as home.com, example.com, test.com and i would want to... (0 Replies)
Discussion started by: Rohit Bhanot
0 Replies
TEXTDOMAIN(3)						     Library Functions Manual						     TEXTDOMAIN(3)

NAME
textdomain - set domain for future gettext() calls SYNOPSIS
#include <libintl.h> char * textdomain (const char * domainname); DESCRIPTION
The textdomain function sets or retrieves the current message domain. A message domain is a set of translatable msgid messages. Usually, every software package has its own message domain. The domain name is used to determine the message catalog where a translation is looked up; it must be a non-empty string. The current message domain is used by the gettext, ngettext functions, and by the dgettext, dcgettext, dngettext and dcngettext functions when called with a NULL domainname argument. If domainname is not NULL, the current message domain is set to domainname. The string the function stores internally is a copy of the domainname argument. If domainname is NULL, the function returns the current message domain. RETURN VALUE
If successful, the textdomain function returns the current message domain, after possibly changing it. The resulting string is valid until the next textdomain call and must not be modified or freed. If a memory allocation failure occurs, it sets errno to ENOMEM and returns NULL. ERRORS
The following error can occur, among others: ENOMEM Not enough memory available. BUGS
The return type ought to be const char *, but is char * to avoid warnings in C code predating ANSI C. SEE ALSO
gettext(3), ngettext(3), bindtextdomain(3), bind_textdomain_codeset(3) GNU gettext 0.18.1 May 2001 TEXTDOMAIN(3)
All times are GMT -4. The time now is 10:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy