Could one of you gifted virtualmin experts spare a minute for an email issue

1 post / 0 new
#1 Sun, 07/03/2016 - 03:25
emind

Could one of you gifted virtualmin experts spare a minute for an email issue

hELLO,
I would be ever so grateful if someone could help me with this problem

about a week ago I updated webmin/virtualmin and the update some how corrupted webmin user theme, couldnt repair it so had to erase server and start again.reinstalled everything.

Ive not been able to access email via Eudora since the reinstall.

Ive been able to send email from my personal account and from gmail and They all are received by the relevant inboxs (mxxx, sxxx etc)
home/emis/homes/sxxx/Maildir/new
home/emis/homes/mxxx/Maildir/new

so ... Im assuming that postfix/dovecot are working.

My problem is
... when I use Eudora to access the relevant email boxes (whether by pop3 or imap) it wont download anything.
I have checked the Eudora connections (pop3 & imap) and it says it has connected with the mail boxes ... but when I try to download them with Eudora, Eudors logs in and then logs out. (which is what happens if the email box is empty) but I definitely know there are emails in all these mail boxes.

Ive searched the posts and spent days on this problem till ive become brain dead ... Im just totally at a loss now as to how to fix this problem to get Eudora to download the emails from my website mail boxes.

HERES THE MAILLOG example on just 2 of my email boxes
========================
Jul 3 00:03:48 server postfix/smtpd[18836]: connect from mail110.syd.optusnet.com.au[211.xx.xxx.xx]
Jul 3 00:03:49 server postfix/smtpd[18836]: 03F7F14C7219: client=mail110.syd.optusnet.com.au[211.xx.xxx.xx]
Jul 3 00:03:49 server postfix/cleanup[18839]: 03F7F14C7219: message-id=<>
Jul 3 00:03:49 server postfix/smtpd[18836]: disconnect from mail110.syd.optusnet.com.au[211.xx.xxx.xx]
Jul 3 00:03:49 server postfix/qmgr[1015]: 03F7F14C7219: from=, size=1039, nrcpt=1 (queue active)
Jul 3 00:03:50 server postfix/smtpd[18836]: connect from mail106.syd.optusnet.com.au[211.xx.xxx.xx]
Jul 3 00:03:50 server postfix/smtpd[18836]: F100B14C721E: client=mail106.syd.optusnet.com.au[211.xx.xx.xx]
Jul 3 00:03:51 server postfix/cleanup[18839]: F100B14C721E: message-id=<>
Jul 3 00:03:51 server postfix/smtpd[18836]: disconnect from mail106.syd.optusnet.com.au[211.xx.xxx.xx]

Jul 3 00:03:51 server postfix/qmgr[1015]: F100B14C721E: from=, size=1057, nrcpt=1 (queue active)
Jul 3 00:03:51 server postfix/local[18847]: F100B14C721E: to=, orig_to=, relay=local, delay=0.44, delays=0.3/0.01/0/0.13, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Jul 3 00:03:51 server postfix/qmgr[1015]: F100B14C721E: removed
Jul 3 00:03:51 server postfix/local[18840]: 03F7F14C7219: to=, orig_to=, relay=local, delay=2.5, delays=0.26/0.01/0/2.2, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Jul 3 00:03:51 server postfix/qmgr[1015]: 03F7F14C7219: removed

Jul 3 00:03:56 server dovecot: pop3-login: Login: user=, method=PLAIN, rip=110.20.223.78, lip=174.140.167.86, mpid=18863
Jul 3 00:03:56 server dovecot: pop3(sxxx.emis): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Jul 3 00:03:59 server dovecot: pop3-login: Login: user=, method=PLAIN, rip=110.20.223.78, lip=174.140.167.86, mpid=18867
Jul 3 00:04:00 server dovecot: pop3(mxxx.emis): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
========================
above the last 4 lines i can see the email is delivered
I check the different website email boxes (by wscp) and the received emails are there (ive opened to read them)
you can see in the last 4 lines that Eudora logs in and then logs back out again.
I think its a dovecot.pop3 problem.

/ETC/POSTFIX/MAIN.CNF
========================

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
inet_interfaces = all
inet_protocols = all
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.6.6/samples
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
virtual_alias_maps = hash:/etc/postfix/virtual
sender_bcc_maps = hash:/etc/postfix/bcc
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
home_mailbox = Maildir/
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
mailbox_size_limit = 0
allow_percent_hack = no
sender_canonical_maps = hash:/etc/postfix/canonical

### NOT SURE IF THESE 2 BELOW ARE REQUIRED ###

#recipient_bcc_maps = hash:/etc/postfix/recipient_bcc
#sender_dependent_default_transport_maps = hash:/etc/postfix/sender_transport

### DO THESE BELOW NEED 2B REMOVED? ###

smtpd_error_sleep_time = 1s
smtpd_soft_error_limit = 10
smtpd_hard_error_limit = 20
smtpd_client_connection_count_limit = 10
smtpd_client_connection_rate_limit = 60

========================

/ETC/POSTFIX/MASTER.CNF
========================

smtp inet n - n - - smtpd -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
# -o smtpd_tls_security_level=encrypt
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
#smtps inet n - n - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - n - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o smtp_fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
retry unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache

#had to add this at servr reinstall 2016-6-27

submission inet n - n - - smtpd -o smtpd_sasl_auth_enable=yes

========================

/ETC/DOVECOT/DOVECOT.CNF
========================

[root@server ~]# dovecot -n
# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-042stab090.5 x86_64 CentOS release 6.8 (Final)
auth_mechanisms = plain login
disable_plaintext_auth = no
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_privileged_group = mail
mbox_write_locks = fcntl
passdb {
driver = pam
}
protocols = imap pop3
ssl_cert =
========================

thanks ever so much for sparing the time ... Im lost over this issue.
Glen