Outlook does not Authenticates

Discussion in 'Server Operation' started by aberrio, Oct 16, 2007.

  1. aberrio

    aberrio New Member

    Hi, yes look good, I have not clue either.

    mail:~ # ls -l /etc/sysconfig
    total 288
    -rw-r--r-- 1 root root 31278 Oct 26 01:24 SuSEfirewall2
    -rw-r--r-- 1 root root 571 Oct 5 16:27 amavis
    -rw-r--r-- 1 root root 9422 Oct 3 01:12 apache2
    -rw-r--r-- 1 root root 961 Oct 2 23:34 auditd
    -rw-r--r-- 1 root root 809 Oct 2 23:31 autofs
    -rw-r--r-- 1 root root 522 Oct 2 23:33 autoinstall
    -rw-r--r-- 1 root root 1139 Oct 2 23:34 backup
    -rw-r--r-- 1 root root 20 Oct 2 23:44 bluetooth
    -rw-r--r-- 1 root root 1389 Oct 2 23:34 boot
    -rw-r--r-- 1 root root 545 Oct 2 23:10 bootloader
    -rw-r--r-- 1 root root 505 Oct 2 23:04 bootsplash
    -rw-r--r-- 1 root root 995 Oct 2 23:34 clock
    -rw-r--r-- 1 root root 2982 Oct 2 23:09 console
    -rw-r--r-- 1 root root 3656 Oct 14 13:03 cron
    -rw-r--r-- 1 root root 431 Oct 2 23:39 cups
    drwxr-xr-x 2 root root 4096 Oct 3 19:32 daemons
    -rw-r--r-- 1 root root 90 Oct 2 23:18 displaymanager
    drwxr-xr-x 4 root root 4096 Oct 2 23:18 hardware
    -rw-r--r-- 1 root root 390 Oct 2 23:03 ide
    -rw-r--r-- 1 root root 1143 Oct 2 23:03 joystick
    -rw-r--r-- 1 root root 3080 Oct 2 23:34 kernel
    -rw-r--r-- 1 root root 2962 Oct 2 23:09 keyboard
    -rw-r--r-- 1 root root 3150 Oct 2 23:34 language
    -rw-r--r-- 1 root root 842 Oct 2 23:09 ldap
    -rw-r--r-- 1 root root 1448 Oct 14 13:03 locate
    -rw-r--r-- 1 root root 417 Oct 2 23:31 lvm
    -rw-r--r-- 1 root root 787 Oct 15 18:13 mail
    -rw-r--r-- 1 root root 2492 Oct 5 17:14 mailman
    -rw-r--r-- 1 root root 1456 Oct 2 23:04 mdadm
    -rw-r--r-- 1 root root 1398 Oct 2 23:09 mouse
    -rw-r--r-- 1 root root 1923 Oct 3 00:10 named
    -rw-r--r-- 1 root root 1025 Oct 2 23:07 net-snmp
    drwxr-xr-x 6 root root 4096 Oct 2 23:18 network
    -rw-r--r-- 1 root root 193 Oct 2 23:34 news
    -rw-r--r-- 1 root root 1095 Oct 2 23:09 nfs
    -rw-r--r-- 1 root root 2871 Oct 2 23:56 ntp
    -rw-r--r-- 1 root root 172 Oct 2 23:08 portmap
    -rw-r--r-- 1 root root 9125 Oct 15 18:13 postfix
    drwxr-xr-x 2 root root 4096 Oct 2 23:39 powersave
    -rw-r--r-- 1 root root 1289 Oct 2 23:34 proxy
    -rw-r--r-- 1 root root 281 Oct 13 23:05 saslauthd
    -rw-r--r-- 1 root root 1950 Oct 2 23:32 scpm
    drwxr-xr-x 2 root root 4096 Oct 2 23:03 scripts
    -rw-r--r-- 1 root root 336 Oct 2 23:05 scsidev
    -rw-r--r-- 1 root root 533 Oct 14 18:42 seccheck
    -rw-r--r-- 1 root root 1080 Oct 2 23:34 security
    -rw-r--r-- 1 root root 379 Oct 2 23:07 services
    -rw-r--r-- 1 root root 356 Oct 2 23:34 shutdown
    -rw-r--r-- 1 root root 1188 Oct 2 23:03 sound
    -rw-r--r-- 1 root root 281 Oct 5 16:27 spamd
    -rw-r--r-- 1 root root 162 Oct 2 23:09 ssh
    -rw-r--r-- 1 root root 44 Oct 2 23:29 suse_register
    -rw-r--r-- 1 root root 1723 Oct 2 23:34 suseconfig
    -rw-r--r-- 1 root root 313 Oct 2 23:34 sw_management
    -rw-r--r-- 1 root root 1641 Oct 2 23:34 sysctl
    -rw-r--r-- 1 root root 1479 Oct 3 00:10 syslog
    -rw-r--r-- 1 root root 8009 Oct 2 23:04 ulimit
    -rw-r--r-- 1 root root 432 Oct 2 23:34 windowmanager
    -rw-r--r-- 1 root root 1121 Oct 2 23:09 ypbind
    -rw-r--r-- 1 root root 169 Oct 2 23:08 zmd
    mail:~ #
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/sysconfig/postfix and /etc/sysconfig/saslauthd?
     
  3. aberrio

    aberrio New Member

    for /etc/sysconfig/postfix ....

    POSTFIX_RELAYHOST=""

    POSTFIX_MASQUERADE_DOMAIN=""

    POSTFIX_LOCALDOMAINS=""

    POSTFIX_NULLCLIENT="no"

    POSTFIX_DIALUP="no"

    POSTFIX_NODNS="no"

    POSTFIX_CHROOT="no"

    POSTFIX_UPDATE_CHROOT_JAIL=no

    POSTFIX_LAPTOP=no

    POSTFIX_UPDATE_MAPS=yes

    POSTFIX_MAP_LIST="virtual transport access canonical sender_canonical relocated sasl_passwd:600 relay_ccerts"

    POSTFIX_RBL_HOSTS=""

    POSTFIX_BASIC_SPAM_PREVENTION=off

    POSTFIX_MDA=local

    POSTFIX_SMTP_AUTH_SERVER=no

    POSTFIX_SMTP_AUTH=no

    POSTFIX_SMTP_AUTH_OPTIONS=""

    POSTFIX_SMTP_TLS_SERVER=no

    POSTFIX_SMTP_TLS_CLIENT="no"

    POSTFIX_SSL_PATH="/etc/postfix/ssl"

    POSTFIX_TLS_CAFILE="cacert.pem"

    POSTFIX_TLS_CERTFILE="certs/postfixcert.pem"

    POSTFIX_TLS_KEYFILE="certs/postfixkey.pem"

    POSTFIX_SSL_COUNTRY="XX"

    POSTFIX_SSL_STATE="Some state"

    POSTFIX_SSL_LOCALITY="Some locality"

    POSTFIX_SSL_ORGANIZATION="Some Organization"

    POSTFIX_SSL_ORGANIZATIONAL_UNIT="Some Organizational Unit"

    POSTFIX_SSL_COMMON_NAME="A common name"

    POSTFIX_SSL_EMAIL_ADDRESS="postmaster"

    POSTFIX_ADD_MAILBOX_SIZE_LIMIT=0

    POSTFIX_ADD_MESSAGE_SIZE_LIMIT=10240000

    POSTFIX_REGISTER_SLP="yes"

    POSTFIX_ADD_MYNETWORKS_STYLE="subnet"


    and for /etc/sysconfig/saslauthd.....

    SASLAUTHD_AUTHMECH=pam
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Can you try this in /etc/sysconfig/postfix?
    Code:
    POSTFIX_SMTP_AUTH=yes
    POSTFIX_SMTP_AUTH_OPTIONS="plain login"
    Then run
    Code:
    SuSEconfig
    /etc/init.d/postfix restart
     
  5. aberrio

    aberrio New Member

    thx falko but did not work same issue here is my new

    /etc/sysconfig/postfix...

    POSTFIX_RELAYHOST=""
    POSTFIX_MASQUERADE_DOMAIN=""
    POSTFIX_LOCALDOMAINS=""
    POSTFIX_NULLCLIENT="no"
    POSTFIX_DIALUP="no"
    POSTFIX_NODNS="no"
    POSTFIX_CHROOT="no"
    POSTFIX_UPDATE_CHROOT_JAIL=no
    POSTFIX_LAPTOP=no
    POSTFIX_UPDATE_MAPS=yes
    POSTFIX_MAP_LIST="virtual transport access canonical sender_canonical relocated sasl_passwd:600 relay_ccerts"
    POSTFIX_RBL_HOSTS=""
    POSTFIX_BASIC_SPAM_PREVENTION=off
    POSTFIX_MDA=local
    POSTFIX_SMTP_AUTH_SERVER=no
    POSTFIX_SMTP_AUTH=yes
    POSTFIX_SMTP_AUTH_OPTIONS="plain login"
    POSTFIX_SMTP_TLS_SERVER=no
    POSTFIX_SMTP_TLS_CLIENT="no"
    POSTFIX_SSL_PATH="/etc/postfix/ssl"
    POSTFIX_TLS_CAFILE="cacert.pem"
    POSTFIX_TLS_CERTFILE="certs/postfixcert.pem"
    POSTFIX_TLS_KEYFILE="certs/postfixkey.pem"
    POSTFIX_SSL_COUNTRY="US"
    POSTFIX_SSL_STATE="OK"
    POSTFIX_SSL_LOCALITY="Tulsa"
    POSTFIX_SSL_ORGANIZATION="tcHosting"
    POSTFIX_SSL_ORGANIZATIONAL_UNIT="tchosting"
    POSTFIX_SSL_COMMON_NAME="A common name"
    POSTFIX_SSL_EMAIL_ADDRESS="postmaster"
    POSTFIX_ADD_MAILBOX_SIZE_LIMIT=0
    POSTFIX_ADD_MESSAGE_SIZE_LIMIT=10240000
    POSTFIX_REGISTER_SLP="yes"
    POSTFIX_ADD_MYNETWORKS_STYLE="subnet"
     
  6. aberrio

    aberrio New Member

    mail:~ # ls -l /etc/sysconfig
    total 280
    -rw-r--r-- 1 root root 31278 Oct 26 01:24 SuSEfirewall2
    -rw-r--r-- 1 root root 571 Oct 5 16:27 amavis
    -rw-r--r-- 1 root root 9422 Oct 3 01:12 apache2
    -rw-r--r-- 1 root root 961 Oct 2 23:34 auditd
    -rw-r--r-- 1 root root 809 Oct 2 23:31 autofs
    -rw-r--r-- 1 root root 522 Oct 2 23:33 autoinstall
    -rw-r--r-- 1 root root 1139 Oct 2 23:34 backup
    -rw-r--r-- 1 root root 20 Oct 2 23:44 bluetooth
    -rw-r--r-- 1 root root 1389 Oct 2 23:34 boot
    -rw-r--r-- 1 root root 545 Oct 2 23:10 bootloader
    -rw-r--r-- 1 root root 505 Oct 2 23:04 bootsplash
    -rw-r--r-- 1 root root 995 Oct 2 23:34 clock
    -rw-r--r-- 1 root root 2982 Oct 2 23:09 console
    -rw-r--r-- 1 root root 3656 Oct 14 13:03 cron
    -rw-r--r-- 1 root root 431 Oct 2 23:39 cups
    drwxr-xr-x 2 root root 4096 Oct 3 19:32 daemons
    -rw-r--r-- 1 root root 90 Oct 2 23:18 displaymanager
    drwxr-xr-x 4 root root 4096 Oct 2 23:18 hardware
    -rw-r--r-- 1 root root 390 Oct 2 23:03 ide
    -rw-r--r-- 1 root root 1143 Oct 2 23:03 joystick
    -rw-r--r-- 1 root root 3080 Oct 2 23:34 kernel
    -rw-r--r-- 1 root root 2962 Oct 2 23:09 keyboard
    -rw-r--r-- 1 root root 3150 Oct 2 23:34 language
    -rw-r--r-- 1 root root 842 Oct 2 23:09 ldap
    -rw-r--r-- 1 root root 1448 Oct 14 13:03 locate
    -rw-r--r-- 1 root root 417 Oct 2 23:31 lvm
    -rw-r--r-- 1 root root 787 Oct 15 18:13 mail
    -rw-r--r-- 1 root root 2492 Oct 5 17:14 mailman
    -rw-r--r-- 1 root root 1456 Oct 2 23:04 mdadm
    -rw-r--r-- 1 root root 1398 Oct 2 23:09 mouse
    -rw-r--r-- 1 root root 1923 Oct 3 00:10 named
    -rw-r--r-- 1 root root 1025 Oct 2 23:07 net-snmp
    drwxr-xr-x 6 root root 4096 Oct 2 23:18 network
    -rw-r--r-- 1 root root 193 Oct 2 23:34 news
    -rw-r--r-- 1 root root 1095 Oct 2 23:09 nfs
    -rw-r--r-- 1 root root 2871 Oct 2 23:56 ntp
    -rw-r--r-- 1 root root 172 Oct 2 23:08 portmap
    -rw-r--r-- 1 root root 1089 Oct 28 14:35 postfix
    drwxr-xr-x 2 root root 4096 Oct 2 23:39 powersave
    -rw-r--r-- 1 root root 1289 Oct 2 23:34 proxy
    -rw-r--r-- 1 root root 281 Oct 13 23:05 saslauthd
    -rw-r--r-- 1 root root 1950 Oct 2 23:32 scpm
    drwxr-xr-x 2 root root 4096 Oct 2 23:03 scripts
    -rw-r--r-- 1 root root 336 Oct 2 23:05 scsidev
    -rw-r--r-- 1 root root 533 Oct 14 18:42 seccheck
    -rw-r--r-- 1 root root 1080 Oct 2 23:34 security
    -rw-r--r-- 1 root root 379 Oct 2 23:07 services
    -rw-r--r-- 1 root root 356 Oct 2 23:34 shutdown
    -rw-r--r-- 1 root root 1188 Oct 2 23:03 sound
    -rw-r--r-- 1 root root 281 Oct 5 16:27 spamd
    -rw-r--r-- 1 root root 162 Oct 2 23:09 ssh
    -rw-r--r-- 1 root root 44 Oct 2 23:29 suse_register
    -rw-r--r-- 1 root root 1723 Oct 2 23:34 suseconfig
    -rw-r--r-- 1 root root 313 Oct 2 23:34 sw_management
    -rw-r--r-- 1 root root 1641 Oct 2 23:34 sysctl
    -rw-r--r-- 1 root root 1479 Oct 3 00:10 syslog
    -rw-r--r-- 1 root root 8009 Oct 2 23:04 ulimit
    -rw-r--r-- 1 root root 432 Oct 2 23:34 windowmanager
    -rw-r--r-- 1 root root 1121 Oct 2 23:09 ypbind
    -rw-r--r-- 1 root root 169 Oct 2 23:08 zmd
    mail:~ #
     
  7. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    telnet localhost 25
    and then
    Code:
    ehlo localhost
    now?
     
  8. aberrio

    aberrio New Member

    here is


    mail:~ # telnet localhost 25
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    220 mail.tchosting.net ESMTP Postfix (2.3.2)
    ehlo localhost
    250-mail.tchosting.net
    250-PIPELINING
    250-SIZE 10240000
    250-ETRN
    250-STARTTLS
    250-AUTH LOGIN
    250-AUTH=LOGIN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN
     
  9. falko

    falko Super Moderator ISPConfig Developer

    No changes... Unfortunately I'm no SUSE expert...
     
  10. aberrio

    aberrio New Member

    I notice that I do not have this line on my mail.cfg..

    smtpd_sasl_type = dovecot

    every time that I added I am not able to connect I getting this
    ..

    Oct 31 17:58:10 mail postfix/master[12029]: warning: process /usr/lib/postfix/smtpd pid 12280 exit status 1
    Oct 31 17:58:10 mail postfix/master[12029]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
    Oct 31 18:11:42 mail postfix/smtpd[12304]: warning: SASL: Connect to private/auth failed: No such file or directory
    Oct 31 18:11:42 mail postfix/smtpd[12304]: fatal: no SASL authentication mechanisms
    Oct 31 18:11:43 mail postfix/master[12029]: warning: process /usr/lib/postfix/smtpd pid 12304 exit status 1
    when i do this command...I get this

    mail:~ # postconf -a
    cyrus
    dovecot
    mail:~ #


    and getting this with this commenad
    mail:~ # postconf -A
    cyrus
    mail:~ #

    any ideas why I and not able to force post fix to use dovecot?
     
  11. falko

    falko Super Moderator ISPConfig Developer

    Remove dovecot from the smtpd_sasl_type line.

    Postfix doesn't have to know anything about which POP3/IMAP daemon you use - it doesn't matter at all, therefore Postfix doesn't have to be configured for a certain POP3/IMAP daemon.
     

Share This Page