1833144 Members
3307 Online
110051 Solutions
New Discussion

Re: sendmail

 
SOLVED
Go to solution
Dave La Mar
Honored Contributor

sendmail

We are new to HP-UX. In setting up users I notice we are limited to eight characters. This became a problem when setting up the masquerade for our N Class (11.0).
When sending the user@hostname the user does not match the user name set up in Outlook on our NT mail server. Therefore, a reply is undeliverable.
1. Can I substitute the $LOGNAME prior to using mailX?
2. Can I change the max length login name?

Thanks for any insight.
"I'm not dumb. I just have a command of thoroughly useless information."
4 REPLIES 4
Kevin Wright
Honored Contributor
Solution

Re: sendmail

you need to set up aliasing as well as masquerading for this to work.
with your DM set, do this..
uncomment 0=UserDataBaseSpec=/etc/mail/userdb
in sendmail.cf
then create the maps in /etc/mail
create userdb like this
bobonhp:mailname outlookname
outlookname:maildrop bobonhp
then run makemap
makemap btree /etc/mail/userdb.db < /etc/mail/userdb
stop and restart sendmail
Dave La Mar
Honored Contributor

Re: sendmail

I'm trying, you've got a real dummy here.
My unix login is davlam, my outlook name is dave.lamar.
userdb file is:
davlam:davlam dave.lamar
dave.lamar:maildrop davlam
Obviously I am doing something wrong as any mail I send to outlook still says from davlam instead of dave.lamar.
Your thoughts.
Also, is there a graceful way to stop and start sendmail. I have been killing the process and then issuing a sendmail -bd. Nothing in man pages on stopping or starting.
Thanks.
"I'm not dumb. I just have a command of thoroughly useless information."
Kevin Wright
Honored Contributor

Re: sendmail

close,
your userdb needs to be
davlam: mailname dave.lamar
the second line is correct with maildrop
then run makemap again
/sbin/init.d/sendmail stop then start

Dave La Mar
Honored Contributor

Re: sendmail

Thanks Kevin!
"I'm not dumb. I just have a command of thoroughly useless information."