Re: How do you inject/reprocess an email file into the postfix queue?

2023-02-03 Thread Viktor Dukhovni
On Fri, Feb 03, 2023 at 12:30:32PM -0700, Bryan Arenal wrote: > I have ~1000 emails that were previously sent from a different > platform (but failed due to a system error) and I've been asked to see > if we can re-send them with our Postfix server. Do you have accurate records of the intended en

Re: How do you inject/reprocess an email file into the postfix queue?

2023-02-03 Thread Noel Jones
mmand to inject them. See the sendmail(1) man page for usage. http://www.postfix.org/sendmail.1.html If these files are some format other than text, you'll need to decide if it's worthwhile to find some way to convert them. If you're lucky there is some existing tool to do

Re: How do you inject/reprocess an email file into the postfix queue?

2023-02-03 Thread Wietse Venema
l' as well as dropping a test file > into /var/spool/postfix/hold and trying to move it into deferred and > then flush the queue but neither of those seemed to work. Is this > even possible? Postfix queue files MUST be written by Postfix. You can't put non-Postfix files the

How do you inject/reprocess an email file into the postfix queue?

2023-02-03 Thread Bryan Arenal
Hi there, I have ~1000 emails that were previously sent from a different platform (but failed due to a system error) and I've been asked to see if we can re-send them with our Postfix server. I've looked into postfix's 'sendmail' as well as dropping a test file into /var/spool/postfix/hold and tr

Re: Possible to "import" a file into postfix queue?

2021-02-12 Thread Viktor Dukhovni
> On Feb 12, 2021, at 2:43 PM, Wietse Venema wrote: > > sendmail -G -i -f "sender" -- recipient... < file > > The -G will prevent Postfix from rewriting/adding message headers. > It will still prepend a Received: header, but if that breaks DKIM, > then the sender is at fault. > > However, Postf

Re: Possible to "import" a file into postfix queue?

2021-02-12 Thread Wietse Venema
Tobi: > Wietse, > > On 2/11/21 1:49 PM, Wietse Venema wrote: > > sendmail -f sender recipient... < file > > We could debug and solve the issue just wonder for next time: does > delivery via sendmail command not change the msg by one bit? Especially > no new or changed headers. Because we found ou

Re: Possible to "import" a file into postfix queue?

2021-02-11 Thread Tobi
Wietse, On 2/11/21 1:49 PM, Wietse Venema wrote: > sendmail -f sender recipient... < file We could debug and solve the issue just wonder for next time: does delivery via sendmail command not change the msg by one bit? Especially no new or changed headers. Because we found our problem to be the ex

Re: Possible to "import" a file into postfix queue?

2021-02-11 Thread Viktor Dukhovni
On Thu, Feb 11, 2021 at 07:49:30AM -0500, Wietse Venema wrote: > > So we thought it could be possible to somehow "import" such an affected > > message directly into postfix queue to leave out swaks which may fix > > something in the message. Is there such a postfix co

Re: Possible to "import" a file into postfix queue?

2021-02-11 Thread Wietse Venema
Tobi: > So we thought it could be possible to somehow "import" such an affected > message directly into postfix queue to leave out swaks which may fix > something in the message. Is there such a postfix command to "import" a > file as message directly into pos

Possible to "import" a file into postfix queue?

