/usr/sbin/sendmail takes a long time

2009-05-21 Thread ram
I have a mailing list server where an application sends mails to list members using /usr/sbin/sendmail ( on commandline) When the mailing is going on I find that /usr/sbin/sendmail takes quiet some time to return even for a trivial message For eg. sendmail -f r...@netcore.co.in r...@netcore.co.

verify recepients and smtp cache.

2009-05-21 Thread Alex
Hello everyone. I want to use postfix as frontend for a amount of non postfix mail server ( old CGP ) with a huge trafic. Right now I'm testing this scheme with two backend servers. Postfix doing all antispam work, greylisting and after verify recipient by verify trasnport (on an already known dom

Re: /usr/sbin/sendmail takes a long time

2009-05-21 Thread Michael Tokarev
ram wrote: I have a mailing list server where an application sends mails to list members using /usr/sbin/sendmail ( on commandline) When the mailing is going on I find that /usr/sbin/sendmail takes quiet some time to return even for a trivial message For eg. sendmail -f r...@netcore.co.in r..

Re: Disable content_filter

2009-05-21 Thread Simon Schelkshorn
Hi Wietse, thank you for your very fast reply! > > 192.168.xxx.xxx:25 inetn - n - - > > smtpd -o content_filter= > > > > This also works fine besides the fact, that mail send to the local > > smtp-port also is filtered by spamassassin. Can anyone point m

Re: verify recepients and smtp cache.

2009-05-21 Thread Wietse Venema
The address verify feature DOES NOT create its own connection cache. If you disagree, show actual evidence from the Postfix logfile, and explain what part of this evidence means that Postfix verification creates its own connection cache. Wietse

Re: verify recepients and smtp cache.

2009-05-21 Thread Alex
> The address verify feature DOES NOT create its own connection cache. > > If you disagree, show actual evidence from the Postfix logfile, > and explain what part of this evidence means that Postfix > verification creates its own connection cache. > > Wietse Sorry, it's all about my bad eng

Re: Disable content_filter

2009-05-21 Thread mouss
Simon Schelkshorn a écrit : > Hi Wietse, > > thank you for your very fast reply! > >>> 192.168.xxx.xxx:25 inetn - n - - >>> smtpd -o content_filter= >>> >>> This also works fine besides the fact, that mail send to the local >>> smtp-port also is filtered

Re: Sending Error

2009-05-21 Thread mouss
Jason Todd Slack-Moehrle a écrit : > > Hi All, > > I am new to Postfix and I have things setup and working, except one > particular domain is giving me an issue. The rest of the domains on this > server work as expected. > > My error is: > > Delivery to the following recipient failed permanentl

Re: verify recepients and smtp cache.

2009-05-21 Thread Wietse Venema
> There is no mails in queue, which fail to delivered. Messages to already > known/verified addreses delivered normal to backend servers. > > But verify often fails with error "Recipient address rejected: unverified > address: lost connection with mail.xxx[x.x.x.x] while receiving the > initial ser

Re: delivery notification

2009-05-21 Thread Dr.Pesko
On 5/21/2009 3:10 AM, mouss wrote: Dr.Pesko a écrit : On 5/20/2009 1:03 AM, mouss wrote: Dr.Pesko a écrit : Hello everyone, can postfix automatically create delivery notification info for every sent message and store it in another mailbox? Thanks. it's unclear

Re: Fw: Not able to add disclaimer

2009-05-21 Thread mouss
Bijayant Kumar a écrit : > Some body please help me, its very urgent. > if you use amavisd-new, it already supports altermime. it's probably easier. if you want to integrate altermime directly, please follow the FILTER README directions. ALso, instead of using ipfilter to redirect traffic, you

Re: delivery notification

2009-05-21 Thread Wietse Venema
Dr.Pesko: > Nope, I need option which can enable auto DSN report about sent messages > and will send it to another mailbox. Is it possible in postfix? Thanks. This is not an MTA feature. It is sometimes found in MUAs, as "save a copy of my sent emails". Wietse

Re: delivery notification

2009-05-21 Thread Steve
On Thu, 2009-05-21 at 12:17 -0400, Wietse Venema wrote: > Dr.Pesko: > > Nope, I need option which can enable auto DSN report about sent messages > > and will send it to another mailbox. Is it possible in postfix? Thanks. > > This is not an MTA feature. > > It is sometimes found in MUAs, as "save

Re: delivery notification

