PDA

View Full Version : Email Issues


phenner
24th January 2009, 20:47
Hi,

Few problems with the email on ISPConfig. I have made a client and they have a website. The site works fine as does the FTP. However, when I make an email for them:
a) I cannot connect in via Roundcube Webmail.
b) Don't know what address the POP3, SMTP and IMAP servers are operating on. e.g mail.phennerweb.co.uk etc.

Can anyone give me some guidance as to what to do to get everything working?

FYI I am using Ubuntu 8.1 and have ISPConfig 2 installed.

Thanks,

Rich

Ben
24th January 2009, 22:29
So it's more about accessing the mailboxes?
So at first you add users within the web you created.
The user for roundcube as well as in you mail programm is the w... one. Although you may access roundcube with the emailadress if roundcube is configured appropraite to parse the postfix's virtual user table file.
The pop3/smpt server address is the same for both either the ip of your server or any dns name pointing to that server ip. the password is the one you've set for the user, and that's it.

In case logins fail, please post the output of /var/log/mail.log or the output of the roundcube logfile in case rc is configured to log the user logins.

phenner
25th January 2009, 02:08
I think I see the problem now with Roundcube at least. It seems that the user I have created, web2_jonathan, is directed to its own www space. i.e.
instead of /var/www/web2, it goes to, /var/www/web2/user/web2_jonathan/.

Is there any way I can change this so it works properly? I presume Roundcube at least will then be ok as the Maildir is in the right place?

Ouput of mail.log is below:

