How to fill mailq

This is a discussion on How to fill mailq within the mailing.postfix.users forums, part of the Mail Servers and Related category; Hi, I was wondering how I can fill (or load) the mailq with mail to test the send mail behaviour. ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-02-2006
omega41@gmail.com
 
Posts: n/a
Default How to fill mailq

Hi,

I was wondering how I can fill (or load) the mailq with mail to test
the send mail behaviour.

How can I send mail to Postfix in order to see how Postifx re-directs
the mail?


Thanks.

Reply With Quote
  #2 (permalink)  
Old 11-02-2006
Mike
 
Posts: n/a
Default Re: How to fill mailq


omega41@gmail.com wrote:
> Hi,
>
> I was wondering how I can fill (or load) the mailq with mail to test
> the send mail behaviour.
>
> How can I send mail to Postfix in order to see how Postifx re-directs
> the mail?
>
>
> Thanks.


Take down the network interface (ifconfig), and queue up a bunch of
mail, using a simple script, or even by hand (I don't know how many
messages you need).

Mike

Reply With Quote
  #3 (permalink)  
Old 11-02-2006
Greg Hackney
 
Posts: n/a
Default Re: How to fill mailq

omega41@gmail.com wrote:

> I was wondering how I can fill (or load) the mailq with mail to test
> the send mail behaviour.



Take a look at the man pages for the Postfix programs smtp-source and
smtp-sink, and see if those will help. They are load generators and
load receivers respectively.


> How can I send mail to Postfix in order to see how Postifx re-directs
> the mail?


sendmail -bv user@remote.com

The MAILER_DAEMON will send an email to the person running the test,
with a Subject of "Mail Delivery Status Report", and describe how
Postfix would have routed the email, had it been a real email.

--
Greg
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:13 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0