2021-02-11 Thread Tobi
the content filter, so to avoid this cases our filter returns 450 to postfix for such mail. So we thought it could be possible to somehow "import" such an affected message directly into postfix queue to leave out swaks which may fix something in the message. Is there such a postfix comma

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread PGNet Dev
On 10/28/20 2:38 PM, Wietse Venema wrote: One possible way out is to skip the Postfix sendmail command, and to use a "mini sendmail" program that submits mail via SMTP. adding an msmtp sender as the VirusAction script in clamav milter, though a bit of 'extra', certainly is the simplest. easy

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread PGNet Dev
On 10/28/20 2:38 PM, Wietse Venema wrote: One possible way out is to skip the Postfix sendmail command, and to use a "mini sendmail" program that submits mail via SMTP. i've typically got msmtp rattling around. Obviously that will fail when Postfix is down. noted. not ideal, but not critic

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread Wietse Venema
PGNet Dev: > my clamav-milter.conf includes > > VirusAction /usr/local/etc/clamav/scripts/virus-alert.sh > > where that script _does_ invoke sendmail. > > found this process > > ps ax | grep virus > 15670 ?S 0:00 /bin/bash > /usr/local/etc/clamav/scripts/

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread PGNet Dev
On 10/28/20 11:36 AM, PGNet Dev wrote: On 10/28/20 11:30 AM, Viktor Dukhovni wrote: You might start with: # grep -r NoNewPrivileges /etc/systemd i couldn't find any direct, relevant postdrop/maildrop, or NoNewPrivileges, references i chased sendmail usage instances instead. i've clamav

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread PGNet Dev
On 10/28/20 11:30 AM, Viktor Dukhovni wrote: You might start with: # grep -r NoNewPrivileges /etc/systemd and all other directories with systemd unit files. yup. already done. nothing --other than the now "=false" (need to double check if that's the same as _removing_ it ) in pflogsum

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread Viktor Dukhovni
On Wed, Oct 28, 2020 at 11:22:55AM -0700, PGNet Dev wrote: > On 10/28/20 10:32 AM, Viktor Dukhovni wrote: > > Indeed a process with "no_new_privs" will not be able to run sendmail(1) > > to submit new email. > > noted. > > that said, this _just_ reappeared here, > >postfix/postdrop[15673]: w

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread PGNet Dev
On 10/28/20 10:32 AM, Viktor Dukhovni wrote: Indeed a process with "no_new_privs" will not be able to run sendmail(1) to submit new email. noted. that said, this _just_ reappeared here, postfix/postdrop[15673]: warning: mail_queue_enter: create file maildrop/678088.15673: Permission denied

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread Viktor Dukhovni
On Wed, Oct 28, 2020 at 06:19:10PM +0100, Bastian Blank wrote: > > Barring interference from SELinux or AppArmour, ... this should not > > happen unless file permissions change. > > Maybe this was true ten years ago, but it is not longer. The OP even > mentioned something called "no new privileg

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread Bastian Blank
Hi Viktor On Wed, Oct 28, 2020 at 01:00:35PM -0400, Viktor Dukhovni wrote: > On Wed, Oct 28, 2020 at 09:01:38AM -0700, PGNet Dev wrote: > > Oct 28 15:02:40 svr019 postfix/postdrop[64624]: warning: > > mail_queue_enter: create file maildrop/553726.64624: Permission denied > > Oct 28 15:02:

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread Viktor Dukhovni
On Wed, Oct 28, 2020 at 10:13:23AM -0700, PGNet Dev wrote: > > For reference, on my system: > > > > $ postconf setgid_group > > setgid_group = maildrop > > $ ls -ld /var/spool/postfix/maildrop > > drwx-wx--- 2 postfix maildrop 2 Oct 28 12:52 > > /var/spool/postfix/maildrop

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread PGNet Dev
On 10/28/20 10:00 AM, Viktor Dukhovni wrote: On Wed, Oct 28, 2020 at 09:01:38AM -0700, PGNet Dev wrote: Oct 28 15:02:40 svr019 postfix/postdrop[64624]: warning: mail_queue_enter: create file maildrop/553726.64624: Permission denied Oct 28 15:02:45 svr019 postfix/postdrop[32688]

Re: postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread Viktor Dukhovni
On Wed, Oct 28, 2020 at 09:01:38AM -0700, PGNet Dev wrote: > Oct 28 15:02:40 svr019 postfix/postdrop[64624]: warning: > mail_queue_enter: create file maildrop/553726.64624: Permission denied > Oct 28 15:02:45 svr019 postfix/postdrop[32688]: warning: > mail_queue_enter: create file ma

postfix queue perms' control for pflogsumm reporting? avoiding "warning: mail_queue_enter: create file maildrop/...: Permission denied"

2020-10-28 Thread PGNet Dev
on a new, from-distro-pkgs install of Postfix, i've noted an intermittent perms problem it'll run just fine for quite awhile, then I start seeing a steady stream of ... Oct 28 15:02:40 svr019 postfix/postdrop[64624]: warning: mail_queue_enter: create file maildrop/553726.64624:

Re: Postfix queue

2018-02-12 Thread j.emerlik
I am generally using postfix-logwatch for tracking log files. However, I was thinking about something that is working in real time, scripts can be run by cron in some period time. Then the best solution could be write some syslog phraser or redirect syslog to some application eg. written in Java t

Re: Postfix queue

2018-02-12 Thread j.emerlik
hould be working with Postfix queue. > > You can use "postqueue -j" to get a machine-readable queue listing > with arrival time, and why mail is still in the queue. > > However for historical information of past deliveries you will have > to rely on Postfix logs. > > Wiietse >

Re: Postfix queue

2018-02-12 Thread Wietse Venema
j.emerlik: > I would like have policy service that will be able to write do data base > some information eg. when exactly message was sent, message ID, DSN if > soemthing goes wrong. That means it should be working with Postfix queue. You can use "postqueue -j" to get a mac

Re: Postfix queue

2018-02-12 Thread Wietse Venema
Viktor Dukhovni: > > > > On Feb 12, 2018, at 10:06 AM, j.emerlik wrote: > > > > It is possible to write some policy service that will be working with > > postfix queue ? > > No. That's a bad idea anyway. To track message flow, parse the logs. T

Re: Postfix queue

2018-02-12 Thread Ralph Seichter
On 12.02.2018 16:44, j.emerlik wrote: > I would like have database and there information : Message ID, Sent > Date (or last date of send trying), DSN, number of send attempts, > Mail_From, RCPT_TO. That type of information should be extracted from the Postfix logs, as existing tools like 'pflogsu

Re: Postfix queue

2018-02-12 Thread j.emerlik
:00 Ralph Seichter : > On 12.02.2018 16:06, j.emerlik wrote: > > > I would like have policy service that will be able to write do data > > base some information eg. when exactly message was sent, message ID, > > DSN if soemthing goes wrong. That means it should be workin

Re: Postfix queue

2018-02-12 Thread Viktor Dukhovni
> On Feb 12, 2018, at 10:06 AM, j.emerlik wrote: > > It is possible to write some policy service that will be working with postfix > queue ? No. That's a bad idea anyway. To track message flow, parse the logs. -- Viktor.

RE: Postfix queue

2018-02-12 Thread Fazzina, Angelo
@postfix.org Subject: Postfix queue Lately I wrote in python postfix policy service that can do something for me what I want. Now I am thinking about next service butI don't know maybe it is not possible. That is my question: There is posssible write some service similar to eg. check_policy_se

Re: Postfix queue

2018-02-12 Thread Ralph Seichter
On 12.02.2018 16:06, j.emerlik wrote: > I would like have policy service that will be able to write do data > base some information eg. when exactly message was sent, message ID, > DSN if soemthing goes wrong. That means it should be working with > Postfix queue. That's not

Postfix queue

2018-02-12 Thread j.emerlik
f It is possible to write some policy service that will be working with postfix queue ? I would like have policy service that will be able to write do data base some information eg. when exactly message was sent, message ID, DSN if soemthing goes wrong. That means it should be working with Postfix

Re: Postfix Queue

2016-03-12 Thread Viktor Dukhovni
On Sat, Mar 12, 2016 at 01:14:17AM -0800, Robert Wolfe wrote: > "I read that postifx will retry emails for 5 days before it will stop and > email will be removed from the queue. That is too much. https://tools.ietf.org/html/rfc5321#section-4.5.4.1 Retries continue until the message is transmi

Postfix Queue

2016-03-12 Thread Robert Wolfe
Hi all. Saw this posted on the iRedMail forum and thought I would post it here in the hopes that I could give a decent response to this poster's question: "I read that postifx will retry emails for 5 days before it will stop and email will be removed from the queue. That is too much. "I wan

Re: Postfix: queue size and replies

2015-10-22 Thread Wietse Venema
Peter: > Hi lads (and girls), > > Is there an easy way to set the auto-replies (or answers, not sure how > are they called) in postfix like greylist does "come back later", or > "try the next available MX gateway" when my queue size reaches a certain > amount? It often happens that my primary MX

Postfix: queue size and replies

2015-10-22 Thread Peter
Hi lads (and girls), Is there an easy way to set the auto-replies (or answers, not sure how are they called) in postfix like greylist does "come back later", or "try the next available MX gateway" when my queue size reaches a certain amount? It often happens that my primary MX servers are busy cr

Re: Preventing Postfix queue from being "filled"

2014-12-20 Thread Benny Pedersen
Istvan Prosinger skrev den 2014-12-20 09:24: ah got it (always late). Maximal and bounce queue liftemes. it would be your fail if you set them lower then default

Re: Preventing Postfix queue from being "filled"

2014-12-20 Thread Benny Pedersen
Istvan Prosinger skrev den 2014-12-20 09:16: Is there a way to limit this time or the number of attempts? what if ?, you should not maintain remote problem resolving, since its not your postfix that have problems but if you really like to test, you can change queue lifetime from default 5d