2009-05-21 Thread Wietse Venema
Steve: > On Thu, 2009-05-21 at 12:17 -0400, Wietse Venema wrote: > > Dr.Pesko: > > > Nope, I need option which can enable auto DSN report about sent messages > > > and will send it to another mailbox. Is it possible in postfix? Thanks. > > > > This is not an MTA feature. > > > > It is sometimes

Re: Simplifying repetition of reject, warn or OK checks with same reasons

2009-05-21 Thread mouss
Victor Duchovni a écrit : > On Mon, May 18, 2009 at 08:52:45PM -0400, Jon wrote: > >> Hello list, >> >> When building out the various checks available to postfix, is there a >> mechanism for doing a REJECT, WARN or OK plus the reason, en mass, without >> pasting the same text a lot? For example.

Allow Relaying, but not be an open-relay

2009-05-21 Thread Jason Todd Slack-Moehrle
HI All, How can I allow e-mails to be sent from my website to external users (like GMail) but not be an open-relay to spammers? -Jason

Re: Allow Relaying, but not be an open-relay

2009-05-21 Thread Terry Carmen
> HI All, > > How can I allow e-mails to be sent from my website to external users > (like GMail) but not be an open-relay to spammers? > By default Postfix will deliver mail to it's intended destination (GMail, AOL, etc.). but will accept mail only from IP addresses in "mynetworks". I believe m

Re: Allow Relaying, but not be an open-relay

2009-05-21 Thread Terry Carmen
> >> HI All, >> >> How can I allow e-mails to be sent from my website to external users >> (like GMail) but not be an open-relay to spammers? >> > > By default Postfix will deliver mail to it's intended destination (GMail, AOL, > etc.). but will accept mail only from IP addresses in "mynetworks".

forwarding & redirecting

2009-05-21 Thread K bharathan
is there any difference between these two? Redirect mail to another address and Forward mail to another address ? could be a dumb confusion!

Re: delivery notification

2009-05-21 Thread Steve
On Thu, 2009-05-21 at 14:44 -0400, Wietse Venema wrote: > Steve: > > On Thu, 2009-05-21 at 12:17 -0400, Wietse Venema wrote: > > > Dr.Pesko: > > > > Nope, I need option which can enable auto DSN report about sent > > > > messages > > > > and will send it to another mailbox. Is it possible in post

Re: forwarding & redirecting

2009-05-21 Thread Melvyn Sopacua
On Thursday 21 May 2009 21:35:15 K bharathan wrote: > is there any difference between these two? Redirect mail to another > address and Forward mail to another address ? > could be a dumb confusion! Strictly speaking, redirect tells the sender to look elsewhere, while forward accepts the mail a

OT: Multiple Queues

2009-05-21 Thread Steve
I was taking apart a well know anti spam appliance on the Bench today and it has some interesting (but clearly ripped off) software inside. I managed to find; INBOUND MTA {own munged MTA with a queue structure just like Postfix called BSMTP} This pushes inbound mail VIA Clam/AmavisNew/Spamassasin

Re: forwarding & redirecting

2009-05-21 Thread d . hill
Quoting Melvyn Sopacua : On Thursday 21 May 2009 21:35:15 K bharathan wrote: is there any difference between these two? Redirect mail to another address and Forward mail to another address ? could be a dumb confusion! Strictly speaking, redirect tells the sender to look elsewhere, while for

Re: delivery notification

2009-05-21 Thread Melvyn Sopacua
On Wednesday 20 May 2009 21:14:39 Dr.Pesko wrote: > On 5/20/2009 1:03 AM, mouss wrote: > > Dr.Pesko a écrit : > >> Hello everyone, > >> > >> can postfix automatically create delivery notification info for every > >> sent message and store it in another mailbox? Thanks. > > > > it's unclear what you

Re: OT: Multiple Queues

2009-05-21 Thread Wietse Venema
Steve: > The real question I guess I am asking - is it possible to have three > instances of Postfix running on the same box, listening on different > ports, with separate queue directories? Actually, it would be more > accurate to ask HOW someone would implement this and what benefits it > could g

Re: Allow Relaying, but not be an open-relay

2009-05-21 Thread Jason Todd Slack-Moehrle
Hi Terry, How can I allow e-mails to be sent from my website to external users (like GMail) but not be an open-relay to spammers? By default Postfix will deliver mail to it's intended destination (GMail, AOL, etc.). but will accept mail only from IP addresses in "mynetworks". Sorry, I re

modifying sender address of forwarded mails

