Re: suddenly 'User unknown'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Not a cyrus issue. Apparently sendmail strips the domain as you see in lines like "RCPT To:<brad>"

Your cyrusv2 Mailer in sendmail.mc seems correct to me.

What do you get from (you can skip all the line for user root)

sendmail -d21.1 -bv brad@xxxxxxxxxxxxxxxxxxxxx

Greets,
Edda

Am 30.11.18 um 16:34 schrieb Charles Bradshaw via Info-cyrus:

Patrick, Javier, at last progress. Brilliant. :-) See below.

[root@dell2600-1 brad]# strace -p 10146


[...]
read(0, "RCPT To:<brad>\r\nDATA\r\n", 4096) = 22

[...]
+++ exited with 0 +++

I don't understand the above! Except there are a number of lines like:

open("/var/lib/imap/log/postman/lmtpunix-10146", O_WRONLY|O_CREAT|O_APPEND, 0644) = -1 ENOENT (No such file or directory)

Does any of the above explain 'User unknown', apart from fact that lmtp quit with SIGALRM

 I created /var/lib/imap/log/postman then when the test email is sent /var/lib/imap/log/postman contains this message:

---------- postman Fri Nov 30 15:04:47 2018

>1543590287>220 dell2600-1.bradcan.homelinux.com Cyrus LMTP v2.4.17-Invoca-RPM-2.4.17-7.el6 server ready
<1543590287<LHLO bradcan.homelinux.com
>1543590287>250-dell2600-1.bradcan.homelinux.com
250-8BITMIME
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-SIZE
250-AUTH EXTERNAL
250 IGNOREQUOTA
<1543590287<MAIL From:<brad@xxxxxxxxxxxxxxxxxxxxx> SIZE=653
>1543590287>250 2.1.0 ok
<1543590287<RCPT To:<brad>
DATA
>1543590287>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
...

Now I'm guessing, since user brad@xxxxxxxxxxxxxxxxxxxxx does exist and is working then it must be authorization.

So why is authorization failing after years of working? How do I test authorization?



----
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




[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux