Hi,
I've got my system using pam_mysql for authentication for horde and
dovecot which is working great.
when I wish to try send a message to one of my local users which
resides in the MySQL database
postfix keeps bouncing the message as user unknown.. logs below..
==========
Oct 29 18:26:16 hordepri postfix/smtpd[17457]: 7DD8C4712DC:
client=localhost[127.0.0.1]
Oct 29 18:26:28 hordepri postfix/cleanup[17466]: 7DD8C4712DC:
message-id=<[EMAIL PROTECTED]>
Oct 29 18:26:28 hordepri postfix/qmgr[17308]: 7DD8C4712DC:
from=<[EMAIL PROTECTED]>, size=387, nrcpt=1 (queue active)
Oct 29 18:26:28 hordepri postfix/local[17468]: 7DD8C4712DC:
to=<[EMAIL PROTECTED]>, relay=local, delay=30,
delays=30/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user:
"ipnoc")
Oct 29 18:26:28 hordepri postfix/bounce[17470]: 7DD8C4712DC: sender
non-delivery notification: 33C9A4712DF
Oct 29 18:26:28 hordepri postfix/qmgr[17308]: 7DD8C4712DC: removed
============
I know my libnss-mysql (nsswitch) is working as when I do a "getent
passwd ipnoc" I get the following
====
[EMAIL PROTECTED] pam.d]# getent passwd ipnoc
ipnoc:x:5000:5000:::/bin/bash
====
Ive also setup my /etc/pam.d/smtp file as follows but still but still
no delivery to local users.
is there somthing I have to do to get postfix to read from the
/etc/pam.d/smtp file? is the below correct ? or anything else im
missing
with regards to postfix and PAM?
=====
auth required pam_mysql.so user=nss-root passwd=mypass
host=127.0.0.1 db=auth table=users usercolumn=username
passwdcolumn=password crypt=1 verbose=1
account sufficient pam_mysql.so user=nss-root passwd=mypass
host=127.0.0.1 db=auth table=users usercolumn=username
passwdcolumn=password crypt=1 verbose=1
=====
otherwise Is there another way I could tell postfix what my local
users are? as I could use postfix mysql support but not sure on which
statement would fine my local users???
Thanks,
any help appreciated
Ilo