Muy completa esta configuración la probare gracias

 

-- 

"El secreto de la sabiduría, el poder y el conocimiento, es la

humildad..." _Ernest Hemingway

 

De: Yoslán Raúl Jiménez Carvajal [mailto:yrjc2...@gmail.com] 
Enviado el: jueves, 16 de mayo de 2019 12:05 p. m.
Para: Lista cubana de soporte técnico en Tecnologias Libres 
<gutl-l@listas.jovenclub.cu>
Asunto: [Gutl-l] Re: firmar correos

 

1. Download and Install alterMIME

# wget http://www.pldaniels.com/altermime/altermime-0.3.10.tar.gz
# tar -xzvf altermime-0.3.10.tar.gz
# cd altermime-0.3.10
# make

# cp altermime /usr/bin/
# chown root.root /usr/bin/altermime
# chmod 755 /usr/bin/altermime

2. Add Non-Privileged Users to run alterMIME

# useradd -c “Postfix Filters” -d /var/spool/filter filter
# mkdir /var/spool/filter
# chown filter.filter /var/spool/filter
# chmod 750 /var/spool/filter

3. Create a script to run alterMIME

#vi /etc/postfix/disclaimer

isi file disclaimer :

#!/bin/sh
# Localize these.
INSPECT_DIR=/var/spool/filter
SENDMAIL=/usr/sbin/sendmail

# Exit codes from <sysexits.h>
EX_TEMPFAIL=75
EX_UNAVAILABLE=69

# Clean up when done or when aborting.
trap “rm -f in.$$” 0 1 2 3 15

# Start processing.
cd $INSPECT_DIR || { echo $INSPECT_DIR does not exist; exit
$EX_TEMPFAIL; }

cat >in.$$ || { echo Cannot save mail to file; exit $EX_TEMPFAIL; }

/usr/bin/altermime –input=in.$$ \
–disclaimer=/etc/postfix/disclaimer.txt \
–disclaimer-html=/etc/postfix/disclaimer.txt \
–xheader=”X-Copyrighted-Material: Please visit 
http://www.company.com/privacy.htm” || \
{ echo Message content rejected; exit $EX_UNAVAILABLE; }

$SENDMAIL “$@” <in.$$

exit $?

# chgrp filter /etc/postfix/disclaimer
# chmod 750 /etc/postfix/disclaimer

4. Create a file Disclaimer

# vi /etc/postfix/disclaimer.txt

This message is confidential. It may also be privileged or otherwise protected 
by work product immunity or other legal rules. If you have received it by 
mistake, please let us know by e-mail reply and delete it from your system; you 
may not copy this message or disclose its contents to anyone. Please send us by 
fax any message containing deadlines as incoming e-mails are not screened for 
response deadlines. The integrity and security of this message cannot be 
guaranteed on the Internet.

5. Edit konfigurasi Postfix

Edit master.cf <http://master.cf>  :

# vi /etc/postfix/master.cf <http://master.cf> 

127.0.0.1:smtp  inet n – y – – smtpd
smtp                        inet n – y – – smtpd
-o content_filter=dfilt:
dfilt unix – n n – – pipe
flags=Rq user=filter argv=/etc/postfix/disclaimer -f ${sender} — ${recipient}

6. Restart Postfix

# postfix reload

7. Done

 

El jue., 16 may. 2019 a las 11:33, Orestes Hernandez Lastre 
(<informat...@cmg.apicuba.co.cu <mailto:informat...@cmg.apicuba.co.cu> >) 
escribió:

Me pueden facilitar cómo hacerlo con altermime, no tengo internet

 

-- 

 

 

De: Mike the Wolf [mailto:mikethewol...@gmail.com 
<mailto:mikethewol...@gmail.com> ] 
Enviado el: jueves, 16 de mayo de 2019 11:03 a. m.
Para: Lista cubana de soporte técnico en Tecnologias Libres 
<gutl-l@listas.jovenclub.cu <mailto:gutl-l@listas.jovenclub.cu> >
Asunto: [Gutl-l] Re: firmar correos

 

Investiga sobre altermime, cre que es lo más indicado.

 

El jue., 16 may. 2019 10:12 a. m., Orestes Hernandez Lastre 
<informat...@cmg.apicuba.co.cu <mailto:informat...@cmg.apicuba.co.cu> > 
escribió:

Hola lista , stoy tratando de configurar disclaimer no tengo por donde guiarme 
alguien me puede facilitar los pasos a seguir para firmar todos los correos 
salientes 

 

Saludos 

 

-- 

 

Orestes Hernández Lastre

Técnico en Ciencias Informáticas

Administrador de Red.

 

"El secreto de la sabiduría, el poder y el conocimiento, es la

humildad..." _Ernest Hemingway

 

_______________________________________________
Gutl-l mailing list -- gutl-l@listas.jovenclub.cu
To unsubscribe send an email to gutl-l-le...@listas.jovenclub.cu 
<mailto:gutl-l-le...@listas.jovenclub.cu> 

_______________________________________________
Gutl-l mailing list -- gutl-l@listas.jovenclub.cu 
<mailto:gutl-l@listas.jovenclub.cu> 
To unsubscribe send an email to gutl-l-le...@listas.jovenclub.cu 
<mailto:gutl-l-le...@listas.jovenclub.cu> 

_______________________________________________
Gutl-l mailing list -- gutl-l@listas.jovenclub.cu
To unsubscribe send an email to gutl-l-le...@listas.jovenclub.cu

Responder a