hello,
I want a solution to recover on my server, the sent messages when I post directly from Wanadoo, free, gmail, hotmail ....
I use fetchmail to retrieve the received messages.
I found the 'folder' option in the man, fetchmail.
If you do not use the folder option, it retrieves the received messages
I found at Free the name it was necessary to
'INBOX': received messages
'INBOX / sent-mail': messages sent
/usr/bin/fetchmail -l15000000 -d0 --verbose --syslog --fetchmailrc - <<EOF
set postmaster "postmaster@toto.com"
set bouncemail
set properties ""
poll imap.free.fr with proto IMAP timeout 60 and options no dns
user 'titi\@free.fr' smtpaddress toto.com with password 'mdp' folder 'INBOX','INBOX/sent-mail' is titi-serveur here keep
smtphost 127.0.0.200/25
EOF
Not found for gmail:
I did some testing with many things "[Gmail] / Sent Mail"
not found with my accounts wanadoo
and not even test for my hotmail account.
If anyone has any tracks to find the names of the directories.
If a solution is found, this may be an option to add to fetchmail.
Thank you
Anne