Rachel Polanskis wrote:
>
> If all goes well, you should now have the mail envelope automagically
> rewritten such that all outgoing mail from your home computer will
> appear to be sourced from your ISP.
>
> Sorry for the length of this text - it's a pretty involved process
> to explain. I am sure there must be an easier way to do this in Sendmail
> but this was my solution - TMTOWTDI after all ;)
I've found a set-up that seems to work OK.
Just to say how I went:
Create files such that:
[~]# cat /etc/mail/genericstable_source
your_local_username [EMAIL PROTECTED]
[~]# cat /etc/mail/generics-domains
your.local.machine.name
[~]#
Then do
makemap -v hash /etc/mail/genericstable < /etc/mail/genericstable_source
Then add to /etc/sendmail.mc the following( it may have
to be in the middle of the file before the MAILER entries):
FEATURE(`genericstable',`hash -o /etc/mail/genericstable')dnl
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl
Then run:
(save a copy of /etc/sendmail.cf somewhere just in case)
m4 /etc/sendmail.mc > /etc/sendmail.cf
(this needs m4 and sendmail-cf stuff installed)
(may not work with older sendmails ??)
Restart sendmail
I think that is everything. It seems to work OK
Josh
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug