Email Q's

Discussion in 'Developers' Forum' started by codydwilson, Jul 31, 2008.

  1. codydwilson

    codydwilson New Member

    what does the default email client account id for your first email account and website look like? Just installed ispconfig 3
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no such account. The username of an email account is the one that you ctreated, there are no defaults. Same goes for websites.
     
  3. codydwilson

    codydwilson New Member

    ok thanks, the receiving part works now with entourage, but it's now saying that the SMTP user/password are incorrect.




    P.S. Ispconfig 3 is awesome, SOOOO easy to install!, can't wait for the official release!
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Any errors in your mail log?
     
  5. codydwilson

    codydwilson New Member

    Hey, this is a snippet of the bottom of the log right after i tried send something. I couldn't see anything that i knew how to change, but i'm still very new to this whole thing.

    Code:
    Aug  4 12:03:05 server1 postfix/qmgr[4985]: A002526A319: removed
    Aug  4 12:03:05 server1 amavis[23739]: (23739-06) switch_to_client_time 480 s, smtp response sent
    Aug  4 12:03:05 server1 amavis[23739]: (23739-06) TempDir::strip: /var/lib/amavis/tmp/amavis-20080804T115501-23739
    Aug  4 12:03:05 server1 amavis[23739]: (23739-06) rmdir_recursively: /var/lib/amavis/tmp/amavis-20080804T115501-23739/parts, excl=1
    Aug  4 12:03:05 server1 amavis[23739]: (23739-06) TIMING [total 3501 ms] - SMTP greeting: 3 (0%)0, SMTP EHLO: 3 (0%)0, SMTP pre-MAIL: 1 (0%)0, lookup_sql: 6 (0%)0, SMTP pre-DATA-flush: 3 (0%)0, SMTP DATA: 31 (1%)1, check_init: 2 (0%)1, digest_hdr: 0 (0%)1, digest_body: 1 (0%)1, gen_mail_id: 1 (0%)1, mime_decode: 10 (0%)2, get-file-type1: 15 (0%)2, decompose_part: 2 (0%)2, parts_decode: 0 (0%)2, check_header: 4 (0%)2, spam-wb-list: 13 (0%)3, SA parse: 3 (0%)3, SA check: 3334 (95%)98, update_cache: 7 (0%)98, decide_mail_destiny: 4 (0%)98, fwd-connect: 13 (0%)99, fwd-mail-pip: 6 (0%)99, fwd-rcpt-pip: 1 (0%)99, fwd-data-chkpnt: 0 (0%)99, write-header: 1 (0%)99, fwd-data-contents: 0 (0%)99, fwd-end-chkpnt: 22 (1%)100, prepare-dsn: 2 (0%)100, main_log_entry: 8 (0%)100, update_snmp: 2 (0%)100, SMTP pre-response: 1 (0%)100, SMTP response: 2 (0%)100, unlink-1-files: 1 (0%)100, rundown: 0 (0%)100
    Aug  4 12:03:05 server1 amavis[23739]: (23739-06) idle_proc, 6: was busy, 3487.8 ms, total idle 463.197 s, busy 20.304 s
    Aug  4 12:03:05 server1 amavis[23739]: (23739-06) idle_proc, 5: was idle, 0.3 ms, total idle 463.197 s, busy 20.304 s
    Aug  4 12:03:05 server1 amavis[23739]: (23739-06) ESMTP< QUIT\r\n
    Aug  4 12:03:05 server1 amavis[23739]: (23739-06) switch_to_my_time     480 s, SMTP QUIT received
    Aug  4 12:03:05 server1 amavis[23739]: (23739-06) ESMTP> 221 2.0.0 [127.0.0.1] amavisd-new closing transmission channel
    Aug  4 12:03:05 server1 amavis[23739]: (23739-06) switch_to_client_time 480 s, smtp response sent
    Aug  4 12:03:05 server1 amavis[23739]: (23739-06) SMTP session over, timer stopped
    Aug  4 12:03:05 server1 amavis[23739]: (23739-06) exiting process_request
    Aug  4 12:03:05 server1 amavis[23739]: (23739-06) post_process_request_hook: timer was not running
    Aug  4 12:03:05 server1 amavis[23739]: (23739-06) idle_proc, bye: was busy, 3.4 ms, total idle 463.197 s, busy 20.308 s
    Aug  4 12:03:05 server1 amavis[23739]: (23739-06) load: 4 %, total idle 463.197 s, busy 20.308 s
    Aug  4 12:03:05 server1 postfix/local[23444]: 2608026A317: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0.06, delays=0.02/0/0/0.04, dsn=2.0.0, status=sent (delivered to mailbox)
    Aug  4 12:03:05 server1 postfix/qmgr[4985]: 2608026A317: removed
    

    P.S. I've made 3 websites on my server running ISPconfig 3. They are grizzlypaintball.com, grizzlyarmor.com, and missoularentalcompany.com. I've deleted the originally index file of the web directory but the "it works" page still come up when you put a "www" in front of the website. Entering it without works fine. Any idea why this is and how to fix it?
     
  6. falko

    falko Super Moderator Howtoforge Staff

    I don't see anything related to the login problem in the log excerpt. Can you post another excerpt?


    Please add the www address as a Co-Domain to the web site in ISPConfig.
     
  7. codydwilson

    codydwilson New Member

    Thanks again for the help.

    This is a snippet right after a fialed login. Looks like a SASL problem?

    Code:
    Aug  5 11:00:08 server1 amavis[4385]: (04385-09) idle_proc, 6: was busy, 6911.7 ms, total idle 814.514 s, busy 32.202 s
    Aug  5 11:00:08 server1 amavis[4385]: (04385-09) idle_proc, 5: was idle, 0.3 ms, total idle 814.514 s, busy 32.202 s
    Aug  5 11:00:08 server1 amavis[4385]: (04385-09) ESMTP< QUIT\r\n
    Aug  5 11:00:08 server1 amavis[4385]: (04385-09) switch_to_my_time     480 s, SMTP QUIT received
    Aug  5 11:00:08 server1 amavis[4385]: (04385-09) ESMTP> 221 2.0.0 [127.0.0.1] amavisd-new closing transmission channel
    Aug  5 11:00:08 server1 amavis[4385]: (04385-09) switch_to_client_time 480 s, smtp response sent
    Aug  5 11:00:08 server1 amavis[4385]: (04385-09) SMTP session over, timer stopped
    Aug  5 11:00:08 server1 amavis[4385]: (04385-09) exiting process_request
    Aug  5 11:00:08 server1 amavis[4385]: (04385-09) post_process_request_hook: timer was not running
    Aug  5 11:00:08 server1 amavis[4385]: (04385-09) idle_proc, bye: was busy, 3.8 ms, total idle 814.514 s, busy 32.206 s
    Aug  5 11:00:08 server1 amavis[4385]: (04385-09) load: 4 %, total idle 814.514 s, busy 32.206 s
    Aug  5 11:00:08 server1 postfix/local[5016]: 7AE6A26A317: to=<[email protected]>, relay=local, delay=0.08, delays=0.03/0/0/0.05, dsn=2.0.0, status=sent (delive
    red to mailbox)
    Aug  5 11:00:08 server1 postfix/qmgr[4812]: 7AE6A26A317: removed
    Aug  5 11:00:14 server1 postfix/smtpd[5158]: connect from host-69-146-162-84.msl-mt.client.bresnan.net[69.146.162.84]
    Aug  5 11:00:14 server1 postfix/smtpd[5158]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
    Aug  5 11:00:14 server1 postfix/smtpd[5158]: warning: host-69-146-162-84.msl-mt.client.bresnan.net[69.146.162.84]: SASL LOGIN authentication failed: generic failure
    Aug  5 11:00:14 server1 postfix/smtpd[5158]: disconnect from host-69-146-162-84.msl-mt.client.bresnan.net[69.146.162.84]
    Aug  5 11:00:25 server1 postfix/smtpd[5158]: connect from host-69-146-162-84.msl-mt.client.bresnan.net[69.146.162.84]
    Aug  5 11:00:25 server1 postfix/smtpd[5158]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
    Aug  5 11:00:25 server1 postfix/smtpd[5158]: warning: host-69-146-162-84.msl-mt.client.bresnan.net[69.146.162.84]: SASL LOGIN authentication failed: generic failure
    Aug  5 11:00:25 server1 postfix/smtpd[5158]: disconnect from host-69-146-162-84.msl-mt.client.bresnan.net[69.146.162.84]
    Aug  5 11:00:30 server1 postfix/qmgr[4812]: 6C4DD26A311: from=<[email protected]>, size=1066, nrcpt=1 (queue active)
    Aug  5 11:00:30 server1 postfix/qmgr[4812]: 6A73026A30E: from=<[email protected]>, size=1066, nrcpt=1 (queue active)
    Aug  5 11:00:30 server1 postfix/qmgr[4812]: 2D54726A312: from=<[email protected]>, size=1160, nrcpt=1 (queue active)
    Aug  5 11:00:30 server1 postfix/qmgr[4812]: 3969C26A30F: from=<[email protected]>, size=1066, nrcpt=1 (queue active)
    Aug  5 11:00:30 server1 postfix/qmgr[4812]: 4565E26A310: from=<[email protected]>, size=1066, nrcpt=1 (queue active)
    

    2nd: The co-domain, is that the alias domain in the ispconfig 3? I'll play around with it.
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if sasslauthd is not installed or configured correctly. Please run this command:

    Code:
    apt-get install postfix postfix-mysql postfix-doc mysql-client mysql-server courier-authdaemon courier-authlib-mysql courier-pop courier-pop-ssl courier-imap courier-imap-ssl postfix-tls libsasl2 libsasl2-modules libsasl2-modules-sql sasl2-bin libpam-mysql openssl courier-maildrop getmail4
    
    Then run:

    ispconfig_update_from_svn.sh

    and select to reconfigure the services when the updater asks you.

    Yes, falko meant the alias domain. You would either have to enter www.domain.com when you create a website itself or make a alias domain.
     
  9. codydwilson

    codydwilson New Member

    thanks Till, ran the first command and installed one program. Ran the second command and got the following:

    Code:
    The following NEW packages will be installed:
      libsasl2
    0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
    Need to get 45.1kB of archives.
    After this operation, 77.8kB of additional disk space will be used.
    Get:1 http://us.archive.ubuntu.com hardy/main libsasl2 2.1.22.dfsg1-18ubuntu2 [45.1kB]
    Fetched 45.1kB in 6s (6660B/s)                                                 
    Selecting previously deselected package libsasl2.
    (Reading database ... 26630 files and directories currently installed.)
    Unpacking libsasl2 (from .../libsasl2_2.1.22.dfsg1-18ubuntu2_all.deb) ...
    Setting up libsasl2 (2.1.22.dfsg1-18ubuntu2) ...
    root@server1:~# ispconfig_update_from_svn.sh
    /usr/local/bin/ispconfig_update_from_svn.sh: line 4: svn: command not found/usr/local/bin/ispconfig_update_from_svn.sh: line 5: cd: trunk/install: No such file or directory
    Could not open input file: update.php
    
    i just put in the code exactly as you had it into the terminal.

    Will make sure to put the www. in front of websites in the future, thanks!
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, the missing sasl package explains why the email auth did not work. The sasl package is part of the installations instructions. Please run:

    apt-get install subversion

    and then run the second command again.
     

Share This Page