POSTFIX and external access to pop3

I have many problem with my e-mail server problem.
I try to installa a new debian sarge with postfix as e-mail server.
it work but only if i use a ssl/tls connection.
if i try to use pop3 o imap connection without ssl/tls autentication it does'nt work.
When i try to access it answer "Connection refuse from the server".
Can you help me ??
Alextesi
LVL 1
alextesiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

troopernCommented:
What does your logs say ?
What does your configs look like?

Strip the logs and the configs of nessescary info.
BUT start with the logoutput first.
What POP+IMAP daemon/s are you using ?

Please provide us with some more info.
0
alextesiAuthor Commented:
My log file :

Oct 23 19:01:39 mx1 imapd[32533]: AUTHENTICATE PLAIN failure host=[151.8.x.x]
Oct 23 19:01:43 mx1 imapd[32533]: AUTHENTICATE PLAIN failure host=[151.8.x.x]
Oct 23 19:02:00 mx1 imapd[32533]: Logout user=alextesi host=[151.8.x.x]
Oct 23 19:02:02 mx1 imapd[32534]: imap service init from 151.8.x.x
Oct 23 19:02:02 mx1 imapd[32534]: AUTHENTICATE PLAIN failure host=[151.8.x.x]
Oct 23 19:02:07 mx1 imapd[32534]: AUTHENTICATE PLAIN failure host=[151.8.x.x]
Oct 23 19:02:11 mx1 imapd[32534]: Command stream end of file, while reading line user=alextesi host=[151.8.x.x]

and my e-mail reader (Mozilla Thunderbird) answare :
"
Sending of username did not succeed.
Mail server 151.8.x.x responded: Unknown AUTHORIZATION state command
"

Alextesi

0
troopernCommented:
What is your system setup? (Programs that is)
How is the users located?
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

alextesiAuthor Commented:
I manage 3 distinct domain on my server
the domain directory is in /home/domainnane.ext/
and the structure is :
/home/domainnane.ext/
/home/domainnane.ext/cgi-bin/                             cgi-bin directory
/home/domainnane.ext/home/                              user homes
/home/domainnane.ext/public_html/                      www home
/home/domainnane.ext/logs/                                 logs directory
/home/domainnane.ext/

To manage the domain i use webmin with virtualmin module.

Do you need antithing else ?
alextesi

0
troopernCommented:
How is your mailsystem built?
Postfix + Courier-IMAP + MySQL + Apache ...
or in another way?
what does your IMAP config look like and is "PLAIN" the correct way to auth on your server?
0
alextesiAuthor Commented:
I have postfix
ipopd - ipopd-ssl
uw_imapd - uw_imapd-ssl
here you are.

alextesi
0
alextesiAuthor Commented:
anyone can help me?
if you want tath i change my imap o pop server demon
just ask me !

Help me!
0
troopernCommented:
What does your SASL lines in main.cf look like ?
Think they are the problem for the auth?
0
alextesiAuthor Commented:
Here you are .

# See /usr/share/postfix/main.cf.dist for a commented, more complete version

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = $mydomain
mydestination = $myhostname, localhost.$mydomain, $mydomain
mailbox_command = procmail -a $EXTENSION
mailbox_size_limit = 0
recipient_delimiter = +
virtual_alias_maps = hash:/etc/postfix/virtual
canonical_maps = hash:/etc/postfix/canonical
sender_canonical_maps = hash:/etc/postfix/sender_canonical
recipient_canonical_maps = hash:/etc/postfix/recipient_canonical
smtp_skip_4xx_greeting = no
allow_untrusted_routing = yes

Alextesi
0
alextesiAuthor Commented:
anyone can help me?
if you want tath i change my imap o pop server demon
just ask me !

Help me!
0
troopernCommented:
Sorry for not replying in time.. had some trouble with my own mailserver.. after an update.. and I've been too buzy at work.

Have you checked your non-ssl/tls settings for your imap&pop3 daemon ?
What does these configs look like?


You could use courier-imapd(it works for both imap & pop3) and I've got some sites that could help you out.

http://www.gentoo.org/doc/en/virt-mail-howto.xml
http://high5.net/howto/

These both are based on Postfix, Courier-IMAP, MySQL and alittle more.

Hope this helps.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
alextesiAuthor Commented:
I try this solution and i tell you as soon as possible.
thankyou
alextesi
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.