Re: Preventing Postfix queue from being "filled"

2014-12-20 Thread Istvan Prosinger
ah got it (always late). Maximal and bounce queue liftemes. On 2014-12-20 09:16, Istvan Prosinger wrote: Dear friends, Sometimes I have similar issues in the que: (connect to hotel-patrizietta.ch[185.53.177.20]:25: Connection timed out) i...@hote

Preventing Postfix queue from being "filled"

2014-12-20 Thread Istvan Prosinger
Dear friends, Sometimes I have similar issues in the que: (connect to hotel-patrizietta.ch[185.53.177.20]:25: Connection timed out) i...@hotel-patrizietta.ch etc, etc, etc. As far as I can tell, Postfix would keep on trying to send these mails

Re: dropping messages to postfix queue

2013-10-23 Thread Noel Jones
On 10/23/2013 6:22 AM, Kovács Albert wrote: > On the QSHAPE_REAME page you say that "try to keep the volume of > local mail injection to a moderate level." > > Can you give me a rough estimation on "moderate level" for such an > environment where the only source of messages > is the local injectio

Re: dropping messages to postfix queue

2013-10-23 Thread Wietse Venema
Kov?cs Albert: > Hello Wietse, >thanks for the clarification, I'd stick to a stable and supported >method. Thanks. And I with I had a better answer. Speaking which, Postfix supports QMQP. This protocol is simpler than SMTP, designed by Dan Bernstein, and is based on netstrings. Netstrings are sim

Re: dropping messages to postfix queue

2013-10-23 Thread Kovács Albert
Hello Wietse, thanks for the clarification, I'd stick to a stable and supported method. On the QSHAPE_REAME page you say that "try to keep the volume of local mail injection to a moderate level." Can you give me a rough estimation on "moderate level" for such an environment where the only sour

Re: dropping messages to postfix queue

2013-10-23 Thread Wietse Venema
Kov?cs Albert: >I wouldn't use a regular smtp chat with the postfix smtpd daemon, >because I don't want to block the application until smtpd receives >the message. There is no need to "block the application". Use parallism. >My next idea is to just modify the application, and drop (with the >link

dropping messages to postfix queue

2013-10-23 Thread Kovács Albert
Hello, I have an application that during its operation it generates lots of RFC-822 format emails. My task is to send them to a single remote email address, and I've decided that I rely on postfix to do the job. I wouldn't use a regular smtp chat with the postfix smtpd daemon, because I don't

Re: question about postfix queue scheduler

2013-06-12 Thread Wietse Venema
> If he can just use a (sender-dependent) transport to send his > newsletter to, that would take care of the blockage, wouldn't it ? Yes, provided that he does not saturate the active queue. There is, however, no need to cripple this transport with single-recipient deliveries. If one delivery t

Re: question about postfix queue scheduler

2013-06-12 Thread Jeroen Geilman
On 06/08/2013 08:17 PM, Wietse Venema wrote: Jeroen Geilman: On 06/04/2013 02:20 PM, Erwan David wrote: On Tue, Jun 04, 2013 at 01:44:46PM CEST, Tom Hendrikx said: On 06/04/2013 01:22 PM, Antonio Guti?rrez Mayoral wrote: Hi Wietse, Yes, its a solution, but these emails should be delivered i

Re: question about postfix queue scheduler

2013-06-11 Thread Benny Pedersen
Antonio Gutiérrez Mayoral skrev den 2013-06-04 13:22: Maybe you can automatically HOLD all his mail and then automatically release all his mail in the evening. Yes, its a solution, but these emails should be delivered in bussines-time :-( (it doesnt matter if it takes 2 hours... but in bussine

Re: question about postfix queue scheduler

2013-06-08 Thread Wietse Venema
Jeroen Geilman: > On 06/04/2013 02:20 PM, Erwan David wrote: > > On Tue, Jun 04, 2013 at 01:44:46PM CEST, Tom Hendrikx > > said: > >> On 06/04/2013 01:22 PM, Antonio Guti?rrez Mayoral wrote: > >>> Hi Wietse, > >>> > >>> Yes, its a solution, but these emails should be delivered in > >>> bussines-t

Re: question about postfix queue scheduler

2013-06-08 Thread Jeroen Geilman
On 06/04/2013 02:20 PM, Erwan David wrote: On Tue, Jun 04, 2013 at 01:44:46PM CEST, Tom Hendrikx said: On 06/04/2013 01:22 PM, Antonio Gutiérrez Mayoral wrote: Hi Wietse, Yes, its a solution, but these emails should be delivered in bussines-time :-( (it doesnt matter if it takes 2 hours... bu

Re: question about postfix queue scheduler

2013-06-04 Thread Erwan David
On Tue, Jun 04, 2013 at 01:44:46PM CEST, Tom Hendrikx said: > On 06/04/2013 01:22 PM, Antonio Gutiérrez Mayoral wrote: > > Hi Wietse, > > > > Yes, its a solution, but these emails should be delivered in > > bussines-time :-( > > (it doesnt matter if it takes 2 hours... but in bussiness time...) >

Re: question about postfix queue scheduler

2013-06-04 Thread Tom Hendrikx
On 06/04/2013 01:22 PM, Antonio Gutiérrez Mayoral wrote: > Hi Wietse, > > Yes, its a solution, but these emails should be delivered in > bussines-time :-( > (it doesnt matter if it takes 2 hours... but in bussiness time...) > > thank you so much! > You could run a script as a cronjob that queue

Re: question about postfix queue scheduler

2013-06-04 Thread Antonio Gutiérrez Mayoral
Hi Wietse, Yes, its a solution, but these emails should be delivered in bussines-time :-( (it doesnt matter if it takes 2 hours... but in bussiness time...) thank you so much! 2013/6/4 Wietse Venema > Maybe you can automatically HOLD all his mail and then automatically > release all his mail

Re: question about postfix queue scheduler

2013-06-04 Thread Ralf Hildebrandt
* Wietse Venema : > Maybe you can automatically HOLD all his mail and then automatically > release all his mail in the evening. I even have a script for that... -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht

Re: question about postfix queue scheduler

2013-06-04 Thread Wietse Venema
Maybe you can automatically HOLD all his mail and then automatically release all his mail in the evening. Wietse

question about postfix queue scheduler

2013-06-04 Thread Antonio Gutiérrez Mayoral
Hi all! My name is Antonio I am currently managing a system with postfix+ spamassassin and Maia. First of all, sorry for my bad english. I would like to ask a question. Once in a month, more or less, I have a user who sends a LOT of mails (mailing) to a group of recipients. This list could have a

Re: Regenerate or move postfix queue

2012-06-21 Thread Wietse Venema
Santiago Romero: > Hi. > > I'm running out of space for my postfix's spool directory and I'm planning > to create a new 30GB partition and mount it over the current spool dir > (/var/spool/postfix). > > How do I re-generate the queue after mounting the new partition and having > an emtpy /var/

Regenerate or move postfix queue

2012-06-21 Thread Santiago Romero
Hi. I'm running out of space for my postfix's spool directory and I'm planning to create a new 30GB partition and mount it over the current spool dir (/var/spool/postfix). How do I re-generate the queue after mounting the new partition and having an emtpy /var/spool/postfix/ ? In squid, as

Re: Postfix queue data portabilty

2012-04-13 Thread Wietse Venema
kshitij mali: > Hi All, > > > I am in condition of worst and had bad luck . > > my postfix queue data got increased to 850MB in size that is > "/data/postfix/queue" directory > all mail in this directory got stuck because the server hardware is down i > had

Re: Postfix queue data portabilty

2012-04-12 Thread kshitij mali
Stan Hoeppner wrote: > On 4/12/2012 11:51 PM, kshitij mali wrote: > > > my postfix queue data got increased to 850MB in size that is > > "/data/postfix/queue" directory > > all mail in this directory got stuck because the server hardware is down > i > > had

Re: Postfix queue data portabilty

2012-04-12 Thread Stan Hoeppner
On 4/12/2012 11:51 PM, kshitij mali wrote: > my postfix queue data got increased to 850MB in size that is > "/data/postfix/queue" directory > all mail in this directory got stuck because the server hardware is down i > had removed that hard drive and attached to an

Postfix queue data portabilty

2012-04-12 Thread kshitij mali
Hi All, I am in condition of worst and had bad luck . my postfix queue data got increased to 850MB in size that is "/data/postfix/queue" directory all mail in this directory got stuck because the server hardware is down i had removed that hard drive and attached to another linux

Re: To find Return-Path from postfix queue

2012-03-23 Thread Nikolaos Milas
On 23/3/2012 10:33 πμ, Anirudha Patil wrote: Also any thoughts on if the "Return-Path" is added by postfix in header or its the same as the envelope sender. See also: http://tech.groups.yahoo.com/group/postfix-users/message/283690 Nick

Re: To find Return-Path from postfix queue

2012-03-23 Thread Wietse Venema
Anirudha Patil: > Hello, > > Is there any way, in which we could see Return-Path for a mail in postfix > queue via any command or referring to any file. Use the mailq command. This shows the envelope sender (and still to be delivered recipients). Wietse

Re: To find Return-Path from postfix queue

2012-03-23 Thread Wolfgang Zeikat
In an older episode, on 2012-03-23 09:57, Wolfgang Zeikat wrote: The envelope sender is written into the mail as "Return-Path" by the MDAs (Mail Delivery Agents) when the mail is finally delivered. So yes, they are the same, but the "Return-Path" is only a reflection of the envelope sender.

Re: To find Return-Path from postfix queue

2012-03-23 Thread Wolfgang Zeikat
In an older episode, on 2012-03-23 09:33, Anirudha Patil wrote: Also any thoughts on if the "Return-Path" is added by postfix in header or its the same as the envelope sender. The envelope sender is written into the mail as "Return-Path" by the MDAs (Mail Delivery Agents) when the mail is fin

Fwd: To find Return-Path from postfix queue

2012-03-23 Thread Reindl Harald
AND DO NOT REPLY MULTIPLE TIMES TO PREVENT OFFLIST- ANSWERS LIKE MINE BY REPLY TO THE WRONG DUPLICATE Original-Nachricht Betreff: Re: To find Return-Path from postfix queue Datum: Fri, 23 Mar 2012 09:39:59 +0100 Von: Reindl Harald Organisation: the lounge interactive design An

Re: To find Return-Path from postfix queue

2012-03-23 Thread Anirudha Patil
otmail.com On Fri, Mar 23, 2012 at 1:58 PM, Reindl Harald wrote: > > > Am 23.03.2012 09:25, schrieb Anirudha Patil: > > Hello, > > > > Is there any way, in which we could see Return-Path for a mail in > postfix queue via any command or referring to > > any fil

Re: To find Return-Path from postfix queue

2012-03-23 Thread Reindl Harald
Am 23.03.2012 09:25, schrieb Anirudha Patil: > Hello, > > Is there any way, in which we could see Return-Path for a mail in postfix > queue via any command or referring to > any file. > > Using *postcat -q * one can see the From address, sender:, but no > Retu

To find Return-Path from postfix queue

2012-03-23 Thread Anirudha Patil
Hello, Is there any way, in which we could see Return-Path for a mail in postfix queue via any command or referring to any file. Using *postcat -q * one can see the From address, sender:, but no Return-Path Also when is the Return-Path added into the postfix ? I was referring to one

Re: moving entire postfix queue between machines

2011-09-16 Thread Leonardo Rodrigues
Em 15/09/11 19:16, mouss escreveu: in that scenario, is it OK to backup the /var/spool/postfix folder on the old machine and simply drop it on the new machine ? please "stay with us". you said "I do nt have a spare machine" then "... on the nwe machine"?? do you mean the new disk? so

Re: moving entire postfix queue between machines

2011-09-15 Thread mouss
Le 15/09/2011 17:17, Leonardo Rodrigues a écrit : > > Hi, > > I need to change the disks on my postfix machine and i do not have a > spare machine, so i'll basically take out the old disk, put the new ones > and reinstall the machine. > > in that scenario, is it OK to backup the /va

moving entire postfix queue between machines

2011-09-15 Thread Leonardo Rodrigues
Hi, I need to change the disks on my postfix machine and i do not have a spare machine, so i'll basically take out the old disk, put the new ones and reinstall the machine. in that scenario, is it OK to backup the /var/spool/postfix folder on the old machine and simply drop it

Re: Inject email from web server to postfix queue

2011-09-12 Thread Wietse Venema
Jon Harris: > Hi List > > I don't know if this is possible > > But we have developed a website for a customer with a CRM backend, > without around 72,000 subscribers. > > We want to update and manage the subscriber list on the webserver and > generate the weekly mailshot, all these processes

Re: Inject email from web server to postfix queue

2011-09-12 Thread Stefan Caunter
On Mon, Sep 12, 2011 at 11:00 AM, Jon Harris wrote: > Hi Mark > > I know this does sound odd, but the middleware uses its SQLite and its > own SMTP "queue management". Bypass it. Tell it that the smart relay host is your postfix box. It is trying to do something it shouldn't. Postfix should be th

RE: Inject email from web server to postfix queue

2011-09-12 Thread Jon Harris
o: postfix-users@postfix.org Subject: Re: Inject email from web server to postfix queue On 12/09/2011 14:37, Jon Harris wrote: > Hi List > > I don't know if this is possible > > But we have developed a website for a customer with a CRM backend, > without around 72,000 subsc

Re: Inject email from web server to postfix queue

2011-09-12 Thread Mark Goodge
On 12/09/2011 14:37, Jon Harris wrote: Hi List I don't know if this is possible But we have developed a website for a customer with a CRM backend, without around 72,000 subscribers. We want to update and manage the subscriber list on the webserver and generate the weekly mailshot, all thes

Re: Inject email from web server to postfix queue

2011-09-12 Thread Peter Blair
On Mon, Sep 12, 2011 at 9:37 AM, Jon Harris wrote: > Hi List > > I don't know if this is possible It's not. Search the list archives, and there are plenty of people wanting an API for dropping mail straight into the postfix queue. > I thought if I could generate a po

Inject email from web server to postfix queue

2011-09-12 Thread Jon Harris
Hi List I don't know if this is possible But we have developed a website for a customer with a CRM backend, without around 72,000 subscribers. We want to update and manage the subscriber list on the webserver and generate the weekly mailshot, all these processes are running fine. Our soluti

Re: Write a mail directly to postfix queue

2011-08-20 Thread Ram
On 08/20/2011 12:27 AM, Stan Hoeppner wrote: On 8/19/2011 10:50 AM, Noel Jones wrote: But from the volume you've described, you'll have trouble without using specialized hardware. Or a small outbound relay farm comprised of, say, 4 relatively low end boxen, each with a low power dual core CPU,

Re: Write a mail directly to postfix queue

2011-08-19 Thread Stan Hoeppner
On 8/19/2011 10:50 AM, Noel Jones wrote: > But from the volume you've described, you'll have trouble without > using specialized hardware. Or a small outbound relay farm comprised of, say, 4 relatively low end boxen, each with a low power dual core CPU, 8GB RAM, and a ~100GB SSD. Rewrite the app

Re: Write a mail directly to postfix queue

2011-08-19 Thread /dev/rob0
On Fri, Aug 19, 2011 at 11:42:02AM -0400, Peter Blair wrote: > On Fri, Aug 19, 2011 at 11:33 AM, Ram wrote: > > On 08/19/2011 07:50 PM, Reindl Harald wrote: > >> Am 19.08.2011 16:05, schrieb Ram: > >>> > >>> I dont want to make smtpd connections in the app because that > >>> slows down the app si

Re: Write a mail directly to postfix queue

2011-08-19 Thread Noel Jones
On 8/19/2011 10:27 AM, Ram wrote: >>> To avoid the double write to disk can I write to postfix queue >>> directly >>> using some postfix library >> Direct Postfix queue access is not and will never be supported. > I think I will have to make my app parallel pro

Re: Write a mail directly to postfix queue

2011-08-19 Thread Peter Blair
On Fri, Aug 19, 2011 at 11:33 AM, Ram wrote: > > > On 08/19/2011 07:50 PM, Reindl Harald wrote: >> >> Am 19.08.2011 16:05, schrieb Ram: >>> >>> I dont want to make smtpd connections in the app because that slows down >>> the app significantly >>> and also this is a serialized process. >>> So sendi

Re: Write a mail directly to postfix queue

2011-08-19 Thread Reindl Harald
Am 19.08.2011 17:33, schrieb Ram: > > > On 08/19/2011 07:50 PM, Reindl Harald wrote: >> Am 19.08.2011 16:05, schrieb Ram: >>> I dont want to make smtpd connections in the app because that slows down >>> the app significantly >>> and also this is a serialized process. >>> So sending mails seriall

Re: Write a mail directly to postfix queue

2011-08-19 Thread Ram
On 08/19/2011 07:50 PM, Reindl Harald wrote: Am 19.08.2011 16:05, schrieb Ram: I dont want to make smtpd connections in the app because that slows down the app significantly and also this is a serialized process. So sending mails serially slows down the general delivery it is a bad design se

Re: Write a mail directly to postfix queue

2011-08-19 Thread Ram
.. just a (stupid ?) "business requirement". The biggest bottleneck to this system is the disk I/O. ( 15k rpm SAS drives ) Why not send ONE COPY of the report with multiple recipients? These are personalized. Every partner gets his own data. To avoid the double write to disk can I wr

Re: Write a mail directly to postfix queue

2011-08-19 Thread Wietse Venema
> drives ) Why not send ONE COPY of the report with multiple recipients? > To avoid the double write to disk can I write to postfix queue directly > using some postfix library Direct Postfix queue access is not and will never be supported. Wietse

Re: Write a mail directly to postfix queue

2011-08-19 Thread Reindl Harald
Am 19.08.2011 16:05, schrieb Ram: > > I dont want to make smtpd connections in the app because that slows down the > app significantly > and also this is a serialized process. > So sending mails serially slows down the general delivery it is a bad design sending hughe bulk and "normal" mail-tr

Write a mail directly to postfix queue

2011-08-19 Thread Ram
fix smtpd with multiple connections The biggest bottleneck to this system is the disk I/O. ( 15k rpm SAS drives ) To avoid the double write to disk can I write to postfix queue directly using some postfix library I dont want to make smtpd connections in the app because that slows dow

contribution : little script to quickly analyze the postfix queue.

2011-04-24 Thread Rajesh Kumar Mallah
--- #!/usr/bin/perl -w # # pfdel - deletes message containing specified address from # Postfix queue. Matches either sender or recipient address. # # Usage: pfdel # use strict; # Change these paths if necessary. my $LISTQ = "/opt/zimbra/postfix/sbin/postqueue -p"; my $POSTSUPER = &

Re: Postfix queue in Mysql ?

2010-12-31 Thread Charles Marcus
On 2010-12-29 10:14 AM, Joan Moreau wrote: > But I have no " car to fix" . What is that story about ? In your first post, you vaguely described a 'problem': "the postfix queue manager (qmgr) is taking far too much resources when the number of email pending is grow

Re: Postfix queue in Mysql ?

2010-12-29 Thread Noel Jones
On 12/29/2010 9:14 AM, Joan Moreau wrote: Can you just tell me how to put the mailing queue in a DB (mysql database in my case) ? Yes, rewrite postfix to use a DB as a backend rather than a file system. This will be a major redesign and not just a plugin. No one else is working on such a p

Re: Postfix queue in Mysql ?

2010-12-29 Thread Tomoyuki Murakami
On Wed, 29 Dec 2010 10:14:49 -0500, Joan Moreau wrote: > Can you just tell me how to put > the mailing queue in a DB (mysql database in my case) ? you may simply deploy MySQLfs (FUSE+MySQL) if you do not mind speeds, loads,...etc. http://sourceforge.net/projects/mysqlfs/ pgp7HNgIbhXrK.pgp Des

Re: Postfix queue in Mysql ?

2010-12-29 Thread Jeroen Geilman
On 12/29/10 4:14 PM, Joan Moreau wrote: But I have no " car to fix" . What is that story about ? Now, I did not rule out anything in any email. Can you just tell me how to put the mailing queue in a DB (mysql database in my case) ? Exactly which part of NO YOU CAN NOT PUT THE QUEUE IN A D

Re: Postfix queue in Mysql ?

2010-12-29 Thread Joan Moreau
But I have no " car to fix" . What is that story about ? Now, I did not rule out anything in any email. Can you just tell me how to put the mailing queue in a DB (mysql database in my case) ? On Wed, 29 Dec 2010 18:04:45 +1100, James Gray wrote: > On 29/12/2010, at 4:02 PM, Joan Moreau wr

Let's Kill This Thread (Was: Postfix queue in Mysql ?)

2010-12-29 Thread mouss
Le 29/12/2010 12:38, Ansgar Wiechers a écrit : > On 2010-12-29 Joan Moreau wrote: >> Well, I am surprised by the tone of those emails. > > I, on the other hand, am very surprised, how you're consistently avoid > giving this list any details about your configuration or your actual > problem. > >

Re: Postfix queue in Mysql ?

2010-12-29 Thread Ansgar Wiechers
On 2010-12-29 Joan Moreau wrote: > Well, I am surprised by the tone of those emails. I, on the other hand, am very surprised, how you're consistently avoid giving this list any details about your configuration or your actual problem. Please either supply the information you've been asked for (se

Re: Postfix queue in Mysql ?

2010-12-28 Thread James Gray
On 29/12/2010, at 4:02 PM, Joan Moreau wrote: > Well, I am surprised by the tone of those emails. Why? Do you tell you mechanic how to fix your car before he's even been informed what vehicle you drive? > I am just asking if it exists a back-end that would replace the storage and > management

  1   2   3   >