[Dovecot] Dovecot2 + Sieve
Philipp Strobl
philipp at pilarkto.net
Fri Jan 28 20:10:42 EET 2011
Hi,
thank you for all of your quick response.
diff of the binaries brought nothing, because they are the same.
Both are symlinks to sendmail.postfix
ll /usr/sbin/sendmail
lrwxrwxrwx 1 root root 21 Apr 16 2010 /usr/sbin/sendmail ->
/etc/alternatives/mta
ll /usr/lib/sendmail
lrwxrwxrwx 1 root root 30 Apr 16 2010 /usr/lib/sendmail ->
/etc/alternatives/mta-sendmail
ll /etc/alternatives/mta*
lrwxrwxrwx 1 root root 26 Apr 17 2010 /etc/alternatives/mta ->
/usr/sbin/sendmail.postfix
lrwxrwxrwx 1 root root 40 Apr 17 2010 /etc/alternatives/mta-aliasesman
-> /usr/share/man/man5/aliases.postfix.5.gz
lrwxrwxrwx 1 root root 22 Apr 17 2010 /etc/alternatives/mta-mailq ->
/usr/bin/mailq.postfix
lrwxrwxrwx 1 root root 38 Apr 17 2010 /etc/alternatives/mta-mailqman ->
/usr/share/man/man1/mailq.postfix.1.gz
lrwxrwxrwx 1 root root 27 Apr 17 2010 /etc/alternatives/mta-newaliases
-> /usr/bin/newaliases.postfix
lrwxrwxrwx 1 root root 43 Apr 17 2010
/etc/alternatives/mta-newaliasesman ->
/usr/share/man/man1/newaliases.postfix.1.gz
lrwxrwxrwx 1 root root 23 Apr 17 2010 /etc/alternatives/mta-pam ->
/etc/pam.d/smtp.postfix
lrwxrwxrwx 1 root root 22 Apr 17 2010 /etc/alternatives/mta-rmail ->
/usr/bin/rmail.postfix
lrwxrwxrwx 1 root root 25 Apr 17 2010 /etc/alternatives/mta-sendmail ->
/usr/lib/sendmail.postfix
lrwxrwxrwx 1 root root 41 Apr 17 2010 /etc/alternatives/mta-sendmailman
-> /usr/share/man/man1/sendmail.postfix.1.gz
The sendmail test-message (with parameter -vv) brings:
postdrop: fifo_trigger: open public/pickup: cannot open file: No such
device or address
This error also appear by executing "postqueue -f".
but i can not see where
ll /var/spool/postfix/public/
total 20K
srw-rw-rw- 1 postfix postfix 0 Jan 28 18:49 cleanup
srw-rw-rw- 1 postfix postfix 0 Jan 28 18:49 flush
prw--w--w- 1 postfix postfix 0 Jan 23 17:55 pickup
prw--w--w- 1 postfix postfix 0 Jan 28 19:05 qmgr
srw-rw-rw- 1 postfix postfix 0 Jan 28 18:49 showq
and
ll /var/spool/postfix/
total 140K
drwx------ 2 postfix root 12K Jan 28 19:05 active
drwx------ 2 postfix root 4.0K Jan 28 13:23 bounce
drwx------ 2 postfix root 4.0K Aug 14 2008 corrupt
drwx------ 18 postfix root 4.0K Apr 22 2010 defer
drwx------ 18 postfix root 4.0K Apr 22 2010 deferred
drwx------ 2 postfix root 4.0K Apr 22 2010 flush
drwx------ 2 postfix root 4.0K Aug 14 2008 hold
drwx------ 2 postfix root 12K Jan 28 19:05 incoming
drwx-wx--- 2 postfix postdrop 4.0K Jan 28 19:00 maildrop
drwxr-xr-x 2 root root 4.0K Jan 23 18:03 pid
drwx------ 2 postfix root 4.0K Jan 28 18:49 private
drwx--x--- 2 postfix postdrop 4.0K Jan 28 18:49 public
drwx------ 2 postfix root 4.0K Aug 14 2008 saved
-rw------- 1 root root 8.0K Jan 28 18:51 smtp_scache.db
drwx------ 2 postfix root 4.0K Aug 14 2008 trace
So root has not the ability to access the public-folder.
Is that normal for postfix-2.3.3 ?
Perhaps same users (dovecot, root ...) has to be in the postdrop group,
but what is about the security with that issue ?
Kindly regards and many thanks
Philipp
Am 28.01.2011 11:32, schrieb Ralf Hildebrandt:
> * Holger Mauermann<holger at mauermann.org>:
>
>>> find / -name sendmail Output:
>>>
>>> /etc/webmin/sendmail
>>> /usr/libexec/webmin/blue-theme/sendmail
>>> /usr/libexec/webmin/caldera/sendmail
>>> /usr/libexec/webmin/sendmail
>>> /usr/libexec/webmin/mscstyle3/sendmail
>>> /usr/sbin/sendmail
>>> /usr/lib/sendmail
>> Try
>>
>> echo "Subject: Test" | /usr/sbin/sendmail email at example.com
>>
>> and watch your sendmail log.
> And of course:
> echo "Subject: Test" | /usr/lib/sendmail email at example.com
>
> one of the two will be the right one.
--
Philipp v. Strobl-Albeg
- PILAKRTO NETWORKS -
Mobil +49 151 270 39710
http://www.pilarkto.net
More information about the dovecot
mailing list