1

I have Postfix, Dovecot and SquirrelMail installed on my server. I want all mails to be sent to /var/mail/$USER/new (because SquirrelMail is looking into /new folder for new mails). But after hours of configuring, my mails are delivered into /var/mail/$USER/ thus SquirrelMail can't find it.

Postfix main.cf:

home_mailbox = mail/

Dovecot 10-mail.conf:

mail_location=maildir:/var/mail/%u

I'm running debian distro.

Martin
  • 11
  • 1
  • What is your actual delivery agent postfix local or dovecot? – NickW Apr 27 '17 at 14:03
  • Did you create each users Maildir directory beforehand ? (maildirmake) – ychaouche Apr 27 '17 at 14:04
  • OP here, it was posted in guest mode.. Anyway, how I'll determine what delivery agent is used? It believe it was dovecot or local but I'm not sure. Could you guide me somehow @NickW ? Yes, I created all mail directories for each user that's not the problem. Problem is that mails are delivered into /users directory and not into /user/new folder (more on screen). [User's mail dir. You can see mails (msg files) outside the NEW folder](https://i.stack.imgur.com/1BVqt.png) – Bukk94 Apr 27 '17 at 17:08
  • Be glad to help, you'll have a `mailbox_command` or if you're using virtual users, you'll have a `virtual_transport` option (with corresponding master.cf line ) – NickW May 02 '17 at 08:02

0 Answers0