Solved

POSTFIX and external access to pop3

Posted on 2004-10-22
1,174 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
Question by:alextesi
    12 Comments
     
    LVL 7

    Expert Comment

    by: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.
    0
     
    LVL 1

    Author Comment

    by:alextesi
    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
    What is your system setup? (Programs that is)
    How is the users located?
    0
     
    LVL 1

    Author Comment

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

    alextesi
    0
     
    LVL 1

    Author Comment

    by:alextesi
    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
    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
    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
    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:
    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
    I try this solution and i tell you as soon as possible.
    thankyou
    alextesi
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Learn The Basics of Ethical Hacking & Pen Testing

    Computer and network security is one of the fastest growing and most essential industries in technology, meaning companies will pay big bucks for ethical hackers. This is the perfect course to leap into this lucrative career, learning how to use ethical hacking to reveal ...

    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…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.

    934 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

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now