Results 1 to 4 of 4
Hello,
I have set up postfix with
virtual_mailbox_domains=mydomain.com
virtual_mailbox_base=/var/spool/mail
virtual_uid_maps=static:1002
virtual_gid_maps=static:1002
/var/spool/mail is owned by user root gid 12 (is this odd?)
/var/spool/mail/vmail is owned by uid 1002 gid 1002
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-24-2004 #1Just Joined!
- Join Date
- May 2004
- Location
- Shetland UK
- Posts
- 6
Postfix - virtual domains: 550-Mailbox unknown
Hello,
I have set up postfix with
virtual_mailbox_domains=mydomain.com
virtual_mailbox_base=/var/spool/mail
virtual_uid_maps=static:1002
virtual_gid_maps=static:1002
/var/spool/mail is owned by user root gid 12 (is this odd?)
/var/spool/mail/vmail is owned by uid 1002 gid 1002
/var/spool/mail/vmail/mydomain.com is owned by uid 1002 and gid 1002
../vmail/mydomain.com/test is owned by uid 1002 and gid 1002
I attempt delivery to test@mydomain.com and delivery seems to fail due to a problem with the mailbox - here is the error report
Diagnostic-Code: X-Postfix; host /var/imap/socket/lmtp[/var/imap/socket/lmtp]
said: 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
(in reply to RCPT TO command)
Does what I have done look right? I can post the main.cf if necessary.
Any ideas where I should check next?
Thanks,
Chris
- 07-25-2004 #2Linux Engineer
- Join Date
- Jul 2003
- Location
- Uppsala, Sweden
- Posts
- 1,278
<variant> anyone know hte answer to this: http://www.linuxforums.org/forum/viewtopic.php?t=21838
<vigge> variant, you need to run "maildirmake" with some parameters
<vigge> to make a .Maildir in /var/spool/mail/domain.com/test/
Hope this helps!Proud to be a GNU/Gentoo Linux user!
- 07-25-2004 #3
- 07-25-2004 #4Just Joined!
- Join Date
- May 2004
- Location
- Shetland UK
- Posts
- 6
qub333: No, I made a related post here a day ago, but I deleted it since I had phrased my question poorly, and replaced it with the above post instead.
Ok, I don't have th makemaildir command as I don't use courier, however I made the .maildir directory and changed ownership to vmail:vmail, still with the same message.
19668E60A: to=<test@domain.co.uk>, relay=/var/imap/socket/lmtp[/var/imap/socket/lmtp], delay=0, status=bounced (host /var/imap/socket/lmtp[/var/imap/socket/lmtp] said: 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 (in reply to RCPT TO command))
Why is 'user unknown' showing up when in the log, just prior to bounce I can see:
Jul 25 17:03:59 hostname postfix/smtpd[5340]: maps_find: virtual_mailbox_maps:
hash:/etc/postfix/virtual: test@domain.co.uk = domain.co.uk/test@domain.co.uk/.maildir/
Thanks - I must surely be close to the solution.
Chris


Reply With Quote
