Email not sending / receiving
Joel Vande Berg
jdv at universal5.com
Fri Aug 12 03:34:05 CEST 2016
Made some progress, but still not starting. Changed $myhostname
# $myhostname = 'pontiac.centralsw.com'; # must be a fully-qualified domain name!
systemctl restart amavisd fails. Updated journalctl -xe returns
Aug 12 01:31:39 pontiac amavis[4894]: logging initialized, log level 9, syslog: amavis.mail
Aug 12 01:31:39 pontiac amavisd[4894]: The value of variable $myhostname is "pontiac", but should have been
Aug 12 01:31:39 pontiac amavisd[4894]: a fully qualified domain name; perhaps uname(3) did not provide such.
Aug 12 01:31:39 pontiac amavisd[4894]: You must explicitly assign a FQDN of this host to variable $myhostname
Aug 12 01:31:39 pontiac amavisd[4894]: in amavisd.conf, or fix what uname(3) provides as a host's network name!
Aug 12 01:31:39 pontiac systemd[1]: amavisd.service: control process exited, code=exited status=255
Aug 12 01:31:39 pontiac systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers..
-- Subject: Unit amavisd.service has failed
-----Original Message-----
From: me at chrisfleming.org [mailto:me at chrisfleming.org]
Sent: Thursday, August 11, 2016 7:33 PM
To: Joel Vande Berg <jdv at universal5.com>
Cc: users at lists.kolab.org
Subject: Re: Email not sending / receiving
On 11/08/16 at 11:27P, Joel Vande Berg wrote:
> The output is quite large. I'll try some excerpts, but let me know if you need the whole thing.
Sorry - I should have been more specific - you only need to check the amavisd part.
which says:
> -- Unit amavisd.service has begun starting up.
> Aug 11 20:46:54 pontiac amavis[5680]: logging initialized, log level
> 9, syslog: amavis.mail Aug 11 20:46:54 pontiac amavisd[5680]: The
> value of variable $myhostname is "pontiac", but should have been Aug 11 20:46:54 pontiac amavisd[5680]: a fully qualified domain name; perhaps uname(3) did not provide such.
> Aug 11 20:46:54 pontiac amavisd[5680]: You must explicitly assign a
> FQDN of this host to variable $myhostname Aug 11 20:46:54 pontiac amavisd[5680]: in amavisd.conf, or fix what uname(3) provides as a host's network name!
So I think that setting $myhostname in amavisd.conf to a fully qualified domain name should resolve this.
Cheers
Chris
> -----Original Message-----
> From: me at chrisfleming.org [mailto:me at chrisfleming.org]
> Sent: Thursday, August 11, 2016 5:10 PM
> To: Joel Vande Berg <jdv at universal5.com>
> Cc: users at lists.kolab.org
> Subject: Re: Email not sending / receiving
>
> On 11/08/16 at 08:51pm, Joel Vande Berg wrote:
> > Chris,
> >
> > Thanks for the continued help with this.
>
> No problem - not quite enough information in the status command to
> tell us why it didn't start :(
>
> Can you see if
>
> journalctl -xe
>
> Tells us why it's failing to start.
>
> Cheers
> Chris
>
>
>
>
> >
> > The restart failed -
> >
> > [root at pontiac ~]# systemctl restart amavisd Job for amavisd.service
> > failed because the control process exited with error code. See "systemctl status amavisd.service" and "journalctl -xe" for details.
> > [root at pontiac ~]# systemctl status amavisd ● amavisd.service -
> > Amavisd-new is an interface between MTA and content checkers.
> > Loaded: loaded (/usr/lib/systemd/system/amavisd.service; enabled; vendor preset: disabled)
> > Active: failed (Result: start-limit) since Thu 2016-08-11 20:46:57 UTC; 34s ago
> > Docs: http://www.ijs.si/software/amavisd/#doc
> > Process: 5697 ExecStart=/usr/sbin/amavisd -c
> > /etc/amavisd/amavisd.conf (code=exited, status=255)
> >
> > Aug 11 20:46:57 pontiac systemd[1]: amavisd.service: control process
> > exited, code=exited status=255 Aug 11 20:46:57 pontiac systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers..
> > Aug 11 20:46:57 pontiac systemd[1]: Unit amavisd.service entered failed state.
> > Aug 11 20:46:57 pontiac systemd[1]: amavisd.service failed.
> > Aug 11 20:46:57 pontiac systemd[1]: amavisd.service holdoff time over, scheduling restart.
> > Aug 11 20:46:57 pontiac systemd[1]: start request repeated too
> > quickly for amavisd.service Aug 11 20:46:57 pontiac systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers..
> > Aug 11 20:46:57 pontiac systemd[1]: Unit amavisd.service entered failed state.
> > Aug 11 20:46:57 pontiac systemd[1]: amavisd.service failed.
> >
> > -----Original Message-----
> > From: me at chrisfleming.org [mailto:me at chrisfleming.org]
> > Sent: Thursday, August 11, 2016 4:42 PM
> > To: Joel Vande Berg <jdv at universal5.com>
> > Cc: users at lists.kolab.org
> > Subject: Re: Email not sending / receiving
> >
> > On 11/08/16 at 06:27pm, Joel Vande Berg wrote:
> > > It looks like amavisd is not accepting connections
> > >
> > > Aug 11 18:23:26 pontiac postfix/smtp[4781]: connect to
> > > 127.0.0.1[127.0.0.1]:10024: Connection refused
> >
> > Have you tried restarting amavisd:
> >
> > systemctl restart amavisd
> >
> >
> > You can then check the status using:
> >
> > systemctl status amavisd
> >
> >
> > also check the maillog again.
> >
> > Cheers
> > Chris
> >
> >
> > > -----Original Message-----
> > > From: me at chrisfleming.org [mailto:me at chrisfleming.org]
> > > Sent: Monday, August 8, 2016 6:01 AM
> > > To: Joel Vande Berg <jdv at universal5.com>
> > > Cc: users at lists.kolab.org
> > > Subject: Re: Email not sending / receiving
> > >
> > > On 06/08/16 at 04:51pm, Joel Vande Berg wrote:
> > > > I’m looking for some help troubleshooting my new installation.
> > > > I have Kolab installed on Centos7 on a Linode VM. I used the install guide at
> > > > www.howtoforge.com. Everything worked correctly, the install went very
> > > > smooth. I was able to access the webadmin page and set-up users
> > > > without a problem. I am also able to access the roundcubemail
> > > > login and can login and compose mail.
> > > >
> > > > My primary issue at this point is that messages are not sending/receiving.
> > > > I’ve reviewed my DNS records with GoDaddy and they confirmed
> > > > they look ok. I had previously installed citadel and was able
> > > > to send and receive messages as well.
> > >
> > > The go to place, to start troubleshooting is to check
> > > /var/log/maillog
> > >
> > > You should see the connections for incoming mails logged and if it's rejected there should be some kind of indication why.
> > >
> > > The same applies for outgoing messages.
> > >
> > > Cheers
> > > Chris
> > >
> > >
> > >
More information about the users
mailing list