Re: suddenly 'User unknown'?

2018-12-02 Thread Charles Bradshaw via Info-cyrus
0-1 localhost.localdomain localhost bradcan.co.uk [192.168.0.3] > /quit Don't ask me what changed... Thanks for the 'help' On 02/12/2018 14:19, Charles Bradshaw via Info-cyrus wrote: > Edda, > > I think there might be some clues, but I'm struggling to understand the

Re: suddenly 'User unknown'?

2018-12-02 Thread Charles Bradshaw via Info-cyrus
Edda, I think there might be some clues, but I'm struggling to understand the below results. On 30/11/2018 17:36, Edda wrote: > Am 30.11.18 um 17:34 schrieb Charles Bradshaw: >> Edda, >> >> On 30/11/2018 15:48, Edda wrote: >>> Not a cyrus issue. Apparently se

Re: suddenly 'User unknown'?

2018-11-30 Thread Charles Bradshaw via Info-cyrus
ux.com... deliverable: mailer cyrusv2, user brad But as root: [root@dell2600-1 brad]# sendmail b...@bradcan.homelinux.com < email.txt Still reports 'User unknown' in /etc/maillog > > Greets, > Edda > > Am 30.11.18 um 16:34 schrieb Charles Bradshaw via Info-cyrus: &g

Re: suddenly 'User unknown'?

2018-11-30 Thread Charles Bradshaw via Info-cyrus
Is my TLS configuration correct? /etc/imapd.conf contains: tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt tls_cipher_list: TLSv1:SSLv3:!NULL:!EXPORT:!DES:!LOW:@STRENGTH Files exist: [root@dell2

Re: suddenly 'User unknown'?

2018-11-30 Thread Charles Bradshaw via Info-cyrus
Patrick, Javier, at last progress. Brilliant. :-) See below. On 30/11/2018 14:16, Patrick Boutilier wrote: > On 11/30/18 10:00 AM, Charles Bradshaw via Info-cyrus wrote: >> Javier >> >> On 30/11/2018 11:49, Javier Angulo wrote: >>> On 11/29/18 8:00 PM, Charles

Re: suddenly 'User unknown'?

2018-11-30 Thread Charles Bradshaw via Info-cyrus
Javier On 30/11/2018 11:49, Javier Angulo wrote: > On 11/29/18 8:00 PM, Charles Bradshaw via Info-cyrus wrote: >> Now you tell me is cyrus syslog being sent to /var/log/maillog? Or >> should it be going to /var/imapd.log as the configuration files, man >> pages and cyru

Re: suddenly 'User unknown'?

2018-11-29 Thread Charles Bradshaw via Info-cyrus
liases contains: postmaster:    root root:        b...@bradcan.homelinux.com So in event that b...@bradcan.homelinux.com is unknown  then so is root and postmaster. Therefore: 'savemail: cannot save rejected email anywhere' is to be expected. > > Brian > > On 2018-11-29 2:00

suddenly 'User unknown'?

2018-11-29 Thread Charles Bradshaw via Info-cyrus
nd enough to post the specific lmtptest command I should use and the expected result. > > On 11/29/18 15:25 +, Charles Bradshaw wrote: >> I have, and have always had, an empty /var/log/imapd.log so I'm not >> going to make progress until I

Re: suddenly 'User unknown'?

2018-11-29 Thread Charles Bradshaw via Info-cyrus
Simon My original post contained a dump of /var/log/maillog, butwas asked by Dan "what does cyrus syslog say" so assumed there should be some more log messages somewhere. For the record I do: Clear /var/log/maillog then send a test email from the command line. Then /var/log/maillog contains: Nov

Re: suddenly 'User unknown'?

2018-11-29 Thread Charles Bradshaw via Info-cyrus
There must be some missing cyrus syslog configuration. On 29/11/2018 14:39, Dan White wrote: > On 11/29/18 00:46 +, Charles Bradshaw wrote: >> >> lm user/b...@bradcan.homelinux.com   >> user/b...@bradcan.homelinux.com (\HasChildren) >> &

Re: suddenly 'User unknown'?

