[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Web Based email and raq 2's




are you able to detail the changes you had to make to sendmail.cf and the
cgi's to get atdot working ?


Ok,

ISP mode just works out of the box (or tar.gz) which is all I needed. "Hotmail" mode is a little harder but I just wanted to see if I could get it going. Please don't do this on a machine that is mission critical unless you KNOW what you are doing.


You need to change in checkmail.pl:

if (($folder) && ($folder ne 'POP') && ($feature_folders == 1)) {
 if ($feature_pop == 0)

to:
if (($folder) && ($folder ne 'POP') && ($feature_folders == 1)) {
 if ($feature_pop == 1)


For sendmail.cf:

move personalized atdot.m4 to /usr/lib/sendmail-cf/mailer/

edit redhat.mc in /usr/lib/sendmail-cf/

find:

# mailers
divert(0)

add this underneath:
MAILER(atdot)

while in /usr/lib/sendmail-cf/ do:

m4 redhat.mc > file.cf


edit file.cf:

allmost all the way at the bottom of the file you will find:

# figure out what should stay in our local mail system

add this underneath:
R$* < $+ @ $* host.yourname.com $* > $*     $#atdot $:$2
R$+ $* @ $* host.yourname.com $*    $#atdot $:$1


copy file.cf to /etc/sendmail.cf


restart sendmail.


I think that was all I needed to do. Again, if you don't know what you're doing DO NOT do this. I provide no warranty and have only been running it for a day.


Have fun,


Howard Sacks
webmaster@xxxxxxxxxxxx