Re: POP3 Links and Delivered-To, Default User
Sabahattin Gucukoglu <[email protected]>
| Newsgroups | gmane.mail.xmail.general |
|---|---|
| Message-ID | <[email protected]> |
On 14 Feb 2010, at 01:00, Davide Libenzi wrote: > On Sat, 13 Feb 2010, Sabahattin Gucukoglu wrote: >> On 13 Feb 2010, at 11:21, Sabahattin Gucukoglu wrote: >>> Is there any way to make the POP3 sync module perform routing to mailboxes based on arbitrary headers, like the Postfix Delivered-To: header, rather than just To, CC, BCC? This would be good for "Domain mailboxes" where all mail for a domain goes to one place, where mailing list traffic may end up, and where it's important to route mail somewhere even if it doesn't match To, CC or BCC. And if mail doesn't match even those headers and any custom ones, it should go to a default user, so he can handle it rather than it getting lost. >> >> Okay, sorry, looked more carefully at server.tab, and sure enough there is FetchHdrTags to solve the first half. So now, how do I specify the default drop behaviour? Is there something here with custom mail processing to do it with the @domain syntax? > > Pop3SyncErrorAccount? I've since realised that the sample tabfiles and docs don't match up, so I've reread them all over. Thanks, this works, although feature request might be, that if you specify a default user for each pop3links.tab entry, it apply only for that entry, that POP server. This way you can manage multiple domain drops with "Unknown" destinations, or /dev/null them. Cheers, Sabahattin _______________________________________________ xmail mailing list [email protected] http://xmailserver.org/mailman/listinfo/xmail