Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

yet another lamer that is having trouble with sendmail

Status
Not open for further replies.

Cadwalader

IS-IT--Management
Feb 12, 2002
297
US
Hey, how's it going?

I am trying to get FormMail to use sendmail. The file permissions are correct, everything is in the right place, but I don't have a sendmail.cw, or sendmail.mc file. According to the sparse info in the FormMail script, and lots of posts in here, I need them. I don't have m4, either.
I do have sendmail.cf, though.

The server is a RedHat 7.2 system (and it's a live server, too).
As far as the hardware, I am lost. There is no name on it. All I can tell you is that it's gray, and it's a rackmount box.

What I am trying to accomplish is something to send a user their password if they forget it. All they have to do is enter thier e-mail address and the passward is sent to them.
So I am open to alternatives. It doesn't have to be FormMail. Oh, I am aware of the security holes in FormMail. I just gave it a real cryptic name. No trouble in over a month.

Here's where it gets good: I entered these commands==>

rpm -q sendmail-doc
and
rpm -q sendmail-config

and I got: package sendmail-config(and 'doc') is not installed

Please,help. The site this is on was moved from a hosting company to a local server and apperently, over 100 people a day forget thier passwords (it's a little busy, yeah). Since people can't get their passwd the way they are supposed to, they flood the secretaries inbox, and the phone rings off the hook, and while I am here (usually 9-5), I am constantly looking up passwords for people because I am the only one who knows were to go and how to do it.

any help would be greatly appreciated. Hope I was of some help...
--OR--
Thanks for the help...
--Rich

 
Suggestion:
Keep a minimal database with these records and write a small cgi interface to it in an auth secured directory. The customers log in as they know the auth password, entertheir names, the script interfaces the db,retrieves the password and mails it to them.

If you can program this is a couple of hours worth of a chore. If not..well
formmail should not be used IMO, and
security through obscurity just doesn't work well enough most of the time.

I'd be willing to code it for you
for a fee, but this shouldn't be
necessary ;)..check out sourceforge
and freshmeat for some solutions.
 
i don't know exactly how formmail will lookup the passwords for the easy-to-forget users, but i don't think you need those files at all.
the sendmail.cw usually lists those names by which the mta is known, and the mc is the actual conf that is used to build sendmail.cf through m4.

furthermore you do have a sendmail.mc i guess...
i'm not sure but you can find it out, the sendmail-config package that you mention might have been called sendmail-cf before, in earlier releases. check the contents of sendmail-config 'rpm -ql sendmail-config'.
if it's the same package you should have a bunch of .mc files in /usr/lib/sendmail-(cf|config)/cf, or something like that.

hope this may be helpful.

cheers, gabriel.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top