Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-21-2004, 06:28 PM   #1
LQ Newbie
Registered: Mar 2004
Posts: 11

Rep: Reputation: 0
Masking outgoing mail (Sendmail)

Sort of new to the whole Sendmail thing. Dunno if this is the correct forum. Basically I cant seem to get genericstable to work. Example:

I have a local account called thisaccount. thisaccount has an email address of Now incoming I have aliases working so when I send to it goes to thisaccount. The problem is outgoing.

When I send out it always sends as Im using squirrelmail with imap to send out. I tried using domainstable like so:


I then hashed it with:

makemap hash genericstable < genericstable

Tried to even restart sendmail. Still cant get this to work. DNS is working fine or my aliases wouldnt work at all. If you need additional information, then please let me know. The only way I can get this to work is if I specify a FROM address. But I would then have to rely on the client to change it on their side.

In my, I used m4 to make the changes to cf file, I have:

FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(`genericstable', `hash -o /etc/mail/genericstable')dnl

I tired with genericstable.db as well, no luck. Any suggestions would be appreciated

Old 03-21-2004, 06:57 PM   #2
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
When I send out it always sends as Im using squirrelmail with imap to send out. I tried using domainstable like so:

isnt that how mail works.

you send the mail, its from you.
Old 03-21-2004, 09:30 PM   #3
LQ Newbie
Registered: Mar 2004
Posts: 11

Original Poster
Rep: Reputation: 0
No, you can convert outgoing email per local account bases. But I just cant get it to work. At work my home folder is fname but my email goes out as

I just hope I dont have to write a conversion in



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail and outgoing mail shafey Linux - Networking 1 11-16-2005 05:57 AM
Filtering Outgoing Mail With Sendmail WeNdeL Linux - Software 1 08-25-2004 04:12 PM
How to separate Incoming Mail and Outgoing Mail on SENDMAIL LiloAma Linux - Networking 1 03-22-2004 03:24 AM
Sendmail : How To control outgoing mail joseph Linux - Software 0 02-16-2004 08:30 PM
sendmail outgoing mail karunesh Linux - General 0 11-17-2003 03:19 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration