Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th May 2006, 00:22
sw33t sw33t is offline
Junior Member
 
Join Date: May 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with retrieving mail after using ISPConfig

I am a newbie user and I setup the latest version of ISPConfig.

I used the Debian Sarge Howto to setup my box. I am using

Postfix -> Courier POP+IMAP -> Procmail -> Maildir

I am able to send and receive email but the only problem is I can't retrieve it via Thunderbird (POP3 or IMAP over TLS). Everything is authenticated and Thunderbird communicates with the mail server (my box). I am not sure what I am doing wrong.. Here are some relevant snippets..

A. Sending email from user@gmail.com to ray@myvirtualdomain1.com

FROM /var/log/mail.log

May 11 17:14:54 s79648 postfix/smtpd[7747]: connect from nf-out-0910.google.com[64.233.182.187]
May 11 17:14:54 s79648 postfix/smtpd[7747]: 6C08C3081F2: client=nf-out-0910.google.com[64.233.182.187]
May 11 17:14:54 s79648 postfix/cleanup[7750]: 6C08C3081F2: message-id=<a5e73b760605111513p74d48fffm2a1a63a694cb898b@m ail.gmail.com>
May 11 17:14:54 s79648 postfix/qmgr[7593]: 6C08C3081F2: from=<user@gmail.com>, size=1669, nrcpt=1 (queue active)
May 11 17:14:55 s79648 postfix/pickup[7592]: 65B6A30820C: uid=10002 from=<web5_ray>
May 11 17:14:55 s79648 postfix/cleanup[7750]: 65B6A30820C: message-id=<20060511221454.65B6A30820C@s79648.servername.c om>
May 11 17:14:55 s79648 postfix/qmgr[7593]: 65B6A30820C: from=<web5_ray@servername.com>, size=363, nrcpt=1 (queue active)
May 11 17:14:55 s79648 postfix/local[7768]: 65B6A30820C: to=<admispconfig@localhost>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
May 11 17:14:55 s79648 postfix/qmgr[7593]: 65B6A30820C: removed
May 11 17:14:57 s79648 postfix/local[7751]: 6C08C3081F2: to=<web5_ray@servername.com>, orig_to=<ray@virtualdomain1.com>, relay=local, delay=3, status=sent (delivered to command: /usr/bin/procmail -f-)
May 11 17:14:57 s79648 postfix/qmgr[7593]: 6C08C3081F2: removed


B. POSTFIX CONFIG FILE: /etc/postfix/main.cf
----------------------------------------------
# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
home_mailbox = Maildir/
virtual_maps = hash:/etc/postfix/virtusertable
mydestination = /etc/postfix/local-host-names


C. VIRTUAL MAPS - /etc/postfix/virtusertable

###################################
#
# ISPConfig virtusertable Configuration File
# Version 1.0
#
###################################
ray@www.virtualdomain1.com web5_ray
web5_ray@www.virtualdomain1.com web5_ray
ray@virtualdomain1.com web5_ray
web5_ray@virtualdomain1.com web5_ray
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
web5_ray@servername.com web5_ray



D. LOCAL HOST NAMES: /etc/postfix/local-host-names

###################################
#
# ISPConfig local-host-names Configuration File
# Version 1.0
#
###################################
localhost
s79648.servername.com
localhost.s79648.servername.com
localhost.servername.com
www.virtualdomain1.com
virtualdomain1.com
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
servername.com





Any input will be highly appreciated.

Thanks.

Sw33t
Reply With Quote
Sponsored Links
  #2  
Old 12th May 2006, 10:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

You must enable Maildir in ISPConfig: Management -> Server -> Settings -> Email.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 12th May 2006, 16:15
sw33t sw33t is offline
Junior Member
 
Join Date: May 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Rephrased question

Hey Falko:

Thanks for the response.

Let me rephrase my question.

Will mailboxes created via ISPConfig work only with a webmail client? Can I not use POP3 or IMAP to access those mailboxes?

I installed one of the recommended webmail clients (UebiMiau) and i am able to send and receive email fine. But I want to configure it in such a way that I can send and receive email using Thunderbird etc.

Yes, I have enabled Maildir option under "Management -> Server -> Settings -> EMail"
Reply With Quote
  #4  
Old 12th May 2006, 21:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by sw33t
Will mailboxes created via ISPConfig work only with a webmail client? Can I not use POP3 or IMAP to access those mailboxes?
Of course you can use a regular email client, that's no problem at all.
Make sure your firewall doesn't block the POP3 and IMAP ports.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 12th May 2006, 22:29
sw33t sw33t is offline
Junior Member
 
Join Date: May 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Results of "nmap tab"

PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
81/tcp open hosts2-ns
110/tcp open pop3
143/tcp open imap
443/tcp open https
993/tcp open imaps
995/tcp open pop3s
3306/tcp open mysql

They are open!
Reply With Quote
  #6  
Old 12th May 2006, 23:55
sw33t sw33t is offline
Junior Member
 
Join Date: May 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Did a quick hack

Hey falko:

I changed Courier's IMAP config param

from

MAILDIRPATH=/Maildir

to

MAILDIRPATH=/var/www/web5/user/web5_ray/Maildir


and I can retrieve emails through an email client (Thunderbird). Something tells me that this is not the right way though.

Could you tell me if what I did was right?


Thanks.
Reply With Quote
  #7  
Old 13th May 2006, 12:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by sw33t
Hey falko:

I changed Courier's IMAP config param

from

MAILDIRPATH=/Maildir

to

MAILDIRPATH=/var/www/web5/user/web5_ray/Maildir


and I can retrieve emails through an email client (Thunderbird). Something tells me that this is not the right way though.

Could you tell me if what I did was right?
That way you can retrieve only emails for web5_ray. It should work with
Code:
MAILDIRPATH=/Maildir
, if not, try
Code:
MAILDIRPATH=/$HOME/Maildir
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 13th May 2006, 21:00
sw33t sw33t is offline
Junior Member
 
Join Date: May 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cool

Works fine now.

I changed the settings to /$HOME/Maildir

Thanks you very much Falko..


Do you have any recommendations for a good mailing list manager which will be a breeze to setup on Debian Sarge?
Reply With Quote
  #9  
Old 14th May 2006, 16:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
 
Default

I don't think there's an eays-to-set-up mailing list manager. Personally, I'm using Mailgust, which was easy to set up, but it's not developed anymore, and you can't download I anymore.
But you can use Mailman, it works with ISPConfig. Make sure to follow the Mailman installlation instructions.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Not receiving any incoming mail. Jcorrea920 General 11 3rd April 2010 13:08
ISPCONFIG and mail appearance problem pirinas1980 Installation/Configuration 1 11th March 2006 14:02
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47
Problem sending mail to 2nd SMTP server inside network kisong Server Operation 2 2nd March 2006 18:05
Traffic Exceedance Mail Problem krishol General 4 17th February 2006 10:38


All times are GMT +2. The time now is 00:40.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.