Operating System - HP-UX
1834164 Members
2593 Online
110064 Solutions
New Discussion

HPUX Sendmail SMTP and Relaying

 
SOLVED
Go to solution
Russell Gann_2
Occasional Contributor

HPUX Sendmail SMTP and Relaying

I have set my /etc/mail/access file to allow RELAY from my Window's hosts. I can send mail out that authenticates to mydomain.com, but if I try to sendmail out as someuser@somedomain.com (that doesn't match my local domain), it denies the relay. How can I change this? I want to allow all outgoing mail to the world from my local boxes and they need to use unauthenticated domain or addresses(hopefully without becoming SPAMMED).

Thanks,

Russ
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: HPUX Sendmail SMTP and Relaying

The access file should contain the local IP address of the machine being permitted to relay mail.

You may need to run gen_cf to get the databases build so the server works with changes you have made to your access file.

You might need to have entries in /etc/mail/virtusertable
/etc/mail/genericstable

These tables let you send outbound mail for multiple domain names.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Denver Osborn
Honored Contributor
Solution

Re: HPUX Sendmail SMTP and Relaying

What version of sendmail are you running?

Have you tried using relay-domains?

# vi /etc/mail/relay-domains
domain1.com
domain2.net

# vi /etc/mail/sendmail.cf
FR-o /etc/mail/relay-domains <-uncomment

stop/start sendmail

Hope this helps,
-denver