2018-11-28 Thread Charles Bradshaw via Info-cyrus
/imapd.log| |auth.debug  /var/log/auth.log| On 28/11/2018 16:12, Dan White wrote: > On 11/28/18 15:21 +0000, Charles Bradshaw via Info-cyrus wrote: >> My tests while logged in to the server as brad: >> >> [root@dell2600-1 brad]# cat /var/log/maillog >> Nov 27 15:18:35 dell2600-1

suddenly 'User unknown'?

2018-11-28 Thread Charles Bradshaw via Info-cyrus
I have been running cyrus imap successfully for some years. Suddenly the server is throwing 'User unknown' in the maillog. I can login using using Thunderbird Mail OK, but NOTHING is being delivered to any user, pecifically to me b...@bradcan.homelinux.com I am at a complete loss to understand w

Complete mailbox delete?

2014-08-10 Thread Charles Bradshaw
Hello info-cyrus, I'm sure this question has been asked before, but I can find no definitive answer. I have used cyradm to delete some virtual domain mail boxes. cyradm lm now lists them as "DELETED" and my /var/spool/imap/domain/s/somedomain.com/u/DELETED/user/ now contains copies of the dele

Re: cyrus compile under Centos 6.5

2014-04-15 Thread Charles Bradshaw
Parrick Yes openssl-devel.i686 1.0.1e-16.el6_5.7 is installed. Brad On Tue, 2014-04-15 at 10:38 -0300, Patrick Boutilier wrote: > On 04/15/2014 08:38 AM, Charles Bradshaw wrote: > > Thanks Andy, > > > > Here goes a source build. I downloaded cyrus-imapd-2.4.17 and > >

Reconstruct a downgrade?

2014-04-14 Thread Charles Bradshaw
sary db files so that I don't loose the flags? I tried a build from source of a later version but failed with dozens of compiler errors! Thanks in advance, Charles Bradshaw Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/i

Undestanding maillog?

2013-10-24 Thread Charles Bradshaw
) no authentication Oct 24 21:52:33 dell2600 imaps[15186]: login: testbox.mydomain.com [192.168.0.8] m...@mydomain.com DIGEST-MD5+TLS User logged in SESSIONID= What does the first log entry above "no authentication" mean? Imediatly followed by User logged in! TIA, Charles Bradshaw ~o~

Failed authentication logging

2013-04-20 Thread Charles Bradshaw
I'm seeing a huge increase in the number of brute force attempts to authenticate my mail server. Mostly the attempts are directed at SMTP, and because I'm using the sql plugin the failed attempts result in a auth.log entry like this: Apr 19 23:10:42 mail sendmail[17780]: sql plugin doing query SELE

Re: How Do i get last lgin date for all my users

2013-04-13 Thread Charles Bradshaw
n't necessarily follow that the server 'knows', it's possible that it's just your mail client keeping track. On Sat, 2013-04-13 at 09:26 -0400, Adam Tauno Williams wrote: > On Sat, 2013-04-13 at 12:56 +0100, Charles Bradshaw wrote: > > Attached is a little pe

Re: How Do i get last lgin date for all my users

2013-04-13 Thread Charles Bradshaw
Attached is a little perl script which parses /var/log/maillog and lists the last time users logged in. It can be easily adapted to do an in depth scan any/all log file. On Thu, 2013-04-11 at 10:15 +0200, Marc Patermann wrote: > Dale J Chatham schrieb (10.04.2013 21:49 Uhr): > > > Assuming Linux

Re: MD5 Passwords in MySql?

2013-04-12 Thread Charles Bradshaw
passwords while retaining the security advantages of challenge-response is possible. Is there the possibility to implement this? Charles Bradshaw On Tue, 2013-03-26 at 08:00 -0400, Adam Tauno Williams wrote: > On Tue, 2013-03-26 at 10:17 +, Charles Bradshaw wrote: > > Thanks Guys

Re: How Do i get last lgin date for all my users

2013-04-11 Thread Charles Bradshaw
Your maillog contains the info you require. As root on a linux install try: # cat /var/log/maillog | grep login Which should give you a list of all login details up to the last date stamp on maillog (or whatever your log file is named). Your syslog is your friend. Brad On Thu, 2013-04-11 a

Re: MD5 Passwords in MySql?

