Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

POSTFIX and external access to pop3

Posted on 2004-10-22
12
Medium Priority
?
1,178 Views
Last Modified: 2008-02-07
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
0
Comment
Question by:alextesi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5
12 Comments
 
LVL 7

Expert Comment

by:troopern
ID: 12385316
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
 
LVL 1

Author Comment

by:alextesi
ID: 12388903
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
 
LVL 7

Expert Comment

by:troopern
ID: 12392143
What is your system setup? (Programs that is)
How is the users located?
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
LVL 1

Author Comment

by:alextesi
ID: 12393433
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
 
LVL 7

Expert Comment

by:troopern
ID: 12395067
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
 
LVL 1

Author Comment

by:alextesi
ID: 12421240
I have postfix
ipopd - ipopd-ssl
uw_imapd - uw_imapd-ssl
here you are.

alextesi
0
 
LVL 1

Author Comment

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

Help me!
0
 
LVL 7

Expert Comment

by:troopern
ID: 12643060
What does your SASL lines in main.cf look like ?
Think they are the problem for the auth?
0
 
LVL 1

Author Comment

by:alextesi
ID: 12644754
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
 
LVL 1

Author Comment

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

Help me!
0
 
LVL 7

Accepted Solution

by:
troopern earned 1000 total points
ID: 12931973
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
 
LVL 1

Author Comment

by:alextesi
ID: 13048341
I try this solution and i tell you as soon as possible.
thankyou
alextesi
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question