Hi, I'm sorry to insist on this subject, but I'm still stuck on the
matter of getting autoreplies made by sqwebmail back to work.

Still - I have found out some more on the subject:
It looks like mailbot is not providing sendmail with a valid
sender (-f). This applies both to using the courier-sendmail
(/usr/local/bin/sendmail) as to the legacy built-in sendmail
(/usr/libexec/sendmail/sendmail). In fact, reading the manual,
it looks to me like it never happened before, yet it used
to work...

------ The short version ------

Autoreply-rules created by sqwebmail look like this, for example:

if (($SIZE > 1))
{
     AUTOREPLYFROM=$FROM
    `/usr/local/bin/mailbot -A "X-Sender: $FROM" -A "From:  
$AUTOREPLYFROM" -m "./Maildir/autoresponses/urlaub" $SENDMAIL -t -f ""`
}

this rule produces a "sendmail: Unable to submit message" line
in /var/log/maillog and does not deliver the autoreply.

If I change it manually, and add a $FROM within
the quotes after -f, it works:

if (($SIZE > 1))
{
     AUTOREPLYFROM=$FROM
    `/usr/local/bin/mailbot -A "X-Sender: $FROM" -A "From:  
$AUTOREPLYFROM" -m "./Maildir/autoresponses/urlaub" $SENDMAIL -t -f  
"$FROM"`
}

Do You have any hint on what's going wrong?
Is this an sqwebmail problem, or a mailbot problem, or did I miss  
something that changed?

I only found this in the ChangeLog,

2006-09-17  Mr. Sam  <[EMAIL PROTECTED]>

         * maildrop/main.C (run): -f ""? I really mean it.

How is the sendmail binary supposed to know about the sender?
I'm a bit confused here...

Thank You a lot in advance for help...

Regards,
Lorenzo


------ The long version ------

Autoreplies which are set up with sqwebmail do not work.
Instead, the mail log reports: sendmail: Unable to submit message.

The setup:
FreeBSD 6-STABLE, running courier 0.54 (latest port release)

maildrop is called as set up in /usr/local/etc/courier/courierd:
DEFAULTDELIVERY='| /usr/local/bin/maildrop -V 2  -w 85'

/usr/local/etc/maildroprc

takes up the main processing (such as SA and other stuff),
and then passes it over to the local rules:

...
exception {
       include "$HOME/.mailfilter"
}

The sqwebmail-generated file ($HOME/.mailfilter) looks like this:

#MFMAILDROP=2
#
# DO NOT EDIT THIS FILE.  This is an automatically generated filter.

FROM='[EMAIL PROTECTED]'
import SENDER
if ($SENDER eq "")
{
SENDER=$FROM
}

##Op:islargerthan
##Header:
##Value:1
##Folder:+urlaub dsn=1 days=5
##From:
##PlainString
##Name:urlaubchen


if (($SIZE > 1))
{
     AUTOREPLYFROM=$FROM
    `/usr/local/bin/mailbot -A "X-Sender: $FROM" -A "From:  
$AUTOREPLYFROM" -m "./Maildir/autoresponses/urlaub" $SENDMAIL -t -f ""`
}


to "./Maildir/."



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to