|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Invalid user specified
From: Alex Loots (a.loots
itsec-ss.nl)
Date: Tue Apr 13 2004 - 09:28:06 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello list,
I am trying to set up Postfix + Maildrop to deliver mail for hosted
domains with recipients that don't have UNIX home directories. The mail
must be delivered into a shared-folder on the local system. In order to
do so I have created a shared folder "test": maildirmake -s write -f
test /usr/local/share/maildirs and changed the owner to vuser (see
master.cf).
The file /etc/postfix/virtual_mailbox_maps (see postconf below) contains
the following entry:
test
testdomain.com test
The file /etc/postfix/virtual_mailbox_domains contains:
testdomain.com.
Tesdomain is NOT mentioned in the "mydestination domain" or the
"virtual ALIAS domain".
When I send an e-mail to test
testdomain.com I get a "Invalid user
specified" error message. I think that it has something to do with the
"user=vuser argv=/usr/local/bin/maildrop -d " option but I am not sure.
I have tried several things and have googled and looked in this list but
I can't find a solution to my problem. Can someone provide some pointers
to solve my problem?
Regards,
-Alex
Additional information:
Apr 13 16:43:48 myhost amavis[1908]: (01908-07) TIMING [total 1209 ms] -
SMTP EHLO: 1 (0%), SMTP pre-MAIL: 0 (0%), SMTP pre-DATA-flush: 2 (0%),
SMTP DATA: 37 (3%), body hash: 0 (0%), SA msg read: 2 (0%), SA parse: 1
(0%), SA check: 1082 (89%), mime_decode: 6 (1%), fwd-connect: 11 (1%),
fwd-mail-from: 1 (0%), fwd-rcpt-to: 1 (0%), write-header: 2 (0%),
fwd-data: 0 (0%), fwd-data-end: 59 (5%), fwd-rundown: 1 (0%),
unlink-1-files: 3 (0%), rundown: 0 (0%)
Apr 13 16:43:48 myhost postfix/smtp[2611]: 1AD8F1B5:
to=<test
testdomain.com>, relay=127.0.0.1[127.0.0.1], delay=1,
status=sent (250 2.6.0 Ok, id=01908-07, from MTA: 250 Ok: queued as
4288F19F)
Apr 13 16:43:48 myhost postfix/pipe[2633]: 4288F19F:
to=<test
testdomain.com>, relay=maildrop, delay=0, status=bounced (user
unknown. Command output: Invalid user specified. )
Maildrop is configured with these options: /configure
--enable-maildirquota --enable-maildrop-uid=vuser
--enable-maildrop-gid=mail
Postfix master.cf contains:
maildrop unix - n n - - pipe
flags=DRhu user=vuser argv=/usr/local/bin/maildrop -d ${recipient}
Postfix is configured with these non-default options:
[root
myhost postfix]# postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
local_destination_concurrency_limit = 1
local_recipient_maps = unix:passwd.byname $alias_maps
$virtual_mailbox_maps
mail_owner = postfix
mailbox_command = /usr/local/bin/maildrop -w 50
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, $mydomain,
/etc/postfix/mydestination
myhostname = mail.mydomain.nl
mynetworks = 10.0.2.0/24, 127.0.0.0/8
mynetworks_style = subnet
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /etc/postfix/README_FILES
relay_domains = $mydestination
relayhost = post.somedomain.com
sample_directory = /etc/postfix/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP
smtpd_recipient_restrictions =
permit_mynetworks,reject_unauth_destination
unknown_local_recipient_reject_code = 450
virtual_alias_domains = /etc/postfix/virtual_domains
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_mailbox_domains = /etc/postfix/virtual_mailbox_domains
virtual_mailbox_maps = hash:/etc/postfix/virtual_mailbox_maps
virtual_transport = maildrop
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]