Email Configuration

Discussion in 'Installation/Configuration' started by DualFusion, Dec 13, 2007.

  1. DualFusion

    DualFusion New Member

    I created an email address using ISPConfig with the following credentials
    email: [email protected]
    usern: web1_dualfusion
    passw: !@#$%^&*(

    I am using evolution mail as my test client for now and have inputed the following:
    pop: mail.synarchydesign.com | df1.synarchydesign.com | www.synarchydesign.com | synarchydesign.com | 75.74.102.247 | 192.168.1.4
    use secure connection: no encryption
    authentication: password

    smtp: mail.synarchydesign.com | df1.synarchydesign.com | www.synarchydesign.com | synarchydesign.com | 75.74.102.247 | 192.168.1.4
    use secure connection: no encryption
    authentication: plain

    email: [email protected]
    usern: web1_dualfusion
    passw: !@#$%^&*(

    I cannot recieve the emails from the pop3 account, and im not sure if i can send them via smtp. I sent an email to this address from another email, and the same one. Neither of them appeared. The client just stays for a while "Fetching Mail" but does not stop. The email I sent from here (smtp) moved from the outbox to the sent box, so it must have been sent. But just to make sure, i sent it to another email, and i never recieved it. after some while, the client was still "Fetching Mail" then stopped and gave me an error.
     
  2. DualFusion

    DualFusion New Member

    Here is the end of my mail.log:
    Code:
    Dec 13 16:07:42 df1 courierpop3login: Connection, ip=[::ffff:75.74.102.247]
    Dec 13 16:07:43 df1 courierpop3login: chdir Maildir: No such file or directory
    Dec 13 16:07:46 df1 courierpop3login: Connection, ip=[::ffff:75.74.102.247]
    Dec 13 16:07:46 df1 courierpop3login: chdir Maildir: No such file or directory
    Dec 13 16:08:58 df1 courierpop3login: Connection, ip=[::ffff:75.74.102.247]
    Dec 13 16:09:02 df1 courierpop3login: chdir Maildir: No such file or directory
    Dec 13 16:09:25 df1 courierpop3login: Connection, ip=[::ffff:75.74.102.247]
    Dec 13 16:09:26 df1 courierpop3login: LOGIN FAILED, user=web1_dualfusion, ip=[::ffff:75.74.102.247]
    Dec 13 16:09:37 df1 courierpop3login: chdir Maildir: No such file or directory
    Dec 13 16:09:47 df1 courierpop3login: Connection, ip=[::ffff:75.74.102.247]
    Dec 13 16:09:47 df1 courierpop3login: chdir Maildir: No such file or directory
    Dec 13 16:10:21 df1 courierpop3login: Connection, ip=[::ffff:75.74.102.247]
    Dec 13 16:10:25 df1 courierpop3login: chdir Maildir: No such file or directory
    Dec 13 16:10:47 df1 courierpop3login: Connection, ip=[::ffff:75.74.102.247]
    Dec 13 16:10:47 df1 courierpop3login: chdir Maildir: No such file or directory
    Dec 13 16:11:01 df1 courierpop3login: Connection, ip=[::ffff:192.168.1.4]
    Dec 13 16:11:02 df1 courierpop3login: chdir Maildir: No such file or directory
    Dec 13 16:12:47 df1 courierpop3login: Connection, ip=[::ffff:192.168.1.4]
    Dec 13 16:12:47 df1 courierpop3login: chdir Maildir: No such file or directory
    Dec 13 16:13:00 df1 spamd[7159]: spamd: server killed by SIGTERM, shutting down 
    Dec 13 16:19:10 df1 courierpop3login: Connection, ip=[::ffff:192.168.1.4]
    Dec 13 16:19:12 df1 courierpop3login: chdir Maildir: No such file or directory
    Dec 13 16:19:22 df1 spamd[7868]: rules: meta test FM_DDDD_TIMES_2 has dependency 'FH_HOST_EQ_D_D_D_D' with a zero score 
    Dec 13 16:19:22 df1 spamd[7868]: rules: meta test FM_SEX_HOSTDDDD has dependency 'FH_HOST_EQ_D_D_D_D' with a zero score 
    Dec 13 16:19:22 df1 spamd[7868]: rules: meta test HS_PHARMA_1 has dependency 'HS_SUBJ_ONLINE_PHARMACEUTICAL' with a zero score 
    Dec 13 16:19:23 df1 spamd[7868]: spamd: server started on UNIX domain socket /home/dualfusion/.evolution/cache/tmp/spamd-socket-path-VTfIUL (running version 3.2.3) 
    Dec 13 16:19:23 df1 spamd[7868]: spamd: server pid: 7868 
    Dec 13 16:19:23 df1 spamd[7868]: spamd: server successfully spawned child process, pid 7873 
    Dec 13 16:19:23 df1 spamd[7873]: spamd: got connection over /home/dualfusion/.evolution/cache/tmp/spamd-socket-path-VTfIUL 
    Dec 13 16:19:23 df1 spamd[7868]: prefork: child states: B 
    Dec 13 16:19:23 df1 spamd[7868]: prefork: server reached --max-children setting, consider raising it 
    Dec 13 16:19:23 df1 spamd[7873]: spamd: processing message (unknown) for dualfusion:1000 
    Dec 13 16:19:23 df1 spamd[7873]: spamd: identified spam (7.1/5.0) for dualfusion:1000 in 0.1 seconds, 19 bytes. 
    Dec 13 16:19:23 df1 spamd[7873]: spamd: result: Y 7 - EMPTY_MESSAGE,MISSING_DATE,MISSING_HEADERS,MISSING_MID,MISSING_SUBJECT,NO_HEADERS_MESSAGE,NO_RECEIVED,NO_RELAYS,TVD_SPACE_RATIO scantime=0.1,size=19,user=dualfusion,uid=1000,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=/home/dualfusion/.evolution/cache/tmp/spamd-socket-path-VTfIUL,mid=(unknown),autolearn=no 
    Dec 13 16:19:23 df1 spamd[7868]: prefork: child states: I 
    Dec 13 16:20:09 df1 courierpop3login: Connection, ip=[::ffff:192.168.1.4]
    Dec 13 16:20:09 df1 courierpop3login: chdir Maildir: No such file or directory
    Dec 13 16:21:40 df1 postfix/smtpd[7982]: connect from unknown[192.168.1.4]
    Dec 13 16:21:44 df1 postfix/smtpd[7982]: A60AC312999: client=unknown[192.168.1.4], sasl_method=PLAIN, sasl_username=web1_dualfusion
    Dec 13 16:21:44 df1 postfix/cleanup[7989]: A60AC312999: message-id=<[email protected]>
    Dec 13 16:21:44 df1 postfix/qmgr[25978]: A60AC312999: from=<[email protected]>, size=587, nrcpt=1 (queue active)
    Dec 13 16:21:44 df1 postfix/pickup[5149]: E813B31344E: uid=10001 from=<web1_dualfusion>
    Dec 13 16:21:44 df1 postfix/cleanup[7989]: E813B31344E: message-id=<[email protected]>
    Dec 13 16:21:44 df1 postfix/smtpd[7982]: disconnect from unknown[192.168.1.4]
    Dec 13 16:21:45 df1 postfix/qmgr[25978]: E813B31344E: from=<[email protected]>, size=415, nrcpt=1 (queue active)
    Dec 13 16:21:45 df1 postfix/local[8011]: E813B31344E: to=<[email protected]>, relay=local, delay=0.31, delays=0.13/0.02/0/0.15, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
    Dec 13 16:21:45 df1 postfix/qmgr[25978]: E813B31344E: removed
    Dec 13 16:22:00 df1 postfix/local[7990]: A60AC312999: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=15, delays=0.11/0.02/0/15, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
    Dec 13 16:22:00 df1 postfix/qmgr[25978]: A60AC312999: removed
    Dec 13 16:24:10 df1 courierpop3login: Connection, ip=[::ffff:192.168.1.4]
    Dec 13 16:24:10 df1 courierpop3login: chdir Maildir: No such file or directory
    Dec 13 16:25:04 df1 postfix/anvil[7984]: statistics: max connection rate 1/60s for (smtp:192.168.1.4) at Dec 13 16:21:40
    Dec 13 16:25:04 df1 postfix/anvil[7984]: statistics: max connection count 1 for (smtp:192.168.1.4) at Dec 13 16:21:40
    Dec 13 16:25:04 df1 postfix/anvil[7984]: statistics: max cache size 1 at Dec 13 16:21:40
    Dec 13 16:25:06 df1 postfix/smtpd[8113]: connect from unknown[192.168.1.4]
    Dec 13 16:25:06 df1 postfix/smtpd[8113]: 2210A312999: client=unknown[192.168.1.4], sasl_method=PLAIN, sasl_username=web1_dualfusion
    Dec 13 16:25:06 df1 postfix/cleanup[8118]: 2210A312999: message-id=<[email protected]>
    Dec 13 16:25:06 df1 postfix/qmgr[25978]: 2210A312999: from=<[email protected]>, size=575, nrcpt=1 (queue active)
    Dec 13 16:25:06 df1 postfix/smtpd[8113]: disconnect from unknown[192.168.1.4]
    Dec 13 16:25:07 df1 postfix/smtp[8119]: 2210A312999: host f.mx.mail.yahoo.com[209.191.88.247] refused to talk to me: 421 Message from (75.74.102.247) temporarily deferred - 4.16.50. Please refer to http://help.yahoo.com/help/us/mail/defer/defer-06.html
    Dec 13 16:25:07 df1 postfix/smtp[8119]: 2210A312999: host e.mx.mail.yahoo.com[216.39.53.1] refused to talk to me: 421 Message from (75.74.102.247) temporarily deferred - 4.16.50. Please refer to http://help.yahoo.com/help/us/mail/defer/defer-06.html
    Dec 13 16:25:07 df1 postfix/smtp[8119]: 2210A312999: host g.mx.mail.yahoo.com[206.190.53.191] refused to talk to me: 421 Message from (75.74.102.247) temporarily deferred - 4.16.50. Please refer to http://help.yahoo.com/help/us/mail/defer/defer-06.html
    Dec 13 16:28:26 df1 postfix/anvil[8115]: statistics: max connection rate 1/60s for (smtp:192.168.1.4) at Dec 13 16:25:06
    Dec 13 16:28:26 df1 postfix/anvil[8115]: statistics: max connection count 1 for (smtp:192.168.1.4) at Dec 13 16:25:06
    Dec 13 16:28:26 df1 postfix/anvil[8115]: statistics: max cache size 1 at Dec 13 16:25:06
    Dec 13 16:28:53 df1 courierpop3login: Connection, ip=[::ffff:192.168.1.4]
    Dec 13 16:28:53 df1 courierpop3login: chdir Maildir: No such file or directory
    Dec 13 16:28:59 df1 spamd[7868]: spamd: server killed by SIGTERM, shutting down 
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    please enable maildir in ispconfig under management > server > settings
     
  4. DualFusion

    DualFusion New Member

    Done, now what? I have tried several configurations of this. Can you please help me out. I am using Windows Live Mail on Vista.

    Thank you
     
  5. falko

    falko Super Moderator ISPConfig Developer

    You must send an email to that user first - the Maildir gets created when the first email arrives. Afterwards you should be able to fetch mails.
     
  6. DualFusion

    DualFusion New Member

    Thank you very much! :)
     
  7. John.Smith

    John.Smith New Member

    It took me a long time to figure this out. Now I want to know why ISPConfig doesn't automatically send an initialization email to the account when it creates it?
     
  8. madmucho

    madmucho ISPConfig Developer ISPConfig Developer

    Have you set it in Managment > Server > Settings > tab Other ?
     
  9. John.Smith

    John.Smith New Member

    You must be mistaken. There are no settings there that have anything to do with sending an email to a user when the email account is created. The settings at the location that you are referring to are for sending an initial email to a client or reseller when it is created, not an email user.
     
  10. madmucho

    madmucho ISPConfig Developer ISPConfig Developer

    Yes You have true, only this type can set up. Sorry.
     
  11. John.Smith

    John.Smith New Member

    Thank you very much for your help. I was hoping that it was on the tab that you were referring to. I am still searching for a good reason why ISPConfig doesn't automatically send an initialization email to the account when the email account is created. We know that to use the account, then an initialization email must be sent, or the maildir has to be created in some way to be able to use the account. The control panel should be designed to create a usable product (email account), without additional steps outside of the control panel that is creating the product.
     
  12. madmucho

    madmucho ISPConfig Developer ISPConfig Developer

    Im using ispconfig2 on mandriva servers, so i dont have that problem, one using dovecot and second old one using courier. I tested your situation on old server with courier, created test account send email to him from gogleapps account, waited some time and after that log into using roundcube, my test mail was there normaly. tested again new acc and after creation procedure in user dir Maildir folder was automaticaly created, i was never loged into that account.

    Edit: mandriva create automaticaly maildir using adduser. so i dont know how is that configurable in your distro, try man adduser and check my configs.

    Code:
    /etc/default/useradd
    i have there:

    Code:
    # useradd defaults file
    GROUP=100
    HOME=/home
    INACTIVE=-1
    EXPIRE=
    SHELL=/bin/bash
    SKEL=/etc/skel
    And
    Code:
    /etc/login.defs
    Inside is
    Code:
    # *REQUIRED*
    #   Directory where mailboxes reside, _or_ name of file, relative to the
    #   home directory.  If you _do_ define both, MAIL_DIR takes precedence.
    #   QMAIL_DIR is for Qmail
    #
    #QMAIL_DIR      Maildir
    MAIL_DIR        /var/spool/mail
    #MAIL_FILE      .mail
    
    # Password aging controls:
    #
    #       PASS_MAX_DAYS   Maximum number of days a password may be used.
    #       PASS_MIN_DAYS   Minimum number of days allowed between password changes.
    #       PASS_MIN_LEN    Minimum acceptable password length.
    #       PASS_WARN_AGE   Number of days warning given before a password expires.
    #
    PASS_MAX_DAYS 99999
    PASS_MIN_DAYS   0
    PASS_MIN_LEN    5
    PASS_WARN_AGE   7
    
    #
    # Min/max values for automatic uid selection in useradd
    #
    UID_MIN                   500
    UID_MAX                 60000
    
    #
    # Min/max values for automatic gid selection in groupadd
    #
    GID_MIN                   500
    GID_MAX                 60000
    
    #
    # If defined, this command is run when removing a user.
    # It should remove any at/cron/print jobs etc. owned by
    # the user to be removed (passed as the first argument).
    #
    #USERDEL_CMD    /usr/sbin/userdel_local
    
    #
    # If useradd should create home directories for users by default
    # On RH systems, we do. This option is ORed with the -m flag on
    # useradd command line.
    #
    CREATE_HOME     yes
    adduser -D # Default settings for new user

    Code:
    GROUP=100
    HOME=/home
    INACTIVE=-1
    EXPIRE=
    SHELL=/bin/bash
    SKEL=/etc/skel
    CREATE_MAIL_SPOOL=no
    Hope that helps you little bit.
     
    Last edited: Apr 5, 2011
  13. John.Smith

    John.Smith New Member

    Unfortunately none of that helps me. Fortunately I know what to do to get things working because of all the helpful people in this forum. This issue is discussed in other threads as well as this thread here. http://www.howtoforge.com/forums/showthread.php?t=11177
    In the end the answer is the same.
    So my question still remains the same.
     
  14. madmucho

    madmucho ISPConfig Developer ISPConfig Developer

    So as i know ispconfig2 does not have functionality send salutatory email for new mail users, ispconfig3 have it implemented :/
     
  15. John.Smith

    John.Smith New Member

    Thank you for confirming for a fact that ISPConfig does not have this functionality, and reinforcing my perplexity as to why ISPConfig 2 does not function in the described manner. We now have a lot of facts. With these facts, my question still remains the same.

     
  16. till

    till Super Moderator Staff Member ISPConfig Developer

    There are quite a few wrong answers in this thread that you mixd up with facts. The mailboxes get created automatically, so there is no need for a confirmation email. You just have to ensure that your system is configured properly.

    Make sure that you installed your server as described in the perfect setup guide for ispconfig 2 (and not a guide for ispconfig 3!) and that you enabled the maildir option under system > server settings before you created the mailbox and not afterwards.
     
  17. John.Smith

    John.Smith New Member

    Thank you till. I finally have the answer to my question.

    That is a good reason as to why.

    Now I have another question. Where is the perfect setup guide for people who can do all of the steps except for 1 important step in the perfect setup? I have no dvd-rom to install from a hard drive, so I am installing from a live usb drive. I don't have the option to select the web server package to install. It's the only step that can't be followed from usb install.
     
  18. till

    till Super Moderator Staff Member ISPConfig Developer

    This is a problem of the mail system, so a missing selection of the webserver should not be the reason for this problem.

    1) Which tutorial did you follow?
    2) Which errors do you get in the maillog file?
    3) Have you enabled the maildir option in server settings before you created the mailbox?
    4) Are you able to send emails to this mailbox? and if yes, are you able to login afterwards?
     
  19. John.Smith

    John.Smith New Member

    1) I followed this. It did not work until I followed the comment made at the bottom that said to type yum install flex. http://www.howtoforge.com/perfect-server-fedora-14-x86_64-ispconfig-2
    2) There are 5484 lines in my /var/log/maillog file. I'm not sure what I am supposed to be looking for.
    3) I enabled (checked) it before any clients or sites were created.
    4) I am able to send emails to any newly created email user with no problems whatsoever. As soon as en email arrives the user can then log into the ISPConfig user control panel, and log into his pop3 mail account and check his mail. However, the email user can never log into ISPConfig user control panel, nor can he log into the pop3 mail server to check his mail, UNTIL that first email is sent to his address.
     
  20. John.Smith

    John.Smith New Member

    The step that I am referring to is where it says, "Now we select the software we want to install. Uncheck Graphical Desktop and check Web Server instead....". That screen is not available from the live usb install, and the add/remove software gui from the gnome desktop is much different. Everything else was followed exact. When I tried installing ISPConfig it wouldn't install, so I tried the comment at the bottom that said yum install flex. After that everything installed. Shouldn't that be part of the ISPConfig install routine? Sites are created in ISPConfig, but there seems to be more problems. I noticed that none of the shell users could log in. I figured out that ISPConfig didn't configure sshd either. I started sshd and did chkconfig --level 345 sshd on. Now users can ssh. There is also a problem accessing a site using SSL that I setup in ISPConfig. I can't figure that one out yet either.
     
    Last edited: Apr 7, 2011

Share This Page