Bluehost.com Web Hosting $6.95

Problems with postfix & virtual mail

This is a discussion on Problems with postfix & virtual mail within the mailing.postfix.users forums, part of the Mail Servers and Related category; Hello I've been reading the howto's from high5.net/howto & kirb.insanegenius.net/postfix.html. Again, again &...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-03-2004
Peter Fastre
 
Posts: n/a
Default Problems with postfix & virtual mail

Hello

I've been reading the howto's from high5.net/howto &
kirb.insanegenius.net/postfix.html. Again, again & again.

After many late nights I've succeeded in setting up a more or less workin=
g
configuration.
Nevertheless, I've some problems & some questions, hope someone can help =
me, as
I may be close to the solutions but still too far away.

First the problem, because that's most important.
If I use the following conf:
mydestination =3D $myhostname
everything works fine if I use webmail on the same machine. I can mail to
virtual users, ok.
But the server does not relay mails (try for yourself: peter@sugar.be) if=
I send
from another domain.

Then I can change my conf to
mydestination =3D $mydomain, $myhostname, $transport_maps
But then I cannot send mail to virtual users if they don't have a corresp=
onding
real user (in /etc/master.passwd), but I want to keep the users completel=
y virtual.

Now I think I've found a working solution, but not sure if it's a good on=
e:
-bash-2.05b# postconf -n
command_directory =3D /usr/sbin
config_directory =3D /etc/postfix
daemon_directory =3D /usr/libexec/postfix
local_recipient_maps =3D=20
mail_owner =3D postfix
mailbox_size_limit =3D 51200000
mailq_path =3D /usr/bin/mailq
manpage_directory =3D /usr/local/man
mydestination =3D $mydomain, $myhostname, $transport_maps
newaliases_path =3D /usr/bin/newaliases
queue_directory =3D /var/spool/postfix
readme_directory =3D no
sample_directory =3D /etc/postfix
sendmail_path =3D /usr/sbin/sendmail
setgid_group =3D postdrop
transport_maps =3D mysql:/etc/postfix/transport.cf
virtual_gid_maps =3D mysql:/etc/postfix/gids.cf
virtual_mailbox_base =3D /
virtual_mailbox_maps =3D mysql:/etc/postfix/mysql_virt.cf
virtual_uid_maps =3D mysql:/etc/postfix/uids.cf

Is this OK, is it safe to just disable local_recipient_maps (I found it i=
n the
FAQ)???




Maybe you're tired reading this awful post, but I still have some questio=
ns. It
would be very kind if you read these too!

/var/spool:
drwxrwxr-x 5 postfix postdrop 512 Feb 2 12:32 vmail
/var/spool/vmail:
drwxrwxr-x 2 postfix 2001 512 Feb 2 12:32 hip.be
drwxrwxr-x 5 postfix 2002 512 Feb 2 17:05 sugar.be
/var/spool/vmail/sugar.be:
drwx------ 3 2003 2002 512 Feb 2 17:05 malakai@sugar.be
drwx------ 3 2000 2002 512 Feb 2 12:48 peter@sugar.be
under these directory's there's always a directory Maildir

Are these permissions correct? What should be the homedrive, what the Mai=
lDir in
the db?
I have now:
peter@sugar.be(UserID)
2000(VirtualUID)
2002(VirtualGID)
/var/spool/vmail/sugar.be/peter@sugar.be (HomeDir)
/var/spool/vmail/sugar.be/peter@sugar.be/Maildir/ (MailDir)

What's the difference between homedir & maildir, and how does courier-ima=
p
handle this? I expected that if I create a directory as a user in squirre=
lmail
(or imapclient), it would be created in the homedir. But if I want to cre=
ate a
folder imap says "Invalid mailbox name".




Best regards

Peter


---------------------------------------------
This mail was sent through webmail.wanadoo.be
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:19 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0