Operating System - HP-UX
1833832 Members
2278 Online
110063 Solutions
New Discussion

Re: Need sendmail.cf example for e-mail client

 
Lothar Mueller
Trusted Contributor

Need sendmail.cf example for e-mail client

Hi there,
I simply want to use sendmail as email-client.
As I'm very new to sendmail for me it is quite unclear what to put in sendmail.cf-file to simply send a message to a smtp-server.

Can anybody help me.

Any tips&tricks are appreciated.

Cheers

Lothar
5 REPLIES 5
Donald Kok
Respected Contributor

Re: Need sendmail.cf example for e-mail client

Lothar,

Just take the default sendmail.cf, and adjust the following:

Dj$w.yourdomain ; for instance Dj$w.a.b.c.d.com

DSyoursmtp-server ; f.i. DSmachinex.a.b.c.d.com

you can hide your machinename :
DMyourdoamin ; DMa.b.c.d.com

Then restart sendmail.

Good luck
Donald
My systems are 100% Murphy Compliant. Guaranteed!!!
Sebastian Galeski_1
Trusted Contributor
Lothar Mueller
Trusted Contributor

Re: Need sendmail.cf example for e-mail client

Thanks for your feedbacks,

they helped.

Please grant me one more question:

with what commando do I set the email-senders
name (acutally e-mails arrive as Super-User).
I want to change it generally to a default-value.

Any idea

Thank you

Lothar
Donald Kok
Respected Contributor

Re: Need sendmail.cf example for e-mail client

Hi Lothar,
you have to edit the /etc/passwd file for that. sendmail uses the comment field of the user.
Greetzz
Donald
My systems are 100% Murphy Compliant. Guaranteed!!!
Berlene Herren
Honored Contributor

Re: Need sendmail.cf example for e-mail client

Lothar, what version sendmail are you using?

(#sendmail -bs)

For a more secure sendmail, you should at least be at 8.9.3, and your configuration file should also be that version. The output of the -bs command will give two values... the first 8.X.X is the binary version, the second is the configuration file version.


From your last question, are you trying to change the envelope information?

Berlene

220 m31abhvs.atl.hp.com ESMTP Sendmail 8.9.3 (PHNE_25183)/8.9.3; Tue, 27 Aug 2002 05:35:48 -0400 (EDT)
http://www.mindspring.com/~bkherren/dobes/index.htm