0

With Sendmail, I want to accept messages to addresses formatted like this:

bounce+blabla@domain.com 
bounce+foofoo@domain.com

And then write them all to a separate mail file on server, instead of appending to same one email file.

I am able to fetch all mail by adding bounce+*@domain.com to /etc/mail/virtusertable, it saves to any given alias. But how to save each message to a different file ?

Thanks.

adrianTNT
  • 1,252

1 Answers1

1

I'm not familiar with Sendmail but the solution is to store mails as Maildir and not as mbox.

But as this post reveals Sendmail is not able to do so. Fortunately they also provide the solution.

mailq
  • 17,251