summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.c
AgeCommit message (Expand)Author
2009-04-03The smtp auth PLAIN specification is weird. It's valid (apparently forOwain Ainsworth
2009-03-29turn some log_debugs into log_warns or even fatals; "looks ok" gilles@Jacek Masiulaniec
2009-03-22fix a bug in the resolution of forward files which would cause usernamesGilles Chehade
2009-03-10when calling external mda, use restricted environment; ok gilles@Jacek Masiulaniec
2009-03-10run external mda with cwd set to $HOME or /; ok gilles@Jacek Masiulaniec
2009-03-10kill few lines, saving one seteuid(2) call; ok gilles@Jacek Masiulaniec
2009-03-10- Use setsid(2) to create new process group for external mda.Jacek Masiulaniec
2009-03-10it's simpler to use pipe(2) than socketpair(2) to communicate withJacek Masiulaniec
2009-03-10fork(2) or socketpair(2) failures are temporary, delivery attempt should beJacek Masiulaniec
2009-03-09run external mda directly, not via sh -c; this steals addargs() APIJacek Masiulaniec
2009-03-08~/.forward files handling was fixed recently so that it is the privilegedGilles Chehade
2009-03-04plug a memory leak, remove lka session from the the lka session tree whenGilles Chehade
2009-03-03Fix a long standing issue where ~/.forward files were opened by user _smtpdGilles Chehade
2009-03-03fix mbox locking by having it done by mail.local(8) which in turns usesGilles Chehade
2009-03-01- Refuse delivery to mbox that is a symlink, pipe, chardev, etc. etc.Jacek Masiulaniec
2009-03-01open mbox with O_EXLOCK (better than open+flock), and without O_SYNC,Jacek Masiulaniec
2009-03-01fix possible NULL dereference when getpwnam fails; ok gilles@Jacek Masiulaniec
2009-03-01make the condition under which delivery is made by SMTPD_USER moreJacek Masiulaniec
2009-03-01simplify *_open functions by passing them char * instead of structJacek Masiulaniec
2009-02-25remove chown's called when running with user privs, ie. basically noops;Jacek Masiulaniec
2009-02-23add missing headers needed by time()Charles Longeau
2009-02-22replace MAX* constants by sizeof where possibleOleg Safiullin
2009-02-15New config.c that allows for process cloning. Done by pyr@ forJacek Masiulaniec
2009-01-30bump descriptors limit to the max and set the maximum connections count toGilles Chehade
2009-01-30fix debug messageOleg Safiullin
2009-01-29Implement "smtpctl show stats"; ok gilles@Jacek Masiulaniec
2009-01-28when pausing listeners, do not simply disable their events as newGilles Chehade
2009-01-27temporarily drop privileges to the final user before each delivery attempt,Gilles Chehade
2009-01-21temporary quick fix to an issue that needs more thinking; ok gilles@Jacek Masiulaniec
2009-01-10- remove a comment that was no longer relevantGilles Chehade
2009-01-08ensure getpwnam is always followed by endpwent; ok gilles@ henning@Jacek Masiulaniec
2009-01-01remove unnecessary includes; ok gilles@Jacek Masiulaniec
2008-12-27Merge hash() and queue_message_hash() into one func, queue_hash(). Fix callersJacek Masiulaniec
2008-12-22Remove entry from mdaproctree after reaping mda child; ok gilles@Jacek Masiulaniec
2008-12-21- AUTH PLAIN may receive credentials as a parameter to AUTH or on aGilles Chehade
2008-12-19- fatal() if flock() has failed for any reason that's not EWOULDBLOCK, thisGilles Chehade
2008-12-19- smtpd handled mbox locking failures as "regular" temporary failures whichGilles Chehade
2008-12-17Introduce /purge, where all msgs scheduled for deletion are put byJacek Masiulaniec
2008-12-11- snprintf -> bsnprintfGilles Chehade
2008-12-05- last part of the new queue code: the runner process (unprivileged andGilles Chehade
2008-12-03- fix event masking issues in smtp process which could lead to a fatal() ifGilles Chehade
2008-11-22- do not set nochdir in daemon() call, we want parent and lka to have theirGilles Chehade
2008-11-17- replace uses of O_EXLOCK and O_EXLOCK|O_NONBLOCK with the correspondingGilles Chehade
2008-11-17- exit() -> _exit()Gilles Chehade
2008-11-11- temporarily comment chl@'s O_EXLOCK -> fcntl() change until we understandGilles Chehade
2008-11-11remove the use of O_EXLOCK, when open()ing a file, and use flock() instead.Charles Longeau
2008-11-10spaces fixed while reading codeTheo de Raadt
2008-11-10- simplify the passing of ssl cert/key during ssl configuration,Gilles Chehade
2008-11-10- snprintf() can return -1, make sure every call is checked properlyGilles Chehade
2008-11-05add a few missing id tags; there are a bunch of files, and developersIgor Sobrado