Can I take mail from Maildir mailbox and deliver it as new?
skdovecot at smail.inf.fh-brs.de
Wed Nov 5 06:48:34 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
On Tue, 4 Nov 2014, James Pryor wrote:
> Is there a way to take mail sitting on disk in a mailbox and deliver it as if
> it was new mail to some other machine?
If you don't care about the Recieved and probable Delivered-To lines the
delivery on system C has added, you can "resent" it via:
for f in new/* cur/*; do
sendmail "final_recipient_on_system_B" < "$f"
However, first test if a message sent from command line takes the route
you want it to take :-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the dovecot