PDA

View Full Version : at the end Virtual Users And Domains With Postfix, Courier And MySQL...


daniel_rodriguez
13th January 2006, 16:00
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


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


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



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



thanks in advance

falko
13th January 2006, 23:23
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
You must enable "Server requires authentication."
http://mail.cs.uiuc.edu/relay/outlook-config.html


In addition my postfix test results in following output


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


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.
That's not ok. Please compare your configuration with the one from the tutorial.

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



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



thanks in advance
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.

daniel_rodriguez
16th January 2006, 13:54
Thanks Falko, will check configuration step-by-step

do you sleep anytime?

falko
16th January 2006, 19:26
do you sleep anytime?
Yes, enough, I think. :)

daniel_rodriguez
16th January 2006, 20:00
even now 'telneting' port 25 give me the same result as tutorial outlook express complain this way
'-ERR Login failed.', Puerto: 110, Seguridad (SSL)

... via prompt

web:/# telnet localhost pop3
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
+OK Hello there.
user daniel@mcye.misiones.gov.ar
+OK Password required.
pass ******
-ERR Maildir: No such file or directory
Connection closed by foreign host.
web:/#


and I'm getting this error on mail.log
Jan 16 15:35:23 web courierpop3login: LOGIN FAILED, ip=[::ffff:10.14.8.6]

Also can see that mail addresses are created 'user@web.mcye.misiones.gov.ar' but I need to be 'user@mcye.misiones.gov.ar'

hostname is 'web'
and domain is 'mcye.misiones.gov.ar'

falko
16th January 2006, 23:11
... via prompt

web:/# telnet localhost pop3
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
+OK Hello there.
user daniel@mcye.misiones.gov.ar
+OK Password required.
pass ******
-ERR Maildir: No such file or directory
Connection closed by foreign host.
web:/#





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.

daniel_rodriguez
17th January 2006, 12:27
Now appears this message in mail.log

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

falko
17th January 2006, 17:54
Which distribution do you use? I wrote the HowTo for Debian Sarge.

daniel_rodriguez
17th January 2006, 18:02
box is running with Debian Sarge GNU/Linux, kernel 2.6.8-2-686

falko
18th January 2006, 18:23
That's ok. Please compare your configuration files with those of the tutorial. Maybe you made a typo somewhere, or the format is wrong...