2009-05-21 Thread Radim Roska
Hi, I have an imap server where users can set to forward their mails to personal mails..but our main smtp server does not allow to send mails with not allowed sender address. Forwarded emails have sender address that is mostly not allowed (because its address of any sender from the world:). From:

Re: modifying sender address of forwarded mails

2009-05-21 Thread Wietse Venema
Radim Roska: > Hi, > > I have an imap server where users can set to forward their mails to personal > mails..but our main smtp server does not allow to send mails with not > allowed sender address. Forwarded emails have sender address that is mostly > not allowed (because its address of any sender

Re: Allow Relaying, but not be an open-relay

2009-05-21 Thread Terry Carmen
> Well, I have a ColdFusion based website that I have a few forms that > users submit to sign up for events. So they dont log in or anything. I > specified localhost in and it works for domains on my system, > but when I send the user a copy of what they submitted they dont get it. > > My main.cf

Re: modifying sender address of forwarded mails

2009-05-21 Thread Radim Roska
Thank you...Please do you have any idea how to do that? Its just I can figure just one solution..send these forwarded mails to external script..which is solution I dont find very nice :). Thanks Radim On Thu, May 21, 2009 at 11:45 PM, Wietse Venema wrote: > Radim Roska: > > Hi, > > > > I have an

Re: Allow Relaying, but not be an open-relay

2009-05-21 Thread Jason Todd Slack-Moehrle
Hi Terry, My main.cf says: mynetworks = 172.16.254.0/28 That address is my apartment. I am hosting this at mosso so I have one static from them of 67.23.34.37. Mail and CF run on this same IP. It looks like the mail isn't going out because Postfix does not trust your local machine and i

Re: modifying sender address of forwarded mails

2009-05-21 Thread Melvyn Sopacua
On Friday 22 May 2009 00:23:15 Radim Roska wrote: > Thank you...Please do you have any idea how to do that? Its just I can > figure just one solution..send these forwarded mails to external > script..which is solution I dont find very nice :). Bypass the problem: if your imap application generates

virtual alias mapping does not match postmap query result

2009-05-21 Thread Ken
$ postmap -q f...@mydomain.com regexp:/etc/postfix/virtual b...@somewhere-else.tld Yet, if postfix actually receives a message destined for f...@mydomain.com, I see this log activity: May 21 18:37:02 bks-mail2 postfix/smtp[5803]: C728A1100053:\ to=, orig_to=,\ relay=mx1.myotherdomain.com[]:25, de

Re: OT: Multiple Queues

2009-05-21 Thread Barney Desmond
2009/5/22 Steve : > This 'BSMTP' munged MTA looks to offer very little more than Postfix > save for some Rate Control/Throttling/Better logging ? From my early > explorations with Postfix, it can mostly do all of this anyway or am I > missing something? We've also pulled apart a well-known anti-sp

Re: virtual alias mapping does not match postmap query result

2009-05-21 Thread Ken
Well...I seem to have partially answered my own question. If I remove the catch-all regexp, the address is rewritten correctly. Still, why does postmap -q present a different result? And, how can I accomplish the catch-all rewrite if this is the expected behavior of regexp? I may have misunderstoo

Re: virtual alias mapping does not match postmap query result

2009-05-21 Thread Barney Desmond
2009/5/22 Ken : > Perhaps regexp continues processing > postfix/virtual after the first match and also substitutes based on the > final catch-all rule? Correct, virtual_alias_maps are recursive (out to 1000 iterations by default, I think). http://www.postfix.org/postconf.5.html#virtual_alias_recur

Consistent Entry Stuck in Queue

2009-05-21 Thread Carlos Williams
Can someone please help me understand why I am seeing this entry over and over in my Postfix queue? Is this dangerous or does this mean I have been compromised? I am seeing this over and over in my queue even after I remove it with the "postsuper -d" command: 502E97782FC 4527 Thu May 21 16:48

Re: time stamp changes in the queue'

2009-05-21 Thread tom lee
On Wed, May 20, 2009 at 5:36 PM, Wietse Venema wrote: > tom lee: >> postqueue -p and mailq doesn't display the queued mails sorted based >> on the arrival time. > > Why can't you let the mail system work FOR you, This is the special system dealing things differently. Thanks for you and other's he

Re: Consistent Entry Stuck in Queue

2009-05-21 Thread Sahil Tandon
On Thu, 21 May 2009, Carlos Williams wrote: > Can someone please help me understand why I am seeing this entry over > and over in my Postfix queue? Is this dangerous or does this mean I > have been compromised? No need to be alarmist; search the logs for further enlightenment. > I am seeing this

