Re: Problem with Dovecot
On Fri, Jun 15, 2012 at 5:32 PM, Camaleón noela...@gmail.com wrote: If this simple test fails then you better stop here, read the log and solve the problem in first place :-) keir@example:~$ telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 example.org ESMTP Exim 4.72 Thu, 21 Jun 2012 17:34:00 + helo example.org 250 example.org Hello localhost [127.0.0.1] mail from: sm01@localhost 250 OK rcpt to: keir@localhost 250 Accepted data 354 Enter message, ending with . on a line by itself foobar . 250 OK id=1ShlHY-00081O-MW quit 221 example.org closing connection Connection closed by foreign host. keir@example:~$ mailx No mail for keir No luck :-/ Only relevant log entries seem to be: 2012-06-21 17:35:06 1ShlHY-00081O-MW = sm01@localhost H=localhost (example.org) [127.0.0.1] P=smtp S=352 2012-06-21 17:35:06 1ShlHY-00081O-MW gmail-smtp-in-v4v6.l.google.com [2a00:1450:8005::1b] Network is unreachable 2012-06-21 17:35:07 1ShlHY-00081O-MW = snow.k...@gmail.com keir@localhost R=dnslookup T=remote_smtp H=gmail-smtp-in-v4v6.l.google.com [173.194.67.26] X=TLS1.0:RSA_ARCFOUR_SHA1:16 DN=C=US,ST=California,L=Mountain View,O=Google Inc,CN=mx.google.com 2012-06-21 17:35:07 1ShlHY-00081O-MW Completed Any ideas? Keir -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cadp5kzhm3omjpukhf4rmonkpc+v9buk-unklt8qu0pvszoy...@mail.gmail.com
Re: Problem with Dovecot
On Thu, Jun 14, 2012 at 4:32 PM, Camaleón noela...@gmail.com wrote: I would try to disable ipv6 in Exim4 unless you can properly handle the new protocol, of course. I don't know Exim4 but Google suggests it can be done by setting disable_ipv6 = true at the config file. But this is Debian and Debian has its own way for doing things :-) so better wait until someone in the know can confirm this point or is able to facilitate a proper solution. Have done so. Anyway, there's something I miss from the logs and is the lack of Dovecot, there is no single line about Dovecot, I wonder if you have configured it in the proper way. Configuration samples can be found here: http://wiki1.dovecot.org/LDA/Exim I forgot to mention that I have a .forward file in my home dir which is successfully redirecting mail to this address (all be it flagged as spam) even though I cant seem to read the same mails locally. How are you reading your e-mails? Where are the files stored? How is Dovecot configured? Is it pointing to the right path from where to read the user mailbox? Hmmm, in a bid to isolate the problem (and because Dovecott configuration looks scary) I turned off Dovecot and tried Mutt with Exim set up to dc_localdelivery='maildir_home'. Though I could send mails with Mutt I could not receive any, suggesting the problem is indeed with Exim? I had previously been using both Mutt and Roundcube (via Dovecot) to get at mail. Any suggestions on how to proceed? I am now thoroughly confused... there do seem to be a lot of frozen messages in the log, could these be something to do with it? For example: 2012-06-15 06:45:02 1SfD4X-0002ZH-90 Message is frozen 2012-06-15 06:45:02 1SfFPh-0002if-F9 Message is frozen 2012-06-15 06:45:02 1SfDXZ-0002b9-Ub Message is frozen 2012-06-15 06:45:02 1SfC8T-0002VO-I2 Message is frozen 2012-06-15 06:45:02 1SfAGL-0002Mv-69 Message is frozen 2012-06-15 06:45:02 1SfGLl-0002mU-8r Message is frozen 2012-06-15 06:45:02 1SfOJJ-0003j9-Ig Message is frozen 2012-06-15 06:45:02 1SfIDt-0002u7-IY Message is frozen 2012-06-15 06:45:02 1Sf8rF-0002HK-Ec Message is frozen 2012-06-15 06:45:02 1SemNh-dL-Pm Message is frozen 2012-06-15 06:45:02 1SfK61-0003Nu-Us Message is frozen 2012-06-15 06:45:02 1Sf7SB-00029X-1B Message is frozen 2012-06-15 06:45:02 1SeuLF-0001Cm-3v Message is frozen 2012-06-15 06:45:02 1SejZV-Mc-8U Message is frozen 2012-06-15 06:45:02 1SfNqH-0003hG-7T Message is frozen 2012-06-15 06:45:02 1Seluf-Z7-55 Message is frozen 2012-06-15 06:45:02 1Sf4dx-0001xL-Bu Message is frozen 2012-06-15 06:45:02 1Sf2In-0001lj-A3 Message is frozen 2012-06-15 06:45:02 1Sf8OD-0002FS-SC Message is frozen 2012-06-15 06:45:02 1Sf2lp-0001nb-FO Message is frozen 2012-06-15 06:45:02 1SelRd-Wv-3C Message is frozen 2012-06-15 06:45:02 1Sf9KH-0002JC-Gw Message is frozen 2012-06-15 06:45:02 1Sf5a1-00021P-NH Message is frozen 2012-06-15 06:45:02 1SetPB-000190-GJ Message is frozen 2012-06-15 06:45:02 1Sek2X-PI-Pc Message is frozen 2012-06-15 06:45:02 1Sf3Es-0001pT-0J Message is frozen 2012-06-15 06:45:02 1SfGon-0002oT-Ar Message is frozen Thanks Keir -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CADp5kzjHK64_0d+tx3u6NnhmwPY=awf2shzxwcom2l+qwil...@mail.gmail.com
Re: Problem with Dovecot
On Wed, Jun 13, 2012 at 2:37 PM, Camaleón noela...@gmail.com wrote: Look at the dates, those are old entries. The test message you sent yesterday was on Tue, 12 Jun 2012 21:31:19 so you have to look for Exim4 logs matching that date/time. Ok this seems to be the correct entries: 2012-06-12 21:15:02 1Se92z-0005D9-P5 Message is frozen 2012-06-12 21:15:02 1Se5ll-0004zQ-4I Message is frozen 2012-06-12 21:15:02 1SeQNB-0007Hl-7C Message is frozen 2012-06-12 21:15:02 End queue run: pid=29998 2012-06-12 21:31:19 no host name found for IP address XX.XXX.XXX.XXX 2012-06-12 21:31:20 1SeYgK-000803-DX = k...@foo.bar H=(Cid) [XX.XXX.XXX.XXX] P=esmtp S=435 2012-06-12 21:31:20 1SeYgK-000803-DX gmail-smtp-in-v4v6.l.google.com [2a00:1450:8005::1b] Network is unreachable 2012-06-12 21:31:21 1SeYgK-000803-DX = snow.k...@gmail.com k...@example.org R=dnslookup T=remote_smtp H=gmail-smtp-in-v4v6.l.google.com [173.194.67.27] X=TLS1.0:RSA_ARCFOUR_SHA1:16 DN=C=US,ST=California,L=Mountain View,O=Google Inc,CN=mx.google.com 2012-06-12 21:31:21 1SeYgK-000803-DX Completed 2012-06-12 21:35:46 1SeYkc-00080U-LN = r...@example.org U=root P=local S=589 id=20120612213546.ga30...@example.org 2012-06-12 21:35:46 1SeYkc-00080U-LN gmail-smtp-in-v4v6.l.google.com [2a00:1450:8005::1a] Network is unreachable 2012-06-12 21:35:47 1SeYkc-00080U-LN = snow.k...@gmail.com k...@example.org R=dnslookup T=remote_smtp H=gmail-smtp-in.l.google.com [173.194.67.26] X=TLS1.0:RSA_ARCFOUR_SHA1:16 DN=C=US,ST=California,L=Mountain View,O=Google Inc,CN=mx.google.com 2012-06-12 21:35:47 1SeYkc-00080U-LN Completed 2012-06-12 21:39:01 1SeYnl-00080p-Na = r...@example.org U=root P=local S=922 2012-06-12 21:39:01 1SeYnl-00080p-Na ** a...@example.org r...@example.org: Unrouteable address 2012-06-12 21:39:01 1SeYnl-00080r-OL = R=1SeYnl-00080p-Na U=Debian-exim P=local S=1856 2012-06-12 21:39:01 1SeYnl-00080p-Na Completed 2012-06-12 21:39:01 1SeYnl-00080r-OL ** a...@example.org r...@example.org: Unrouteable address 2012-06-12 21:39:01 1SeYnl-00080r-OL Frozen (delivery error message) 2012-06-12 21:45:02 Start queue run: pid=30811 2012-06-12 21:45:02 1SeQqD-0007Jm-S8 Message is frozen 2012-06-12 21:45:02 1SeJLi-0006nv-2w Message is frozen 2012-06-12 21:45:02 1Se4ph-0004vZ-HA Message is frozen I forgot to mention that I have a .forward file in my home dir which is successfully redirecting mail to this address (all be it flagged as spam) even though I cant seem to read the same mails locally. Thanks for all your help Keir -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cadp5kzippv2xcjkdobsgoh-yrfn7qf+sgkiddp8kbkyqt8u...@mail.gmail.com
Re: Problem with Dovecot
On Tue, Jun 12, 2012 at 10:35 PM, Camaleón noela...@gmail.com wrote: Okay, now the next step I'd do is reading from Exim's logs to discover what has been happening with the message (rejected, removed, on-hold, pending, deferred, unroutable...), but Exim logs are under /var/log/ exim4/*, take a look at files in there. Ok, turns out the logs are full of lots of entries like these: 2012-06-10 06:45:02 1SdHCH-0001Uh-VM Message is frozen 2012-06-10 06:45:02 1Sd0o9-DH-O6 Message is frozen 2012-06-10 06:45:02 1Sd3cL-Y2-9q Message is frozen 2012-06-10 06:45:02 End queue run: pid=11487 2012-06-10 07:09:01 1SdcGj-00031C-Tz = r...@example.org U=root P=local S=922 2012-06-10 07:09:01 1SdcGj-00031C-Tz ** a...@example.org r...@example.org: Unrouteable address 2012-06-10 07:09:01 1SdcGj-00031E-Uh = R=1SdcGj-00031C-Tz U=Debian-exim P=local S=1856 2012-06-10 07:09:01 1SdcGj-00031C-Tz Completed 2012-06-10 07:09:01 1SdcGj-00031E-Uh ** a...@example.org r...@example.org: Unrouteable address 2012-06-10 07:09:01 1SdcGj-00031E-Uh Frozen (delivery error message) 2012-06-10 07:15:02 Start queue run: pid=11610 2012-06-10 07:15:02 1Sd0o9-DH-O6 Message is frozen 2012-06-10 07:15:02 1SdIbN-0001aN-69 Message is frozen 2012-06-10 07:15:02 1Sd9hl-wc-IP Message is frozen 2012-06-10 07:15:02 1SdR1x-0002B4-NI Message is frozen Bit confused, not sure where the address a...@example.org has come from, I haven't set up such an address, also not sure why r...@example.org is mentioned as haven't been mailing to/from this address, any ideas? Thanks for your time. Keir -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CADp5kzjZBBiGU6Tw6ukQPAvY5ZV5+hGEkSLOXZ=dnbh9p+9...@mail.gmail.com
Re: Problem with Dovecot
Exim is my MTA, it is working for sending mail but seemingly not receiving, I just tried mailing locally and even that doesn't seem to work. Swaks output below: keir@Cid:~$ swaks --to k...@mydomain.org --from k...@foo.bar === Trying mydomain.org:25... === Connected to mydomain.org. - 220 mydomain.org ESMTP Exim 4.72 Tue, 12 Jun 2012 21:31:19 + - EHLO Cid - 250-mydomain.org Hello Cid [XX.XXX.XXX.XXX] - 250-SIZE 52428800 - 250-PIPELINING - 250 HELP - MAIL FROM:k...@foo.bar - 250 OK - RCPT TO:k...@mydomain.org - 250 Accepted - DATA - 354 Enter message, ending with . on a line by itself - Date: Tue, 12 Jun 2012 22:07:31 +0100 - To: k...@mydomain.org - From: k...@foo.bar - Subject: test Tue, 12 Jun 2012 22:07:31 +0100 - X-Mailer: swaks v20111230.0 jetmore.org/john/code/swaks/ - - This is a test mailing - - . - 250 OK id=1SeYgK-000803-DX - QUIT - 221 mydomain.org closing connection === Connection closed with remote host. Any ideas? /noob Keir On Tue, May 15, 2012 at 4:23 PM, Camaleón noela...@gmail.com wrote: On Tue, 15 May 2012 15:59:11 +0100, Keir Snow wrote: Bit of a newbie here so please bear with me! I've installed Dovecot on my debian squeeze virtual server. I managed to configure it using system users and it seemed to work. However over the past week or so it has simply not been working. mail I send to myself (ie k...@mydomain.org) does not appear in the webmailer (roundcube) or mutt as it did previously yet it does not bounce either. You have to check first if it has been even delivered, which means if it reached you MTA and with what result. There are no relevant messages in /var/logs/mail*. What's your MTA, Exim, Postfix...? And it is configured to deliver to the outside, to the real world? :-) It is quite possible that I've flipped a switch somewhere that I have forgotten about, just wondering what the first things I should check in trying to solve this problem are? In the meantime, you can test if local delivery still works. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jotsd8$tg8$8...@dough.gmane.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cadp5kzi0tunm8phb7y4-3dnjslt9qimkzhnnrag+8ykrhtf...@mail.gmail.com
Problem setting up a subdomain
Hi All, Relatively inexperienced at apache admin so please forgive any dumb mistakes on my part! Been trying to set up a subdomain of my site, so I've created a config file in sites-available that looks like this: VirtualHost *:80 ServerAdmin keir@localhost DocumentRoot /var/www/groupblog ServerName groupblog.mywebsite.org Directory / Options FollowSymLinks AllowOverride None /Directory Directory /var/www/groupblog Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all /Directory ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ Directory /usr/lib/cgi-bin AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all /Directory ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined Alias /doc/ /usr/share/doc/ Directory /usr/share/doc/ Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 /Directory /VirtualHost I've then enabled it using a2ensite however it seems to override my default config file and serve the subdomain content when the main site URL is used. Any ideas what I'm doing wrong? Thanks Keir -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CADp5kzi6Ko7QU2tETtVtHEmABEzpS=P=WT0uyi=ban21bba...@mail.gmail.com
Re: Problem setting up a subdomain
Not sure I follow sorry, where would I create this section? I thought by putting something in sites-available I was leaving the main config alone? Keir On Fri, Jun 8, 2012 at 2:41 PM, Jochen Spieker m...@well-adjusted.de wrote: Keir Snow: Been trying to set up a subdomain of my site, so I've created a config file in sites-available that looks like this: -- snip I've then enabled it using a2ensite however it seems to override my default config file and serve the subdomain content when the main site URL is used. The mechanics of virtual hosts vs. main server config are a little bit weird: http://httpd.apache.org/docs/2.0/vhosts/details.html If I were you, I would just leave the main server config alone and create a VirtualHost section for all domain names I want to use. J. -- If I am asked 'How are you' more than a million times in my life I promise to explode. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CADp5kzi4eOXbYPU=cmdmc_uoxh85wh0jn3wdbwmbdusnulf...@mail.gmail.com
Problem with Dovecot
Bit of a newbie here so please bear with me! I've installed Dovecot on my debian squeeze virtual server. I managed to configure it using system users and it seemed to work. However over the past week or so it has simply not been working. mail I send to myself (ie k...@mydomain.org) does not appear in the webmailer (roundcube) or mutt as it did previously yet it does not bounce either. There are no relevant messages in /var/logs/mail*. It is quite possible that I've flipped a switch somewhere that I have forgotten about, just wondering what the first things I should check in trying to solve this problem are? Thanks Keir -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cadp5kzivv33+-3uasfooyj-tptj-bbffgvafjqunzzz00gx...@mail.gmail.com
Re: Problem with Dovecot
On Tue, May 15, 2012 at 4:03 PM, Jon Dowland j...@debian.org wrote: On Tue, May 15, 2012 at 03:59:11PM +0100, Keir Snow wrote: I've installed Dovecot on my debian squeeze virtual server. As an IMAPd, something else, or both? IMAPd I think I managed to configure it using system users and it seemed to work. However over the past week or so it has simply not been working. mail I send to myself (ie k...@mydomain.org) From where? This address does not appear in the webmailer (roundcube) or mutt as it did previously yet it does not bounce either. This sounds like an MTA problem rather than an imapd problem (hence my first question) Could be though I can send mail from the server fine. There are no relevant messages in /var/logs/mail*. It is quite possible that I've flipped a switch somewhere that I have forgotten about, just wondering what the first things I should check in trying to solve this problem are? Use swaks(1) from another host to ensure that your MTA is working properly, then move up the stack from there. Ok, will give this a go. Thanks Keir -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CADp5kzgDs=egfxncysr-wrsto8hudf1rmjoqa_tg8mbyzd8...@mail.gmail.com