After a recent upgrade I discovered that /etc/aliases is not working. Local users are working as expected. As a part of the upgrade I activated virus scanning and spam scoring, All mail to aliases is not delivered. There seems to be some kind of a loop, but I don''t see it.. There is a part of the failure message below. The server is smtp.steinmetznet.com and mail is addressed to user at steinmetznet.com. The line in /etc/aliases for the message below is accounting : accounting, debbie, rob All users are local users. It used to work just fine honest. Partial Falure Notice; This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: accounting at smtp.steinmetznet.com debbie at smtp.steinmetznet.com rob at smtp.steinmetznet.com ------ This is a copy of the message, including all the headers. ------ Return-path: <rob at steinmetznet.com> Received: from [74.238.144.117] (helo=thelma) by thelma with esmtp (Exim 4.69) (envelope-from <rob at steinmetznet.com>) id 1KHQxV-00012F-Lq; Fri, 11 Jul 2008 18:19:27 -0400 Received: from [74.238.144.117] (helo=thelma) by thelma with esmtp (Exim 4.69) (envelope-from <rob at steinmetznet.com>) id 1KHQx0-00010J-0L; Fri, 11 Jul 2008 18:18:57 -0400 Received: from [74.238.144.117] (helo=thelma) by thelma with esmtp (Exim 4.69) (envelope-from <rob at steinmetznet.com>) id 1KHQwR-0000yY-5p; Fri, 11 Jul 2008 18:18:23 -0400 -- Robert Steinmetz, AIA Principal Steinmetz & Associates
Robert Steinmetz wrote:> After a recent upgrade I discovered that /etc/aliases is not working.> recipients. This is a permanent error. The following address(es) failed: > > accounting at smtp.steinmetznet.comIt seems it is using the machine name, smtp.steinmetz.com. Perhaps you forgot to tell the configuration utility to use steinmetz.com. This can be done under System mail name "if a mail address on the local host is foo at domain.example, then the correct value for this option would be domain.example". Or in your case steinmetz.com. Best regards, Jeroen
On Thu, Jul 17, 2008 at 11:38:07AM -0400, Robert Steinmetz wrote:> After a recent upgrade I discovered that /etc/aliases is not working. > Local users are working as expected. As a part of the upgrade I > activated virus scanning and spam scoring,Which of the gazillion methods to activate virus scanning and spam scoring did you use?> All mail to aliases is not delivered. There seems to be some kind of a > loop, but I don''t see it..What does exim -bt accounting at yourdomain.example say? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
Marc Haber wrote:> On Thu, Jul 17, 2008 at 11:38:07AM -0400, Robert Steinmetz wrote: > >> After a recent upgrade I discovered that /etc/aliases is not working. >> Local users are working as expected. As a part of the upgrade I >> activated virus scanning and spam scoring, >> > > Which of the gazillion methods to activate virus scanning and spam > scoring did you use? > > >> All mail to aliases is not delivered. There seems to be some kind of a >> loop, but I don''t see it.. >> > > What does exim -bt accounting at yourdomain.example say? > > Greetings > Marc > >I attempted to use the default methods and intend to enhance things later.
Jeroen van Aart wrote:> Robert Steinmetz wrote: > >> After a recent upgrade I discovered that /etc/aliases is not working. >> > > >> recipients. This is a permanent error. The following address(es) failed: >> >> accounting at smtp.steinmetznet.com >> > > It seems it is using the machine name, smtp.steinmetz.com. Perhaps you > forgot to tell the configuration utility to use steinmetz.com. This can > be done under System mail name "if a mail address on the local host is > foo at domain.example, then the correct value for this option would be > domain.example". Or in your case steinmetz.com. > > Best regards, > Jeroen > > > >How can I check that? I configured my system editing the exim4.conf.template and update-exim4.conf.conf files and running update-exim4.conf 4 I have been having trouble getting messages to the list. -- *Robert Steinmetz, AIA* Principal *Steinmetz & Associates*
On Sat, Jul 19, 2008 at 10:10:30AM -0500, Robert Steinmetz wrote:> rob at thelma:/etc/exim4$ exim -bt accounting at steinmetznet.com > R: system_aliases for accounting at steinmetznet.com > R: userforward for accounting at steinmetznet.com > R: procmail for accounting at steinmetznet.com > R: maildrop for accounting at steinmetznet.com > R: lowuid_aliases for accounting at steinmetznet.com (UID 1024) > R: local_user for accounting at steinmetznet.com > accounting at steinmetznet.com > router = local_user, transport = mail_spoolNow we need to find out why your system_aliases router does not take the address. Please add a -d to the command line and paste 20ish lines after --------> system_aliases router <-------- Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
Robert Steinmetz wrote:> How can I check that? > > I configured my system editing the exim4.conf.template and > update-exim4.conf.conf files and running update-exim4.confThe easiest is running "dpkg-reconfigure exim4-config" and when it asks for the "System mail name" make sure it reads "steinmetz.com". Also depending on your configuration you get the option of hiding "local mail name in outgoing mail" which you may like to enable. You also might want to add smtp.steinmetz.com to "Other destinations for which mail is accepted". So that email in the format of example at smtp.steinmetz.com will be accepted. If it is configured right email directed to @steinmetz.com and @smtp.steinmetz.com should be accepted, but email sent out will only have the @steinmetz.com address format. I hope I didn''t mix up something. ;-) Check /usr/share/doc/exim4-base/README.Debian.html Greetings, Jeroen