Imap / Squirrel Mail

chiggly

Verified User
Joined
Jan 4, 2006
Messages
8
Location
UK
Hi there,

I am newish to DA but am running it on LINUX. I have trawled through the help files and forum so decided to try and get some help from here.

I have been using IMAP -> outlook express for mail happily for months. Today in outlook express I get a message suggesting that the username and password are wrong (it says the Server has rejected my login and to verify my uname & password).

Nothing has changed though.

I logged onto DA.
Checked SquirrelMail but that only logs on for the actual 'user' accounts. (under the user accounts I have mail accounts set up and it will not log on, not matter what I try!).

Any useful questions or help is much appreciated. From what I can see imap is working correctly.

Please help.

Thanks

Jane
 
Have you or the server updated anything recently?

Can you post the top five lines of your /etc/exim.conf file?

Thanks.

Jeff
 
Hi Jeff,

Thanks very much.

After spending an hour on the phone with my ISP they said that at 15.45 today the automated 'up2date' ran and one of the files that was upgraded was imapd.

Very bizarre as usually on a server each user has a directory and a email account via virttables. But works differently for DA.

Hope this helps. THANK YOU VERY MUCH....

Full of comments so scrolled down a bit.

# primary_hostname =

# Specify the domain you want to be added to all unqualified addresses
# here. An unqualified address is one that does not contain an "@" character
# followed by a domain. For example, "[email protected]" is a fully qualified
# address, but the string "caesar" (i.e. just a login name) is an unqualified
# email address. Unqualified addresses are accepted only from local callers by
# default. See the receiver_unqualified_{hosts,nets} options if you want
# to permit unqualified addresses from remote sources. If this option is
# not set, the primary_hostname value is used for qualification.

# qualify_domain =

# If you want unqualified recipient addresses to be qualified with a different
# domain to unqualified sender addresses, specify the recipient domain here.
# If this option is not set, the qualify_domain value is used.

# qualify_recipient =

# the next line is required to start the smtp auth script included
# in DirectAdmin

perl_startup = do '/etc/exim.pl'

# the next line is required to start the system_filter included in
# DirectAdmin to refuse potentiallly harmful payloads in
# email messages

system_filter = /etc/system_filter.exim


# SET SOME MEANINGFUL LIMITS
# OPTIONAL MODIFICATIONS:
# These defaults work for us; you may wish to modify them
# for your environment

message_size_limit = 20M
smtp_receive_timeout = 5m
smtp_accept_max = 100
message_body_visible = 3000
 
Unfortunately the comments are what I need; that's how I know which version of exim.conf you've got.

I may not be checking the forum again today; perhaps someone else can continue the thread if I'm not responding.

Jeff
 
sorry..

######################################################################
# Runtime configuration file for Exim #
######### IMPORTANT ########## IMPORTANT ########## IMPORTANT ########
# WARNING! Be sure to back up your previous exim.conf file before #
# attempting to use this exim.conf file. #
# #
# Do may not use this exim.conf Exim configuration file unless you #
# make the required modifications to your Exim configuration #
# following the instructions found below, in the section marked #
# "MODIFICATION INSTRUCTIONS". #
# #
# This is version "RSS-1.0da" of the exim.conf file as distributed #
# by nobaloney.net. #
# #
# The "RSS" stands for "Really Stop Spam", as the author believes #
# this distribution of the exim.conf file will Really Stop Spam. #
# Note that "Really Stop Spam" is both a trademark and a service #
# mark of nobaloney.net. #
# #
# The "da" stands for DirectAdmin as this distribution of the #
# exim.conf file is specific to the DirectAdmin control panel #
# installation. More information about DirectAdmin may be found at #
# http://www.directadmin.com. #
# #
# This Exim configuration file has been modified from the original #
# as distributed with Exim 4. The modifications have been made by: #
# #
# Jeff Lasman #
# nobaloney.net #
# P. O. Box 52672 #
# Riverside, CA 92517 #
# [email protected] #
# (909) 324-9706 #
# #
# Note that neither nobaloney.net nor Jeff Lasman have any #
# affiliation with DirectAdmin. #
# #
######################################################################
#
 
Hi board.. anyone..

Any chance of any help here. Still not working and mail is essential..

Many thanks in advance
 
Further information which may enable someone to help me..

I just retrieved imap email for a 'real' unix set up user account.

when I say 'real' I mean that the user has a home account /home/user. It is the main user for the domain(s).

I set that up in outlook express and chose imap and it downloaded the directory and everything correctly.

For the others that no longer work they have been set up using 'create email account' in DA . So do not have /home/<user> accounts.

I hope this helps?

I must admit I am not clear on how users and DA work. On a normal system you have 1 user account per email and use virtmaps to relate the two. Any help or pointing in the right direction would be great.
 
You're running a very old version of the exim.conf file.

The latest can be found (along with a README file) both at my download, and on DirectAdmin's files site.

But I no longer think that's the reason.

Having reread your post, are you logging in this way:

username: emailname
password: password

or this way:

username: [email protected]
password: password

For system accounts the top method is correct; for domain accounts the bottom method is correct.

Does this explanation help?

Jeff
 
Hi there,

Old version of exim.conf. software only bought and downloaded in July/ August. Umm I will try and download and update newer version which exact file am I downloading?. Thanks. Someone else installed DA for me. (so please excuse dumb questions).

Logging in as you mentioned in but after up2date ran it no longer worked for this type of log in.

username: [email protected]
password: password

imapd doesn't recognise them as proper users after upgrade.
 
Hi there,

Old version of exim.conf. software only bought and downloaded in July/ August. Umm I will try and download and update newer version which exact file am I downloading?. Thanks. Someone else installed DA for me. (so please excuse dumb questions).

Logging in as you mentioned in but after up2date ran it no longer worked for this type of log in.

username: [email protected]
password: password

imapd doesn't recognise them as proper users after upgrade.
 
It sounds as if up2date updated something it shouldn't have :( .

Look here for the correct file:

exim.conf.spamblocked

and be sure to read the information in the README file and follow all the instructions.

Jeff
 
Will download and try suggestions. Thank you very much for your help. will hopefully paste to say it worked OR not !


BTW, I ran the command below and it showed the following...
rpm -qi imap

Name : imap Relocations: (not relocatable)
Version : 2002d Vendor: Red Hat, Inc.
Release : 12 Build Date: Mon 28 Nov 2005 19:15:34 GMT
Install Date: Wed 04 Jan 2006 15:49:35 GMT Build Host: hs20-bc1-5.build.redhat.com
Group : System Environment/Daemons Source RPM: imap-2002d-12.src.rpm
Size : 2600444 License: University of Washington Free-Fork License
Signature : DSA/SHA1, Mon 05 Dec 2005 13:18:30 GMT, Key ID 219180cddb42a60e
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.washington.edu/imap/
Summary : Server daemons for IMAP and POP network mail protocols.
 
Hello,

If the imapd binary was updated to a non-DA version, then the system logins would still work, but the virtual ones would stop.

Simple fix is to copy the DA imapd binary back overtop of /usr/sbin/imapd.
Code:
cd /usr/local/directadmin/scripts
./imapd.sh
John
 
I get:

[root@t183 scripts]# ./imapd.sh
Can't open /etc/xinetd.conf: No such file or directory.
xinetd: unrecognized service
 
Back
Top