User Activity

  • Modified a comment on discussion Postfix Admin Discussion on Postfix Admin

    Solved it after a bit more research. $dir = substr($user, 0, strpos($user, '@')); seems to work. If someone's wondering, what I'm trying to do. I want to use '/' as separator instead of the default '.' Edit: It doesnt work as expected. Now new emails are delivered to a file called ":LAYOUT=fs" in the root of the virtual mailbox. I guess I need to configure it in Dovecot directly.

  • Posted a comment on discussion Postfix Admin Discussion on Postfix Admin

    Solved it after a bit more research. $dir = substr($user, 0, strpos($user, '@')); seems to work. If someone's wondering, what I'm trying to do. I want to use '/' as separator instead of the default '.'

  • Posted a comment on discussion Postfix Admin Discussion on Postfix Admin

    Hi all, I'm trying to add ":LAYOUT=fs" to the end of the value in the maildir column of the mailbox table. It looks like maildir_name_hook does exactly what I want. I put this in my config.local.php $CONF['maildir_name_hook'] = 'layout_fs'; function layout_fs($domain, $user) { $layout = ":LAYOUT=fs"; return sprintf("%s/%s/%s", $domain, $user, $layout); } It works, but $user contains the domain too. Is there another variable I can use instead which only contains the local part of $user? If not, what...

View All

Personal Data

Username:
boehmi2202
Joined:
2005-01-19 21:19:49

Projects

  • No projects to display.

Skills

  • No skills entered.

Personal Tools