Re: milter wants erase sendmail

2012-06-16 Thread Andrey S. Rybak

_

Have you added this to /etc/make.cnf?

WITH_SENDMAIL_PORT= yes

Yes, I have


   So if you go into
/usr/ports/mail/sendmail and:

# make config

You will be able to enable tls and sasl2 (amongst a whole bunch of other
stuff) giving you the correct functionality.

No, this is not give me possibility to enable tls or sasl2:


[root@myComp /usr/ports/mail/sendmail]# make config
===  No options to configure
[root@myComp /usr/ports/mail/sendmail]# make rmconfig
===  No user-specified options configured for sendmail-8.14.5


I have latest version of ports...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


milter wants erase sendmail

2012-06-15 Thread Andrey S. Rybak

hello!
i use bundle sendmail and milter greylist on my e-mail freebsd server.
every time I want upgrade milter-greylist it wants install sendmail 
port. But I use sendmail+tls+sasl2 port.
There is conflict. I should deinstall sendmail+tls+sasl, install 
milter-greylist, deinstall sendmail and then install sendmail+tls+sasl2. 
Every time doing so I think something going not elegant. Is there more 
simple path to upgrade milter-greylist?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: milter wants erase sendmail

2012-06-15 Thread Volodymyr Kostyrko

Andrey S. Rybak wrote:

hello!
i use bundle sendmail and milter greylist on my e-mail freebsd server.
every time I want upgrade milter-greylist it wants install sendmail
port. But I use sendmail+tls+sasl2 port.
There is conflict. I should deinstall sendmail+tls+sasl, install
milter-greylist, deinstall sendmail and then install sendmail+tls+sasl2.
Every time doing so I think something going not elegant. Is there more
simple path to upgrade milter-greylist?


IMHO creating multiple ports is horrible way for managing different 
configurations...


You can build mail/sendmail with SENDMAIL_WITH_TLS and 
SENDMAIL_WITH_SASL2. This way you will get exactly the same package 
originating from mail/sendmail.


You can simply alter package +CONTENTS to originate it from mail/sendmail.

--
Sphinx of black quartz judge my vow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: milter wants erase sendmail

2012-06-15 Thread Matthew Seaman
On 15/06/2012 13:17, Andrey S. Rybak wrote:
 i use bundle sendmail and milter greylist on my e-mail freebsd server.
 every time I want upgrade milter-greylist it wants install sendmail
 port. But I use sendmail+tls+sasl2 port.
 There is conflict. I should deinstall sendmail+tls+sasl, install
 milter-greylist, deinstall sendmail and then install sendmail+tls+sasl2.
 Every time doing so I think something going not elegant. Is there more
 simple path to upgrade milter-greylist?

Have you added this to /etc/make.cnf?

WITH_SENDMAIL_PORT= yes

That makes milter-greylist depend on the sendmail port, rather than the
base version of sendmail:

% cd /usr/ports/mail/milter-greylist
% make -V BUILD_DEPENDS
/usr/local/lib/libmilter.so.4:/usr/ports/mail/sendmail

The mail/sendmail port is odd in that it changes package name depending
on what configuration options you select.  So if you go into
/usr/ports/mail/sendmail and:

# make config

You will be able to enable tls and sasl2 (amongst a whole bunch of other
stuff) giving you the correct functionality.

This should not result in the ports trying to reinstall sendmail
constantly, but it may confuse some tools that rely on the data in
/usr/ports/INDEX-N.  If that's a problem for you, then you will need
to build your own INDEX.  But it probably isn't.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey





signature.asc
Description: OpenPGP digital signature