Hello,

when I use in smtpd.conf:
.
..
...
listen on egress secure pki nroot.pl auth <secrets>
...
..
.

mail sending to me can't reach:

smtp-in: Failed command on session 14529d46237222d5: "MAIL
FROM:<[email protected]> SIZE=1599" =>530 5.5.1 Invalid command: Must issue
an AUTH command first


when I use in smtpd.conf

.
..
...
listen on egress secure pki nroot.pl
...
..
.


is ok, mail from world can reach to me, but then smtpd server is open
for send mail for each.
How to use auth for only sending mail from my client?


Regards,
Krzych


my smtpd.conf:
#----------------------------------------------------------------------------------------
listen on lo0

table aliases db:/etc/mail/aliases.db
table secrets db:/etc/mail/secrets.db
pki exaple.com certificate "/etc/ssl/mail.crt"
pki exaple.com key "/etc/ssl/private/mail.key"

listen on egress secure pki exaple.com auth <secrets>
accept from any for domain "exaple.com" alias <aliases> deliver to maildir

accept for local alias <aliases> userbase <secrets> deliver to maildir
accept from local for any relay
accept from any for any relay
#----------------------------------------------------------------------------------------

Reply via email to