Aici veti gasi detalii tehnice despre cum se pot realiza configurari software+ hardware.
Here you can find tehnical details about software/hardware configuration.

sâmbătă, 4 ianuarie 2025

Procmailrc altered from maildir to mailbox

 Hi

 

I use Virtualmin with Postfix and Procmail to make email management.

In initial state mail is delivered in in /home/$domain/homes/$user .

I make a server upgrade to install new versions of software and improuve network security.

After upgrade all mails goes in /var/mail/$user.

What is the cause.....


In initial state i have:


cat /usr/local/etc/procmailrc

DROPPRIVS=yes
#/usr/local/etc/procmailrc:
LOGFILE=/var/log/procmail.log
TRAP=/usr/local/etc/webmin/virtual-server/procmail-logger.pl
:0wi
VIRTUALMIN=|/usr/local/etc/webmin/virtual-server/lookup-domain.pl --exitcode 73 $LOGNAME
EXITCODE=$?
:0
* ?/bin/test "$EXITCODE" = "73"
/dev/null
EXITCODE=0
:0
* ?/bin/test "$VIRTUALMIN" != ""
{
INCLUDERC=/usr/local/etc/webmin/virtual-server/procmail/$VIRTUALMIN
}
DEFAULT=$HOME/Maildir/
ORGMAIL=$HOME/Maildir/


DROPPRIVS=yes

==========================================================

After upgrade, the upgrade scripts change me following settings in procmailrc

#DEFAULT=/var/mail/$LOGNAME
#ORGMAIL=/var/mail/$LOGNAME

From this cause all mail were deliovered in /var/mail/ folder.






Map


Visitor Map