Failing to receive mail in iqbala-sysad...@example.net
Feb 23 18:40:02 mail postfix/smtpd[16962]: NOQUEUE: reject: RCPT from
remote.example.net[192.168.18.193]: 550 5.1.1 :
Recipient address rejected: User unknown in local recipient table; from=<
On Thu, Feb 23, 2017 at 6:54 PM, Viktor Dukhovni wrote:
> If you've migrated from qmail, you should probably keep "-" as your
> recipient delimiter to maintain as much backwards-compatible behaviour
> as possible.
>
> Otherwise you'll need an explicit alias for each
Sounds like you have a problem in /etc/dovecot/dovecot-sql.conf
Did you ever post it? For virtual users, mine is:
driver = mysql
# Currently supported schemes include PLAIN, PLAIN-MD5, DIGEST-MD5, and CRYPT.
default_pass_scheme = PLAIN
# Database options
connect =
My dovecot-sql.conf file is default:
users WHERE userid = '%u'
driver = mysql
connect = host=localhost dbname=dbispconfig user=ispconfig
password=06549e2a867ee50a107098f424073acd port=3306
default_pass_scheme = CRYPT
password_query = SELECT email as user, password, maildir as userdb_home,
Where can I change this db password? Maybe this is good point. ;) but I
don't get it how change passdb auth from db to file could impact on rows in
db. I would like to get this work on default settings. I have copy of
dovecot.conf file but with default settings I can't send emails. Let's
forget
> On Feb 23, 2017, at 6:49 PM, Asif Iqbal wrote:
>
> Failing to receive mail in iqbala-sysad...@example.net
This looks like email to the user "iqbala" with an extension of
"sysadmin" using qmail's "-" as a delimiter.
>
> Feb 23 18:40:02 mail postfix/smtpd[16962]: NOQUEUE:
You have right, I added 'noplaintext'. But main thing what I want to get -
no cram-md5 in dovecot and ability to send emails. All worked fine until I
set in dovecot.conf:
auth_mechanisms = plain login cram-md5
passdb {
#args = /etc/dovecot/dovecot-sql.conf
#driver = sql
driver = passwd-file
And in main.cf I have default setting (after installation it was as below):
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
Is it possible that dovecot not see these two?
2017-02-23 10:30 GMT+01:00 Poliman - Serwis :
> You have right, I added 'noplaintext'. But main
"Now i understand, that you want to add cram-md5 to the mechs, but to
authenticate still against the sql-db?" Hehe no. I have cram-md5 and when I
try sql-db I can't send emails.
I use ubuntu server 14.04.5 lts with 16.04 kernel. I found out that Postfix
logs go to mail.log and mail.err files.
Now i understand, that you want to add cram-md5 to the mechs, but to
authenticate still against the sql-db?
On http://wiki.dovecot.org/Authentication/PasswordSchemes you'll find
under "Non-plaintext authentication mechanisms":
"The problem with non-plaintext auth mechanisms is that the password
This determine to use both - default and custom settings in passdb block
but I would default setting without cram-md5 in this file. In other words I
would have only below in dovecot.conf:
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
This worked before I added cram-md5 lines.
I am not sure that all in these logs are good because there is info 'passdb
didn't return userdb entries'. Authentication worked because dovecot used
cram-md5 file (still custom settings in dovecot.conf about which I say all
time) but dovecot can't find match in database (configured in line:
args
Test email go through when I have in dovecot.conf:
auth_mechanisms = plain login cram-md5 #added cram-md5
passdb {
#args = /etc/dovecot/dovecot-sql.conf
#driver = sql
driver = passwd-file
args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd
}
but this isn't default setting. I don't need
I setup like You pasted and in mail.log I have:
Feb 23 10:41:58 vps342401 dovecot: auth: Debug: client in: CONT
Feb 23 10:41:58 vps342401 dovecot: auth: Debug: passwd-file(
do_not_re...@example.com,93.179.231.31,): lookup: user=
do_not_re...@example.com file=/etc/dovecot/cram-m$
Hi,
now i'm rather unsure what you want to say with this?
It looks something like authentification worked. But without the postfix
loglines i cant see it for sure.
Willi
Am 23.02.2017 um 10:47 schrieb Poliman - Serwis:
> I setup like You pasted and in mail.log I have:
> Feb 23 10:41:58
Hi,
i assume your test mail got through now?
Am 23.02.2017 um 11:17 schrieb Poliman - Serwis:
> I am not sure that all in these logs are good because there is info 'passdb
> didn't return userdb entries'.
I think there is nothing to worry about.
Dovecot knows about password and user
Yes, You have right. These logs show when I setup default lines in
dovecot.conf:
auth_mechanisms = plain login
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
# driver = passwd-file
# args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd
}
I can send emails (and then no
I wonderd about how dovecot would deside, which "args" belongs to wich
"driver" line. So looked over
http://wiki.dovecot.org/Authentication/MultipleDatabases.
Possibly you should write something like:
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
passdb {
driver =
Strange thing, I can't send emails when I do in dovecot.conf file (which is
default settings):
auth_mechanisms = plain login
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
# driver = passwd-file
# args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd
}
I can send emails when I set
Am 23.02.2017 um 10:06 schrieb Poliman - Serwis:
> I also turned on verbose log in dovecot and below is output in mail.log:
> Feb 23 10:03:51 vps342401 postfix/smtps/smtpd[3640]:
> xsasl_dovecot_server_connect: auth reply: DONE
> Feb 23 10:03:51 vps342401 postfix/smtps/smtpd[3640]:
>
On 2017-02-23 10:06, Poliman - Serwis wrote:
I also turned on verbose log in dovecot and below is output in
mail.log:
Feb 23 10:03:51 vps342401 postfix/smtps/smtpd[3640]:
xsasl_dovecot_server_connect: auth reply: DONE
Feb 23 10:03:51 vps342401 postfix/smtps/smtpd[3640]:
Still nothing. If I removed "noplaintext" from these lines, sending email
still working when I have:
auth_mechanisms = plain login cram-md5 #added cram-md5
passdb {
#args = /etc/dovecot/dovecot-sql.conf
#driver = sql
driver = passwd-file
args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd
}
---
Maybe you should change your DB-Password: You sent it to the list inside
the atteched file:
password=06549...3acd port=3306
---
Your problem with cram-md5 is, that you have
"default_pass_scheme = CRYPT"
in /etc/dovecot/dovecot-sql.conf.
As mentioned in this text from my last mail, you
On Thu, Feb 23, 2017 at 04:08:21PM +0100,
wilfried.es...@essignetz.de wrote:
> Your problem with cram-md5 is, that you have
>
> "default_pass_scheme = CRYPT"
>
> in /etc/dovecot/dovecot-sql.conf.
>
>
> As mentioned in this text from my last mail, you need to change
> the schema your
Am 23.02.2017 um 13:27 schrieb Poliman - Serwis:
> Test email go through when I have in dovecot.conf:
> auth_mechanisms = plain login cram-md5 #added cram-md5
> passdb {
> #args = /etc/dovecot/dovecot-sql.conf
> #driver = sql
>driver = passwd-file
>args = scheme=cram-md5
I removed all comments which I added. It didn't help. Maybe should I put
some config files dovecot or postfix or something?
2017-02-23 8:17 GMT+01:00 Dominic Raferd :
> On 23 February 2017 at 07:01, Poliman - Serwis wrote:
> > ...
> > All worked fine.
If this helps, here's my config :
in main.cf :
virtual_transport = lmtp:unix:private/dovecot-lmtp
I didn't touch anything in master.cf (I let the default lmtp as Ian mentionned).
master.cf :
lmtp unix - - - - - lmtp
in dovecot's 10-master.cf :
#
By the way I did some test. I removed cram-md5 from auth_mechanisms line
and I uncommented default lines in passdb block and also left uncommented
two lines added by me like below:
auth_mechanisms = plain login
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
driver = passwd-file
Hmm. I think that above is not working. Probably I tried sent email too
fast after restart dovecot and new settings weren't loaded.
2017-02-23 9:18 GMT+01:00 Poliman - Serwis :
> By the way I did some test. I removed cram-md5 from auth_mechanisms line
> and I uncommented
When I setup config:
auth_mechanisms = plain login cram-md5
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
driver = passwd-file
args = scheme=cram-md5 /etc/dovecot/cram-md5.pwd
}
Then mails can be send. Without 'cram-md5' in auth_mechanisms I can't send
emails when passdb
In log I have also these lines:
Feb 23 09:12:55 vps342401 dovecot: auth: Error: read(anvil-auth-penalty)
failed: EOF
Feb 23 09:18:40 vps342401 postfix/smtpd[30395]: fatal: no SASL
authentication mechanisms
Feb 23 09:19:04 vps342401 postfix/smtps/smtpd[30426]: fatal: no SASL
authentication
Hi,
would suggest :
- Try turning off chroot operation in master.cf
- Verbose logging for specific SMTP connections
(see http://www.postfix.org/DEBUG_README.html)
Willi
Am 23.02.2017 um 09:21 schrieb Poliman - Serwis:
> Hmm. I think that above is not working. Probably I tried sent email too
Ok, so I added in main.cf at the bottom of the file the line:
debug_peer_list = 127.0.0.1,93.X.X.31
and in master.cf (set 'n' in chroot column):
submission inet n - n - - smtpd
smtps inet n - n - - smtpd
What is next step?
I also turned on verbose log in dovecot and below is output in mail.log:
Feb 23 10:03:51 vps342401 postfix/smtps/smtpd[3640]:
xsasl_dovecot_server_connect: auth reply: DONE
Feb 23 10:03:51 vps342401 postfix/smtps/smtpd[3640]:
xsasl_dovecot_server_mech_filter: skip mechanism: PLAIN
Feb 23 10:03:51
Am 23.02.2017 um 09:59 schrieb Poliman - Serwis:
> Ok, so I added in main.cf at the bottom of the file the line:
> debug_peer_list = 127.0.0.1,93.X.X.31
Only for shure: you didn't really wrote "X" in main.cf?
> and in master.cf (set 'n' in chroot column):
> submission inet n - n
Hehe I didn't put there X, only here for public place. ;) I sent emails but
it not working when I do in dovecot.conf file (which is default settings):
auth_mechanisms = plain login
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
# driver = passwd-file
# args = scheme=cram-md5
On 23/02/2017 09:06, Poliman - Serwis wrote:
I also turned on verbose log in dovecot and below
is output in mail.log:
Feb 23 10:03:51 vps342401 postfix/smtps/smtpd[3640]:
xsasl_dovecot_server_connect: auth reply: DONE
Feb 23 10:03:51 vps342401
37 matches
Mail list logo