ispCP - Board - Support
Adding disclaimer - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Adding disclaimer (/thread-15616.html)



Adding disclaimer - marky - 12-03-2011 12:50 AM

Does anyone has tried adding disclaimer?

i am using altermime on freebsd with config master.cf below :

#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - - - - smtpd
dfilt unix - n n - - pipe
flags=Rq user=filter argv=/usr/local/etc/postfix/disclaimer -f ${sender} -- ${recipient}

if the postfix reloaded and tries to send email then it will loops and got mailerdaemon :

Dec 2 21:40:29 mail-snc postfix/pipe[6044]: 421921A6CD1: to=<xxxxx>, relay=dfilt, delay=0.63, delays=0.17/0/0/0.46, dsn=2.0.0, status=sent (delivered via dfilt service)
Dec 2 21:40:29 mail-snc sendmail[6281]: pB2EeTV6006281: SYSERR(filter): Too many hops 27 (25 max): from MAILER-DAEMON via localhost, to xxxxxx
Dec 2 21:40:29 mail-snc sendmail[6281]: pB2EeTV6006281: pB2EeTV7006281: DSN: Too many hops 27 (25 max): from MAILER-DAEMON via localhost, to xxxx

can one of you give me the correct example to run this disclaimer. Thank you


RE: Adding disclaimer - ephigenie - 12-04-2011 06:09 AM

(12-03-2011 12:50 AM)marky Wrote:  Does anyone has tried adding disclaimer?

i am using altermime on freebsd with config master.cf below :

#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - - - - smtpd
dfilt unix - n n - - pipe
flags=Rq user=filter argv=/usr/local/etc/postfix/disclaimer -f ${sender} -- ${recipient}

if the postfix reloaded and tries to send email then it will loops and got mailerdaemon :

Dec 2 21:40:29 mail-snc postfix/pipe[6044]: 421921A6CD1: to=<xxxxx>, relay=dfilt, delay=0.63, delays=0.17/0/0/0.46, dsn=2.0.0, status=sent (delivered via dfilt service)
Dec 2 21:40:29 mail-snc sendmail[6281]: pB2EeTV6006281: SYSERR(filter): Too many hops 27 (25 max): from MAILER-DAEMON via localhost, to xxxxxx
Dec 2 21:40:29 mail-snc sendmail[6281]: pB2EeTV6006281: pB2EeTV7006281: DSN: Too many hops 27 (25 max): from MAILER-DAEMON via localhost, to xxxx

can one of you give me the correct example to run this disclaimer. Thank you

I don't know about the disclaimer program. But i found a nice how to, also matching our Debian Style Setup with altermime .... :

http://www.howtoforge.com/add-disclaimers-to-outgoing-emails-with-altermime-postfix-debian-etch