Obsolete Releases > SME 8.x Contribs

Maillog Error: maildrop[4756]: Cannot determine my username.

<< < (3/6) > >>

Zen:
i verified my other (not updated) server, and my qmail file is different.

--- Code: ---#------------------------------------------------------------
#              !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://www.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------


| condredirect alberto-junkmail headermatch 'X-Spam-Status: Yes'
# Forward not set
./Maildir/



--- End code ---
removed this line

--- Code: ---| /usr/bin/maildrop ; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;
--- End code ---
again seem it works...

(i know isn't the right way to precede, because is "a tentoni" but...now my priority is to solve this problem :( )

DanB35:
You may have a custom template fragment doing bad things.  Try this:

# ls -alhF /etc/e-smith/templates-user-custom/.qmail

If anything is in there, what are the contents of those files?

I'm not sure I agree about maildrop not being part of the standard distro--the RPM is part of the ISO.  Don't know if it's installed by default, though it is installed in my SME 8.1 VM, and I don't recall customizing it at all.

Zen:

--- Code: ---[root@server ~]# ls -alhF /etc/e-smith/templates-user-custom/.qmail     
ls: /etc/e-smith/templates-user-custom/.qmail: No such file or directory
[root@server ~]#

--- End code ---

DanB35:
OK, how about this:

# grep maildrop /etc/e-smith/templates-user/.qmail/*

Zen:

--- Code: ---[root@server users]# grep maildrop /etc/e-smith/templates-user/.qmail/*
/etc/e-smith/templates-user/.qmail/50Filter:      return '| /usr/bin/maildrop ; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;'
/etc/e-smith/templates-user/.qmail/50Filter:        if ($qmail{FilterType} eq 'maildrop' );
/etc/e-smith/templates-user/.qmail/76Filter:      return '| /usr/bin/maildrop ; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;'
/etc/e-smith/templates-user/.qmail/76Filter:        if ($qmail{FilterType} eq 'maildrop' );
[root@server users]#

--- End code ---

uhm...that line
--- Code: ---| /usr/bin/maildrop ; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;
--- End code ---
is the same that is in "/home/e-smith/files/users/alberto/.qmail" that i don't have in my other clean server.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version