<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Thanks for that.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Yes, I have the
location /kolab/var/imapd/spool/domain/testsite.co.uk/user/denis/ and that
is where I was expecting the emails to be stored.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have a log of /kolab/var/postfix/log/postfix.log
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Could the error be because I am running the
fetchmail as user "root" and not "kolab" ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>May 21 15:28:27 testsite <info>
postfix/lmtp[32454]: 52954B5C04B: to=<<A
href="mailto:nic@localhost.testsite.co.uk">nic@localhost.testsite.co.uk</A>>,
orig_to=<<A href="mailto:nic@localhost">nic@localhost</A>>,
relay=/kolab/var/kolab/lmtp[/kolab/var/kolab/lmtp], delay=0, status=bounced
(host /kolab/var/kolab/lmtp[/kolab/var/kolab/lmtp] said: 550-Mailbox
unknown. Either there is no mailbox associated with this 550-name or you
do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO
command))<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>When the user exists </FONT><FONT face=Arial
size=2>because the user has outlook data stored in it via the "Toltec connector"
and below is the users directory.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[root@rdcredits root]# ls -l
/kolab/var/imapd/spool/domain/testsite.co.uk/user/nic<BR>total
72<BR>drwx------ 2 kolab-r
kolab-r 4096 May 21 15:17
Calendar<BR>drwx------ 2 kolab-r
kolab-r 8192 May 21 15:17
Contacts<BR>-rw------- 1 kolab-r
kolab-r 4 May 20 14:34
cyrus.cache<BR>-rw------- 1 kolab-r
kolab-r 165 May 20 14:34
cyrus.header<BR>-rw------- 1 kolab-r
kolab-r 76 May 21 15:21
cyrus.index<BR>drwx------ 2 kolab-r
kolab-r 4096 May 21 15:10 Deleted
Items<BR>drwx------ 2 kolab-r
kolab-r 4096 May 21 15:17
Drafts<BR>drwx------ 2 kolab-r
kolab-r 4096 May 21 15:17
Inbox<BR>drwx------ 2 kolab-r
kolab-r 4096 May 21 14:42
Inbox___3G<BR>drwx------ 2 kolab-r
kolab-r 4096 May 21 15:18
Inbox___Orange<BR>drwx------ 2 kolab-r
kolab-r 4096 May 21 15:18
Inbox___ZDNet<BR>drwx------ 2 kolab-r
kolab-r 4096 May 21 15:17
Journal<BR>drwx------ 2 kolab-r
kolab-r 4096 May 21 15:17
Notes<BR>drwx------ 2 kolab-r
kolab-r 4096 May 21 15:17 Sent
Items<BR>drwx------ 2 kolab-r
kolab-r 4096 May 21 14:06
Tasks<BR>drwx------ 2 kolab-r
kolab-r 4096 May 21 15:17
test<BR>drwx------ 2 kolab-r
kolab-r 4096 May 21 15:17
test___Notes<BR>[root@rdcredits root]#<BR></DIV></FONT>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Denis</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><BR></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>
<DIV><SPAN class=468494813-21052004><FONT face=Verdana color=#0000ff size=2>On
my MandrakeLinux system (your system may differ) the mails are stored in
/var/spool/imap/user/<EM>username</EM> so your should be
/var/spool/imap/user/denis</FONT></SPAN></DIV>
<DIV><SPAN class=468494813-21052004><FONT face=Verdana color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=468494813-21052004><FONT face=Verdana color=#0000ff
size=2>Each mail has a file, the file name being a number followed by a dot,
eg 1. 2. 3. and so on. These files are plain text so if you run the
command </FONT></SPAN></DIV>
<DIV><SPAN class=468494813-21052004><FONT face=Verdana color=#0000ff
size=2>less /var/spool/imap/user/<EM>username</EM>/1.</FONT></SPAN></DIV>
<DIV><SPAN class=468494813-21052004><FONT face=Verdana color=#0000ff
size=2>less will display the text of the mail, complete with
headers.</FONT></SPAN></DIV>
<DIV><SPAN class=468494813-21052004><FONT face=Verdana color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=468494813-21052004><SPAN class=890415113-21052004><FONT
face=Verdana color=#0000ff size=2>What you should see in the log is
"status=sent" instead of "status=bounced" so I imagine there must be something
in the log to say what's happened. On MandrakeLinux 10.0 Official the
logs seem to be combined. For me to see what's happening to the mail,
where it's getting sent to/bounced etc. I use the following command (the
location of your logs may differ):</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=468494813-21052004><SPAN class=890415113-21052004><FONT
face=Verdana color=#0000ff size=2></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=468494813-21052004><SPAN class=890415113-21052004><FONT
face=Verdana color=#0000ff size=2>tail -f
/var/log/mail/info</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=468494813-21052004><SPAN class=890415113-21052004><FONT
face=Verdana color=#0000ff size=2></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=468494813-21052004><SPAN class=890415113-21052004><FONT
face=Verdana color=#0000ff size=2>That command is what I found the most
useful.</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=468494813-21052004><SPAN class=890415113-21052004><FONT
face=Verdana color=#0000ff size=2></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=468494813-21052004><SPAN class=890415113-21052004><FONT
face=Verdana color=#0000ff size=2>Hope this helps</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=468494813-21052004><SPAN class=890415113-21052004><FONT
face=Verdana color=#0000ff size=2></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=468494813-21052004><SPAN class=890415113-21052004><FONT
face=Verdana color=#0000ff size=2>Stephen</FONT></SPAN></SPAN></DIV></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Denis Croombs
[mailto:denis@just-servers.co.uk]<BR><B>Sent:</B> 21 May 2004
14:37<BR><B>To:</B> Stephen Hind<BR><B>Cc:</B> 'Kolab-Users
(E-mail)'<BR><B>Subject:</B> Re: Error is error log<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The user exists.</FONT></DIV>
<DIV><FONT face=Arial size=2>I have added the alias and not no error, but no
mail in the postfix log either, where is the e-mail stored ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>***** Main.cf ******</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2># local host<BR>myhostname =
office.testsite.co.uk<BR>mydomain = testsite.co.uk<BR>myorigin =
$myhostname<BR>#<BR>masquerade_domains = $mydomain<BR>masquerade_exceptions
= root</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># smtp daemon<BR>#smtpd_banner =
$myhostname ESMTP $mail_name<BR>#inet_interfaces = 127.0.0.1</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># relaying<BR>mynetworks =
127.0.0.0/8, 172.16.1.0/24, 172.16.0.0/24<BR>mydestination = $mydomain
localhost.$mydomain office.$mydomain<BR></FONT></DIV>
<DIV><FONT face=Arial
size=2>***************main.cf.template**********************</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<DIV><FONT face=Arial size=2># relaying<BR>mynetworks =
@@@postfix-mynetworks@@@<BR>mydestination = @@@postfix-mydestination@@@
localhost.$mydomain office.$mydomain<BR>relay_domains =<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Denis</DIV></FONT>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial"> </DIV>
<DIV><SPAN class=233280913-21052004><FONT face=Verdana color=#0000ff
size=2>Have a look at your main.cf and main.cf.template files to ensure
that on the mydestination line contains office.testsite.co.uk and I
presume you have an account or an alias called denis.</FONT></SPAN></DIV>
<DIV><SPAN class=233280913-21052004><FONT face=Verdana color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=233280913-21052004><FONT face=Verdana color=#0000ff
size=2>The second way you can capture these, which I forgot to put in my
previous mail, is to add some entries to your virtual.template file (again
mine is located in /etc/kolab)</FONT></SPAN></DIV>
<DIV><SPAN class=233280913-21052004><FONT face=Verdana color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=233280913-21052004><FONT face=Verdana color=#0000ff
size=2>In my file I have added the following lines:</FONT></SPAN></DIV>
<DIV><SPAN class=233280913-21052004><FONT face=Verdana color=#0000ff
size=2><A href="mailto:s.hind@rwp.co.uk">s.hind@rwp.co.uk</A>
stephenh</FONT></SPAN></DIV>
<DIV><SPAN class=233280913-21052004><FONT face=Verdana color=#0000ff
size=2><A
href="mailto:s.hind@learning-partners.org.uk">s.hind@learning-partners.org.uk</A> stephenh</FONT></SPAN></DIV>
<DIV><SPAN class=233280913-21052004><FONT face=Verdana color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=233280913-21052004><FONT face=Verdana color=#0000ff
size=2>This means any mail to the above addresses will get transferred to
the Kolab IMAP server and deposited in my stephenh account, rather than
relayed to the internet or bounced.</FONT></SPAN></DIV>
<DIV><SPAN class=233280913-21052004><FONT face=Verdana color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=233280913-21052004><FONT face=Verdana color=#0000ff
size=2>Hope this helps</FONT></SPAN></DIV>
<DIV><SPAN class=233280913-21052004><FONT face=Verdana color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=233280913-21052004><FONT face=Verdana color=#0000ff
size=2>Stephen Hind</FONT></SPAN></DIV>
<DIV><SPAN class=233280913-21052004>
<DIV class=Section1>
<P style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"> <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"> <o:p></o:p></SPAN></P>
<DIV
style="BORDER-RIGHT: black 0.75pt solid; PADDING-RIGHT: 1pt; BORDER-TOP: black 0.75pt solid; PADDING-LEFT: 1pt; PADDING-BOTTOM: 1pt; BORDER-LEFT: black 0.75pt solid; PADDING-TOP: 1pt; BORDER-BOTTOM: black 0.75pt solid">
<P
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; MARGIN: 0cm 0cm 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-border-alt: solid black .75pt; mso-padding-alt: 1.0pt 1.0pt 1.0pt 1.0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> <o:p></o:p></SPAN></P>
<P
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; MARGIN: 0cm 0cm 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-border-alt: solid black .75pt; mso-padding-alt: 1.0pt 1.0pt 1.0pt 1.0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">IMPORTANT<o:p></o:p></SPAN></P>
<P
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; MARGIN: 0cm 0cm 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-border-alt: solid black .75pt; mso-padding-alt: 1.0pt 1.0pt 1.0pt 1.0pt"> <o:p></o:p></P>
<P
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; MARGIN: 0cm 0cm 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-border-alt: solid black .75pt; mso-padding-alt: 1.0pt 1.0pt 1.0pt 1.0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">This email and any files
transmitted with it are confidential and are intended solely for the use
of the individual or entity to whom they are addressed. This communication
represents the originator's personal views and opinions, which do not
necessarily reflect those of RWP Training Limited. If you are not the
original recipient or the person responsible for delivering the email to
the intended recipient, be advised that you received this email in error,
and that any use, dissemination, forwarding, printing, or copying of this
email is strictly prohibited. If you received this email in error, please
immediately notify <A
href="mailto:admin@rwp.co.uk">admin@rwp.co.uk</A><o:p></o:p></SPAN></P>
<P
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; MARGIN: 0cm 0cm 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-border-alt: solid black .75pt; mso-padding-alt: 1.0pt 1.0pt 1.0pt 1.0pt"> <o:p></o:p></P>
<P
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; MARGIN: 0cm 0cm 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-border-alt: solid black .75pt; mso-padding-alt: 1.0pt 1.0pt 1.0pt 1.0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">In accordance with the
Telecommunications (Lawful Business Practices) (Interception of
Communications) Regulations 2000, RWP Training Limited reserves the right
to monitor and record e-mail messages sent to and from this address for
the purposes of investigating or detecting any unauthorised use of its
system and ensuring its effective operation.<o:p></o:p></SPAN></P>
<P
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; MARGIN: 0cm 0cm 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-border-alt: solid black .75pt; mso-padding-alt: 1.0pt 1.0pt 1.0pt 1.0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana"> <o:p></o:p></SPAN></P></DIV>
<P style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"> <o:p></o:p></SPAN></P></DIV></SPAN></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Denis Croombs
[mailto:denis@just-servers.co.uk]<BR><B>Sent:</B> 21 May 2004
13:37<BR><B>To:</B> Stephen Hind<BR><B>Cc:</B> Kolab-Users
(E-mail)<BR><B>Subject:</B> Re: Error is error log<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks for that.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have now tried that and am now getting
the following error !</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>May 21 13:32:56 testsite <info>
postfix/lmtp[23299]: 3147EB5C04B: to=<<A
href="mailto:denis@office.testsite.co.uk">denis@office.testsite.co.uk</A>>,
relay=/kolab/var/kolab/lmtp[/kolab/var/kolab/lmtp], delay=0,
status=bounced (host /kolab/var/kolab/lmtp[/kolab/var/kolab/lmtp] said:
550-Mailbox unknown. Either there is no mailbox associated with
this 550-name or you do not have authorization to see it. 550 5.1.1 User
unknown (in reply to RCPT TO command))</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any clue as to why ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Denis</DIV>
<DIV><BR></DIV></FONT>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><FONT size=2><FONT face=Verdana>I had this problem and overcame
it!<BR><BR>If you're trying to receive mail like <A
href="mailto:someone@testsite.co.uk">someone@testsite.co.uk</A> then
you need to set your Email domain to testsite.co.uk<BR><BR>If you're
trying to receive mail like <A
href="mailto:someone@localhost.co.uk">someone@localhost.co.uk</A> then
you need to set your Email domain to
loclahost.testsite.co.uk<BR><BR>If you want to receive mail for both
those addresses, there are two ways of achieving this, but neither can
be implemented using the Web Front-End:<BR><BR>Method 1: Edit the
main.cf.template file in (mines located in /etc/kolab yours may differ
as I use the MandrakeLinux version) and add to the end of the
line:<BR>mydestination = @@@postfix-mydestination@@@<BR>any host name
you want postfix to respond to eg:<BR>mydestination =
@@@postfix-mydestination@@@ respond.to.this.hostname
respond.to.another.hostname<BR><BR>As far as I can see the web
front-end does not let you do this. It would be good to know if
there are any plans to do
so?<BR><BR></FONT></FONT></DIV></BLOCKQUOTE><BR>-- <BR>This message has
been scanned for viruses and <BR>dangerous content by <BR>Marvin and is
believed to be clean. </BLOCKQUOTE><BR>-- <BR>This message has been
scanned for viruses and <BR>dangerous content by <BR>Marvin and is
believed to be clean. </BLOCKQUOTE><BR>-- <BR>This message has been scanned
for viruses and <BR>dangerous content by <BR>Marvin and is believed to be
clean. </BLOCKQUOTE><BR>-- <BR>This message has been scanned for viruses and
<BR>dangerous content by <BR>Marvin and is believed to be clean.
</BLOCKQUOTE></BODY><br />--
<br />This message has been scanned for viruses and
<br />dangerous content by
<br />Marvin and is believed to be clean.
</HTML>