Fourhundred Thecat: > Hello, > > when I receive "Delayed Mail" notification, the message only has the > header of the original email. > > Is it possible to have the full email body included in the notification > message, so that I can see which email has not been delivered? > > I am dealing with a remote mail server, which uses some kind of > greylisting, and when I send more emails within given period, it blocks > my IP address temporarily. > > These emails are queued on my side and eventually get delivered. > > But I think it would be useful for me, when I receive the notification, > to see which email exactly was not delivered.
This scenario, where Postfix receives one message and delivers two, is called message multiplication. The headers-only notification is a safety mechanism that avoids doubling the amount of mail in the queue. For an example of a multiplication disaster see: https://video.disney.com/watch/sorcerer-s-apprentice-fantasia-4ea9ebc01a74ea59a5867853 The delay notification contains a lot of infomation: The envelope recipient and server respnse (twice) The envelope sender The message header including the message ID, date You can correlate that with information in the maillog file. Since the messages are in your local queue, you can see the above information with the command mailq (postqueue -p), and more with "postcat -q" if you must see the content. Wietse