On Wednesday, May 13, 2015 05:47:07 PM bortolotti wrote: > Hi Matthias, > here it is our output: > > ------------------------------------------------------------------------------------------------ > sendmail -v bortolo...@bo.infn.it < /tmp/ciao > bortolo...@bo.infn.it... Connecting to [127.0.0.1] via relay... > 220 bo.infn.it ESMTP server; Wed, 13 May 2015 17:19:49 +0200 > > >>> EHLO postman.bo.infn.it > > 250-postman.bo.infn.it Hello localhost [127.0.0.1], pleased to meet you > 250-ENHANCEDSTATUSCODES > 250-PIPELINING > 250-8BITMIME > 250-SIZE 100000000 > 250-DSN > 250-ETRN > 250-AUTH GSSAPI > 250-STARTTLS > 250-DELIVERBY > 250 HELP > > >>> STARTTLS > > 220 2.0.0 Ready to start TLS > > >>> EHLO postman.bo.infn.it > > 250-postman.bo.infn.it Hello localhost [127.0.0.1], pleased to meet you > 250-ENHANCEDSTATUSCODES > 250-PIPELINING > 250-8BITMIME > 250-SIZE 100000000 > 250-DSN > 250-ETRN > 250-AUTH GSSAPI PLAIN LOGIN > 250-DELIVERBY > 250 HELP > > >>> MAIL From:<r...@postman.bo.infn.it> SIZE=5 AUTH=r...@postman.bo.infn.it > > 250 2.1.0 <r...@postman.bo.infn.it>... Sender ok > > >>> RCPT To:<bortolo...@bo.infn.it> > >>> DATA > > 250 2.1.5 <bortolo...@bo.infn.it>... Recipient ok > 354 Enter mail, end with "." on a line by itself > > >>> . > > 250 2.0.0 t4DFJnkZ006299 Message accepted for delivery > bortolo...@bo.infn.it... Sent (t4DFJnkZ006299 Message accepted for delivery) > Closing connection to [127.0.0.1] > > >>> QUIT > > 221 2.0.0 postman.bo.infn.it closing connection > ---------------------------------------------------------------------------- > > When a I use amavisd-release command the output is: > > amavisd-release virus-m0fUPazhnpfA > 451 4.5.0 Failed to submit a message: exit 78, id=rel-k47A8FCsKcSV > > And maillog file: > May 13 17:21:58 postman amavis[6279]: (rel-0frn5zAtV38Y) Quarantined > message release (miscategorized): m0fUPazhnpfA > <antonella.mondu...@bo.infn.it> -> <mondu...@bo.infn.it> > May 13 17:21:59 postman sendmail[6309]: NOQUEUE: SYSERR(amavis): can not > chdir(/var/spool/clientmqueue/): Permission denied > > > ----------------------------------------------------------------------------- > > Our submit.mc is standard, we modified only sendmail.mc > > dnl # amavis milter definitions 9-3-2015 > INPUT_MAIL_FILTER(`amavis-milter', > `S=local:/var/run/amavisd/amavisd-milter.sock, F=T, T=S:10m;R:10m;E:10m') > > ----------------------------------------------------------------------------- > > In our amavisd.conf setup we define these rules: > $unix_socketname = "$MYHOME/amavisd.sock";
Are you sure it's taking this? I just discovered a probable bug on my box. I have in amavis.conf : $MYHOME = '/var/run/amavis'; $unix_socketname = "$MYHOME/amavisd.sock"; and in /usr/sbin/amavisd-release $socketname = '/var/lib/amavis/amavisd.sock'; changing this line to $socketname = '/var/run/amavis/amavisd.sock'; makes it work. unix_socketname vs. socketname ? > $notify_method = 'pipe:flags=q argv=/usr/sbin/sendmail -Ac -i -odd -f > ${sender} -- ${recipient}'; > > but don't receive notifications. > > ------------------------------------------------------------------------------ > > Where is the mistake? > > Thank a lot. > > Best Regards > Daniela > > On 05/12/2015 10:31 AM, Matthias Weigel wrote: > > Hi Daniela, > > > > does using sendmail on command line work? > > e.g. > > sendmail -v someb...@example.com < /tmp/sometext > > > > What does your /etc/mail/submit.mc and your /etc/mail/sendmail.mc look like? > > > > Best Regards > > > > Matthias > > > > Am 12.05.2015 um 10:18 schrieb bortolotti: > >> Hi Fabian, > >> our permission of "/var/spool/clientmqueue" > >> is good and SELINUX is already DISABLE. > >> What else can I investigate? > >> > >> Thanks a lot. > >> Daniela Bortolotti -- Best regards Thomas Spuhler All of my e-mails have a valid digital signature ID 60114E63
signature.asc
Description: This is a digitally signed message part.