Greetings all, I am trying to get the above to work and have been having no success at all. I''ve got the server configured to send/deliver mail and it works just fine w/ UW-IMAP w/ SSL support but I haven'' been able to get the Courier IMAP version to work. I would like to get Courier to work due to the perf gain when using Maildir vs Mbox. I''m familiar w/ Exim3 and UW-IMAP but Exim4 is new to me, as is Courier-Imap. I''ve setup an accout name "test" and in /home/test i''ve created "Maildir" with 700 perms in the group/owner test: /home/test# ls -lah drwx------ 3 test test 4.0K 2005-06-18 00:21 Maildir when trying to connect to the server using Thunderbird I receive the error: The current comamnd did not succeed. The mail server responded: Unable to open this mailbox... here is what is in syslog: Jun 18 01:18:20 app1 imapd-ssl: Connection, ip=[::ffff:10.10.193.10] Jun 18 01:18:24 app1 imapd-ssl: LOGIN, user=test, ip=[::ffff:10.10.193.10], protocol=IMAP Jun 18 01:18:47 app1 imaplogin: Connection, ip=[::ffff:10.10.193.10] Jun 18 01:18:47 app1 imaplogin: LOGIN, user=test, ip=[::ffff:10.10.193.10], protocol=IMAP under /etc/ssl/certs until i removed courrier and installed uw-imap there wasn''t a imapd.pem but there is now. here is output of netstat: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 app1.blah.co:imaps *:* LISTEN tcp 0 0 *:smux *:* LISTEN tcp 0 0 *:713 *:* LISTEN tcp 0 0 app1.blah.co:imap2 *:* LISTEN tcp 0 0 *:ssh *:* LISTEN tcp 0 0 app1.blah.com:smtp *:* LISTEN tcp 0 0 localhost:smtp *:* LISTEN tcp 0 0 localhost:953 *:* LISTEN tcp 0 0 localhost:666 *:* LISTEN tcp 0 224 app1.blah.com:ssh 10.10.193.10:3621 ESTABLISHED tcp 0 0 app1.blah.com:ssh 10.10.193.10:3619 ESTABLISHED Active UNIX domain sockets (servers and established) Proto RefCnt Flags Type State I-Node Path unix 14 [ ] DGRAM 1187 /dev/log unix 2 [ ACC ] STREAM LISTENING 811700 /dev/printer unix 2 [ ACC ] STREAM LISTENING 1266222 /var/run/courier/authdaemon/socket.tmp unix 2 [ ACC ] STREAM LISTENING 2589 /var/run/agentx unix 2 [ ACC ] STREAM LISTENING 1278109 /tmp/ssh-PfketWF692/agent.692 unix 2 [ ACC ] STREAM LISTENING 1277571 /tmp/ssh-HKEIKqp609/agent.609 unix 2 [ ] DGRAM 1278106 unix 3 [ ] STREAM CONNECTED 1278105 unix 3 [ ] STREAM CONNECTED 1278104 unix 2 [ ] DGRAM 1277568 unix 3 [ ] STREAM CONNECTED 1277567 unix 3 [ ] STREAM CONNECTED 1277566 unix 2 [ ] DGRAM 1276449 unix 2 [ ] DGRAM 1276405 unix 2 [ ] DGRAM 1268135 unix 2 [ ] DGRAM 1266220 unix 2 [ ] DGRAM 811697 unix 2 [ ] DGRAM 2714 unix 2 [ ] DGRAM 2696 unix 2 [ ] DGRAM 2576 unix 2 [ ] DGRAM 1322 unix 2 [ ] DGRAM 1240 Any help here is greatly appreciated. TIA, Bryan
On 2005-06-18 Bryan <bryan@tec-works.com> wrote: [...]> I''ve setup an accout name "test" and in /home/test i''ve created "Maildir" > with 700 perms in the group/owner test:> /home/test# ls -lah > drwx------ 3 test test 4.0K 2005-06-18 00:21 Maildir> when trying to connect to the server using Thunderbird I receive the > error: > The current comamnd did not succeed. The mail server responded: Unable to > open this mailbox...[...] Generating a maildir-format mailfolder requires more than generating the toplevel directory. Using maildirmake might work out better. http://www.trekweb.com/~jasonb/articles/exim4_courier/ cu andreas -- "See, I told you they''d listen to Reason," [SPOILER] Svfurlr fnlf, fuhggvat qbja gur juveyvat tha. Neal Stephenson in "Snow Crash" http://downhill.aus.cc/
Andreas, thank you for the link, it did indeed fix most of my problems and it now works. I now just have a few other minor things to fix. I am unable to send mail to the server via TLS or SSL. Not sure what to even look for here. All of my users are currently using /home/"username"/mail/<dir> version of directories in their mailboxes where /home/"username"/mail/INBOX is their inbox and /home/mail/sent-mail is their sent mail, etc.... Currently when I am logged in with account "test" and I create a new folder "saved" with the mail client I can see the folder i created: :/home/test/Maildir# ls -la total 56 drwx------ 12 test test 4096 2005-06-18 15:55 . drwxr-xr-x 3 test test 4096 2005-06-18 15:22 .. drwx------ 2 test test 4096 2005-06-18 15:53 courierimapkeywords -rw-r--r-- 1 test test 36 2005-06-18 15:55 courierimapsubscribed -rw-r--r-- 1 test test 15 2005-06-18 15:13 courierimapuiddb drwx------ 2 test test 4096 2005-06-18 15:12 cur drwx------ 6 test test 4096 2005-06-18 15:15 .Drafts drwx------ 2 test test 4096 2005-06-18 14:45 new drwx------ 6 test test 4096 2005-06-18 15:53 .saved **new folder** drwx------ 6 test test 4096 2005-06-18 14:45 .Sent drwx------ 2 test test 4096 2005-06-18 15:55 tmp drwx------ 6 test test 4096 2005-06-18 15:12 .Trash My question really is, can I tweak courier/exim4 to use regular folder lists instead of the "." folder lists? Since all of the existing folders are non . folders it would be easiest to just move them over to the new mail server and be done. Unless there is a conversion tool to allow the existing folders to be imported over to the new server in "." format. Also, doing RBL checking seems to be quite a bit more involved in 4.x than 3.x. Do you have any examples I could look at? From what I understand Exim 4.5 in debian comes pre-loaded w/ Exiscan which is required. Thanks, Bryan On Sat, 18 Jun 2005, Andreas Metzler wrote:> Date: Sat, 18 Jun 2005 13:14:20 +0200 > From: Andreas Metzler <ametzler@downhill.at.eu.org> > To: pkg-exim4-users@lists.alioth.debian.org > Subject: Re: [Pkg-exim4-users] Exim4 w/ Courier-Imap-SSL > > On 2005-06-18 Bryan <bryan@tec-works.com> wrote: > [...] > > I''ve setup an accout name "test" and in /home/test i''ve created "Maildir" > > with 700 perms in the group/owner test: > > > /home/test# ls -lah > > drwx------ 3 test test 4.0K 2005-06-18 00:21 Maildir > > > when trying to connect to the server using Thunderbird I receive the > > error: > > The current comamnd did not succeed. The mail server responded: Unable to > > open this mailbox... > [...] > > Generating a maildir-format mailfolder requires more than generating > the toplevel directory. Using maildirmake might work out better. > > http://www.trekweb.com/~jasonb/articles/exim4_courier/ > cu andreas >
Hi, On Sat, Jun 18, 2005 at 04:50:06PM -0700, Bryan wrote:> I am unable to send mail to the server via TLS or SSL. Not sure what to > even look for here.What happens when you try to use SSL? Which side (server/client) should your exim assume?> Currently when I am logged in with account "test" and I create a new > folder "saved" with the mail client I can see the folder i created: > :/home/test/Maildir# ls -la > total 56 > drwx------ 12 test test 4096 2005-06-18 15:55 . > drwxr-xr-x 3 test test 4096 2005-06-18 15:22 .. > drwx------ 2 test test 4096 2005-06-18 15:53 courierimapkeywords > -rw-r--r-- 1 test test 36 2005-06-18 15:55 courierimapsubscribed > -rw-r--r-- 1 test test 15 2005-06-18 15:13 courierimapuiddb > drwx------ 2 test test 4096 2005-06-18 15:12 cur > drwx------ 6 test test 4096 2005-06-18 15:15 .Drafts > drwx------ 2 test test 4096 2005-06-18 14:45 new > drwx------ 6 test test 4096 2005-06-18 15:53 .saved **new folder** > drwx------ 6 test test 4096 2005-06-18 14:45 .Sent > drwx------ 2 test test 4096 2005-06-18 15:55 tmp > drwx------ 6 test test 4096 2005-06-18 15:12 .Trash > > My question really is, can I tweak courier/exim4 to use regular folder > lists instead of the "." folder lists?exim, yes, courier, probably no. The leading dot is part of the Maildir specification that courier uses.> Also, doing RBL checking seems to be quite a bit more involved in 4.x than > 3.x.No, it is actually easier.> Do you have any examples I could look at?Other than the ones in conf.d/acl/30_exim4-config_check_rcpt, and the ones google has when you search for "exim dnsbl", for example http://www.exim.org/howto/rbl.html, no.> From what I understand > Exim 4.5 in debian comes pre-loaded w/ Exiscan which is required.No, exiscan is not required for dnsbl blocking and warning. Please do not top post. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
--NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Bryan, Bryan, 19.06.2005 (d.m.y):> Also, doing RBL checking seems to be quite a bit more involved in 4.x than > 3.x. Do you have any examples I could look at?=20Just take a look at <http://www.exim.org>. ;-) The website you are looking vor is also mentioned in the docs on <http://www.mail-abuse.com>.> From what I understand > Exim 4.5 in debian comes pre-loaded w/ Exiscan which is required.Yes - if you install the package called "exim4-daemon-heavy". But you don''t need exiscan to make exim run checks against blacklists. Regards, Christian --=20 Weiber sprechen lieber von als in ihrer Liebe, M=E4nner umgekehrt. -- Jean Paul --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCtVWA781SeGLBadYRArDuAJ4/5QRfsQbCYk6X+kNU+O9ekecdUwCfdqfC gmWurGoDIMs1R0EsQnLgEYI=2efb -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh--
> On Sat, Jun 18, 2005 at 04:50:06PM -0700, Bryan wrote: > > I am unable to send mail to the server via TLS or SSL. Not sure what to > > even look for here. > > What happens when you try to use SSL? Which side (server/client) > should your exim assume?SSL/Exim is on the server side. I can recieve mail to a client via ssl but not send.> exim, yes, courier, probably no. The leading dot is part of the > Maildir specification that courier uses. > > > Also, doing RBL checking seems to be quite a bit more involved in 4.x than > > 3.x. > > No, it is actually easier. > > > Do you have any examples I could look at? > > Other than the ones in conf.d/acl/30_exim4-config_check_rcpt, and the > ones google has when you search for "exim dnsbl", for example > http://www.exim.org/howto/rbl.html, no. > > > From what I understand > > Exim 4.5 in debian comes pre-loaded w/ Exiscan which is required. > > No, exiscan is not required for dnsbl blocking and warning. > > Please do not top post. > > Greetings > Marc > >Thanks for all the help. Bryan
On Sun, Jun 19, 2005 at 10:49:42AM -0700, Bryan wrote:> > On Sat, Jun 18, 2005 at 04:50:06PM -0700, Bryan wrote: > > What happens when you try to use SSL? Which side (server/client) > > should your exim assume? > > SSL/Exim is on the server side. I can recieve mail to a client via ssl > but not send.What happens when you try to send?> Thanks for all the help.Please edit down the quoted part that is not needed in your reply. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
Ok, now for some reason the mail clent is not able to copy messages sent to the "Sent" folder and I cannot find any errors associated to it. Bryan On Sun, 19 Jun 2005, Marc Haber wrote:> Date: Sun, 19 Jun 2005 09:31:55 +0200 > From: Marc Haber <mh+pkg-exim4-users@zugschlus.de> > To: pkg-exim4-users@lists.alioth.debian.org > Subject: Re: [Pkg-exim4-users] Exim4 w/ Courier-Imap-SSL > > Hi, > > On Sat, Jun 18, 2005 at 04:50:06PM -0700, Bryan wrote: > > I am unable to send mail to the server via TLS or SSL. Not sure what to > > even look for here. > > What happens when you try to use SSL? Which side (server/client) > should your exim assume? > > > Currently when I am logged in with account "test" and I create a new > > folder "saved" with the mail client I can see the folder i created: > > :/home/test/Maildir# ls -la > > total 56 > > drwx------ 12 test test 4096 2005-06-18 15:55 . > > drwxr-xr-x 3 test test 4096 2005-06-18 15:22 .. > > drwx------ 2 test test 4096 2005-06-18 15:53 courierimapkeywords > > -rw-r--r-- 1 test test 36 2005-06-18 15:55 courierimapsubscribed > > -rw-r--r-- 1 test test 15 2005-06-18 15:13 courierimapuiddb > > drwx------ 2 test test 4096 2005-06-18 15:12 cur > > drwx------ 6 test test 4096 2005-06-18 15:15 .Drafts > > drwx------ 2 test test 4096 2005-06-18 14:45 new > > drwx------ 6 test test 4096 2005-06-18 15:53 .saved **new folder** > > drwx------ 6 test test 4096 2005-06-18 14:45 .Sent > > drwx------ 2 test test 4096 2005-06-18 15:55 tmp > > drwx------ 6 test test 4096 2005-06-18 15:12 .Trash > > > > My question really is, can I tweak courier/exim4 to use regular folder > > lists instead of the "." folder lists? > > exim, yes, courier, probably no. The leading dot is part of the > Maildir specification that courier uses. > > > Also, doing RBL checking seems to be quite a bit more involved in 4.x than > > 3.x. > > No, it is actually easier. > > > Do you have any examples I could look at? > > Other than the ones in conf.d/acl/30_exim4-config_check_rcpt, and the > ones google has when you search for "exim dnsbl", for example > http://www.exim.org/howto/rbl.html, no. > > > From what I understand > > Exim 4.5 in debian comes pre-loaded w/ Exiscan which is required. > > No, exiscan is not required for dnsbl blocking and warning. > > Please do not top post. > > Greetings > Marc > >
> > SSL/Exim is on the server side. I can recieve mail to a client via ssl > > but not send. > > What happens when you try to send?I get the message: Sending of message failed The message could not be sent because connecting to SMTP server app1.blah.com failed. The server may be unavailable or is refusing SMTP connection. Please verify that your SMTP server setting is correct. when I select the "use SSL" on the outgoing server side it selects port 465. Also, as I mentioned earlier, I am not able to save messages to sent folder or as "Drafts". I have the IMAP inbox setting on the client set to INBOX/ as I read in the docs to do. Bryan
On Sun, Jun 19, 2005 at 11:36:32AM -0700, Bryan Welch wrote:> > > SSL/Exim is on the server side. I can recieve mail to a client via ssl > > > but not send. > > > > What happens when you try to send? > > I get the message: > Sending of message failed > The message could not be sent because connecting to SMTP server > app1.blah.com failed. The server may be unavailable or is refusing SMTP > connection. Please verify that your SMTP server setting is correct. > > when I select the "use SSL" on the outgoing server side it selects port > 465.Ah. Broken Microsoft stuff. Run exim on Port 465 with tls on connect. /etc/default/exim4 SMTPLISTENEROPTIONS=''-oX 465:25 -oP /var/run/exim4/exim.pid'' and add tls_on_connect_ports = 465 to the main part of your configuration.> Also, as I mentioned earlier, I am not able to save messages to sent > folder or as "Drafts". > > I have the IMAP inbox setting on the client set to INBOX/ as I read in the > docs to do.exim is not an IMAP server. It does SMTP only. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
> > Also, as I mentioned earlier, I am not able to save messages to sent > > folder or as "Drafts". > > > > I have the IMAP inbox setting on the client set to INBOX/ as I read in the > > docs to do. > > exim is not an IMAP server. It does SMTP only.So where should I look as to why I am unable to have normal folder access in IMAP/Exim? Thanks again for all the help. Bryan
On Sun, Jun 19, 2005 at 09:58:53PM -0700, Bryan Welch wrote:> > > Also, as I mentioned earlier, I am not able to save messages to sent > > > folder or as "Drafts". > > > > > > I have the IMAP inbox setting on the client set to INBOX/ as I read in the > > > docs to do. > > > > exim is not an IMAP server. It does SMTP only. > > So where should I look as to why I am unable to have normal > folder access in IMAP/Exim?Again, there is no such thing as IMAP/Exim. You need an IMAP server. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
> > > > I have the IMAP inbox setting on the client set to INBOX/ as I read in the > > > > docs to do. > > > > > > exim is not an IMAP server. It does SMTP only. > > > > So where should I look as to why I am unable to have normal > > folder access in IMAP/Exim? > > Again, there is no such thing as IMAP/Exim. You need an IMAP server.Any suggestions? Bryan
On Sun, Jun 19, 2005 at 10:32:42PM -0700, Bryan wrote:> > Again, there is no such thing as IMAP/Exim. You need an IMAP server. > > Any suggestions?apt-cache search imap, google, see the mailing lists, for the IMAP server which suits your needs best. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
> On Sun, Jun 19, 2005 at 09:58:53PM -0700, Bryan Welch wrote: > > > > Also, as I mentioned earlier, I am not able to save messages to sent > > > > folder or as "Drafts". > > > > > > > > I have the IMAP inbox setting on the client set to INBOX/ as I read in the > > > > docs to do. > > > > > > exim is not an IMAP server. It does SMTP only. > > > > So where should I look as to why I am unable to have normal > > folder access in IMAP/Exim? > > Again, there is no such thing as IMAP/Exim. You need an IMAP server.I guess I should have clarified. I''m using courier-imap in order to get imap access to exim. I''m just having problems now with mail directory perms, sent mail isn''t being allowed to be copied to sent mail but I guess that would be a topic for the courier-imap list unless anyone has ideas. Bryan
On Sun, Jun 19, 2005 at 10:43:29PM -0700, Bryan Welch wrote:> I guess I should have clarified. I''m using courier-imap in order to get > imap access to exim.No, you are not. You are possibly using courier-imap in order to get IMAP access to a mail spool that exim happens to deliver to. Completely different thing.> I''m just having problems now with mail directory > perms, sent mail isn''t being allowed to be copied to sent mail but I guess > that would be a topic for the courier-imap list unless anyone has ideas.Obviously, the Maildir needs to be writeable by the user that you have configured courier-imap to access the Maildir. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
Hello Bryan, Bryan, 20.06.2005 (d.m.y):> > Again, there is no such thing as IMAP/Exim. You need an IMAP server. > > Any suggestions?I''d suggest dovecot. Regards, Christian -- Christian Schmidt | Germany No HTML Mails, please!