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

Mailing List Archive: exim: users

exim -t

 

 

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


91change at gmail

Aug 27, 2008, 2:54 AM

Post #1 of 4 (233 views)
Permalink
exim -t

I have exim running as

exim -bdf -d on my server


I can connect to this machine

telnet server-ip 25

and send mail using SMTP commands .


I would like to send mails using exim -t. But it is not connecting to the
server ? wat could be the problem ?


--
View this message in context: http://www.nabble.com/exim--t-tp19177858p19177858.html
Sent from the Exim Users mailing list archive at Nabble.com.


--
## 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/


graeme at graemef

Aug 27, 2008, 3:07 AM

Post #2 of 4 (220 views)
Permalink
Re: exim -t [In reply to]

On Wed, 2008-08-27 at 02:54 -0700, 91change wrote:
> I have exim running as
>
> exim -bdf -d on my server

Do you require all the debug information this is producing?

> I can connect to this machine
>
> telnet server-ip 25
>
> and send mail using SMTP commands .

OK, great.

> I would like to send mails using exim -t. But it is not connecting to the
> server ? wat could be the problem ?

You haven't read the documentation.

http://www.exim.org/exim-html-current/doc/html/spec_html/ch05.html#SECID39

"-t" doesn't make an SMTP connection. It takes a locally-generated
message on standard input and pulls the sender and recipients from the
from: and To: lines, then sends the message according to the
configuration in use.

It never speaks to the running SMTP daemon.

Graeme


--
## 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/


91change at gmail

Aug 27, 2008, 3:26 AM

Post #3 of 4 (218 views)
Permalink
Re: exim -t [In reply to]

My aim is to have script similar to below

MAIL_CMD = "/usr/bin/exim -t"
FROM = "bas[at]localhost"
SUBJECT = Hey, user, clean up your account!
CC_TO = "sysadm[at]localhost


I got the above script from a sendmail configured machine , I want replace
sendmail with exim ...

>>>>>>exim -t wont connect to exim daemon
is there any way to make it connect ?

is there any MUA in exim ? or i hve to use some other MUA (like mailman
,fetchmail ) ?



--
View this message in context: http://www.nabble.com/exim--t-tp19177858p19178277.html
Sent from the Exim Users mailing list archive at Nabble.com.


--
## 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/


nigel.metheringham at dev

Aug 27, 2008, 3:54 AM

Post #4 of 4 (218 views)
Permalink
Re: exim -t [In reply to]

[.Please read the documentation - exim has extensive documentation
online at http://docs.exim.org/current/ as well as a comprehensive
book available from UIT http://www.uit.co.uk/exim-book/ . This
mailing list is *not* a substitute for the documentation]

On 27 Aug 2008, at 11:26, 91change wrote:
>
> My aim is to have script similar to below
>
> MAIL_CMD = "/usr/bin/exim -t"
> FROM = "bas[at]localhost"
> SUBJECT = Hey, user, clean up your account!
> CC_TO = "sysadm[at]localhost
>
>
> I got the above script from a sendmail configured machine , I want
> replace sendmail with exim ...

Well if thats the script I guess it never worked.

You could have something like this (after the header section you
provided):-

${MAIL_CMD} << END_OF_MESSAGE
From: ${FROM}
To: ${TO}
Subject: ${SUBJECT}

You know, I really should have put some message content here...
END_OF_MESSAGE

>>>>>>> exim -t wont connect to exim daemon
> is there any way to make it connect ?

Not really - it puts messages directly into the local queue.

> is there any MUA in exim ? or i hve to use some other MUA (like
> mailman
> ,fetchmail ) ?

Exim is not an MUA. Neither are mailman (which is a MLM) or fetchmail
(not quite sure of the classification for that - probably a mail relay
client of some sort).

Personally I would normally use an MUA here rather than directly
calling the MTA - so something like mail, nail, Mail or even mutt.

Nigel.
--
[ Nigel Metheringham Nigel.Metheringham[at]InTechnology.com ]
[. - Comments in this message are my own and not ITO opinion/policy - ]


--
## 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 lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.