Did you add the new domain to the 'relay-domains' file?
Also make sure you have the following lines below as well.

        define(`SMART_HOST', `mail.yourdomain.com')dnl
        MASQUERADE_AS(newdomain.com)
        MASQUERADE_DOMAIN(yourdomain.com)
        FEATURE(`masquerade_envelope')
        FEATURE(genericstable,`hash -o /etc/mail/genericstable')D

You also need to have a new generichashtable using the command below:
        makemap -r hash genericstable.db < genericstable

Hope this helps.







On Wed, 23 Oct 2002, Ernest E Vogelsinger wrote:

> At 20:30 23.10.2002, Jacques Gelinas said:
> --------------------[snip]--------------------
> >> Sendmail is set to not relay anything except localhost. I now need to allow
> >> relaying from our internal network (10.10.10.0/24) to anywhere, but have
> >> absolutely no clue as to how to put this stuff directly into the cf file.
> >
> >> If anyone has experience with hacking the .cf I'd be grateful for any help
> >> I can get...
> >
> >Under linuxconf/networking/server tasks/mail delivery system/anti-spam
> >filters/
> >setting "relay email from" by IP, enter the network prefix (10,10,10). Check
> >the help.
> --------------------[snip]-------------------- 
> 
> Thanks, naturally I tried this _before_ asking the list ;-> but this option
> simply adds the networks to ip_allow. Somehow my sendmail.cf is not
> configured to honor ip_allow (nor access.db, nor relay_domains).
> 
> I believe I need to reinstall sendmail, turn on relaying, and then add vhost.
> Well, I need 8.12 anyway...
> 
> Thx 4help,
> 
>    >O     Ernest E. Vogelsinger
>    (\)    ICQ#   13394035
>     ^     
> 
> 
> 
> 



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to