Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

appended domain name irregularties sending from command line

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


a.smith at ukgrid

Dec 16, 2009, 6:58 AM

Post #1 of 2 (481 views)
Permalink
appended domain name irregularties sending from command line

Hi,

I have two exim servers, with the exim config copied from the old
server to the new server. The only difference in the configure file is
the SYSID.
On the old server if I send email from the command line (ie pipe into
mail) the domain name appended is something like andy [at] mx0
which is the host as it is defined in the exim config (mx0 as opposed
to the actual hostname). On the new system when sending mail it
appears as andy [at] hostname (id like it to appear as
andy [at] mx3, mx3.mydomain.com is the SYSID from my exim
config).

The prob is that the address wont verify when in format using the hostname,
ie:


exim -bv a.smith [at] hostname
2009-12-16 14:53:30 [1204] remote host address is the local host:
hostname.mydomain.com (while routing <a.smith [at] hostname>)

The other principal difference between my servers are, one is FreeBSD
7.0 and the other is FreeBSD 8.0.
I appreciate this is probably more OS related than Exim related, but
perhaps someone has an idea as to why the behaviour is different?

thanks in advance, Andy.

--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


a.smith at ukgrid

Dec 16, 2009, 10:08 AM

Post #2 of 2 (433 views)
Permalink
Re: appended domain name irregularties sending from command line [In reply to]

Hi all,

Ok, I worked it out. The prob was sendmail was still controlling
outbound mail on the new server, I needed to update my
/etc/mail/mailer.conf file with the following:

sendmail /usr/local/sbin/exim
send-mail /usr/local/sbin/exim
mailq /usr/local/sbin/exim
newaliases /usr/local/sbin/exim
hoststat /usr/local/sbin/exim
purgestat /usr/local/sbin/exim

thanks Andy.

Quoting Andy Smith <a.smith [at] ukgrid>:

> Hi,
>
> I have two exim servers, with the exim config copied from the old
> server to the new server. The only difference in the configure file
> is the SYSID.
> On the old server if I send email from the command line (ie pipe
> into mail) the domain name appended is something like
> andy [at] mx0 which is the host as it is defined in the exim
> config (mx0 as opposed to the actual hostname). On the new system
> when sending mail it appears as andy [at] hostname (id like
> it to appear as andy [at] mx3, mx3.mydomain.com is the SYSID
> from my exim config).
>
> The prob is that the address wont verify when in format using the hostname,
> ie:
>
>
> exim -bv a.smith [at] hostname
> 2009-12-16 14:53:30 [1204] remote host address is the local host:
> hostname.mydomain.com (while routing <a.smith [at] hostname>)
>
> The other principal difference between my servers are, one is
> FreeBSD 7.0 and the other is FreeBSD 8.0.
> I appreciate this is probably more OS related than Exim related, but
> perhaps someone has an idea as to why the behaviour is different?
>
> thanks in advance, Andy.
>



--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.