Re: time stamp changes in the queue'

2009-05-21 Thread Wietse Venema
tom lee: [ Charset ISO-8859-1 unsupported, converting... ] > On Wed, May 20, 2009 at 5:36 PM, Wietse Venema wrote: > > tom lee: > >> postqueue -p and mailq doesn't display the queued mails sorted based > >> on the arrival time. > > > > Why can't you let the mail system work FOR you, > > This is t

Re: Consistent Entry Stuck in Queue

2009-05-21 Thread Carlos Williams
On Thu, May 21, 2009 at 8:20 PM, Sahil Tandon wrote: > No need to be alarmist; search the logs for further enlightenment. I checked the logs and found the following when I search for the message ID: May 21 16:48:04 mail postfix/smtpd[22513]: 502E97782FC: client=localhost.localdomain[127.0.0.1] M

Re: Consistent Entry Stuck in Queue

2009-05-21 Thread Sahil Tandon
On Thu, 21 May 2009, Carlos Williams wrote: > On Thu, May 21, 2009 at 8:20 PM, Sahil Tandon wrote: > > No need to be alarmist; search the logs for further enlightenment. > > I checked the logs and found the following when I search for the message ID: s/message/queue/ :-) > May 21 16:48:04 mail

Re: How to safely re-inject an archived queue file?

2009-05-21 Thread Curtis
On Thu, Feb 12, 2009 at 8:13 AM, Victor Duchovni wrote: > On Thu, Feb 12, 2009 at 06:51:20AM -0700, Curtis wrote: > >> So, on a box that I know has nothing else feeding into the maildrop >> queue, it would be safe to skip the step of dropping it in the idle >> queue of a second instance (on

Re: Fw: Not able to add disclaimer

2009-05-21 Thread Bijayant Kumar
--- On Thu, 21/5/09, mouss wrote: > From: mouss > Subject: Re: Fw: Not able to add disclaimer > To: "postfix" > Date: Thursday, 21 May, 2009, 9:36 PM > Bijayant Kumar a écrit : > > Some body please help me, its very urgent. > > > > if you use amavisd-new, it already supports altermime. it's

Re: RESOLVED RE: Need To Reject Inbound From Addresses with My Own Domain/s

2009-05-21 Thread Michael Orlitzky
wiskbr...@hotmail.com wrote: My problem was that my main.cf, although stating the aliases map with: alias_database = dbm:/etc/postfix/aliases alias_maps = dbm:/etc/postfix/aliases Was actually using /etc/aliases. Not sure why, I've just deleted the /etc one and sym-linked the /etc/postfix/ali

Re: virtual alias mapping does not match postmap query result

2009-05-21 Thread Magnus Bäck
On Friday, May 22, 2009 at 01:03 CEST, Ken wrote: [...] > .:postfix/main.cf > myhostname = mx1.mydomain.com > myorigin = $mydomain > mydestination = > local_recipient_maps = > mynetworks_style = host > smtpd_recipient_restrictions = > permit_mynetworks > check_sender_acc

Re: OT: Multiple Queues

2009-05-21 Thread Ralf Hildebrandt
* Steve : > This 'BSMTP' munged MTA looks to offer very little more than Postfix > save for some Rate Control/Throttling/Better logging ? From my early > explorations with Postfix, it can mostly do all of this anyway or am I > missing something? Postfix does rate control, but on a "one size fits

Re: OT: Multiple Queues

2009-05-21 Thread Steve
On Fri, 2009-05-22 at 09:06 +1000, Barney Desmond wrote: > 2009/5/22 Steve : > > This 'BSMTP' munged MTA looks to offer very little more than Postfix > > save for some Rate Control/Throttling/Better logging ? From my early > > explorations with Postfix, it can mostly do all of this anyway or am I >

Re: OT: Multiple Queues

2009-05-21 Thread Ralf Hildebrandt
* Steve : > The feature set that this 'bsmtp' proxy seems to offer are; > 1. Recipient Verification checks via one of three mechanisms in sequence > a. LDAP/AD query (able to query one or more LDAP servers) > b. SMTP Recipient Verification (sends a test message to server > from '

Re: delivery notification

2009-05-21 Thread Dr.Pesko
Melvyn Sopacua wrote: On Wednesday 20 May 2009 21:14:39 Dr.Pesko wrote: On 5/20/2009 1:03 AM, mouss wrote: Dr.Pesko a écrit : Hello everyone, can postfix automatically create delivery notification info for every sent message and store it in another mailbox? Thanks. it