Clemens Hermann <[EMAIL PROTECTED]> wrote:
>So now what do I want to do: Is there a way to fetch mail only for a
>user when he/she contacts te local mailproxy via pop3?
A hack like the way AutoTURN is implemented should do the trick. From
serialmail-0.75/AUTOTURN:
]3. Replace
]
] /var/qmail/bin/qmail-smtpd
]
] with
]
] sh -c '
] /var/qmail/bin/qmail-smtpd
] cd /var/qmail/autoturn
] exec setlock -nx $TCPREMOTEIP/seriallock \
] maildirsmtp $TCPREMOTEIP autoturn-$TCPREMOTEIP- $TCPREMOTEIP AutoTURN
] '
]
] in the tcpserver invocation in your boot scripts.
You'd do something like this for your qmail-pop3d
startup. Unfortunately, at this point you only know the user's IP
address, not their username. If you have dynamic IP addresses, you'll
have to plus fetchmail in at a later point, e.g., with a wrapper
around qmail-pop3d.
If this is all over your head, you might want to consider hiring
someone to set this up for you. The details are beyond the scope of
this list.
-Dave