Lots of the emails I send aren't stored in the sent folder. It seems that it mostly (but not always) work for sent emails where the main email-address (the one that is also used as login name) is used as sender. It never seems to work when an alias is used as sender name.
There isn't any entry in the mail.err log and nothing that looks suspicious to me in the regular mail.log.
I didn't notice it at first, because I usually don't check my sent folder that much, but I it seems to have started when I migrated to the new server a few weeks ago.
Any idea what could be the reason for it?
Kind regards, Nils
Test 1 using main email address (NOT STORED IN SENT FOLDER) Jun 20 20:10:28 SERVER postfix/submission/smtpd[5156]: connect from INTERNET_PROVIDER[IPV6_ADDRESS] Jun 20 20:10:28 SERVER postfix/submission/smtpd[5156]: 3B8B0C0DA8: client=INTERNET_PROVIDER[IPV6_ADDRESS], sasl_method=PLAIN, sasl_username=RECIPIENT@SERVER.TLD Jun 20 20:10:28 SERVER postfix/cleanup[5161]: 3B8B0C0DA8: message-id=bcdc1b7e-e3f1-4a82-8fd9-05dd307313e4@SERVER.TLD Jun 20 20:10:28 SERVER amavis[5197]: (05197-01) Passed CLEAN {AcceptedInbound}, AM.PDP-SOCK [IPV6_ADDRESS] [IPV6_ADDRESS] RECIPIENT@SERVER.TLD -> RECIPIENT@SERVER.TLD, Queue-ID: 3B8B0C0DA8, Message-ID: bcdc1b7e-e3f1-4a82-8fd9-05dd307313e4@SERVER.TLD, mail_id: nv7qsKFzK11D, Hits: 0.975, size: 702, 463 ms Jun 20 20:10:28 SERVER opendkim[1081]: 3B8B0C0DA8: DKIM-Signature field added (s=SERVER.TLD, d=SERVER.TLD) Jun 20 20:10:28 SERVER postfix/qmgr[1792]: 3B8B0C0DA8: from=RECIPIENT@SERVER.TLD, size=402, nrcpt=1 (queue active) Jun 20 20:10:28 SERVER dovecot: lmtp(5228): Connect from local Jun 20 20:10:28 SERVER dovecot: lmtp(RECIPIENT@SERVER.TLD)<5228><cL5iLbSMdGZsFAAAVy37qw>: sieve: msgid=bcdc1b7e-e3f1-4a82-8fd9-05dd307313e4@SERVER.TLD: stored mail into mailbox 'INBOX' Jun 20 20:10:28 SERVER postfix/lmtp[5227]: 3B8B0C0DA8: to=RECIPIENT@SERVER.TLD, relay=SERVER.TLD[private/dovecot-lmtp], delay=0.55, delays=0.54/0/0/0.01, dsn=2.0.0, status=sent (250 2.0.0 RECIPIENT@SERVER.TLD cL5iLbSMdGZsFAAAVy37qw Saved) Jun 20 20:10:28 SERVER dovecot: lmtp(5228): Disconnect from local: Logged out (state=READY) Jun 20 20:10:28 SERVER postfix/qmgr[1792]: 3B8B0C0DA8: removed Jun 20 20:10:28 SERVER dovecot: imap-login: Login: user=RECIPIENT@SERVER.TLD, method=PLAIN, rip=IPV6_ADDRESS, lip=2a01:4f8:10a:e50::2, mpid=5248, TLS, session=<DdED6FcbbusgAwDKv0yBAGXh6Xy3cdaM> Jun 20 20:10:29 SERVER dovecot: imap(RECIPIENT@SERVER.TLD)<5248><DdED6FcbbusgAwDKv0yBAGXh6Xy3cdaM>: Disconnected: Logged out in=496 out=637 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jun 20 20:10:33 SERVER postfix/submission/smtpd[5156]: disconnect from INTERNET_PROVIDER[IPV6_ADDRESS] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=8
Test 2 using alias email address (NOT STORED IN SENT FOLDER)
Jun 20 20:10:41 SERVER postfix/submission/smtpd[5156]: connect from
INTERNET_PROVIDER[IPV6_ADDRESS]
Jun 20 20:10:42 SERVER postfix/submission/smtpd[5156]: 184A5C0DAD:
client=INTERNET_PROVIDER[IPV6_ADDRESS], sasl_method=PLAIN,
sasl_username=EMAIL@SERVER.TLD
Jun 20 20:10:42 SERVER postfix/cleanup[5161]: 184A5C0DAD:
message-id=bc2f2025-67e0-4780-9a54-8f06c3b16389@SERVER.TLD
Jun 20 20:10:42 SERVER amavis[5196]: (05196-02) Passed CLEAN
{AcceptedInbound}, AM.PDP-SOCK [IPV6_ADDRESS] [IPV6_ADDRESS]
ALIAS@SERVER.TLD -> RECIPIENT@SERVER.TLD, Queue-ID: 184A5C0DAD,
Message-ID: bc2f2025-67e0-4780-9a54-8f06c3b16389@SERVER.TLD, mail_id:
ySF-pJQA8aRl, Hits: 0.975, size: 716, 607 ms
Jun 20 20:10:42 SERVER opendkim[1081]: 184A5C0DAD: DKIM-Signature field
added (s=key1, d=SERVER.TLD)
Jun 20 20:10:42 SERVER postfix/qmgr[1792]: 184A5C0DAD:
from=ALIAS@SERVER.TLD, size=408, nrcpt=1 (queue active)
Jun 20 20:10:42 SERVER dovecot: lmtp(5228): Connect from local
Jun 20 20:10:42 SERVER dovecot:
lmtp(RECIPIENT@SERVER.TLD)<5228>
Test 3 using main email address (stored in sent-folder) Jun 20 20:30:24 SERVER postfix/submission/smtpd[5813]: connect from INTERNET_PROVIDER[IPV6_ADDRESS] Jun 20 20:30:25 SERVER postfix/submission/smtpd[5813]: 3F2C1C0DAD: client=INTERNET_PROVIDER[IPV6_ADDRESS], sasl_method=PLAIN, sasl_username=EMAIL@SERVER.TLD Jun 20 20:30:25 SERVER postfix/cleanup[5818]: 3F2C1C0DAD: message-id=603d7b61-d8d1-4099-bbc2-f0d2e9c776ee@SERVER.TLD Jun 20 20:30:26 SERVER amavis[5197]: (05197-02) Passed CLEAN {AcceptedInbound}, AM.PDP-SOCK [IPV6_ADDRESS] [IPV6_ADDRESS] EMAIL@SERVER.TLD -> RECIPIENT@SERVER.TLD, Queue-ID: 3F2C1C0DAD, Message-ID: 603d7b61-d8d1-4099-bbc2-f0d2e9c776ee@SERVER.TLD, mail_id: KDDY0Tv2B0Ut, Hits: 0.975, size: 704, 1096 ms Jun 20 20:30:26 SERVER opendkim[1081]: 3F2C1C0DAD: DKIM-Signature field added (s=key1, d=SERVER.TLD) Jun 20 20:30:26 SERVER postfix/qmgr[1792]: 3F2C1C0DAD: from=EMAIL@SERVER.TLD, size=398, nrcpt=1 (queue active) Jun 20 20:30:26 SERVER dovecot: lmtp(5824): Connect from local Jun 20 20:30:26 SERVER dovecot: lmtp(RECIPIENT@SERVER.TLD)<5824><xsEAGWKRdGbAFgAAVy37qw>: sieve: msgid=603d7b61-d8d1-4099-bbc2-f0d2e9c776ee@SERVER.TLD: stored mail into mailbox 'INBOX' Jun 20 20:30:26 SERVER postfix/lmtp[5823]: 3F2C1C0DAD: to=RECIPIENT@SERVER.TLD, relay=SERVER.TLD[private/dovecot-lmtp], delay=1.2, delays=1.2/0.01/0.01/0.01, dsn=2.0.0, status=sent (250 2.0.0 RECIPIENT@SERVER.TLD xsEAGWKRdGbAFgAAVy37qw Saved) Jun 20 20:30:26 SERVER dovecot: lmtp(5824): Disconnect from local: Logged out (state=READY) Jun 20 20:30:26 SERVER postfix/qmgr[1792]: 3F2C1C0DAD: removed Jun 20 20:30:26 SERVER dovecot: imap(EMAIL@SERVER.TLD)<5669><5nRfHlgbHIYgAwDKv0yBAGXh6Xy3cdaM>: Disconnected: Logged out in=1228 out=11932 deleted=0 expunged=0 trashed=0 hdr_count=3 hdr_bytes=816 body_count=0 body_bytes=0 Jun 20 20:30:31 SERVER postfix/submission/smtpd[5813]: disconnect from INTERNET_PROVIDER[IPV6_ADDRESS] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=8