i was playing around a lot with amavis, sendmail and cyrus.
i'm doing delivery the old style, and i use the perl version of amavis (no
scanmail program). i'm using it now for more than one month without
problems.
my mailer definition is as follows:
Mcyrus, P=/usr/sbin/amavis, F=lsDFMnPqAh5@/:|, S=EnvFromL,
R=EnvToL/HdrToL, U=cyrus:mail, T=DNS/RFC822/X-Unix,
A=amavis $f $u /usr/cyrus/bin/deliver -e -m $h -- $u
Mcyrusbb, P=/usr/sbin/amavis, F=lsDFMnPu, S=EnvFromL,
R=EnvToL/HdrToL,
U=cyrus:mail, T=DNS/RFC822/X-Unix,
A=amavis $f $u /usr/cyrus/bin/deliver -e -m $u
i'm not quite sure about the status of deliver in cyrus version 2.x. i have
read, that the dliver program is only a wrapper for lmtp transport in the
new version, so i don't know if the mail is dlivered per lmtp to the
mailboxes. (how could i test it?) in the imapd.log i always got the notice,
lmtpd[process-id]: accepted connection
lmtpd[process-id]: lmtp connection preauth'd as postman
master[master-process-id]: process 'process-id' exited, status 0
so i think it is delivered per lmtp, or?
i have tried to use explicity the lmtp mode with deliver, with the
following mailer definition:
Mcyrus, P=/usr/sbin/amavis, F=lsDFMnPqSmXz/:|, S=EnvFromL,
R=EnvToL/HdrToL, U=cyrus:mail, T=DNS/RFC822/X-Unix,
A=amavis $f $u /usr/cyrus/bin/deliver -l -e
Mcyrusbb, P=/usr/sbin/amavis, F=lsDFMnPSmXz, S=EnvFromL,
R=EnvToL/HdrToL,
U=cyrus:mail, T=DNS/RFC822/X-Unix,
A=amavis $f $u /usr/cyrus/bin/deliver -l -e
but with this definition, the mail was not delivered. when i used instead
following:
Mcyrus, P=/usr/cyrus/bin/deliver, F=lsDFMnPqSmXz/:|, S=EnvFromL,
R=EnvToL/HdrToL, U=cyrus:mail, T=DNS/RFC822/X-Unix,
A=/usr/cyrus/bin/deliver -l -e
Mcyrusbb, P=/usr/cyrus/bin/deliver, F=lsDFMnPSmXz, S=EnvFromL,
R=EnvToL/HdrToL,
U=cyrus:mail, T=DNS/RFC822/X-Unix,
A=/usr/cyrus/bin/deliver -l -e
mail is/was delivered without problems per lmtp.
normally i'm a software developer, so i don't know, if it was a sendmail
configuration error, since i'm not a sendmail.cf hacker, or maybe a rights
error. i tested it with the cyrus-version 2.0.7. now i'm using 2.0.11, but
haven't tested it again.
so i'm using the first mailer definition. i read, that only the
sieve-vacation script will not work, when i don't use lmtp, but i haven't
tested it, because other sieve-filtering works okay. when the vacation
script works with the first mailer definition, then it should also use
lmtp. maybe i will test it, when i have time.
if you get amavis, sendmail and cyrus with virus-scanning and lmtp to work,
i would be happy, if you could inform me.
hope this helps.
manfred
--On Montag, 19. Februar 2001 12:22 +0200 Oguz YILMAZ
<[EMAIL PROTECTED]> wrote:
> I was using amavis with procmail before. now we have cyrus imap 2.0.11.
> sendmail calls amavis as mailer "cyrus".
> in sendmail:
>
> Mcyrus, P=[IPC], F=lsDFMnqA@/:|SmXz, E=\r\n,
> S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix,
> A=FILE /var/imap/socket/lmtp
>
>
> Mcyrusbb, P=[IPC], F=lsDFMnPu, E=\r\n,
> S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix,
> A=FILE /var/imap/socket/lmtp
>
> I have changed the line
> deliver=/usr/bin/procmail
> in scanmails with
> deliver=/usr/cyrus/bin/deliver
> .
> but scanmails didnt deliver to "deliver"
>
> what should be the problem? may I have your scanmails and sendmail.cf
>
> thanks,
>
> Oguz Yilmaz
> System Support Engineer
> Gantek Technology
>
>
>
> Manfred Gschweidl wrote:
>
>> i'm using sendmail (8.11.1) with amavis (perl-10) and cyrus (2.0.11). the
>> cyrus-mailer calls amavis, which then calls deliver.
>>
>> when you wanna you use amavis, check out the web page for it.
>> (www.amavis.org)
>> there you can find some documentation for using it in different
>> mail-system configurations.
>>
>> some people compalined about performance problems with using amavis in
>> enviroments with thousands of users, but i'm not sure if this is caused
>> by misconfiguration.
>>
>> i have only 10 clients, and no performance problems.
>>
>> manfred
>>
>> --On Donnerstag, 15. Februar 2001 09:11 -0800 Allan Rafuse
>> <[EMAIL PROTECTED]> wrote:
>>
>> > I've been using it to keep my systems clean and it hasn't cause me
>> > a problem. I'm currently evaluating IMAP 2.0.11 so that I can upgrade
>> > for 1.6.24. Any ideas what would be the best way to hook in
>> > the virus scanner. Would it be best to call from Exim before
>> > it calls deliver, or should I spawn it from Cyrus?
>> >
>> > -Allan
>> >
>> >
>> > On Thu, 15 Feb 2001 11:45:51 +0100, Manfred Gschweidl wrote:
>> >
>> >>
>> >> hello!
>> >>
>> >> you can also use amavis for scanning emails.
>> >>
>> >> manfred
>> >>
>> >>
>> >> --On Mittwoch, 14. Februar 2001 22:15 -0600 Avi Schwartz
>> >> <[EMAIL PROTECTED]> wrote:
>> >>
>> >>> On a Linux installation I am using Antivir/avmailgate made by H+BEDV
>> >>> (http://www.hbedv.com/) in Germany. It is free for personal use.
>> >>>
>> >>> Avi
>> >>>
>> >>> --On Wednesday, February 14, 2001 06:56:26 PM -0600 Paul Wiechman
>> >>> <[EMAIL PROTECTED]> wrote:
>> >>>
>> >>>> I think that the list could benefit from it. Thanks in advance.
>> >>>>
>> >>>> Paul Wiechman
>> >>>>
>> >>>> Eugene Vasilchenko wrote:
>> >>>>>
>> >>>>> Hello all!
>> >>>>>
>> >>>>> Anyone wants working AV solution for use with Cyrus IMAPD and
>> >>>>> sendmail? I am using it for few months - it works fine. It based
>> >>>>> AVP for BSD/FreeBSD software by Kaspersky Lab.
>> >>>>> http://www.kaspersky.com If it's intresting to someone, I'll send
>> >>>>> step-by-step install instructions, to the list or personally.
>> >>>>>
>> >>>>> Best regards,
>> >>>>> Eugene Vasilchenko,
>> >>>>
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> Avi Schwartz Get a Life,
>> >>> [EMAIL PROTECTED] Get Linux!
>> >>>
>> >>>
>> >>
>> >>
>> >>
>> >
>> >
>> > <- Allan Rafuse ->
>> > Systems Administrator
>> > Freeview Publishing Inc.
>> > email: [EMAIL PROTECTED]
>> > web: http://www.freeview.com
>> >
>> >
>> >
>> >