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 email@example.com
. Now incoming I have aliases working so when I send to firstname.lastname@example.org
it goes to thisaccount. The problem is outgoing.
When I send out it always sends as email@example.com
. 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 sendmail.mc, 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