Mercurial > masqmail-0.2
view examples/example.get @ 184:b3835b6b834b
Security fix! Correct handling of seteuid() return value
See Debian bug #638002, reported by John Lightsey.
When possible the (already available) set_euidgid() function is used.
Additionally, it is unnecessary to change the identity when writing
into an already open file descriptor.
This should fix the problem.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Sat, 27 Aug 2011 18:00:40 +0200 |
parents | 08114f7dcc23 |
children |
line wrap: on
line source
# example 'mail get' configuration # # the protocol, only 'pop3' or 'apop' are supported. apop is # recommended if the server supports it (password encryption). # Unfortunately most do not. protocol=apop # the server: server = pop.example.org # the account name: user=okurth # and the password: pass="keepInMind" # if you just use this for SMTP after POP, you do not need the settings below: # the (local) address, where the retrieved mail should be sent to: address=okurth@localhost # should we keep the mail on server? do_keep=false # if we do keep the mail, you should really set this to true, # otherwise you will get it again next time you fetch mail. # masqmail completely ignores any headers (which may mark a mail as read). do_uidl=false # optionally, you can set the maximum size of a mail. Setting it to 0 # means get all, disregarding size. max_size=50000