On 2012-06-26 7:12 AM, Wietse Venema <wie...@porcupine.org> wrote:
Charles Marcus:
it sure would be nice if we could do away with the need to have the
client send the message over the wire *twice*, once to the smtp
server for outbound delivery, then again to the IMAP server for
saving the Sent copy, when the mail store (and IMAP server) are
sitting right there on the same box as the SMTP server.
Ie, an internal postfix option (that only applies to
sasl_authenticated users):
smtpd_save_to_sent_folder = Sent
I suppose this hypothetical feature would come with a little IMAP
client, configuration parameters that specify the IMAP server
address and port, IMAP server credentials, and so on.
Not necessary at all...
First, only admins who *can* make use of it would enable it.
All that would be required is for postfix to have the ability to save
emails directly to the mail store - and isn't it already capable of
doing this? E.g., when delivering a message that is plus-addressed as
user+fol...@example.com, the email is saved directly to a folder named
'folder' in that users mailstore. It can already do that, right? No need
to involve the IMAP server at all, much less worry about ports or
credentials.
So, in a case where the admin knows that the mailstore is local *and*
available to postfix, he/she enables the feature (by designating the
'Sent' folder name they want to use), and from that point on, postfix
saves a copy of all outbound messages (again, only messages sent by an
sasl_authenticated user, so postfix has already authenticated the user)
to the designated folder, just like it does for inbound plus-addressed
messages.
I guess maybe I'm missing something, because I just don't see how/why
this wouldn't work...
On 2012-06-26 7:13 AM, Reindl Harald <h.rei...@thelounge.net> wrote:
> Am 26.06.2012 12:59, schrieb Charles Marcus:
>> Ie, an internal postfix option (that only applies to
>> sasl_authenticated users):
>>
>> smtpd_save_to_sent_folder = Sent
> in theory
>
practically you even do not know how the folder is named look at a
imap-account touch by different Apple devices i have seen customers
with 6 incarnations of "sent"
Yes, and Outlook does the same thing, but it simply doesn't matter...
the systems admin would decide on whether or not to enable the feature,
and would be responsible for informing users as to how it works.
Isn't postfix already capable of delivering to specific subfolders for
any user (see my able re: plus-addressed messages)? Users would simply
need to be told that all outbound messages are *automatically* saved to
the 'Sent' folder, and that they should first point their 'Sent' folder
to the appropriate folder (so that it shows up as the special use 'Sent'
folder in the folder list), then DISABLE the actual save to sent feature
when using their server for sending.
the next problem is that in MOST setips postfix can not write
directly to the mailbox because it is a completly different service
over LMTP protocol - no way to do this except deliver a message to
127.0.0.1:24 where you have nay way to tell LMP "please put it to
sent instead inbox"
Then please explain how postfix is able to do this with an inbound
plus-addressed email that gets saved directly to a users sub folder?
Again, as I said, not all installations would want or be able to use
this, and it would be disabled by default.
> no, the above is not possible in the world we live in
As I said previously, GMail has been doing this for a very long time,
and one of my favorite things to do when setting up a GMail account in
Thunderbird is unchecking the 'Save a copy of sent messages' option.
--
Best regards,
Charles