I am building a testing lab. I have configured a sendmail server.
Now, I need to configure a client to send email. It should be simple,
but I can't find out what I am missing:
I know that I can send email in three ways:
1. Send an email from my workstation, connected a ISP.
2. Send an email from my workstation or server using your own means.
(using sendmail -q)
3. Send and receive mails.
3 => I need a sendmail dameon running and that's not what I want
running in my client machine
1 or 2 => that what I need.
When I run "echo test | mail -s test us...@sendmailserver.localdomain"
OR "sendmail us...@sendmailserver.localdomain" I get "Connection
refused by [127.0.0.1]"
How to I tell sendmail to stop trying to connect to itself and just
send message straight away to the sendmailserver?
I guess I am missing some concepts as smarthost or relay...
[dd]
> When I run "echo test | mail -s test us...@sendmailserver.localdomain"
> OR "sendmail us...@sendmailserver.localdomain" I get "Connection
> refused by [127.0.0.1]"
> How to I tell sendmail to stop trying to connect to itself and just
> send message straight away to the sendmailserver?
Look at the FEATURE(msp) parameters in /etc/mail/submit.mc or whatever
this file is called at your site.
However, if you want to get authenticated at the ISP's relay, things
become more complicated. I have not been able to make GSSAPI
authentication work so far.
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/