Fresh install of Virtualmin 3.82.gpl GPL doesn't allow authenticated users to connect to send mail

I have a fresh install on a Centos 5 machine. Everything works fine. Mail is received, filtered, etc. Http works but no one can connect to the machine to send mail.

I also put this in the general forums so I apologize for the duplication but this seems like an install bug to me. I assume the default install should allow an authorized user to connect to port 25 and send mail.

First the maillog had this error:

Jan 21 16:46:52 vps07 postfix/master[579]: warning: process /usr/libexec/postfix/smtpd pid 20300 exit status 1 Jan 21 16:46:52 vps07 postfix/master[579]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling Jan 21 16:47:52 vps07 postfix/smtpd[20306]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit

I change the main.cf to smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination

and the errors stopped but I still can't connect. When I try to connect via outlook express I get: An unknown error has occurred. Account: 'xxxx@duvals.ca', Server: 'duvals.ca', Protocol: SMTP, Server Response: '421 Cannot connect to SMTP server xx.51.38.170 (xx.51.38.170:587), connect error 10061', Port: 25, Secure(SSL): No, Server Error: 421, Error Number: 0x800CCC67

What's also odd about this above (Maybe I'm wrong but...) It's trying to connect to port 25 but then also says x.51.38.170:587 which makes it looks like 587???

Status: 
Closed (fixed)

Comments

Howdy -- it looks like we've been working through your issue in this forum posting here:

https://www.virtualmin.com/node/16956

We're happy to help, but it'll be easier to keep all the details in one thread :-)

I'll respond with some additional details over there...