2013-03-26 Thread Charles Bradshaw
Scott Lambert wrote: > > On Mon, Mar 25, 2013 at 09:32:16PM +0000, Charles Bradshaw wrote: > > > Andy > > > Thanks for the link. If you read on you will see that while PAM allows > > > storage of encrypted passwords in mysql, DIGEST-MD5 and CRAM-MD5 can > >

Re: MD5 Passwords in MySql?

2013-03-25 Thread Charles Bradshaw
ugh to add something to cyrus, but sadly I'm just too old to grok the tangle of C. I think the thread is now dead. Thanks for all contributions. Charles Bradshaw. On Mon, 2013-03-25 at 13:56 -0700, Andrew Morgan wrote: > On Sun, 24 Mar 2013, Charles Bradshaw wrote: > > > In m

Re: MD5 Passwords in MySql?

2013-03-25 Thread Charles Bradshaw
07:50 -0400, Adam Tauno Williams wrote: > On Mon, 2013-03-25 at 11:40 +, Charles Bradshaw wrote: > > Yes I understand and accept the weakness of MD5. In the world of > > exponentially increasing processing power there will always be weakness, > > of ANY scheme. >

Re: MD5 Passwords in MySql?

2013-03-25 Thread Charles Bradshaw
principle. On Mon, 2013-03-25 at 08:59 +1030, Daniel O'Connor wrote: > On 25/03/2013, at 7:33, Charles Bradshaw wrote: > >> That seems very wrong to me. > > > > It might be a kludge, but it's not wrong. It avoids storing plain text > > passwords, which

Re: MD5 Passwords in MySql?

2013-03-24 Thread Charles Bradshaw
:21 +0000, Charles Bradshaw wrote: > > In my /etc/imapd.conf I'm using: > > sasl_auxprop_plugin:sql > > sasl_sql_engine:mysql > > I want to store MD5 hashed passwords in my database. Is this possible? > > I would *assume* that the database doesn't much care a

MD5 Passwords in MySql?