Jan 24 23:30:20 phennerweb freshclam[32432]: Received signal: wake up
Jan 24 23:30:20 phennerweb freshclam[32432]: ClamAV update process started at S$
Jan 24 23:30:20 phennerweb freshclam[32432]: SECURITY WARNING: NO SUPPORT FOR D$
Jan 24 23:30:20 phennerweb freshclam[32432]: See the FAQ at http://www.clamav.n$
Jan 24 23:30:20 phennerweb freshclam[32432]: main.cvd is up to date (version: 4$
Jan 24 23:30:20 phennerweb freshclam[32432]: daily.cvd is up to date (version: $
Jan 24 23:30:20 phennerweb freshclam[32432]: ----------------------------------$
Jan 24 23:59:02 phennerweb postfix/master[32365]: terminating on signal 15
Jan 24 23:59:03 phennerweb postfix/master[12578]: daemon started -- version 2.5$
Jan 25 00:03:13 phennerweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 25 00:03:13 phennerweb imapd: chdir Maildir: No such file or directory



Thanks,

Rich

till
25th January 2009, 11:03
Thats all correct. he directory of the user is /var/www/web2/user/web2_jonathan/ and thats not the web space of the user. The user webspace is /var/www/web2/user/web2_jonathan/web/

Make sure that you enabled maildir in ispconfig and then send an email to this user.

phenner
25th January 2009, 12:16
Right all seems well now with receiving email. However sending still won't work.
Here is the ouput of mail.log:

Jan 25 09:48:12 phennerweb postfix/smtpd[30421]: connect from reseller11.natrohost.com[85.159.66.197]
Jan 25 09:48:13 phennerweb postfix/smtpd[30421]: setting up TLS connection from reseller11.natrohost.com[85.159.66.197]
Jan 25 09:48:14 phennerweb postfix/smtpd[30421]: Anonymous TLS connection established from reseller11.natrohost.com[85.159.66.197]: SSLv3 with cipher DHE-RSA$
Jan 25 09:48:15 phennerweb postfix/smtpd[30421]: 4928DD7B7C: client=reseller11.natrohost.com[85.159.66.197]
Jan 25 09:48:15 phennerweb postfix/cleanup[30429]: 4928DD7B7C: message-id=<01b801c97ed1$f4d2a540$de77efc0$@com>
Jan 25 09:48:16 phennerweb postfix/qmgr[12582]: 4928DD7B7C: from=<john@masterfireinternational.com>, size=5047, nrcpt=1 (queue active)
Jan 25 09:48:16 phennerweb postfix/pickup[27783]: 0F62DD7B7E: uid=10002 from=<web2_jonathan>
Jan 25 09:48:16 phennerweb postfix/cleanup[30429]: 0F62DD7B7E: message-id=<20090125094816.0F62DD7B7E@phennerweb.co.uk>
Jan 25 09:48:16 phennerweb postfix/qmgr[12582]: 0F62DD7B7E: from=<web2_jonathan@phennerweb.co.uk>, size=393, nrcpt=1 (queue active)
Jan 25 09:48:16 phennerweb postfix/local[30447]: 0F62DD7B7E: to=<admispconfig@localhost.localdomain>, relay=local, delay=0.11, delays=0.03/0.01/0/0.08, dsn=2$
Jan 25 09:48:16 phennerweb postfix/qmgr[12582]: 0F62DD7B7E: removed
Jan 25 09:48:16 phennerweb postfix/smtpd[30421]: disconnect from reseller11.natrohost.com[85.159.66.197]
Jan 25 09:48:22 phennerweb postfix/local[30430]: 4928DD7B7C: to=<web2_jonathan@phennerweb.co.uk>, orig_to=<jonathan@jonathandavieskitchens.com>, relay=local,$
Jan 25 09:48:22 phennerweb postfix/qmgr[12582]: 4928DD7B7C: removed
Jan 25 09:48:29 phennerweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 25 09:48:29 phennerweb imapd: LOGIN, user=web2_jonathan, ip=[::ffff:127.0.0.1], port=[54939], protocol=IMAP
Jan 25 09:48:30 phennerweb imapd: LOGOUT, user=web2_jonathan, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=48, sent=203, time=1
Jan 25 09:48:30 phennerweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 25 09:48:30 phennerweb imapd: LOGIN, user=web2_jonathan, ip=[::ffff:127.0.0.1], port=[54940], protocol=IMAP
Jan 25 09:48:30 phennerweb imapd: LOGOUT, user=web2_jonathan, ip=[::ffff:127.0.0.1], headers=283, body=0, rcvd=366, sent=1216, time=0
Jan 25 09:48:31 phennerweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 25 09:48:31 phennerweb imapd: LOGIN, user=web2_jonathan, ip=[::ffff:127.0.0.1], port=[54941], protocol=IMAP
Jan 25 09:48:31 phennerweb imapd: LOGOUT, user=web2_jonathan, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=71, sent=467, time=0
Jan 25 09:48:47 phennerweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 25 09:48:47 phennerweb imapd: LOGIN, user=web2_jonathan, ip=[::ffff:127.0.0.1], port=[58796], protocol=IMAP
Jan 25 09:48:47 phennerweb imapd: LOGOUT, user=web2_jonathan, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=94, sent=519, time=0
Jan 25 09:48:47 phennerweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 25 09:48:47 phennerweb imapd: LOGIN, user=web2_jonathan, ip=[::ffff:127.0.0.1], port=[58797], protocol=IMAP Jan 25 09:48:48 phennerweb imapd: LOGIN, user=web2_jonathan, ip=[::ffff:127.0.0.1], port=[58798], protocol=IMAP
Jan 25 09:48:49 phennerweb imapd: LOGOUT, user=web2_jonathan, ip=[::ffff:127.0.0.1], headers=283, body=3307, rcvd=375, sent=4942, time=1
Jan 25 09:48:49 phennerweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 25 09:48:49 phennerweb imapd: LOGIN, user=web2_jonathan, ip=[::ffff:127.0.0.1], port=[58799], protocol=IMAP
Jan 25 09:48:49 phennerweb imapd: LOGOUT, user=web2_jonathan, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=25, sent=180, time=0
Jan 25 09:48:54 phennerweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 25 09:48:54 phennerweb imapd: LOGIN, user=web2_jonathan, ip=[::ffff:127.0.0.1], port=[58800], protocol=IMAP
Jan 25 09:48:54 phennerweb imapd: LOGOUT, user=web2_jonathan, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=25, sent=180, time=0
Jan 25 09:48:56 phennerweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 25 09:48:56 phennerweb imapd: LOGIN, user=web2_jonathan, ip=[::ffff:127.0.0.1], port=[58801], protocol=IMAP
Jan 25 09:48:56 phennerweb imapd: LOGOUT, user=web2_jonathan, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=25, sent=180, time=0
Jan 25 09:49:01 phennerweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 25 09:49:01 phennerweb imapd: LOGIN, user=web2_jonathan, ip=[::ffff:127.0.0.1], port=[58802], protocol=IMAP
Jan 25 09:49:01 phennerweb imapd: LOGOUT, user=web2_jonathan, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=25, sent=180, time=0
Jan 25 09:49:15 phennerweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 25 09:49:15 phennerweb imapd: LOGIN, user=web2_jonathan, ip=[::ffff:127.0.0.1], port=[58803], protocol=IMAP
Jan 25 09:49:15 phennerweb postfix/pickup[27783]: D4D75D7B7D: uid=1001 from=<jonathan@jonathandavieskitchens.com>
Jan 25 09:49:15 phennerweb postfix/cleanup[30429]: D4D75D7B7D: message-id=<c3af4586223009766dd8818e49f6e7a1@localhost>
Jan 25 09:49:15 phennerweb imapd: LOGOUT, user=web2_jonathan, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=524, sent=284, time=0
Jan 25 09:49:15 phennerweb postfix/qmgr[12582]: D4D75D7B7D: from=<jonathan@jonathandavieskitchens.com>, size=526, nrcpt=1 (queue active)
Jan 25 09:49:16 phennerweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 25 09:49:16 phennerweb imapd: LOGIN, user=web2_jonathan, ip=[::ffff:127.0.0.1], port=[58804], protocol=IMAP
Jan 25 09:49:16 phennerweb imapd: LOGOUT, user=web2_jonathan, ip=[::ffff:127.0.0.1], headers=283, body=0, rcvd=315, sent=1164, time=0
Jan 25 09:49:16 phennerweb imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 25 09:49:17 phennerweb imapd: LOGIN, user=web2_jonathan, ip=[::ffff:127.0.0.1], port=[58805], protocol=IMAP
Jan 25 09:49:17 phennerweb imapd: LOGOUT, user=web2_jonathan, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=76, sent=465, time=0
Jan 25 09:49:18 phennerweb postfix/smtp[30518]: certificate verification failed for mail.masterfireinternational.com[85.159.66.198]:25: self-signed certifica$
Jan 25 09:49:19 phennerweb postfix/smtp[30518]: D4D75D7B7D: to=<john@masterfireinternational.com>, relay=mail.masterfireinternational.com[85.159.66.198]:25, $
Jan 25 09:49:19 phennerweb postfix/cleanup[30429]: EC91ED7B7F: message-id=<20090125094919.EC91ED7B7F@phennerweb.co.uk>
Jan 25 09:49:19 phennerweb postfix/qmgr[12582]: EC91ED7B7F: from=<>, size=2641, nrcpt=1 (queue active)
Jan 25 09:49:19 phennerweb postfix/bounce[30523]: D4D75D7B7D: sender non-delivery notification: EC91ED7B7F
Jan 25 09:49:19 phennerweb postfix/qmgr[12582]: D4D75D7B7D: removed
Jan 25 09:49:20 phennerweb postfix/pickup[27783]: 0668CD7B7E: uid=10002 from=<web2_jonathan>
Jan 25 09:49:20 phennerweb postfix/cleanup[30429]: 0668CD7B7E: message-id=<20090125094920.0668CD7B7E@phennerweb.co.uk>
Jan 25 09:49:20 phennerweb postfix/qmgr[12582]: 0668CD7B7E: from=<web2_jonathan@phennerweb.co.uk>, size=393, nrcpt=1 (queue active)
Jan 25 09:49:20 phennerweb postfix/local[30430]: 0668CD7B7E: to=<admispconfig@localhost.localdomain>, relay=local, delay=0.08, delays=0.02/0/0/0.06, dsn=2.0.$
Jan 25 09:49:20 phennerweb postfix/qmgr[12582]: 0668CD7B7E: removed
Jan 25 09:49:26 phennerweb postfix/local[30447]: EC91ED7B7F: to=<web2_jonathan@phennerweb.co.uk>, orig_to=<jonathan@jonathandavieskitchens.com>, relay=local,$
Jan 25 09:49:26 phennerweb postfix/qmgr[12582]: EC91ED7B7F: removed
Jan 25 09:51:36 phennerweb postfix/anvil[30424]: statistics: max connection rate 1/60s for (smtp:85.159.66.197) at Jan 25 09:48:12
Jan 25 09:51:36 phennerweb postfix/anvil[30424]: statistics: max connection count 1 for (smtp:85.159.66.197) at Jan 25 09:48:12
Jan 25 09:51:36 phennerweb postfix/anvil[30424]: statistics: max cache size 1 at Jan 25 09:48:12

phenner
25th January 2009, 22:08
Got any ideas guys?

Rich

phenner
25th January 2009, 22:53
Ok. The email's are now sending fine, bar a problem on one account where I get an error message saying that the email has not saved. The other account however works fine.

One last question for you guys:

What are my POP and SMTP addresses?

Site = www.phennerweb.co.uk

POP3 on port 110 and SMTP on 25.

I have tried phennerweb.co.uk in Outlook but doesn't seem to work :s

Any ideas?

Thanks,

Rich

till
26th January 2009, 11:40
You can use any domaon or IP address that points to your server as smtp and pop3 / imap server address.