Sponsored Content
Full Discussion: Sendmail Masquerading
Top Forums UNIX for Dummies Questions & Answers Sendmail Masquerading Post 302096533 by shimpanzo on Thursday 16th of November 2006 05:25:57 AM
Old 11-16-2006
Question 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 you edit, then 'compile' and it changes the .cf file.

I don't have sendmail.mc file in /etc/mail so I created one with the following lines that supposed to make my masquerading successful:

MASQUERADE_AS(`alcatel.co.il)dnl
MASQUERADE_DOMAIN(`.alcatel.co.il')dnl
EXPOSED_USER(`root')dnl
FEATURE(`masquerade_entire_domain')dnl
FEATURE(`masquerade_envelope')dnl

But... I don't know how to compile it to sendmail.cf. m4 command is not available. HELP!!! (be specific). Thanks.

Last edited by shimpanzo; 11-17-2006 at 03:31 AM..
 

10 More Discussions You Might Find Interesting

1. IP Networking

IP Masquerading

Hello I am trying to setup a nework using IP Masquerading. I followed the instructions/ steps as follows: 1. Appropriated a multi-homed box 2. I have installed Redhat Linux 8.0 on it (base install) 3. INetwork settings eth0 192.168.0.1 netmask 255.255.255.0 eth1 a static IP my... (4 Replies)
Discussion started by: skotapal
4 Replies

2. Linux

postfix configuration issues...specifically masquerading (lack of )

postfix configuration issues...specifically masquerading (lack of ) Mail sent to our intranet arrives correctly (me@domain.com). Mail sent to our intranet arrives correctly (me@domain.com). Anything going outside does not, so my tests get rejected (me@hostname.com) :( any assistance... (5 Replies)
Discussion started by: mr_manny
5 Replies

3. IP Networking

selective masquerading

I am running Linux 2.6.20 on i686 architecture. I want to be able to masquerade different hosts on my LAN to different external interfaces. Specifically, I want one specific host to masquerade through a vpn tunnel while the other hosts simply masquerade over the regular ISP interface. I only... (4 Replies)
Discussion started by: NESter
4 Replies

4. 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

5. IP Networking

howto start with gateway / router / masquerading

Hi there, I have only basic knowledge in Unix but I'm eager to learn. I have a new complex (for me) exercice and I have no idea how to start. I have a regular network on witch I'm trying to plug another network. Here is an image of the physical network.... (7 Replies)
Discussion started by: chebarbudo
7 Replies

6. AIX

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... (1 Reply)
Discussion started by: FHMARTINS
1 Replies

7. UNIX for Dummies Questions & Answers

Sending mail as another user (username masquerading)

I have sendmail as the smtp server. I want that all mails sent from user1 actually appears to come from user2(also should be reflected in mail header). How can i accomplish the task by tweaking sendmail or are there any other means to do so? (4 Replies)
Discussion started by: proactiveaditya
4 Replies

8. 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

9. 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

10. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies
FvwmM4(1)							   Fvwm Modules 							 FvwmM4(1)

NAME
FvwmM4 - the fvwm M4 pre-processor SYNOPSIS
Module FvwmM4 [options] filename The FvwmM4 module can only be invoked by fvwm. Command line invocation of the FvwmM4 module will not work. DESCRIPTION
When fvwm executes the FvwmM4 module, FvwmM4 invokes the M4 pre-processor on the file specified in its invocation, then FvwmM4 causes fvwm to execute the commands in the resulting file. INVOCATION
FvwmM4 can be invoked as a module using an fvwm command, from the .fvwm2rc file, a menu, mousebinding, or any of the many other ways fvwm commands can be issued. If the user wants his entire .fvwm2rc file pre-processed with FvwmM4, then fvwm should be invoked as: fvwm -cmd "Module FvwmM4 .fvwm2rc" Note that the argument to the option "-cmd" should be enclosed in quotes, and no other quoting should be used. When FvwmM4 runs as a module, it runs asynchronously from fvwm. If FvwmM4 is invoked from the .fvwm2rc, the commands generated by FvwmM4 may or may not be executed by the time fvwm processes the next command in the .fvwm2rc. Invoke FvwmM4 this way for synchronous execution: ModuleSynchronous FvwmM4 -lock filename OPTIONS
Some options can be specified following the modulename: -m4-prefix I think this makes all the m4 directives require the prefix "m4_". -m4-prefix-defines Causes built-in defines to be prefixed with "m4_" (i.e., m4_HOME is defined instead of HOME, etc.) -m4opt option Lets you pass an option to the m4 program. Not really needed as any unknown options will be passed on automatically. -m4-squote character Lets you change the m4 start-of-quote character to character. -m4-equote character Lets you change the m4 end-of-quote character to character. -m4prog name Instead of invoking "m4", fvwm will invoke name. -outfile filename Instead of creating a random unique name for the temporary file for the preprocessed rc file, this option specifies the name of the temporary file created. FvwmM4 attempts to remove this file before writing to it, so don't point it at anything important even if it has read-only protection. -debug Causes the temporary file created by m4 to be retained. This file is usually called "/tmp/fvwmrcXXXXXX" -lock If you want to use this option you need to start FvwmM4 with ModuleSynchronous. This option causes fvwm to wait that the pre-process to finish and then FvwmM4 asks fvwm to Read the pre-processed file before continuing. This can be useful at startup if you use a session manager like Gnome. Also, this is useful if you want to process and run a Form in an fvwm function. -noread Causes the pre-processed file to be not read by fvwm. Useful for pre-processing an FvwmScript script. CONFIGURATION OPTIONS
FvwmM4 defines some values for use in the pre-processor file: TWM_TYPE Always set to "fvwm". SERVERHOST The name of the machine running the X Server. CLIENTHOST The name of the machine running fvwm. HOSTNAME The hostname of the machine running fvwm. Generally the same as CLIENTHOST. OSTYPE The operating system for CLIENTHOST. USER The name of the person running fvwm. HOME The home directory of the person running fvwm. VERSION The X11 version. REVISION The X11 revision number. VENDOR The X server vendor. RELEASE The X server release number. SCREEN The screen number. WIDTH The screen width in pixels. HEIGHT The screen height in pixels. X_RESOLUTION Some distance/pixel measurement for the horizontal direction, I think. Y_RESOLUTION Some distance/pixel measurement for the vertical direction, I think. PLANES Number of color planes for the X server display BITS_PER_RGB Number of bits in each rgb triplet. CLASS The X11 default visual class, e.g. PseudoColor. COLOR Yes or No, Yes if the default visual class is neither StaticGrey or GreyScale. FVWM_CLASS The visual class that fvwm is using, e.g. TrueColor. FVWM_COLOR Yes or No, Yes if the FVWM_CLASS is neither StaticGrey or GreyScale. FVWM_VERSION The fvwm version number, ie 2.0 OPTIONS Some combination of SHAPE, XPM, NO_SAVEUNDERS, and M4, as defined in configure.h at compile time. FVWM_MODULEDIR The directory where fvwm looks for .fvwm2rc and modules by default, as determined at compile time. FVWM_USERDIR The value of $FVWM_USERDIR. SESSION_MANAGER The value of $SESSION_MANAGER. Undefined if this variable is not set. EXAMPLE PROLOG
define(TWM_TYPE,``fvwm'')dnl define(SERVERHOST,``spx20'')dnl define(CLIENTHOST,``grumpy'')dnl define(HOSTNAME,``grumpy'')dnl define(OSTYPE,``SunOS'')dnl define(USER,``nation'')dnl define(HOME,``/local/homes/dsp/nation'')dnl define(VERSION,``11'')dnl define(REVISION,``0'')dnl define(VENDOR,``HDS human designed systems, inc. (2.1.2-D)'')dnl define(RELEASE,``4'')dnl define(SCREEN,``0'')dnl define(WIDTH,``1280'')dnl define(HEIGHT,``1024'')dnl define(X_RESOLUTION,``3938'')dnl define(Y_RESOLUTION,``3938'')dnl define(PLANES,``8'')dnl define(BITS_PER_RGB,``8'')dnl define(CLASS,``PseudoColor'')dnl define(COLOR,``Yes'')dnl define(FVWM_VERSION,``1.24l'')dnl define(OPTIONS,``SHAPE XPM M4 '')dnl define(FVWM_MODULEDIR,``/local/homes/dsp/nation/modules'')dnl define(FVWM_USERDIR,``/local/homes/dsp/nation/.fvwm'')dnl define(SESSION_MANAGER,``local/grumpy:/tmp/.ICE-unix/440,tcp/spx20:1025'')dnl AUTHORS
FvwmM4 is the result of a random bit mutation on a hard disk, presumably a result of a cosmic-ray or some such thing. 3rd Berkeley Distribution 7 May 208 (2.5.26) FvwmM4(1)
All times are GMT -4. The time now is 10:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy