PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > Process particular mail queued in /var/spool/mqueue
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Process particular mail queued in /var/spool/mqueue

Réponse
 
LinkBack Outils de la discussion
Vieux 17/08/2007, 00h42   #1
Simon Gao
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Process particular mail queued in /var/spool/mqueue

Hi,

Is there a way to run sendmail manually to process particular mails
stuck in /var/spool/mqueue?

Running "sendmail -q -v" sometimes just takes too long to reach certain
mails in /var/spool/mqueue due to time out on non deliverable mails
ahead in the queue.

Simon
  Réponse avec citation
Vieux 17/08/2007, 01h53   #2
David F. Skoll
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Process particular mail queued in /var/spool/mqueue

Simon Gao wrote:

> Is there a way to run sendmail manually to process particular mails
> stuck in /var/spool/mqueue?


Yes.

Process messages destined for domains containing "example.com":
sendmail -v -qRexample.com

Process messages whose queue-id contains 12345:
sendmail -v -qI12345

All of this info is in the sendmail man page. I guess that would've been
too easy...

--
David.
  Réponse avec citation
Vieux 17/08/2007, 02h19   #3
Grant Taylor
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Process particular mail queued in /var/spool/mqueue

On 8/16/2007 7:53 PM, David F. Skoll wrote:
> Process messages destined for domains containing "example.com":
> sendmail -v -qRexample.com
>
> Process messages whose queue-id contains 12345:
> sendmail -v -qI12345


You can also do
sendmail -v -qSsender@domain.tld

-v is for verbose to watch, omit it if you don't care to watch.

-q will take S for sender, R for recipient, and I for queue ID.

The parameters after the S and R can be either a full email address
"user@domain.tld" or a domain name "@domain.tld".



Grant. . . .

  Réponse avec citation
Vieux 17/08/2007, 20h10   #4
Per Hedeland
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Process particular mail queued in /var/spool/mqueue

In article
<mailman.43.1187313576.11203.comp.mail.sendmail@ma illists.riverviewtech.net>
Grant Taylor <gtaylor@riverviewtech.net> writes:
>On 8/16/2007 7:53 PM, David F. Skoll wrote:
>> Process messages destined for domains containing "example.com":
>> sendmail -v -qRexample.com
>>
>> Process messages whose queue-id contains 12345:
>> sendmail -v -qI12345

>
>You can also do
> sendmail -v -qSsender@domain.tld
>
>-v is for verbose to watch, omit it if you don't care to watch.
>
>-q will take S for sender, R for recipient, and I for queue ID.


And Q for "quarantine reason".

>The parameters after the S and R can be either a full email address
>"user@domain.tld" or a domain name "@domain.tld".


It's just a substring (also for -qI and -qQ).

Read the man page as David suggested.

--Per Hedeland
per@hedeland.org
  Réponse avec citation
Vieux 17/08/2007, 20h10   #5
Per Hedeland
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Process particular mail queued in /var/spool/mqueue

In article
<mailman.43.1187313576.11203.comp.mail.sendmail@ma illists.riverviewtech.net>
Grant Taylor <gtaylor@riverviewtech.net> writes:
>On 8/16/2007 7:53 PM, David F. Skoll wrote:
>> Process messages destined for domains containing "example.com":
>> sendmail -v -qRexample.com
>>
>> Process messages whose queue-id contains 12345:
>> sendmail -v -qI12345

>
>You can also do
> sendmail -v -qSsender@domain.tld
>
>-v is for verbose to watch, omit it if you don't care to watch.
>
>-q will take S for sender, R for recipient, and I for queue ID.


And Q for "quarantine reason".

>The parameters after the S and R can be either a full email address
>"user@domain.tld" or a domain name "@domain.tld".


It's just a substring (also for -qI and -qQ).

Read the man page as David suggested.

--Per Hedeland
per@hedeland.org
  Réponse avec citation
Vieux 20/08/2007, 04h56   #6
Simon Gao
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Process particular mail queued in /var/spool/mqueue

Thanks all for the replies.

Simon

Per Hedeland wrote:
> In article
> <mailman.43.1187313576.11203.comp.mail.sendmail@ma illists.riverviewtech.net>
> Grant Taylor <gtaylor@riverviewtech.net> writes:
>> On 8/16/2007 7:53 PM, David F. Skoll wrote:
>>> Process messages destined for domains containing "example.com":
>>> sendmail -v -qRexample.com
>>>
>>> Process messages whose queue-id contains 12345:
>>> sendmail -v -qI12345

>> You can also do
>> sendmail -v -qSsender@domain.tld
>>
>> -v is for verbose to watch, omit it if you don't care to watch.
>>
>> -q will take S for sender, R for recipient, and I for queue ID.

>
> And Q for "quarantine reason".
>
>> The parameters after the S and R can be either a full email address
>> "user@domain.tld" or a domain name "@domain.tld".

>
> It's just a substring (also for -qI and -qQ).
>
> Read the man page as David suggested.
>
> --Per Hedeland
> per@hedeland.org

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 17h49.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,16800 seconds with 14 queries