[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Getting XEmacs/VM (+other MUAS) to use remote mailserver




> Hi All.
> 
> Until I've had a Qmail server running on my desktop machine (which I always 
> mess
> about with).
> 
> I'm tired of reconfig'ing an MTA every time I mess up my desktop, so I've
> installed QMail onto a 486, running as quark.localdomain (192.168.0.4)
> 
>  I can't get VM to connect straight to the mailserver to send mail out.
> 
> Here are the relevant bits of my .xemacs/custom.el:
> 
>  '(smtpmail-smtp-server "quark.localdomain")
>  '(smtpmail-smtp-service 25)
>  '(toolbar-mail-reader (quote vm))
>  '(mail-use-rfc822 t)
>  '(smtpmail-default-smtp-server "quark.localdomain")
> 
> I can send email from the mailserver by telnet'ing to port 25 and using a few
> SMTP commands OK, but I can't get VM to do it.
> 
> How to I get "mail", "pine" etc to use a remote MTA?
> 
> Help! :-)
> 
> Baz.

I don't know emacs, but I know qmail :) What's the error? Can the client 
connect to qmail okay? What does qmail spit out in /var/log/whatever? Have 
you ensured that you've allowed the machine to relay? For this last one, 
/if/ you use TCP wrappers, you need summat like one or both of these lines 
in hosts.allow:

	tcp-env: LOCAL: setenv RELAYCLIENT: ALLOW
	tcp-env: .madhouse: setenv RELAYCLIENT: ALLOW

If not TCP wrappers (DJB's tcpserver? xinetd?) refer to appropriate docs, 
and the qmail FAQ :)

'mail' and similar commands (Mail, mailx) use sendmail, in qmail's case, 
this is the sendmail wrapper. They feed the message to a local sendmail, 
and let that handle the actual delivery. Dunno about Pine - never used it 
:) May be something similar if you can't config an SMTP server.

Chris...who's off to bed, so will worry about the response tomorrow :)



-- 
Chris Johnson            \  "If not for me then, do it for yourself. If not
sixie@nccnet.co.uk        \  for then do it for the world." -- Stevie Nicks
www.nccnet.co.uk/~sixie/   ~---------------------------------------+
Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000   \______


---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.