[Bug 788780] New: Enabling AMAVIS in YaST -> Network Services - E-mail Service does not work
https://bugzilla.novell.com/show_bug.cgi?id=788780 https://bugzilla.novell.com/show_bug.cgi?id=788780#c0 Summary: Enabling AMAVIS in YaST -> Network Services - E-mail Service does not work Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: f.de.kruijf@gmail.com QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0 After starting the module E-mail Server in YaST in General Settings, after choosing a permanent connection type one can activate AMaViS. After that one would expect that the service amavis will be running, using ClamAV as the virusscanner. Reproducible: Always Steps to Reproduce: 1. Enable AMaViS in the YaST module E-mail Server. 2. Check if amavis is active with "systemctl status amavis.service" Actual Results: amavis is not active nor is clamd.service and freshclam.service Expected Results: amavis.service, clamd.service and freshclam.service should be active. They do get installed if not, however they are not activated. These services first need to be enabled using: systemctl enable freshclam.service systemctl enable clamd.service systemctl enable amavis.service After that they must be started. systemctl start freshclam.service systemctl start clamd.service systemctl start amavis.service Simply trying to start amavis with the last command gives an error message with a hint about getting information using "systemctl status amavis.service" and/or looking at log files. This information is unavailable. The solution is to enable amavis.service, so a better hint is to check if amavis.service has been enabled -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788780 https://bugzilla.novell.com/show_bug.cgi?id=788780#c1 Jiaying ren <jren@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |jren@suse.com InfoProvider| |f.de.kruijf@gmail.com --- Comment #1 from Jiaying ren <jren@suse.com> 2012-11-14 12:06:28 UTC --- Freek,thank you for your report,could you please help to provide y2logs according to the following URL? http://en.opensuse.org/openSUSE:Bugreport_YaST Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788780 https://bugzilla.novell.com/show_bug.cgi?id=788780#c2 Freek de Kruijf <f.de.kruijf@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW AssignedTo|bnc-team-screening@forge.pr |f.de.kruijf@gmail.com |ovo.novell.com | --- Comment #2 from Freek de Kruijf <f.de.kruijf@gmail.com> 2012-11-15 12:50:26 UTC --- Created an attachment (id=513287) --> (http://bugzilla.novell.com/attachment.cgi?id=513287) The requested y2logs.tgz Now I used 12.3 M1 to generate a fresh system after which I tried to configure the mail server as minimal as possible. No incoming, only outgoing to a mail relay with TLS and username/password. Most likely also a # in front of a line with amavis in /etc/postfix/master.cf needs to be removed. Not sure yet. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788780 https://bugzilla.novell.com/show_bug.cgi?id=788780#c3 Freek de Kruijf <f.de.kruijf@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|f.de.kruijf@gmail.com | --- Comment #3 from Freek de Kruijf <f.de.kruijf@gmail.com> 2012-11-16 12:15:10 UTC --- I tested things again and found that there is a huge possibility for misunderstanding. This comes from the fact that the systemv name for amavis is amavis, however the systemd name is amavisd. So in the Description the right commands should have amavisd.service as parameter instead of amavis.service. systemctl commands for both names are accepted of which only the start command with amavis.service gives an error message, which does not give the information to get on the right track. The output of the enable command even suggest that it has been enabled succesfull. Neither the syslog (journalctl --lines=20) nor (systemctl status amavis.service) provides useful information to pinpoint the problem that amavisd.service should have been used. Back to the original problem. The above may be the cause that this YaST module does not start amavis. But it should also start and enable freshclam.service and clamd.service. freshclam may need a parameter set in the config file /etc/freshclam.conf (uncommenting the line for DatabaseMirror and adapting the right name and /etc/clamd.conf. At least /etc/amavisd.conf needs to have the parameter $mydomain set and probably $myhostname. BTW the comment at this last parameter should be "must be a fully-qualified host name", it is not a domain name. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788780 https://bugzilla.novell.com/show_bug.cgi?id=788780#c Freek de Kruijf <f.de.kruijf@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|f.de.kruijf@gmail.com |bnc-team-screening@forge.pr | |ovo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788780 https://bugzilla.novell.com/show_bug.cgi?id=788780#c Freek de Kruijf <f.de.kruijf@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |jren@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788780 https://bugzilla.novell.com/show_bug.cgi?id=788780#c Jiaying ren <jren@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jren@suse.com |yast2-maintainers@suse.de -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788780 https://bugzilla.novell.com/show_bug.cgi?id=788780#c Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |varkoly@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788780 https://bugzilla.novell.com/show_bug.cgi?id=788780#c4 Freek de Kruijf <f.de.kruijf@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|YaST2 |YaST2 Version|Final |RC 1 AssignedTo|varkoly@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com Product|openSUSE 12.2 |openSUSE 12.3 Target Milestone|--- |RC 1 OS/Version|openSUSE 12.2 |SUSE Other --- Comment #4 from Freek de Kruijf <f.de.kruijf@gmail.com> 2013-02-09 16:47:31 UTC --- I tested this again in 12.3 RC1. Now amavis is started OK, however, as stated in my original report, also clamd.service and freshclam.service need to be enabled and started. They are downloaded and installed when checking/choosing AMaViS in the mail module of YaST. The 4 commands to enable and start these services are lacking. After that postfix is working as expected without further configuration. I also noticed that $myhostname and $mydomain in /etc/amavis.conf get the appropriate values. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788780 https://bugzilla.novell.com/show_bug.cgi?id=788780#c5 --- Comment #5 from Freek de Kruijf <f.de.kruijf@gmail.com> 2013-02-09 20:50:23 UTC --- I found another problem in connection with amavis. /etc/amavis.conf refers to a clamd socket named /var/lib/clamav/clamd-socket.sock However /etc/clamd.conf names the socket /var/run/clamav/clamd-socket So one of these configuration files needs a change. I changed /etc/amavis.conf to use /var/run/clamav/clamd-socket and that works. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788780 https://bugzilla.novell.com/show_bug.cgi?id=788780#c6 Freek de Kruijf <f.de.kruijf@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major --- Comment #6 from Freek de Kruijf <f.de.kruijf@gmail.com> 2013-02-16 22:26:36 UTC --- Raised priority so patch in /etc/amavis.conf could be ready for RC2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788780 https://bugzilla.novell.com/show_bug.cgi?id=788780#c Michal Hrusecky <mhrusecky@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mhrusecky@suse.com AssignedTo|bnc-team-screening@forge.pr |varkoly@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=788780 https://bugzilla.novell.com/show_bug.cgi?id=788780#c7 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |wolfgang@rosenauer.org InfoProvider| |freek@opensuse.org --- Comment #7 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2014-01-01 13:20:12 UTC --- clamd socket location was fixed as bug 809580. Is there anything open from this report? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com