at the end Virtual Users And Domains With Postfix, Courier And MySQL...

Discussion in 'HOWTO-Related Questions' started by daniel_rodriguez, Jan 13, 2006.

  1. I'm ashamed for the question I'm goint to ask :(
    but can't figure out the right wayt to configure outlook express to gain access to mail

    In addition my postfix test results in following output

    Code:
    [COLOR="RoyalBlue"]server:/# telnet localhost 25
    Trying 127.0.0.1...
    Connected to localhost.localdomain.
    Escape character is '^]'.
    220 server.domain.com ESMTP Postfix (Debian/GNU)
    ehlo localhost
    250-server.domain.com
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5
    250 8BITMIME[/COLOR]
    
    Line 250-AUTH NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5 is no the same as tutorial's, that's ok? Or my configuration has errores.

    One last question, tutorial dind´t covered DNS, however bind command gives me following result when asking for howtoforge.com.
    Where should bind9's .conf files be? /etc/named or /var/lib/named doesn't exist

    Code:
    [COLOR="RoyalBlue"]
    server:/# dig howtoforge.com
    
    ; <<>> DiG 9.2.4 <<>> howtoforge.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56523
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;howtoforge.com.                        IN      A
    
    ;; ANSWER SECTION:
    howtoforge.com.         86400   IN      A       81.169.182.36
    
    ;; AUTHORITY SECTION:
    howtoforge.com.         58556   IN      NS      a1.rsns.hosteurope.de.
    howtoforge.com.         58556   IN      NS      www.ensignweb5.de.
    
    ;; ADDITIONAL SECTION:
    a1.rsns.hosteurope.de.  3600    IN      A       80.237.128.1
    www.ensignweb5.de.      86400   IN      A       212.227.21.213
    
    ;; Query time: 912 msec
    ;; SERVER: 210.245.19.135#53(210.245.19.135)
    ;; WHEN: Fri Jan 13 16:31:39 2006
    ;; MSG SIZE  rcvd: 144
    [/COLOR]
    
    thanks in advance
     
    Last edited: Jan 13, 2006
  2. falko

    falko Super Moderator Howtoforge Staff

    You must enable "Server requires authentication."
    http://mail.cs.uiuc.edu/relay/outlook-config.html

    That's not ok. Please compare your configuration with the one from the tutorial.

    dig is just a program to do DNS lookups, it asks the name servers listed in /etc/resolv.conf. You don't need Bind to run dig. On Debian Bind's configuration files are in /etc/bind by default. If it doesn't exist, it's likely that Bind isn't installed.
     
  3. Thanks Falko, will check configuration step-by-step

    do you sleep anytime?
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Yes, enough, I think. :)
     
  5. even now 'telneting' port 25 give me the same result as tutorial outlook express complain this way
    Code:
    '[B]-ERR Login failed.[/B]', Puerto: 110, Seguridad (SSL)
    ... via prompt
    Code:
    web:/# telnet localhost pop3
    Trying 127.0.0.1...
    Connected to localhost.localdomain.
    Escape character is '^]'.
    +OK Hello there.
    user [email protected]
    +OK Password required.
    pass ******
    [B]-ERR Maildir: No such file or directory[/B]
    Connection closed by foreign host.
    web:/# 
    
    and I'm getting this error on mail.log
    Code:
    Jan 16 15:35:23 web courierpop3login: [B]LOGIN FAILED[/B], ip=[::ffff:10.14.8.6]
    Also can see that mail addresses are created '[email protected]' but I need to be '[email protected]'

    hostname is 'web'
    and domain is 'mcye.misiones.gov.ar'
     
    Last edited: Jan 16, 2006
  6. falko

    falko Super Moderator Howtoforge Staff

    You have to send a mail to that user first. The Maildir will be created upon arrival of the first email. Afterwards you can login with POP3.
     
  7. Now appears this message in mail.log

    Code:
    Jan 17 08:22:25 web postfix/virtual[3102]: fatal: mysql:/etc/postfix/mysql-virtual_mailboxes.cf: proxy map is not allowed for security sensitive data
    Jan 17 08:22:26 web postfix/master[2687]: warning: process /usr/lib/postfix/virtual pid 3102 exit status 1
    Jan 17 08:22:26 web postfix/master[2687]: warning: /usr/lib/postfix/virtual: bad command startup -- throttling
    
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Which distribution do you use? I wrote the HowTo for Debian Sarge.
     
  9. box is running with Debian Sarge GNU/Linux, kernel 2.6.8-2-686
     
  10. falko

    falko Super Moderator Howtoforge Staff

    That's ok. Please compare your configuration files with those of the tutorial. Maybe you made a typo somewhere, or the format is wrong...
     

Share This Page