aboutsummaryrefslogtreecommitdiff
path: root/tests/ftpserver.pl
AgeCommit message (Collapse)Author
2013-09-21ftpserver.pl: Moved cURL SMTP server detection into EHLO command handlerSteve Holme
Moved the special SMTP server detection code from the DATA command handler, which happens further down the operation chain after EHLO, MAIL and RCPT commands, to the EHLO command as it is the first command to be generated by a SMTP operation as well as containing the special "verifiedserver" string from the URL. This not only makes it easier and quicker to detect but also means that cURL doesn't need to specify "verifiedserver" as --mail-from and --mail-rcpt arguments. More importantly, this also makes the upcoming verification changes to the RCPT handler easier to implement.
2013-09-20ftpserver.pl: Corrected SMTP QUIT response to be more realisticSteve Holme
2013-09-20ftpserver.pl: Moved SMTP RCPT response text into command handlerSteve Holme
2013-09-19ftpserver.pl: Updated email regex from commit 98f7ca7e971006Steve Holme
...to not be as strict as it was rejecting valid numeric email addresses.
2013-09-18ftpserver.pl: Standardised CAPA and AUTH responsesSteve Holme
2013-09-18ftpserver.pl: Corrected POP3 QUIT reply to be more realisticSteve Holme
2013-09-18ftpserver.pl: Fixed syntax error in commit 98f7ca7e971006Steve Holme
Can't modify constant item in scalar assignment line 779, near "0;"
2013-09-18ftpserver.pl: Expanded the SMTP MAIL handler to validate messagesSteve Holme
MAIl_smtp() will now check for a correctly formatted FROM address as well as the optional SIZE parameter comparing it against the server capability when specified.
2013-09-17ftpserver.pl: Corrected response code for successful MAIL commandSteve Holme
2013-09-17ftpserver.pl: Moved SMTP MAIL handler into own functionSteve Holme
2013-09-15ftpserver.pl: Added the ability to include spaces in capabilitiesSteve Holme
For example: CAPA "SIZE 1048576" 8BITMIME BINARYMIME will populate the capabilities list with the following in: SIZE 1048576 8BITMIME BINARYMIME
2013-09-15ftpserver.pl: Corrected response code for successful SMTP QUIT commandSteve Holme
2013-09-15ftpserver.pl: Fixed syntax error in commit 33c1f2876b9029Steve Holme
Can't modify constant item in postincrement line 727, near "i++"
2013-09-15ftpserver.pl: Added CAPA & AUTH directive support to the SMTP EHLO handlerSteve Holme
2013-09-15ftpserver.pl: Fixed SMTP QUIT handler from dadc495540946eSteve Holme
2013-09-15ftpserver.pl: Moved SMTP EHLO and QUIT handlers in own functionsSteve Holme
2013-09-15ftpserver.pl: Added support for SMTP HELO commandSteve Holme
...and updated test902 as explicit HELO response is no longer required.
2013-09-15ftpserver.pl: Added mailbox check to IMAP SELECT handlerSteve Holme
2013-09-15ftpserver.pl: Corrected invalid user details checkSteve Holme
...in both the IMAP LOGIN and POP3 PASS handlers introduced in commit 187ac693744949 and 84ad1569e5fc93 respectively.
2013-09-14ftpserver.pl: Moved IMAP LOGIN handler into own functionSteve Holme
2013-09-14ftpserver.pl: Moved POP3 USER and PASS handlers into own functionsSteve Holme
2013-09-14ftpserver.pl: Corrected invalid argument check in POP3 TOP handlerSteve Holme
...which was accidentally introduced in commit 4d6ef6297ae9b6.
2013-09-14ftpserver.pl: Added capability prerequisite for extended POP3 commandsSteve Holme
2013-09-14ftpserver.pl: Added support for IMAP NOOP commandSteve Holme
2013-09-12ftpserver.pl: Fixed missing comma from 7fd84b14d219b1Steve Holme
2013-09-12ftpserver.pl: Fixed variable error introduced in 7fd84b14d219b1Steve Holme
Global symbol "$mailbox" requires explicit package name
2013-09-11ftpserver.pl: Added support for UID commandSteve Holme
2013-09-11ftpserver.pl: Added support for LSUB commandSteve Holme
2013-09-11ftpserver.pl: Added support for IMAP COPY commandSteve Holme
2013-09-11ftpserver.pl: Added support for IMAP CLOSE and EXPUNGE commandsSteve Holme
2013-09-11ftpserver.pl: Added support for POP3 RSET commandSteve Holme
2013-09-11ftpserver.pl: Added the ability to remember what messages are deletedSteve Holme
...as this will be required for IMAP CLOSE and EXPUNGE commands as well as the POP3 RSET command.
2013-09-09ftpserver.pl: Added support for POP3 TOP commandSteve Holme
2013-09-09ftpserver.pl: Added support for POP3 UIDL commandSteve Holme
2013-09-08ftpserver.pl: Fixed empty array checksSteve Holme
...from commits 28427b408326a1 and e8313697b6554b.
2013-09-08ftpserver: Reworked AUTH support to allow for specifying the mechanismsSteve Holme
Renamed SUPPORTAUTH to AUTH and added support for specifying a list of supported SASL mechanisms to return to the client. Additionally added the directive to the FILEFORMAT document.
2013-09-08ftpserver: Reworked CAPA support to allow for specifying the capabilitiesSteve Holme
Renamed SUPPORTCAPA to CAPA and added support for specifying a list of supported capabilities to return to the client. Additionally added the directive to the FILEFORMAT document.
2013-09-08ftpserver.pl: Corrected POP3 LIST as message numbers should be contiguousSteve Holme
The message numbers given in the LIST response are an index into the list, which are only valid for the current session, rather than being a unique message identifier. An index would only be missing from the LIST response if a DELE command had been issued within the same session and had not been committed by the end of session QUIT command. Once committed the POP3 server will regenerate the message numbers in the next session to be contiguous again. As such our LIST response should list message numbers contiguously until we support a DELE command in the same session. Should a POP3 user require the unique message ID for any or all messages then they should use the extended UIDL command. This command will be supported by the test ftpserver in an upcoming commit.
2013-09-08ftpserver.pl: Added support for POP3 NOOP commandSteve Holme
2013-09-08ftpserver.pl: Fixed 'Use of uninitialized value $args in string ne'Steve Holme
2013-09-08ftpserver.pl: Added support for POP STAT commandSteve Holme
2013-09-08ftpserver.pl: Moved POP3 QUIT handler into own functionSteve Holme
2013-09-08ftpserver.pl: Reordered the POP3 handlers to be alphabeticalSteve Holme
In preparation for additional POP3 tests, re-ordered the command function defintions to be sorted alphabetically.
2013-09-08ftpserver.pl: Corrected misaligned indentation in POP3 handlersSteve Holme
Fixed incorrect indentation used in both the RETR_pop3 and LIST_pop3 functions which was 5 and 9 characters rather than 4 and 8.
2013-09-07ftpserver.pl: Added support for POP3 DELE commandSteve Holme
2013-08-31ftpserver.pl: Added support for the IMAP CHECK commandSteve Holme
2013-08-31ftpserver.pl: Corrected flawed logic in commit 1ca6ed7b75cad0Steve Holme
2013-08-31ftpserver.pl: Added argument check to IMAP command handlersSteve Holme
Added BAD argument check to the following IMAP command handlers: APPEND, STORE, LIST, EXAMINE, STATUS and SEARCH
2013-08-31ftpserver.pl: More whitespace correctionsSteve Holme
LIST_imap() had a second level of indentation at 9 characters and not 8.
2013-08-30ftpserver.pl: Small correction tidy upSteve Holme
Corrected some IMAP variable names and whitespace issues.