2013-03-24 Thread Charles Bradshaw
In my /etc/imapd.conf I'm using: sasl_auxprop_plugin:sql sasl_sql_engine:mysql I want to store MD5 hashed passwords in my database. Is this possible? I was thinking about modifying the sql plugin to MD5 the password before comparison, but... I'm no C programmer so understanding sql.c (the plugi

Good webmail client software for cyrus?

2013-03-10 Thread Charles Bradshaw
ut there I could contribute to? Charles Bradshaw Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: [Cyrus-CVS] Error: Folder appears in listing but can not be accessed "mailbox does not exist"

2013-02-07 Thread Charles Bradshaw
e you using virtual domains? The shared account 'shared.folder@domain' is virtual what about 'user@domain'? localhost> lm user/user@domain user/user@domain (\HasNoChildren) << does this exist ? Or is 'user' a real account? Charles Bradshaw On: Thu, 07 Feb

Re: alternative login names

2013-02-04 Thread Charles Bradshaw
It is possible to store encrypted passwords in some kind of database provided that the lookup mechanism is capable doing the de-crypt. Mysql AES is one possibility. Both MD5 and SHA are a one way hashing functions! Pass word verification against either requires knowledge of the clear text! Charles Bra

Re: Can anyone explain localhost phenomenon?

2013-02-04 Thread Charles Bradshaw
On: Mon, 04 Feb 2013 06:29:56 -0500, Adam wrote: > On Sun, 2013-02-03 at 15:42 +0100, Gabor Gombas wrote: > > IIRC MySQL tries to use an UNIX socket instead of TCP for connecting to > > the server when it sees the "localhost" string. If e.g. sendmail runs > > chrooted, then it won't see the MySQL

Can anyone explain localhost phenomenon?

2013-02-03 Thread Charles Bradshaw
mysql using a socket when connecting to localhost! But what? Command line connections to mysql, from 2 different terminals, to localhost for the same user like this: $ mysql mail --user=** --password=*** work just fine! Confused, Charles Bradshaw Cyrus Home Page: http://www.c

Re: Switching to Mysql from sasldb2 SOLVED

2013-02-02 Thread Charles Bradshaw
You actually need to do the first step above more than once then edit the imap-sql.te file before installing the policy. This is deliberately vague because you really need to know what you are doing with SELinux. Charles Bradshaw On: Fri, 1 Feb 2013 23:15:15 +0000, Charles Bradshaw wrote: >

Re: Switching to Mysql from sasldb2 SOLVED

2013-02-02 Thread Charles Bradshaw
the imap-sql.te file before installing the policy. This is del Charles Bradshaw On: Fri, 1 Feb 2013 23:15:15 +0000, Charles Bradshaw wrote: > I am trying to switch from using sasldb2 to mysql, but I am seeing: > > Feb 1 22:48:20 ** imaps[2553]: badlogin: * [192.168.0.8]

Switching to Mysql from sasldb2

2013-02-01 Thread Charles Bradshaw
I am trying to switch from using sasldb2 to mysql, but I am seeing: Feb 1 22:48:20 ** imaps[2553]: badlogin: * [192.168.0.8] DIGEST-MD5 [SASL(-13): user not found: no secret in In /etc/log/maillog (I have inserted *** to hide the actual server and host atempting to login) I am s

Re: Mailbox does not exist question

2013-01-25 Thread Charles Bradshaw
Or maybe I need something else to stop sendmail/cyrusv2 stripping mydomain from email sent to test@mydomain ? Thanks for your patients with this old hack, Charles Bradshaw On: Fri, 25 Jan 2013 12:04:15 -0800 (PST), Andrew Morgan wrote: > Yes, the mailbox should be named user.test@mydomain, assu

Re: Mailbox does not exist question

2013-01-25 Thread Charles Bradshaw
: Permission denied localhost> quit Something fishy here. Thanks for your help, Charles Bradshaw On: Thu, 24 Jan 2013 13:11:02 -0800 (PST), Andrew Morgan wrote: > On Thu, 24 Jan 2013, Charles Bradshaw wrote: > > > > > On: Thu, 24 Jan 2013 12:37:18 -0800 (PST

Re: Mailbox does not exist question

2013-01-24 Thread Charles Bradshaw
On: Thu, 24 Jan 2013 13:11:02 -0800 (PST), Andrew Morgan wrote: > On Thu, 24 Jan 2013, Charles Bradshaw wrote: > > > > > On: Thu, 24 Jan 2013 12:37:18 -0800 (PST), Andy wrote: > > > >> On Thu, 24 Jan 2013, Charles Bradshaw wrote: > >> > >>>

Re: Mailbox does not exist question (NO it is NOT the answer!)

2013-01-24 Thread Charles Bradshaw
ot;INBOX" How do I enable telemetry logging ? I tried creating /var/lib/imap/log/test but this remains empty! The mailbox exists and has been written, ie contains email messages. (see my earlier posts). Charles Bradshaw Sent: Thu, 24 Jan 2013 15:45:40 -0500, Adam wrote: > On Thu, 2013-01-2

Re: Mailbox does not exist question

2013-01-24 Thread Charles Bradshaw
On: Thu, 24 Jan 2013 12:37:18 -0800 (PST), Andy wrote: > On Thu, 24 Jan 2013, Charles Bradshaw wrote: > > > Output from cyradm: > > > > $ cyradm --user cyrus localhost > > Password: > > localhost> lm * > > user.test (\HasNoChildren) > > loca

Re: Mailbox does not exist question (NO it is NOT the answer!)

2013-01-24 Thread Charles Bradshaw
level file access. Most of the Fedora forum posts on the subject of cyrus-imapd say ! Oops can't post it here. ;-) Charles Bradshaw On: Thu, 24 Jan 2013 14:11:09 -0600, Dale woote: > The directory and files must be writeable by either the owner of the > process (cyrus) or the grou

Re: Mailbox does not exist question (NO it is NOT the answer!)

2013-01-24 Thread Charles Bradshaw
cyrus is proxy. I like your signature though :) The only skill I have is perseverance! Charles Bradshaw On: Thu, 24 Jan 2013 13:28:55 -0600,Dale wrote: > No expert, but does the proper user own imap? Is it writeable the > the mail user? > > On 01/24/2013 01:17 PM, Charles Br

Re: Mailbox does not exist question (NO it is NOT the answer!)

2013-01-24 Thread Charles Bradshaw
rstand how it is possible that mail is delivered, but at the same time the INBOX is not being identified during the imap session. Is there some way to increase the bebug level of imapd ? Charles Bradshaw On: Wed, 23 Jan 2013 14:28:28 -0800 (PST), Andrew Morgan wrote: > On Wed, 23 Jan 2013, C

Re: Mailbox does not exist question (is this the answer?)

2013-01-24 Thread Charles Bradshaw
]: executed Jan 24 13:25:59 dell2600 imap[4549]: IOERROR: opening /var/lib/imap/user_deny.db: No such file or directory Is this the problem? How do I create user_deny.db ? Charles Bradshaw On: Wed, 23 Jan 2013 14:28:28 -0800 (PST), Andrew Morgan wrote: > On Wed, 23 Jan 2013, Charles Bradshaw wr

Re: Mailbox does not exist question

2013-01-24 Thread Charles Bradshaw
On: Wed, 23 Jan 2013 14:28:28 -0800 (PST), Andrew Morgan wrote: > On Wed, 23 Jan 2013, Charles Bradshaw wrote: > > > I'm seeing the following when I test cyrus-imapd using telnet. > > > > I seem to be missing some fundamental configuration. > > > >

Mailbox does not exist question

2013-01-23 Thread Charles Bradshaw
I'm seeing the following when I test cyrus-imapd using telnet. I seem to be missing some fundamental configuration. What am I doing wrong? Thanks in advance, Charles Bradshaw Telnet imap session: # telnet localhost imap Trying ::1... Connected to localhost. Escape character is '

Re: Authentication 'realm' problem SOLVED

2013-01-23 Thread Charles Bradshaw
slpasswd2 -c test -u administration and [user@other-host ~]$ imtest -a test@administration imap-host Authenticates just fine. Charles Bradshaw On: Mon, 21 Jan 2013 17:47:53 +0000, Charles Bradshaw wrote > I am seeing an authentication problem when using imtest. I have > cyrus-imapd-utils-2.4.14-1

Authentication 'realm' problem

2013-01-21 Thread Charles Bradshaw
-imapd/cyrus-imapd.pem tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt I tried loginrealms: mydomain without success! The localhost test FQDN is imap-host.mydomain and my DNS works. ie '$ host imap-host' produces imap-host.mydomain has addr

Re: cyrus-imap configuration question SOLVED

2013-01-20 Thread Charles Bradshaw
r/log/messages, perhaps it has something to do with SELinux !! Thanks for all the help, Charles Bradshaw On: Sun, 20 Jan 2013 07:20:18 -0400, Patrick wrote: > On 01/20/2013 06:40 AM, Charles Bradshaw wrote: > > Thanks Dan, Here are the details you asked for. > > &g

Re: cyrus-imap configuration question

2013-01-20 Thread Charles Bradshaw
THIS THE PROBLEM? I assume this was created during: [root@dell2600 ~]# su cyrus bash-4.2$ /usr/lib/cyrus-imapd/mkimap Charles Bradshaw -- Original Message --- On: Sat, 19 Jan 2013 18:46:38 -0600, Dan wrote > On 01/19/13 17:51 +0000, Charles Bradshaw wrote: > >I'

Re: cyrus-imap configuration question

2013-01-19 Thread Charles Bradshaw
Jan 19 11:32 imap Date: Sat, 19 Jan 2013 19:12:41 +0100 Download Re: cyrus-imap configuration question .msg From: "J. Roeleveld" Import addresses jo...@antarean.org Block email jo...@antarean.org Block SMTP Relay smtp2.tb.mail.iss.as9143.net To: b...@bradcan.homelinux.com, Charle

cyrus-imap configuration questions

2013-01-19 Thread Charles Bradshaw
e is NO imap OK .. Ready response: # telnet localhost 143 (or 993) Trying ::1... Connected to localhost. Escape character is '^]'. The telnet connection must then be killed. Similarly if I run imtest or cyradm both just hang. Am I doing something wrong? Thanks in advance, Charles B

cyrus-imap configuration question

2013-01-19 Thread Charles Bradshaw
hen be killed. Similarly if I run imtest or cyradm both just hang. Am I doing something wrong? Thanks in advance, Charles Bradshaw Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus