Şimdi Ara

Syscp+Postfix ve Mail gönderme sorunu?

Daha Fazla
Bu Konudaki Kullanıcılar: Daha Az
2 Misafir - 2 Masaüstü
5 sn
19
Cevap
0
Favori
2.553
Tıklama
Daha Fazla
İstatistik
  • Konu İstatistikleri Yükleniyor
0 oy
Öne Çıkar
Sayfa: 1
Giriş
Mesaj
  • Pardus 2007.2'ye Syscp web tabanlı sunucu yönetim paneli kurdum. Panelde gerekli ayarları gösteriyor. Postfixi ayarladım. Ancak postfix syscpden ayarladığım mail ile (outlook, thunderbird, kontact vb) oturum açmıyor.
    Yaptığım ayarlar söyle:
    /etc/postfix/main.c
    quote:


    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    biff = no
    append_dot_mydomain = no
    myhostname = umityildiz.zapto.org
    mydomain = umityildiz.zapto.org
    mydestination = $myhostname $mydomain localhost localhost.$mydomain
    mynetworks = 127.0.0.0/8
    alias_maps = $alias_database
    smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
    virtual_mailbox_base = /var/kunden/mail/
    virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
    virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
    virtual_alias_domains =
    virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
    virtual_uid_maps = static:2000
    virtual_gid_maps = static:2000
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_local_domain = $myhostname
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes

    /etc/postfix/mysql-virtual_alias_maps.cf
    quote:


    user = syscp
    password = MYSQL_PASSWORD
    dbname = syscp
    table = mail_virtual
    select_field = destination
    where_field = email
    additional_conditions = and destination <> '' and destination <> ' '
    hosts = localhost

    /etc/postfix/mysql-virtual_mailbox_domains.cf
    quote:


    user = syscp
    password = MYSQL_PASSWORD
    dbname = syscp
    table = panel_domains
    select_field = domain
    where_field = domain
    additional_conditions = and isemaildomain = '1'
    hosts = localhost

    /etc/postfix/mysql-virtual_mailbox_maps.cf
    quote:


    user = syscp
    password = MYSQL_PASSWORD
    dbname = syscp
    table = mail_users
    select_field = maildir
    where_field = email
    hosts = localhost

    /etc/postfix/sasl/smtpd.conf
    quote:


    pwcheck_method: auxprop
    auxprop_plugin: sql
    mech_list: plain login cram-md5 digest-md5
    sql_engine: mysql
    sql_hostnames: localhost
    sql_user: syscp
    sql_passwd: MYSQL_PASSWORD
    sql_database: syscp
    sql_select: select password from mail_users where username='%u@%r'

    MYSQL_PASSWORD yerine mysqlde syscp kullanıcısın şifresi.
    Yardım Lütfen...



    < Bu mesaj bu kişi tarafından değiştirildi umityildiz -- 21 Eylül 2007; 18:40:32 >







  • Dovecot ise çalışıyor. Onda sorun yok.
    /etc/dovecot/dovecot.conf
    quote:


    base_dir = /var/run/dovecot/
    # With this line Dovecot only serves Imap, if you want it to serve POP3 as well use
    # protocols = imap imaps pop3 pop3s
    protocols = imap imaps pop3
    listen = *
    mail_extra_groups = vmail
    # mail_debug = no <- It's important to comment this paramter, otherwise the postfix sendmail command will fail

    # Uncomment this line to allow Plaintext Logins from foreign IP if the Connection doesn't use TLS
    #disable_plaintext_auth = no

    protocol imap {
    }

    protocol pop3 {
    # Uncomment this line if you are migrating from Courier also see Migration from Courier
    #pop3_uidl_format = UID%u-%v
    }
    protocol lda {
    postmaster_address = <postmaster-address>
    }

    auth default {
    mechanisms = plain digest-md5 cram-md5 ntlm rpa
    passdb sql {
    args = /etc/dovecot/dovecot-sql.conf
    }
    userdb sql {
    args = /etc/dovecot/dovecot-sql.conf
    }
    user = vmail
    }

    plugin {
    }

    etc/dovecot/dovecot-sql.conf
    quote:


    driver = mysql
    connect = host=localhost dbname=syscp user=syscp password=syscpmysqlsifrem
    default_pass_scheme = CRYPT
    password_query = SELECT username AS user, password_enc AS password FROM mail_users WHERE username = '%u'
    user_query = SELECT CONCAT(homedir,maildir) AS home, concat('maildir:',homedir,maildir,'mail/' ) AS mail, uid, gid FROM mail_users where username = '%u';

    Postifix yapılandırma dosyasının sonuna bunları ekledim.
    /etc/postfix/master.cf
    quote:


    # Dovecot LDA
    dovecot unix - n n - - pipe
    flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${recipient}

    /etc/postfix/main.cf
    quote:


    dovecot_destination_recipient_limit = 1
    virtual_transport = dovecot

    Dovecotta sorun yok ama postfixde mail göndermek sorun oluyor. Yardım Lütfen?




  • E-posta gönderirken postfix kayıtlarında mutlaka bir hata alıyorsunuzdur.

    E-posta göndermeden önce şu komutu girin:
    tail -f /var/log/mail.log

    Sonra da e-post gönderin. Konsol çıktısı bir fikir verebilir. O çıktıyı buraya da yapıştırırsanız bir anlam çıkarabiliriz.
  • E-posta gönsdermeden önce aldığım çıktı.
    quote:


    umit@umityildiz ~ $ tail -f /var/log/mail.log
    Sep 21 21:40:01 umityildiz postfix/pickup[3624]: A9200BF68: uid=0 from=<root>
    Sep 21 21:40:01 umityildiz postfix/cleanup[3875]: A9200BF68: message-id=<20070921184001.A9200BF68@umityildiz.zapto.org>
    Sep 21 21:40:02 umityildiz postfix/qmgr[3625]: A9200BF68: from=<root@umityildiz.zapto.org>, size=879, nrcpt=1 (queue active)
    Sep 21 21:40:02 umityildiz postfix/local[3878]: A9200BF68: to=<root@umityildiz.zapto.org>, orig_to=<root>, relay=local, delay=0.52, delays=0.5/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
    Sep 21 21:40:02 umityildiz postfix/qmgr[3625]: A9200BF68: removed
    Sep 21 21:45:01 umityildiz postfix/pickup[3624]: AA886BF68: uid=0 from=<root>
    Sep 21 21:45:01 umityildiz postfix/cleanup[3918]: AA886BF68: message-id=<20070921184501.AA886BF68@umityildiz.zapto.org>
    Sep 21 21:45:01 umityildiz postfix/qmgr[3625]: AA886BF68: from=<root@umityildiz.zapto.org>, size=879, nrcpt=1 (queue active)
    Sep 21 21:45:01 umityildiz postfix/local[3922]: AA886BF68: to=<root@umityildiz.zapto.org>, orig_to=<root>, relay=local, delay=0.15, delays=0.09/0.02/0/0.05, dsn=2.0.0, status=sent (delivered to mailbox)
    Sep 21 21:45:01 umityildiz postfix/qmgr[3625]: AA886BF68: removed

    Göndermeye çalışınca aldığım konsol çıktısı.
    quote:


    umit@umityildiz ~ $ tail -f /var/log/mail.log
    Sep 21 21:46:30 umityildiz postfix/smtpd[3975]: warning: localhost[127.0.0.1]: SASL CRAM-MD5 authentication failed: authentication failure
    Sep 21 21:46:31 umityildiz postfix/smtpd[3975]: lost connection after AUTH from localhost[127.0.0.1]
    Sep 21 21:46:31 umityildiz postfix/smtpd[3975]: disconnect from localhost[127.0.0.1]
    Sep 21 21:46:32 umityildiz postfix/smtpd[3975]: connect from localhost[127.0.0.1]
    Sep 21 21:46:32 umityildiz postfix/smtpd[3975]: warning: SASL authentication failure: Could not open /etc/sasl2/sasldb2: gdbm_errno=3
    Sep 21 21:46:32 umityildiz postfix/smtpd[3975]: warning: SASL authentication failure: Could not open /etc/sasl2/sasldb2: gdbm_errno=3
    Sep 21 21:46:32 umityildiz postfix/smtpd[3975]: warning: SASL authentication failure: no secret in database
    Sep 21 21:46:32 umityildiz postfix/smtpd[3975]: warning: localhost[127.0.0.1]: SASL CRAM-MD5 authentication failed: authentication failure
    Sep 21 21:46:32 umityildiz postfix/smtpd[3975]: lost connection after AUTH from localhost[127.0.0.1]
    Sep 21 21:46:32 umityildiz postfix/smtpd[3975]: disconnect from localhost[127.0.0.1]

    Bu sorun konusunda yardım edebilir misiniz?



    < Bu mesaj bu kişi tarafından değiştirildi umityildiz -- 21 Eylül 2007; 21:49:20 >




  • warning: SASL authentication failure: Could not open /etc/sasl2/sasldb2

    Bu satırda belli durum.
    /etc/sasl2/sasldb2 dosyasının var olup olmadığını kontrol eder misiniz?
  • İlginiz için teşekkürler. Sasl sorunun düzelttim. Ancak hala mail gönderemiyorum. Şifre doğru olmasına rağmen kabul etmiyor. Dovecot - pop3 çalışıyor.
    quote:


    umit@umityildiz ~ $ tail -f /var/log/mail.log
    Sep 22 10:04:41 umityildiz dovecot: Dovecot v1.0.3 starting up
    Sep 22 10:04:43 umityildiz dovecot: auth-worker(default): mysql: Connect failed to localhost (syscp): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) - waiting for 1 seconds before retry
    Sep 22 10:04:47 umityildiz postfix/postfix-script: starting the Postfix mail system
    Sep 22 10:04:47 umityildiz postfix/master[3606]: daemon started -- version 2.3.4, configuration /etc/postfix
    Sep 22 10:05:07 umityildiz postfix/pickup[3611]: B56A3BF68: uid=0 from=<root>
    Sep 22 10:05:07 umityildiz postfix/cleanup[3712]: B56A3BF68: message-id=<20070922070507.B56A3BF68@umityildiz.zapto.org>
    Sep 22 10:05:08 umityildiz postfix/qmgr[3612]: B56A3BF68: from=<root@umityildiz.zapto.org>, size=879, nrcpt=1 (queue active)
    Sep 22 10:05:08 umityildiz postfix/trivial-rewrite[3713]: warning: do not list domain umityildiz.zapto.org in BOTH mydestination and virtual_mailbox_domains
    Sep 22 10:05:08 umityildiz postfix/local[3716]: B56A3BF68: to=<root@umityildiz.zapto.org>, orig_to=<root>, relay=local, delay=4.8, delays=4.4/0.32/0/0.07, dsn=2.0.0, status=sent (delivered to mailbox)
    Sep 22 10:05:08 umityildiz postfix/qmgr[3612]: B56A3BF68: removed
    Sep 22 10:07:37 umityildiz postfix/smtpd[3796]: connect from localhost[127.0.0.1]3
    Sep 22 10:07:37 umityildiz postfix/smtpd[3796]: disconnect from localhost[127.0.0.1]
    Sep 22 10:08:07 umityildiz dovecot: pop3-login: Aborted login: rip=127.0.0.1, lip=127.0.0.1, secured
    Sep 22 10:08:16 umityildiz postfix/smtpd[3796]: connect from localhost[127.0.0.1]
    Sep 22 10:08:16 umityildiz postfix/smtpd[3796]: disconnect from localhost[127.0.0.1]
    Sep 22 10:08:23 umityildiz postfix/smtpd[3796]: connect from localhost[127.0.0.1]
    Sep 22 10:08:23 umityildiz postfix/smtpd[3796]: warning: SASL authentication failure: Password verification failed
    Sep 22 10:08:23 umityildiz postfix/smtpd[3796]: warning: localhost[127.0.0.1]: SASL PLAIN authentication failed: authentication failure
    Sep 22 10:08:23 umityildiz postfix/smtpd[3796]: lost connection after AUTH from localhost[127.0.0.1]
    Sep 22 10:08:23 umityildiz postfix/smtpd[3796]: disconnect from localhost[127.0.0.1]
    Sep 22 10:08:23 umityildiz dovecot: auth-worker(default): mysql: Connected to localhost (syscp)
    Sep 22 10:08:23 umityildiz dovecot: pop3-login: Login: user=<umityildiz@umityildiz.zapto.org>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS
    Sep 22 10:08:23 umityildiz dovecot: POP3(umityildiz@umityildiz.zapto.org): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
    Sep 22 10:08:24 umityildiz postfix/smtpd[3796]: connect from localhost[127.0.0.1]
    Sep 22 10:08:24 umityildiz postfix/smtpd[3796]: warning: SASL authentication failure: Password verification failed
    Sep 22 10:08:24 umityildiz postfix/smtpd[3796]: warning: localhost[127.0.0.1]: SASL PLAIN authentication failed: authentication failure
    Sep 22 10:08:24 umityildiz postfix/smtpd[3796]: lost connection after AUTH from localhost[127.0.0.1]
    Sep 22 10:08:24 umityildiz postfix/smtpd[3796]: disconnect from localhost[127.0.0.1]




    < Bu mesaj bu kişi tarafından değiştirildi umityildiz -- 22 Eylül 2007; 10:12:39 >




  • Size yukarıda MySQL'e bağlanamadığını söylüyor. MySQL ile ilgili tanımlarınızda host değişkeninin değerini "localhost" yerine 127.0.0.1 yapar mısınız?

    Ayırca;
    /etc/postfix/main.cf dosyanızdaki şu satır dikkatimi çekti:
    alias_maps = $alias_database

    Ama alias_database diye bir tanım göremedim. O satırı şöyle değiştirin:
    alias_maps = hash:/etc/aliases

    Ek olarak;
    smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination

    satırını aşağıdaki gibi değiştirin:
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
  • Aşağıdaki dosya var baktım.
    quote:

    Orjinalden alıntı: Challenger

    warning: SASL authentication failure: Could not open /etc/sasl2/sasldb2

    Bu satırda belli durum.
    /etc/sasl2/sasldb2 dosyasının var olup olmadığını kontrol eder misiniz?


    Yeni /etc/postfix/main.cf dosyam
    quote:


    smtpd_banner = $myhostname ESMTP $mail_name (Pardus/GNU)
    biff = no
    append_dot_mydomain = no
    myhostname = umityildiz.zapto.org
    mydomain = umityildiz.zapto.org
    mydestination = $myhostname $mydomain localhost localhost.$mydomain
    mynetworks = 127.0.0.0/8
    alias_maps = hash:/etc/mail/aliases
    mtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    virtual_mailbox_base = /var/kunden/mail/
    virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
    virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
    virtual_alias_domains =
    virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
    virtual_uid_maps = static:2000
    virtual_gid_maps = static:2000
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_local_domain = $myhostname
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    dovecot_destination_recipient_limit = 1
    virtual_transport = dovecot

    /etc/sasl2/smtpd.conf dosyası
    quote:


    pwcheck_method: auxprop
    auxprop_plugin: sql
    mech_list: plain login cram-md5 digest-md5
    sql_engine: mysql
    sql_hostnames: 127.0.0.1
    sql_user: syscp
    sql_passwd: syscp kullanıcısının şifresi
    sql_database: syscp
    sql_select: select password from mail_users where username='%u@%r'

    tail -f /var/log/mail.log çıktısı
    quote:


    umit@umityildiz ~ $ tail -f /var/log/mail.log
    Sep 22 17:55:21 umityildiz postfix/cleanup[3632]: warning: 1D5B3BF68: virtual_alias_maps map lookup problem for root@umityildiz.zapto.org
    Sep 22 17:55:21 umityildiz postfix/pickup[3627]: 1F541BF68: uid=0 from=<root>
    Sep 22 17:55:21 umityildiz postfix/cleanup[3848]: 1F541BF68: message-id=<20070922145521.1F541BF68@umityildiz.zapto.org>
    Sep 22 17:55:21 umityildiz postfix/cleanup[3848]: warning: 1F541BF68: virtual_alias_maps map lookup problem for root@umityildiz.zapto.org
    Sep 22 17:55:21 umityildiz postfix/pickup[3627]: 21327BF68: uid=0 from=<root>
    Sep 22 17:55:21 umityildiz postfix/cleanup[3645]: 21327BF68: message-id=<20070922145521.21327BF68@umityildiz.zapto.org>
    Sep 22 17:55:21 umityildiz postfix/cleanup[3645]: warning: 21327BF68: virtual_alias_maps map lookup problem for root@umityildiz.zapto.org
    Sep 22 17:55:21 umityildiz postfix/pickup[3627]: 23009BF68: uid=0 from=<root>
    Sep 22 17:55:21 umityildiz postfix/cleanup[3632]: 23009BF68: message-id=<20070922145521.23009BF68@umityildiz.zapto.org>
    Sep 22 17:55:21 umityildiz postfix/cleanup[3632]: warning: 23009BF68: virtual_alias_maps map lookup problem for root@umityildiz.zapto.org
    Sep 22 17:55:59 umityildiz postfix/trivial-rewrite[4058]: warning: connect to mysql server 127.0.0.1: Can't connect to MySQL server on '127.0.0.1' (111)
    Sep 22 17:55:59 umityildiz postfix/trivial-rewrite[4058]: fatal: mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf(0,lock|fold_fix): table lookup problem
    Sep 22 17:56:00 umityildiz postfix/smtpd[3876]: warning: premature end-of-input on private/rewrite socket while reading input attribute name
    Sep 22 17:56:00 umityildiz postfix/smtpd[3876]: warning: problem talking to service rewrite: Success
    Sep 22 17:56:00 umityildiz postfix/master[3626]: warning: process /usr/lib/postfix/trivial-rewrite pid 4058 exit status 1
    Sep 22 17:56:00 umityildiz postfix/master[3626]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
    Sep 22 17:56:00 umityildiz postfix/smtpd[4072]: connect from localhost[127.0.0.1]
    Sep 22 17:56:00 umityildiz postfix/smtpd[4072]: warning: SASL authentication failure: Password verification failed
    Sep 22 17:56:00 umityildiz postfix/smtpd[4072]: warning: localhost[127.0.0.1]: SASL PLAIN authentication failed: authentication failure
    Sep 22 17:56:00 umityildiz postfix/smtpd[4072]: lost connection after AUTH from localhost[127.0.0.1]
    Sep 22 17:56:00 umityildiz postfix/smtpd[4072]: disconnect from localhost[127.0.0.1]
    Sep 22 17:56:01 umityildiz dovecot: auth-worker(default): mysql: Connected to localhost (syscp)
    Sep 22 17:56:01 umityildiz dovecot: pop3-login: Login: user=<umityildiz@umityildiz.zapto.org>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
    Sep 22 17:56:01 umityildiz dovecot: POP3(umityildiz@umityildiz.zapto.org): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
    Sep 22 17:56:02 umityildiz postfix/smtpd[4072]: connect from localhost[127.0.0.1]
    Sep 22 17:56:02 umityildiz postfix/smtpd[4072]: warning: SASL authentication failure: Password verification failed
    Sep 22 17:56:02 umityildiz postfix/smtpd[4072]: warning: localhost[127.0.0.1]: SASL PLAIN authentication failed: authentication failure
    Sep 22 17:56:02 umityildiz postfix/smtpd[4072]: lost connection after AUTH from localhost[127.0.0.1]
    Sep 22 17:56:02 umityildiz postfix/smtpd[4072]: disconnect from localhost[127.0.0.1]



    < Bu mesaj bu kişi tarafından değiştirildi umityildiz -- 22 Eylül 2007; 18:16:56 >




  • Her iki durumda da problem Postfix'in MySQL'e bağlanamaması.
    Konsolda;
    mysql -u syscp -p komutunu girerek MySQL'e bağlanabiliyor musunuz?

    Bir de;
    mysql -h 127.0.0.1 -u syscp -p komutuyla deneyin.

    Sorununuz Postfix'in MySQL ile bağlantı kuramaması.
  • aha mysqle bağlanamıyorum....
    quote:


    umit@umityildiz ~ $ mysql -h 127.0.0.1 -u syscp -p
    Enter password:
    ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111)
    umit@umityildiz ~ $

    localhostta ise bağlanıyor..
    quote:


    umit@umityildiz ~ $ mysql -h localhost -u syscp -p
    Enter password:
    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 1
    Server version: 5.0.45-log Pardus Linux

    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

    mysql> Aborted
    umit@umityildiz ~ $



    < Bu mesaj bu kişi tarafından değiştirildi umityildiz -- 22 Eylül 2007; 19:04:16 >




  • postfixde ayarlarda mysql hostlarını 127.0.0.1'den localhost yazınca düzeldi.
    quote:


    umit@umityildiz ~ $ tail -f /var/log/mail.log
    Sep 22 21:05:01 umityildiz postfix/pickup[3627]: 4109FBF68: uid=0 from=<root>
    Sep 22 21:05:01 umityildiz postfix/cleanup[4315]: 4109FBF68: message-id=<20070922180501.4109FBF68@umityildiz.zapto.org>
    Sep 22 21:05:01 umityildiz postfix/qmgr[3628]: 4109FBF68: from=<root@umityildiz.zapto.org>, size=879, nrcpt=1 (queue active)
    Sep 22 21:05:01 umityildiz postfix/local[4318]: 4109FBF68: to=<root@umityildiz.zapto.org>, orig_to=<root>, relay=local, delay=0.48, delays=0.45/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
    Sep 22 21:05:01 umityildiz postfix/qmgr[3628]: 4109FBF68: removed
    Sep 22 21:10:03 umityildiz postfix/pickup[3627]: 74080BF68: uid=0 from=<root>
    Sep 22 21:10:03 umityildiz postfix/cleanup[4368]: 74080BF68: message-id=<20070922181003.74080BF68@umityildiz.zapto.org>
    Sep 22 21:10:03 umityildiz postfix/qmgr[3628]: 74080BF68: from=<root@umityildiz.zapto.org>, size=879, nrcpt=1 (queue active)
    Sep 22 21:10:03 umityildiz postfix/local[4371]: 74080BF68: to=<root@umityildiz.zapto.org>, orig_to=<root>, relay=local, delay=0.76, delays=0.68/0.05/0/0.03, dsn=2.0.0, status=sent (delivered to mailbox)
    Sep 22 21:10:03 umityildiz postfix/qmgr[3628]: 74080BF68: removed

    Ancak hala kmalde hata veriyor.
    quote:


    Sep 22 21:12:28 umityildiz postfix/smtpd[4428]: connect from localhost[127.0.0.1]
    Sep 22 21:12:28 umityildiz postfix/smtpd[4428]: warning: SASL authentication failure: Password verification failed
    Sep 22 21:12:28 umityildiz postfix/smtpd[4428]: warning: localhost[127.0.0.1]: SASL PLAIN authentication failed: authentication failure
    Sep 22 21:12:28 umityildiz postfix/smtpd[4428]: lost connection after AUTH from localhost[127.0.0.1]
    Sep 22 21:12:28 umityildiz postfix/smtpd[4428]: disconnect from localhost[127.0.0.1]
    Sep 22 21:12:28 umityildiz dovecot: auth-worker(default): mysql: Connected to localhost (syscp)
    Sep 22 21:12:28 umityildiz dovecot: pop3-login: Login: user=<umityildiz@umityildiz.zapto.org>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
    Sep 22 21:12:28 umityildiz dovecot: POP3(umityildiz@umityildiz.zapto.org): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
    Sep 22 21:12:29 umityildiz postfix/smtpd[4428]: connect from localhost[127.0.0.1]
    Sep 22 21:12:29 umityildiz postfix/smtpd[4428]: warning: SASL authentication failure: Password verification failed
    Sep 22 21:12:29 umityildiz postfix/smtpd[4428]: warning: localhost[127.0.0.1]: SASL PLAIN authentication failed: authentication failure
    Sep 22 21:12:29 umityildiz postfix/smtpd[4428]: lost connection after AUTH from localhost[127.0.0.1]
    Sep 22 21:12:29 umityildiz postfix/smtpd[4428]: disconnect from localhost[127.0.0.1]

    Bunu nasıl çözebilirim? Az kaldı galiba?




  • Sorun artık sunucuda değil KMail ayarlarınızda.

    Hesap ayarlarından, Güvenlik sekmesine geçip "Sunucunun Neyi Desteklediğini Denetle" deyin ve ona göre ayar yapın.
  • Dediğinizi yaptım. Ancak hala hata veriyor.
    quote:


    Sep 25 20:31:40 localhost dovecot: auth-worker(default): mysql: Connected to localhost (syscp)
    Sep 25 20:31:41 localhost dovecot: pop3-login: Login: user=<umityildiz@umityildiz.zapto.org>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
    Sep 25 20:31:41 localhost postfix/smtpd[3935]: connect from localhost[127.0.0.1]
    Sep 25 20:31:41 localhost postfix/smtpd[3935]: warning: SASL authentication problem: unknown password verifier
    Sep 25 20:31:41 localhost postfix/smtpd[3935]: warning: SASL authentication failure: Password verification failed
    Sep 25 20:31:41 localhost postfix/smtpd[3935]: warning: localhost[127.0.0.1]: SASL PLAIN authentication failed: no mechanism available
    Sep 25 20:31:41 localhost postfix/smtpd[3935]: lost connection after AUTH from localhost[127.0.0.1]
    Sep 25 20:31:41 localhost postfix/smtpd[3935]: disconnect from localhost[127.0.0.1]
    Sep 25 20:31:41 localhost dovecot: POP3(umityildiz@umityildiz.zapto.org): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0


    Postix yapılandırma klasöründe birşey dikkatimi çekti.
    /etc/postfix/saslpass dosyası var. Acaba sorun bu olmasın?



    < Bu mesaj bu kişi tarafından değiştirildi umityildiz -- 25 Eylül 2007; 20:37:42 >




  • Log'da benim dikkatimi çeken şu satır:
    Sep 25 20:31:41 localhost postfix/smtpd[3935]: warning: localhost[127.0.0.1]: SASL PLAIN authentication failed: no mechanism available

    Yetkilendirme için PLAIN kullanmaya çalışıyorsunuz, ama sunucu bunu desteklemiyor. Onun yerine KMail'de DIGEST-MD5 veya CRAM-MD5 deneyin.
  • Cram-md5i denedim. Aldığım hata aşağıda. Sorun hala devam ediyor...

    umit@ev ~ $ tail -f /var/log/mail.log
    Sep 26 09:05:04 localhost postfix/qmgr[3612]: CE3BC6F827: removed
    Sep 26 09:05:04 localhost postfix/local[3807]: 247CC6F828: to=<umityildiz@umityildiz.zapto.org>, orig_to=<root@umityildiz.zapto.org>, relay=local, delay=0.04, delays=0.01/0/0/0.03, dsn=5.1.1, status=bounced (unknown user: "umityildiz")
    Sep 26 09:05:04 localhost postfix/qmgr[3612]: 247CC6F828: removed
    Sep 26 09:05:14 localhost postfix/smtpd[3786]: connect from localhost[127.0.0.1]
    Sep 26 09:05:14 localhost postfix/smtpd[3786]: warning: SASL authentication failure: Could not open /etc/sasl2/sasldb2: gdbm_errno=3
    Sep 26 09:05:14 localhost postfix/smtpd[3786]: warning: SASL authentication failure: Could not open /etc/sasl2/sasldb2: gdbm_errno=3
    Sep 26 09:05:14 localhost postfix/smtpd[3786]: warning: SASL authentication failure: no secret in database
    Sep 26 09:05:14 localhost postfix/smtpd[3786]: warning: localhost[127.0.0.1]: SASL CRAM-MD5 authentication failed: authentication failure
    Sep 26 09:05:14 localhost postfix/smtpd[3786]: lost connection after AUTH from localhost[127.0.0.1]
    Sep 26 09:05:14 localhost postfix/smtpd[3786]: disconnect from localhost[127.0.0.1]
    /quote]
    digest-md5 içinde aşağıda yazdım.

    Sep 26 09:08:28 localhost postfix/smtpd[3890]: connect from localhost[127.0.0.1]
    Sep 26 09:08:28 localhost postfix/smtpd[3890]: warning: SASL authentication failure: Could not open /etc/sasl2/sasldb2: gdbm_errno=3
    Sep 26 09:08:28 localhost postfix/smtpd[3890]: warning: SASL authentication failure: Could not open /etc/sasl2/sasldb2: gdbm_errno=3
    Sep 26 09:08:28 localhost postfix/smtpd[3890]: warning: SASL authentication failure: no secret in database
    Sep 26 09:08:28 localhost postfix/smtpd[3890]: warning: localhost[127.0.0.1]: SASL DIGEST-MD5 authentication failed: authentication failure
    Sep 26 09:08:28 localhost postfix/smtpd[3890]: lost connection after AUTH from localhost[127.0.0.1]
    Sep 26 09:08:28 localhost postfix/smtpd[3890]: disconnect from localhost[127.0.0.1]




  • Bu sefer de /etc/sasl2/sasldb2 dosyasını açamadığını söylüyor.

    SASL ve Postfix'in SASL ile ilgili paketleri kurulu mu?
  • Pardusun depolarımnda öyle bir paket yok. Pardusu silip kubuntu 7.04 kurdum. syscp.org sitesinden
    syscp_1.2.16_all.deb paketini indirip kurdum. Gerekli bağımlıkları kendisi kurdu. Akşama Ayarlarını yapacağım. Sanırım olacak bu sefer olacak
  •  Syscp+Postfix ve Mail gönderme sorunu?


    quote:


    umit@umit-ev:~$ tail -f /var/log/mail.log
    Sep 28 18:55:01 umit-ev postfix/qmgr[5210]: E711FBB835: from=<root@umityildiz.zapto.org>, size=692, nrcpt=1 (queue active)
    Sep 28 18:55:01 umit-ev postfix/trivial-rewrite[6335]: warning: do not list domain umityildiz.zapto.org in BOTH mydestination and virtual_mailbox_domains
    Sep 28 18:55:01 umit-ev postfix/local[6336]: E711FBB835: to=<umit@umityildiz.zapto.org>, orig_to=<root>, relay=local, delay=0.13, delays=0.11/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
    Sep 28 18:55:01 umit-ev postfix/qmgr[5210]: E711FBB835: removed
    Sep 28 18:55:04 umit-ev authdaemond: stopping authdaemond children
    Sep 28 18:55:05 umit-ev postfix/master[5188]: terminating on signal 15
    Sep 28 18:57:01 umit-ev authdaemond: modules="authmysql", daemons=10
    Sep 28 18:57:01 umit-ev authdaemond: Installing libauthmysql
    Sep 28 18:57:01 umit-ev authdaemond: Installation complete: authmysql
    Sep 28 18:57:02 umit-ev postfix/master[5191]: daemon started -- version 2.3.8, configuration /etc/postfix
    Sep 28 18:58:20 umit-ev courierpop3login: Connection, ip=[::ffff:127.0.0.1]
    Sep 28 18:58:20 umit-ev courierpop3login: chdir umitadmin/info@umityildiz.zapto.org/: No such file or directory


    Yukarıdaki sorunu nasıl halledebilirim.



    < Bu mesaj bu kişi tarafından değiştirildi umityildiz -- 28 Eylül 2007; 21:04:02 >




  • 
Sayfa: 1
- x
Bildirim
mesajınız kopyalandı (ctrl+v) yapıştırmak istediğiniz yere yapıştırabilirsiniz.