On 2014-07-24 10:38, [email protected] wrote:
> hi,
>    I try to install opensmtpd on my archlinux
> 
> in a base configuration, it works OK
> 
> if I try to add "relayhost" I have error:
> 
> 
> I try to add in /etc/smtpd/secrets: label [email protected]:mypass
> and run: makemap secrets
> 
> in smtpd.conf I have:
> 
> listen on localhost
> table aliases file:/etc/smtpd/aliases
> table secrets db:/etc/smtpd/secrets.db
> accept for local deliver to mbox
> accept relay via smtps+auth://[email protected]:465 auth <secrets>
> 
> 
> but when I start daemon (in systemd) I have:
> 
> lug 24 10:29:37 arch64 smtpd[4883]: info: OpenSMTPD 5.4.2p1 starting
> lug 24 10:29:37 arch64 smtpd[4884]: info: startup
> lug 24 10:29:37 arch64 systemd[1]: Started OpenSMTPD.
> lug 24 10:29:37 arch64 smtpd[4884]: warn: lost child: lookup exited abnormally
> lug 24 10:29:37 arch64 smtpd[4886]: info: control process exiting
> lug 24 10:29:37 arch64 smtpd[4889]: info: mail filter exiting
> lug 24 10:29:37 arch64 smtpd[4892]: warn: smtp -> mfa: pipe closed
> lug 24 10:29:37 arch64 smtpd[4884]: warn: parent terminating
> lug 24 10:29:37 arch64 systemd[1]: smtpd.service: main process exited, 
> code=exited, status=1/FAILURE
> lug 24 10:29:37 arch64 systemd[1]: Unit smtpd.service entered failed state.
> 
> 
> can you show some examples right for me?
> 
> 
> 
> 
> thank you
> 
> [email protected]
> 
> -- 
> You received this mail because you are subscribed to [email protected]
> To unsubscribe, send a mail to: [email protected]
> 

Try starting via "smtpd -dvv" to get more verbosity.
Anyway, here's my example (running opensmtpd-git on arch):

+++
listen on lo # Notice I use lo instead of localhost. Not sure if it makes a 
difference.

table secrets { "elysion" => "[email protected]:mypassword" }

accept for any relay via "tls+auth://[email protected]:587" auth 
<secrets> verify
+++

Hope it helps!

-- 
Hugo Osvaldo Barrera
A: Because we read from top to bottom, left to right.
Q: Why should I start my reply below the quoted text?

Attachment: pgpAhAz_aKlza.pgp
Description: PGP signature

Reply via email to