Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-03-2003, 09:03 AM   #1
LQ Newbie
Registered: Jun 2003
Posts: 22

Rep: Reputation: 15
My genericstable feature in sendmail seems to be ignored

I'm running sendmail on rh linux 8.0. I've got the basics up and running. However, I have a php server on there as well and mail sent from it was setting the from address to What I want is the from to be set to And eventually all mail will run through this and I want the domain for all mail to be set to

I learned that with the MASQUERADE_AS macro, I can change the domain part. So I was able to get Then I read up (sendmail book by O'Reilly) and found that I can use the genericstable feature so that one user can be mapped to another in the "from" field for outgoing mail. So here is my setup

#### basic .mc file for my company

Then, I set up my genericstable db as such'''

I then ran the makemap hash command and moved the resulting genericstable.db file to /etc/mail/genericstable. I then (of course) restarted sendmail.

The mail is being sent and received just fine. However, although my MASQUERADE_AS macro seems to be working, my genericstable feature seems to be ignored. And I don't see any errors in my mail log. In fact it says it was delievered and returns an ok status, as one would expect considering I get the mail.

Now my question is WHAT AM I DOING WRONG? Sorry! I'm just a little annoyed at sendmail's complexity and am hoping someone can see what I'm doing wrong. Thanks for any help you can give.


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/qpopper - FEATURE waffe Linux - General 1 12-07-2010 08:41 PM
gaim feature vexer Linux - Software 7 03-07-2005 11:08 PM
SYSERR(root): hash map "generics": missing map file /etc/mail/genericstable.db? singying304 Linux - Networking 4 02-28-2005 06:49 AM
which distros have this feature.. kurrupt Linux - Distributions 2 07-16-2004 03:20 AM
bug or feature? Gunnyman Linspire/Freespire 5 03-06-2004 03:18 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:29 AM.

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