Link to home
Start Free TrialLog in
Avatar of alextesi
alextesiFlag for Italy

asked on

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
Avatar of troopern
troopern

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.
Avatar of alextesi

ASKER

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

What is your system setup? (Programs that is)
How is the users located?
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

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?
I have postfix
ipopd - ipopd-ssl
uw_imapd - uw_imapd-ssl
here you are.

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

Help me!
What does your SASL lines in main.cf look like ?
Think they are the problem for the auth?
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
anyone can help me?
if you want tath i change my imap o pop server demon
just ask me !

Help me!
ASKER CERTIFIED SOLUTION
Avatar of troopern
troopern

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I try this solution and i tell you as soon as possible.
thankyou
alextesi