문제

I have installed sendmail on my webserver. Sending and receiving emails does work, but when I use authentication on port 25 ( to avoid spam attacks), I can't receive emails anymore. All I get is an authentication error.

Is there a way to deactivate authentication in sendmail for incoming mail?

Edit 1 : In my sendmail configuration I have this lines:

DAEMON_OPTIONS(Name=ESMTP,Port=465,Modifiers=a')
DAEMON_OPTIONS(Name=STARTTLS,Port=587,Modifiers=a') 
DAEMON_OPTIONS(`Name=SMTP,Modifiers=a') 
도움이 되었습니까?

해결책

You can not force authentication on port SMTP (25) if you want to receive messages from "strangers" (other SMTP hosts worldwide).

You should require authentication on SMTPS (465) and MSA (587) ports.

You may reject connection from DUL (dynamically allocated) IP addresses for unauthenticated connections and addresses listed by other DNSBL lists. Use FEATURE(enhdnsbl,...) with some DNSBL listing DUL ranges and FEATURE(delay_checks,...).


BTW You have missed s Modifier for SMTPS.

DAEMON_OPTIONS(`Name=SMTPS,Port=465,Modifiers=sa')
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top