Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi, thought if I have enforced to use the Linux /etc/passwd file to authenticate myself from Outlook, Postfix will accept mail from any IPs. However, I'm not able to send mails from my Outlook via my mail server to someone else on the Internet. Am seeing the following in Postfix's log.
Mar 11 21:07:39 production postfix/smtpd: connect from pcdxxxxx.netvigator.com[184.108.40.2066]
Mar 11 21:07:39 production postfix/smtpd: NOQUEUE: reject: RCPT from pcdxxxxx.netvigator.com[220.127.116.116]: 554 5.7.1 <email@example.com>: Relay access denied; from=<firstname.lastname@example.org> to=<email@example.com> proto=ESMTP helo=<Windows>
Mar 11 21:07:42 production postfix/smtpd: disconnect from pcdxxxxx.netvigator.com[18.104.22.1686]
Do you want to try removing that last bit?(reject_unauth_destination). This isn't a solution, but an attempt to clarify the problem. BTW, there's great stuff on postfix config in the clamav docs, among other places.
that's a bit risky. you'd be relying on postfix's builtin safety net, if any, to prevent your becoming an open relay.
@grob115, in light of your smtpd_recipient_restrictions, your client (outlook) is not successful in authenticating. maybe you should do a manual authentication test as described here. also, since you might consider using sasl over tls, unless you don't plan on using PLAIN/LOGIN authentication.
Hi, thanks for the responses. I recalled that I actually was able to get send mail and no changes to the mail server setup has been applied so not sure why it's not behaving now. Nevertheless, I attempted to verify my memory by going over the settings versus the steps listed on Postfix's site for SASL. Here are the two lines that I want to emphasize.
Postfix by itself does not perform authentication (SASL). In order to add this functionality you need a 3rd party library. Last I recall, Postfix supported this feature with either the Dovecot or Cyrus authentication libraries. Of the two, Dovecot is easier to configure.
two things come to mind:
1. error in postfix<->cyrus-sasl communication: check maillog for errors.
2. the smtp dialog you pasted above did not come from the postfix server in question: the banner is non-standard, and so it the "Requested mail action okay, completed" line.