On 25/08, Isak Andersson wrote:
I suspect that "accept (from local) for any relay" is not enough for a
remote to authenticate with system users. So I am suspecting that I somehow
need to use PAM authentication. Problem is that I can't find any
documentation on how to use PAM.


If opensmtpd is built with pam support you just have to make a /etc/pam.d/smtpd file. The contents varies depending on distribution, but I've attached mine.

--
Sincerely,
 Johannes Löthberg
 PGP Key ID: 3A9D0BB5
#%PAM-1.0
#auth     required  pam_securetty.so     #disable remote root
auth      include   system-remote-login
account   include   system-remote-login
password  include   system-remote-login
session   include   system-remote-login

Attachment: pgp1ZdJY3oQBl.pgp
Description: PGP signature

Reply via email to