Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using sendmail just as a client

0 views
Skip to first unread message

leoh

unread,
Mar 25, 2008, 10:13:57 PM3/25/08
to
After searching for answers in this newsgroup and reading sendmail.org/
faq, I decided to ask it here, If this question is already answered
somewhere, please help me find it.


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...

Victor Sudakov

unread,
Mar 28, 2008, 1:20:14 AM3/28/08
to
leoh wrote:

[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/

0 new messages