* [gentoo-user] Problems with PORTAGE_ELOG_MAIL (Connection error)
@ 2007-11-02 2:42 forgottenwizard
2007-11-02 12:54 ` Stroller
0 siblings, 1 reply; 5+ messages in thread
From: forgottenwizard @ 2007-11-02 2:42 UTC (permalink / raw
To: gentoo-user
The error itself:
(111, 'Conection refused')
Settings:
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_COMMAND="/usr/bin/esmtp"
PORTAGE_ELOG_SYSTEM="mail:warn,error,log syslog:* save"
PORTAGE_ELOG_MAILURI="user@localhost"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="\${PACKAGE} merged on \${HOST}"
I have played with this a bit, ranging from MAILURI="user" to
MAILURI="user@local.host localhost"
I'm not exactly sure what the problem is, and I know I have had this
working before with esmtp (before a short-lived migration to postfix
which seemed to break everything from vixie-cron to Portage Elog), and
I'd like some help to resolve this issue.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Problems with PORTAGE_ELOG_MAIL (Connection error)
2007-11-02 2:42 [gentoo-user] Problems with PORTAGE_ELOG_MAIL (Connection error) forgottenwizard
@ 2007-11-02 12:54 ` Stroller
2007-11-03 18:22 ` forgottenwizard
0 siblings, 1 reply; 5+ messages in thread
From: Stroller @ 2007-11-02 12:54 UTC (permalink / raw
To: gentoo-user
On 2 Nov 2007, at 02:42, forgottenwizard wrote:
> The error itself:
>
> (111, 'Conection refused')
>
> Settings:
>
> PORTAGE_ELOG_CLASSES="warn error log"
> PORTAGE_ELOG_COMMAND="/usr/bin/esmtp"
> PORTAGE_ELOG_SYSTEM="mail:warn,error,log syslog:* save"
> PORTAGE_ELOG_MAILURI="user@localhost"
> PORTAGE_ELOG_MAILFROM="portage@localhost"
> PORTAGE_ELOG_MAILSUBJECT="\${PACKAGE} merged on \${HOST}"
>
> I have played with this a bit, ranging from MAILURI="user" to
> MAILURI="user@local.host localhost"
`sendmail user < test_file.txt`
`telnet localhost 25`
Stroller.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Problems with PORTAGE_ELOG_MAIL (Connection error)
2007-11-02 12:54 ` Stroller
@ 2007-11-03 18:22 ` forgottenwizard
2007-11-03 18:50 ` Dan Farrell
0 siblings, 1 reply; 5+ messages in thread
From: forgottenwizard @ 2007-11-03 18:22 UTC (permalink / raw
To: gentoo-user
On 12:54 Fri 02 Nov , Stroller wrote:
>
> On 2 Nov 2007, at 02:42, forgottenwizard wrote:
>
>> The error itself:
>>
>> (111, 'Conection refused')
>>
>> Settings:
>>
>> PORTAGE_ELOG_CLASSES="warn error log"
>> PORTAGE_ELOG_COMMAND="/usr/bin/esmtp"
>> PORTAGE_ELOG_SYSTEM="mail:warn,error,log syslog:* save"
>> PORTAGE_ELOG_MAILURI="user@localhost"
>> PORTAGE_ELOG_MAILFROM="portage@localhost"
>> PORTAGE_ELOG_MAILSUBJECT="\${PACKAGE} merged on \${HOST}"
>>
>> I have played with this a bit, ranging from MAILURI="user" to
>> MAILURI="user@local.host localhost"
>
> `sendmail user < test_file.txt`
>
> `telnet localhost 25`
>
> Stroller.
> --
> gentoo-user@gentoo.org mailing list
I've sent emails to myself before (from root to user), and they worked
well.
I'm not sure what the purpose of telneting my own system it, either.
Would I be looking for an open port?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Problems with PORTAGE_ELOG_MAIL (Connection error)
2007-11-03 18:22 ` forgottenwizard
@ 2007-11-03 18:50 ` Dan Farrell
2007-11-29 21:56 ` forgottenwizard
0 siblings, 1 reply; 5+ messages in thread
From: Dan Farrell @ 2007-11-03 18:50 UTC (permalink / raw
To: gentoo-user
On Sat, 3 Nov 2007 13:22:18 -0500
forgottenwizard <phrexianreaper@hushmail.com> wrote:
> I'm not sure what the purpose of telneting my own system it, either.
> Would I be looking for an open port?
Telnet clients are useful debugging tools. You can connect to a
service (in this case SMTP, on port 25) and then manually implement the
service's protocol for troubleshooting purposes.
For Example, in this case my message couldn't be sent because it
(evidently) contained an invalid header, but the same commands would
work if connected to a different server. I can see the error message;
if I was maintaining this server, I could perhaps adjust my
proxyd-filter.pl file, or suggest that my users adjust their mail
headers.
====================================================================
Example SMTP session, implemented through telnet.
------------------------------------------------------
dan@atlas ~ $ telnet mx4.hushmail.com 25
Trying 65.39.178.137...
Connected to mx4.hushmail.com.
Escape character is '^]'.
220 smtp6.hushmail.com ESMTP Postfix
HELO spore.ath.cx
250 smtp6.hushmail.com
MAIL FROM: dan@spore.ath.cx
250 2.1.0 Ok
RCPT TO: phrexianreaper@hushmail.com
250 2.1.5 Ok
DATAHello forgottenwizard,
502 5.5.2 Error: command not recognized
DATA
354 End data with <CR><LF>.<CR><LF>
Hello forgottenwizard,
This email is meant as an example of the usefulness of a telnet client
as a general purpose debugging tool, applicable to all sorts of
plain-text communication protocols. In this case, I spoke SMTP with
the mail server. You could use the same method to speak to an HTML
server, or one of many other protocols as well.
Sincerely,
Dan Farrell <dan@spore.ath.cx>
.
554 5.6.0 Message contains invalid header at ./proxyd-filter.pl line
283.
============================================================================
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Problems with PORTAGE_ELOG_MAIL (Connection error)
2007-11-03 18:50 ` Dan Farrell
@ 2007-11-29 21:56 ` forgottenwizard
0 siblings, 0 replies; 5+ messages in thread
From: forgottenwizard @ 2007-11-29 21:56 UTC (permalink / raw
To: gentoo-user
On 13:50 Sat 03 Nov , Dan Farrell wrote:
> On Sat, 3 Nov 2007 13:22:18 -0500
> forgottenwizard <phrexianreaper@hushmail.com> wrote:
>
> > I'm not sure what the purpose of telneting my own system it, either.
> > Would I be looking for an open port?
>
> Telnet clients are useful debugging tools. You can connect to a
> service (in this case SMTP, on port 25) and then manually implement the
> service's protocol for troubleshooting purposes.
>
> For Example, in this case my message couldn't be sent because it
> (evidently) contained an invalid header, but the same commands would
> work if connected to a different server. I can see the error message;
> if I was maintaining this server, I could perhaps adjust my
> proxyd-filter.pl file, or suggest that my users adjust their mail
> headers.
> ====================================================================
> Example SMTP session, implemented through telnet.
> ------------------------------------------------------
> dan@atlas ~ $ telnet mx4.hushmail.com 25
> Trying 65.39.178.137...
> Connected to mx4.hushmail.com.
> Escape character is '^]'.
> 220 smtp6.hushmail.com ESMTP Postfix
> HELO spore.ath.cx
> 250 smtp6.hushmail.com
> MAIL FROM: dan@spore.ath.cx
> 250 2.1.0 Ok
> RCPT TO: phrexianreaper@hushmail.com
> 250 2.1.5 Ok
> DATAHello forgottenwizard,
> 502 5.5.2 Error: command not recognized
> DATA
> 354 End data with <CR><LF>.<CR><LF>
> Hello forgottenwizard,
> This email is meant as an example of the usefulness of a telnet client
> as a general purpose debugging tool, applicable to all sorts of
> plain-text communication protocols. In this case, I spoke SMTP with
> the mail server. You could use the same method to speak to an HTML
> server, or one of many other protocols as well.
> Sincerely,
> Dan Farrell <dan@spore.ath.cx>
Alright, I've finally gotten around to messing with telnet to try and
look at this problem, but I seem to have lost the other email on what I
need to do.
If you could resend that, and give me some additional info on how to
check through all the possible problems, I'd appreciate it.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-11-29 22:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-02 2:42 [gentoo-user] Problems with PORTAGE_ELOG_MAIL (Connection error) forgottenwizard
2007-11-02 12:54 ` Stroller
2007-11-03 18:22 ` forgottenwizard
2007-11-03 18:50 ` Dan Farrell
2007-11-29 21:56 ` forgottenwizard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox