Re: Sendmail greet_pause config
Simon Gao wrote: > The sendmail version is 8.13.4, which I am certain greet_pause is > available. I assume if a certain version of Sendmail installed, then all > the features should be available regardless which version FreeBSD? Is > that correct? See here: http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/sendmail/cf/feature/greet_pause.m4 I judge from that you need at minimum FreeBSD 4.11 in order to have the greet_pause feature in the base sendmail. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Sendmail greet_pause config
Thanks all. My problem is now fixed by using /usr/local/share/sendmail/cf/m4/cf.m4. Sendmail has been upgraded since default install through port. Simon Vince Hoffman wrote: > Simon Gao wrote: >> Hi, >> >> I am trying to enable a new feature, greet_pause, with Sendmail 8.13.x >> on FreeBSD 4.7. >> >> When I try to re-generate sendmail.cf file, I got following error and >> the file generation failed: >> >> # m4 /usr/share/sendmail/cf/m4/cf.m4 sendmail.mc > sendmail.cf >> m4: sendmail.mc at line 53: >> include(/usr/share/sendmail/cf/feature/greet_pause.m4): No such file or >> directory >> >> The new feature greet_pause is available since 8.13.1. Why am I missing >> the file? Or did I do something wrong when creating sendmail.cf? >> >> > According to the release note freebsd 4.7 used 8.12.6 > (http://www.freebsd.org/releases/4.7R/relnotes-i386.html#AEN480) > > If you are using the version from ports you need to use > /usr/local/share/sendmail not /usr/share/sendmail > > > Vince > >> Simon >> >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "[EMAIL PROTECTED]" >> > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail greet_pause config
Simon Gao wrote: If I use portupgrade to update sendmail, can I downgrade sendmail later to the previous version if things do not work out? Sure-- take a backup of the system. Although you can simply build sendmail from the sources directly on FreeBSD just fine, instead, if you're having problems getting ports to work on such an old version of FreeBSD. You might want to build out a 6.2 system instead... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail greet_pause config
If I use portupgrade to update sendmail, can I downgrade sendmail later to the previous version if things do not work out? Simon Chuck Swiger wrote: > Simon Gao wrote: >> I am trying to enable a new feature, greet_pause, with Sendmail 8.13.x >> on FreeBSD 4.7. > > You should update to FreeBSD 4.11 or later, which will give you a > newer sendmail in the base system, which will probably fix the > /etc/mail make magic which builds config files. Otherwise, you might > try installing the sendmail port and have it over-write the base > system's config files under /usr/share/sendmail. > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail greet_pause config
Simon Gao wrote: Hi, I am trying to enable a new feature, greet_pause, with Sendmail 8.13.x on FreeBSD 4.7. When I try to re-generate sendmail.cf file, I got following error and the file generation failed: # m4 /usr/share/sendmail/cf/m4/cf.m4 sendmail.mc > sendmail.cf m4: sendmail.mc at line 53: include(/usr/share/sendmail/cf/feature/greet_pause.m4): No such file or directory The new feature greet_pause is available since 8.13.1. Why am I missing the file? Or did I do something wrong when creating sendmail.cf? According to the release note freebsd 4.7 used 8.12.6 (http://www.freebsd.org/releases/4.7R/relnotes-i386.html#AEN480) If you are using the version from ports you need to use /usr/local/share/sendmail not /usr/share/sendmail Vince Simon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail greet_pause config
Simon Gao wrote: I am trying to enable a new feature, greet_pause, with Sendmail 8.13.x on FreeBSD 4.7. You should update to FreeBSD 4.11 or later, which will give you a newer sendmail in the base system, which will probably fix the /etc/mail make magic which builds config files. Otherwise, you might try installing the sendmail port and have it over-write the base system's config files under /usr/share/sendmail. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail greet_pause config
Matt, Here is the sendmail.mc: == divert(-1) # # Copyright (c) 1983 Eric P. Allman # Copyright (c) 1988, 1993 divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.16 2002/05/22 16: 39:14 gshapiro Exp $') OSTYPE(freebsd4) DOMAIN(generic) FEATURE(access_db, `hash -o -T /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(`greet_pause', `1000') FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') define(`confBIND_OPTS', `WorkAroundBroken') define(`confMAX_MIME_HEADER_LENGTH', `256/128') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') MAILER(local) MAILER(smtp) == The sendmail version is 8.13.4, which I am certain greet_pause is available. I assume if a certain version of Sendmail installed, then all the features should be available regardless which version FreeBSD? Is that correct? Simon Matthew Seaman wrote: > Simon Gao wrote: > >> Hi, >> >> I am trying to enable a new feature, greet_pause, with Sendmail 8.13.x >> on FreeBSD 4.7. >> >> When I try to re-generate sendmail.cf file, I got following error and >> the file generation failed: >> >> # m4 /usr/share/sendmail/cf/m4/cf.m4 sendmail.mc > sendmail.cf >> m4: sendmail.mc at line 53: >> include(/usr/share/sendmail/cf/feature/greet_pause.m4): No such file or >> directory >> >> The new feature greet_pause is available since 8.13.1. Why am I missing >> the file? Or did I do something wrong when creating sendmail.cf? >> > > Well, show us your sendmail.mc file then and we'll probably be able to > help. Otherwise about the only valid conclusion we can come to is "yes, > you did something wrong." > > For reference, if you insert the following into your .mc file you > should get a 5s greeting pause: > > FEATURE(greet_pause, `5000')dnl ## 5 seconds > > Note the quotes around `5000' -- the left hand quote is not like > the right hand one. That's something that often catches out people > unused to the ways of m4(1). > > You should have a /usr/share/sendmail/cf/feature/greet_pause.m4 > file if your version of sendmail supports this feature. It works > for me just using the system sendmail on RELENG_6. I think the > sendmail that comes with 4.7 is too old. You'ld be well advised to > upgrade -- at least to 4.11-RELEASE-p25, but preferably 6.2-RELEASE > due out Real Soon Now. > > Cheers, > > Matthew > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail greet_pause config
Simon Gao wrote: > Hi, > > I am trying to enable a new feature, greet_pause, with Sendmail 8.13.x > on FreeBSD 4.7. > > When I try to re-generate sendmail.cf file, I got following error and > the file generation failed: > > # m4 /usr/share/sendmail/cf/m4/cf.m4 sendmail.mc > sendmail.cf > m4: sendmail.mc at line 53: > include(/usr/share/sendmail/cf/feature/greet_pause.m4): No such file or > directory > > The new feature greet_pause is available since 8.13.1. Why am I missing > the file? Or did I do something wrong when creating sendmail.cf? Well, show us your sendmail.mc file then and we'll probably be able to help. Otherwise about the only valid conclusion we can come to is "yes, you did something wrong." For reference, if you insert the following into your .mc file you should get a 5s greeting pause: FEATURE(greet_pause, `5000')dnl ## 5 seconds Note the quotes around `5000' -- the left hand quote is not like the right hand one. That's something that often catches out people unused to the ways of m4(1). You should have a /usr/share/sendmail/cf/feature/greet_pause.m4 file if your version of sendmail supports this feature. It works for me just using the system sendmail on RELENG_6. I think the sendmail that comes with 4.7 is too old. You'ld be well advised to upgrade -- at least to 4.11-RELEASE-p25, but preferably 6.2-RELEASE due out Real Soon Now. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Sendmail greet_pause config
Hi, I am trying to enable a new feature, greet_pause, with Sendmail 8.13.x on FreeBSD 4.7. When I try to re-generate sendmail.cf file, I got following error and the file generation failed: # m4 /usr/share/sendmail/cf/m4/cf.m4 sendmail.mc > sendmail.cf m4: sendmail.mc at line 53: include(/usr/share/sendmail/cf/feature/greet_pause.m4): No such file or directory The new feature greet_pause is available since 8.13.1. Why am I missing the file? Or did I do something wrong when creating sendmail.cf? Simon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"