/usr/lib/sendmail -v -q just sits there
/usr/lib/sendmail -v -q just sits there
am 19.12.2007 01:27:02 von Mike
I've been trying to tune my migration from Courier to
sendmail 8.13.8 on a Fedora Core 5 box (current patches).
I get most mail in and out quickly, but some messages just
sit in the queue (/var/spool/mqueue). I have tried to flush
some of these messages with /usr/lib/sendmail -v -q -qI99999.
The process starts and says it is connecting to the remote
host, then it just sits there until I kill (^c) the process.
Why are things sticking in the queue and why are the messages
I try to flush from the queue just sitting there?
Mike
--
Posted via a free Usenet account from http://www.teranews.com
Re: /usr/lib/sendmail -v -q just sits there [Is outgoing SMTP firewalled?]
am 20.12.2007 13:19:31 von Andrzej Filip
Mike writes:
> I've been trying to tune my migration from Courier to
> sendmail 8.13.8 on a Fedora Core 5 box (current patches).
> I get most mail in and out quickly, but some messages just
> sit in the queue (/var/spool/mqueue). I have tried to flush
> some of these messages with /usr/lib/sendmail -v -q -qI99999.
> The process starts and says it is connecting to the remote
> host, then it just sits there until I kill (^c) the process.
> Why are things sticking in the queue and why are the messages
> I try to flush from the queue just sitting there?
Can you telnet SMTP (25) port on the hosts sendmail mentions?
*NO* =>
Most likely your ISP blocked outgoing SMTP
connections [to block *outgoing* spam (mainly MS zombies)]
Fix: use your ISP mail server as smart host
define(`SMART_HOST',`...')
*YES* =>
post exactly what sendmail reports when you issue
/sendmail -v -q -qI_xxxxx_
--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/
Re: /usr/lib/sendmail -v -q just sits there [Is outgoing SMTP firewalled?]
am 20.12.2007 23:39:41 von Mike
In article <87bq8lblt8@JOSHUA.fsf.hobby-site.com>, Andrzej Adam Filip wrote:
> Mike writes:
>
>> I've been trying to tune my migration from Courier to
>> sendmail 8.13.8 on a Fedora Core 5 box (current patches).
>> I get most mail in and out quickly, but some messages just
>> sit in the queue (/var/spool/mqueue). I have tried to flush
>> some of these messages with /usr/lib/sendmail -v -q -qI99999.
>> The process starts and says it is connecting to the remote
>> host, then it just sits there until I kill (^c) the process.
>> Why are things sticking in the queue and why are the messages
>> I try to flush from the queue just sitting there?
>
> Can you telnet SMTP (25) port on the hosts sendmail mentions?
> *NO* =>
> Most likely your ISP blocked outgoing SMTP
> connections [to block *outgoing* spam (mainly MS zombies)]
> Fix: use your ISP mail server as smart host
> define(`SMART_HOST',`...')
> *YES* =>
> post exactly what sendmail reports when you issue
> /sendmail -v -q -qI_xxxxx_
>
I can telnet by hand to the remote host. When I run with the -qI
I get:
# sendmail -v -qI4137
Running /var/spool/mqueue/lBCK1S8W004137 (sequence 1 of 1)
<$user1@$domain1.com>... Connecting to /var/lib/imap/socket/lmtp via cyrusv2...
220 servername LMTP Cyrus v2.3.1-Invoca-RPM-2.3.1-2.8.fc5 ready
>>> LHLO $domain1.com
250-servername
250-8BITMIME
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-SIZE
250-AUTH EXTERNAL
250 IGNOREQUOTA
>>> MAIL From:<$user1@$domain1.com> SIZE=1119
250 2.1.0 ok
>>> RCPT To:<$user1>
>>> DATA
250 2.1.5 ok
354 go ahead
>>> .
250 2.1.5 Ok
<$user1@$domain1.com>... Sent
<$user2@$domain2.com>... Connecting to mx.$domain3.net. via esmtp...
I have changed domains and user names. $domain1 is mine. $domain2 is the
remote host. $domain2 is MX'd to $domain3.
After issuing the command the command just hangs. I have previously
let the command sit for four hours... just sitting there, no further
output. I eventually ^c'd the command.
I know I have some issues by accepting messages that are addressed
to my domain ($domain1) and sending a delayed rejection... I'm working
on that part. The message I'm trying to send I know is a real message
(it's from my boss to someone else).
What's next?
Mike
--
Posted via a free Usenet account from http://www.teranews.com
Re: /usr/lib/sendmail -v -q just sits there [Is outgoing SMTP firewalled?]
am 20.12.2007 23:44:11 von Mike
In article <476aef2d$0$26049$88260bb3@free.teranews.com>, Mike wrote:
> In article <87bq8lblt8@JOSHUA.fsf.hobby-site.com>, Andrzej Adam Filip wrote:
>> Mike writes:
>>
>>> I've been trying to tune my migration from Courier to
>>> sendmail 8.13.8 on a Fedora Core 5 box (current patches).
>>> I get most mail in and out quickly, but some messages just
>>> sit in the queue (/var/spool/mqueue). I have tried to flush
>>> some of these messages with /usr/lib/sendmail -v -q -qI99999.
>>> The process starts and says it is connecting to the remote
>>> host, then it just sits there until I kill (^c) the process.
>>> Why are things sticking in the queue and why are the messages
>>> I try to flush from the queue just sitting there?
>>
>> Can you telnet SMTP (25) port on the hosts sendmail mentions?
>> *NO* =>
>> Most likely your ISP blocked outgoing SMTP
>> connections [to block *outgoing* spam (mainly MS zombies)]
>> Fix: use your ISP mail server as smart host
>> define(`SMART_HOST',`...')
>> *YES* =>
>> post exactly what sendmail reports when you issue
>> /sendmail -v -q -qI_xxxxx_
>>
>
> I can telnet by hand to the remote host. When I run with the -qI
> I get:
>
> # sendmail -v -qI4137
>
> Running /var/spool/mqueue/lBCK1S8W004137 (sequence 1 of 1)
><$user1@$domain1.com>... Connecting to /var/lib/imap/socket/lmtp via cyrusv2...
> 220 servername LMTP Cyrus v2.3.1-Invoca-RPM-2.3.1-2.8.fc5 ready
>>>> LHLO $domain1.com
> 250-servername
> 250-8BITMIME
> 250-ENHANCEDSTATUSCODES
> 250-PIPELINING
> 250-SIZE
> 250-AUTH EXTERNAL
> 250 IGNOREQUOTA
>>>> MAIL From:<$user1@$domain1.com> SIZE=1119
> 250 2.1.0 ok
>>>> RCPT To:<$user1>
>>>> DATA
> 250 2.1.5 ok
> 354 go ahead
>>>> .
> 250 2.1.5 Ok
><$user1@$domain1.com>... Sent
><$user2@$domain2.com>... Connecting to mx.$domain3.net. via esmtp...
>
> I have changed domains and user names. $domain1 is mine. $domain2 is the
> remote host. $domain2 is MX'd to $domain3.
>
> After issuing the command the command just hangs. I have previously
> let the command sit for four hours... just sitting there, no further
> output. I eventually ^c'd the command.
>
> I know I have some issues by accepting messages that are addressed
> to my domain ($domain1) and sending a delayed rejection... I'm working
> on that part. The message I'm trying to send I know is a real message
> (it's from my boss to someone else).
>
> What's next?
Forgot. After I ^c the command I get:
>>> QUIT
421 4.4.1 bye idle for too long
#
Mike
--
Posted via a free Usenet account from http://www.teranews.com
Re: /usr/lib/sendmail -v -q just sits there [Is outgoing SMTP firewalled?]
am 21.12.2007 15:54:19 von Mike
In article <476af03b$0$26049$88260bb3@free.teranews.com>, Mike wrote:
> In article <476aef2d$0$26049$88260bb3@free.teranews.com>, Mike wrote:
>> In article <87bq8lblt8@JOSHUA.fsf.hobby-site.com>, Andrzej Adam Filip wrote:
>>> Mike writes:
>>>
>>>> I've been trying to tune my migration from Courier to
>>>> sendmail 8.13.8 on a Fedora Core 5 box (current patches).
>>>> I get most mail in and out quickly, but some messages just
>>>> sit in the queue (/var/spool/mqueue). I have tried to flush
>>>> some of these messages with /usr/lib/sendmail -v -q -qI99999.
>>>> The process starts and says it is connecting to the remote
>>>> host, then it just sits there until I kill (^c) the process.
>>>> Why are things sticking in the queue and why are the messages
>>>> I try to flush from the queue just sitting there?
>>>
>>> Can you telnet SMTP (25) port on the hosts sendmail mentions?
>>> *NO* =>
>>> Most likely your ISP blocked outgoing SMTP
>>> connections [to block *outgoing* spam (mainly MS zombies)]
>>> Fix: use your ISP mail server as smart host
>>> define(`SMART_HOST',`...')
>>> *YES* =>
>>> post exactly what sendmail reports when you issue
>>> /sendmail -v -q -qI_xxxxx_
>>>
>>
>> I can telnet by hand to the remote host. When I run with the -qI
>> I get:
>>
>> # sendmail -v -qI4137
>>
>> Running /var/spool/mqueue/lBCK1S8W004137 (sequence 1 of 1)
>><$user1@$domain1.com>... Connecting to /var/lib/imap/socket/lmtp via cyrusv2...
>> 220 servername LMTP Cyrus v2.3.1-Invoca-RPM-2.3.1-2.8.fc5 ready
>>>>> LHLO $domain1.com
>> 250-servername
>> 250-8BITMIME
>> 250-ENHANCEDSTATUSCODES
>> 250-PIPELINING
>> 250-SIZE
>> 250-AUTH EXTERNAL
>> 250 IGNOREQUOTA
>>>>> MAIL From:<$user1@$domain1.com> SIZE=1119
>> 250 2.1.0 ok
>>>>> RCPT To:<$user1>
>>>>> DATA
>> 250 2.1.5 ok
>> 354 go ahead
>>>>> .
>> 250 2.1.5 Ok
>><$user1@$domain1.com>... Sent
>><$user2@$domain2.com>... Connecting to mx.$domain3.net. via esmtp...
>>
>> I have changed domains and user names. $domain1 is mine. $domain2 is the
>> remote host. $domain2 is MX'd to $domain3.
>>
>> After issuing the command the command just hangs. I have previously
>> let the command sit for four hours... just sitting there, no further
>> output. I eventually ^c'd the command.
>>
>> I know I have some issues by accepting messages that are addressed
>> to my domain ($domain1) and sending a delayed rejection... I'm working
>> on that part. The message I'm trying to send I know is a real message
>> (it's from my boss to someone else).
>>
>> What's next?
>
> Forgot. After I ^c the command I get:
>
>>>> QUIT
> 421 4.4.1 bye idle for too long
> #
>
> Mike
>
As root connecting to the running process with strace I get:
# strace -p 9281
Process 9281 attached - interrupt to quit
futex(0x377a74, FUTEX_WAIT, 2, NULL
(no closing paren)
Could my problem be with how sendmail was compiled with/for my kernel?
Mike
--
Posted via a free Usenet account from http://www.teranews.com