help

ok im running ubuntu 8.04 and virtualmin pro with latest updates on everything. it was installed on fresh os install using the install string on my perchase page. but no matter what i seem to do i cant get mail in or out and when i try to setup outlook express i always get error trying to check mail.

There was a problem logging onto your mail server. Your Password was rejected. Account: 'mail.xxxxxxx.com', Server: 'mail.xxxxxxx.com', Protocol: POP3, Server Response: '-ERR Login failed.', Port: 110, Secure(SSL): No, Server Error: 0x800CCC90, Error Number: 0x800CCC92

password i am using is correct.

any help would be really apreciated…

Hrm… if you log in over SSH, and edit /etc/dovecot/dovecot.conf, do you see a parameter named "disable_plaintext_auth"?

There should be a line in there that reads:

disable_plaintext_auth = no

However, that sometimes seems to be either set to "yes", or just commented out.

If you set that to "no", save the file, and restart Dovecot:

/etc/init.d/dovecot restart

And hopefully that should work!

Though if it does, that means the installer is missing that step and needs to be corrected. I’ll yell at Joe for you :slight_smile:
-Eric

thats one of the things i did fix based on all my reading it was default yes and had the # infront of it.

but yes i have tried that.

Okay, and you did restart Dovecot afterwards, right?

Also, the other place to look is in /var/log/mail.log and /var/log/auth.log.

Whenever you attempt to use Outlook, what errors appear in those log files?
-Eric

i think i might just have it. if im correct the forum email just went trough that email server.

ok mail wont go out now the outgoing mail times out comunicating with the server.

It sounds like your ISP probably blocks outgoing port 25.

Your options are:

  1. Use your ISP’s SMTP server as a mail relay, rather than attempting to connect to your Virtualmin server for sending email.

  2. Enable SMTPS and/or Submission within Postfix, and connect to your server on port 465 or 587. You’d enable those by logging into Virtualmin, and clicking Webmin -> Servers -> Postfix -> SMTP Authentication And Encryption, and making sure “Enable SASL SMTP authentication” and “Enable TLS encryption” are enabled, then restart Postfix.
    -Eric

na its not isp blocked this isnt the first server i have had i have static ip and everything open to me. maybe i have a bad setup on name services?

Enable SASL SMTP authentication is already set to yes could this be a problem?

also i am not getting mail in either just outlook is connecting and checking the server now.

What’s in the maillog/mail.log?

Feb 5 22:21:32 ubuntu postfix/smtpd[1749]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Feb 5 22:21:33 ubuntu postfix/master[28487]: warning: process /usr/lib/postfix/smtpd pid 1749 exit status 1
Feb 5 22:21:33 ubuntu postfix/master[28487]: warning: /usr/lib/postfix/smtpd: bad command startup – throttling

There you go!

So, you’ve got a broken smtpd_recipient_restrictions directive, causing Postfix to completely choke.

Mine looks like this:

smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination

Alright, it looks like Postfix is having a fit about something.

Would you mind if I logged in and took a peek at it?

If that’s okay, you can enable remote access using the Virtualmin support module:

http://www.virtualmin.com/documentation/id,support_requests_and_remote_login_access/

Or you could email me your root login details to eric@virtualmin.com – if you do that, be sure to include a link to this forum thread in the message body.
-Eric

Also note that there are two topics going on in this thread…One of which is sending mail through your server using a mail client (which would involve Postfix), and the other is retrieving mail via POP or IMAP (which would involve Dovecot). Keeping the two problems separate is probably wise, since you wouldn’t want to be chasing a Dovecot problem by sending mail, or chasing a Postfix problem by retrieving mail.

Looks like Joe beat me to it! I’d try his suggestion first :wink:
-Eric

andreychek wrote:

Hrm... if you log in over SSH, and edit /etc/dovecot/dovecot.conf, do you see a parameter named "disable_plaintext_auth"?

There should be a line in there that reads:

disable_plaintext_auth = no

However, that sometimes seems to be either set to "yes", or just commented out.

If you set that to "no", save the file, and restart Dovecot:

/etc/init.d/dovecot restart

And hopefully that should work!

Though if it does, that means the installer is missing that step and needs to be corrected. I’ll yell at Joe for you :slight_smile:
-Eric


ill drop you a email.

andreychek wrote:

Hrm... if you log in over SSH, and edit /etc/dovecot/dovecot.conf, do you see a parameter named "disable_plaintext_auth"?

There should be a line in there that reads:

disable_plaintext_auth = no

However, that sometimes seems to be either set to "yes", or just commented out.

If you set that to "no", save the file, and restart Dovecot:

/etc/init.d/dovecot restart

And hopefully that should work!

Though if it does, that means the installer is missing that step and needs to be corrected. I’ll yell at Joe for you :slight_smile:
-Eric


here`s what i got.
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated mydestination = $myhostname, localhost.$mydomain, localhost, ubuntu myorigin = $mydomain transport_maps = hash:/etc/postfix/transport sender_canonical_maps = hash:/etc/postfix/sender_canonical canonical_maps = hash:/etc/postfix/canonical

emails sent eric.

holler at me ill be around other the running to get wife in a few which i will only be gone about 15 minutes.

smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated

Yes, you’re missing some sort of “what happens then?”

You need a reject_unauth_destination in there.