Re: Re: Can I talk to gmail?

2009-10-20 Thread zch.open
Thank you for your quick reply, stan! I think I failed to express my thought -_-! What I'm going to accomplish is to build a mail server in my Intranet using postfix. And I hope this mail server can talk to gmail or other e-mail server on the Internet. So my co-workers can use my mail server.

Re: Re: Can I talk to gmail?

2009-10-20 Thread zch.open
Eero, Thank you for your reply! I do not know if my ISP blocked direct tcp 25 port connections. It failed every time when I tried to connect any mail server's tcp 25 port using "telnet mail. 25". I know gmail's smtp port is 465, but my postfix seemed to connect gmail server's port 25(as th

Re: Can I talk to gmail?

2009-10-20 Thread Eero Volotinen
zch.open kirjoitti: Hi everybody! I'm a new user of postfix. Now I have a problem about talking to gmail. I work in a small company, and my computer's os is debian on which i installed postfix. My ip address is an inner ip address and It's seems there is only one outer ip address for my whole

Re: Can I talk to gmail?

2009-10-20 Thread Stan Hoeppner
zch.open put forth on 10/21/2009 1:01 AM: > Hi everybody! > > I'm a new user of postfix. Now I have a problem about talking to gmail. Maybe you should start by telling us exactly what it is you want to do/accomplish with Postfix, on Debian, inside your small company, from a dynamic IP address.

Re: run external command when new mail arrives

2009-10-20 Thread rihad
Geert Hendrickx wrote: On Wed, Oct 21, 2009 at 10:20:50AM +0500, rihad wrote: One more thing, please: after myprog has done its job, how can I pass the original message back to postfix so it does whatever should be done after myprog is finished (like delivering the message with virtual(8))? P

Can I talk to gmail?

2009-10-20 Thread zch.open
Hi everybody! I'm a new user of postfix. Now I have a problem about talking to gmail. I work in a small company, and my computer's os is debian on which i installed postfix. My ip address is an inner ip address and It's seems there is only one outer ip address for my whole company. And I get my

Re: run external command when new mail arrives

2009-10-20 Thread Geert Hendrickx
On Wed, Oct 21, 2009 at 10:00:26AM +0500, rihad wrote: > But then: > > >Maildrop can be invoked that way. > > What's so special about maildrop? If there's no published interface > for Postfix's internals, then maildrop could as easily break with > Postfix's next release, couldn't it? "that way"

Re: run external command when new mail arrives

2009-10-20 Thread Geert Hendrickx
On Wed, Oct 21, 2009 at 10:20:50AM +0500, rihad wrote: > One more thing, please: after myprog has done its job, how can I pass the > original message back to postfix so it does whatever should be done after > myprog is finished (like delivering the message with virtual(8))? Pass it to maildrop? :

Postfix 2.6.x slow - Eric? Update?

2009-10-20 Thread Stan Hoeppner
Victor Duchovni put forth on 10/6/2009 11:37 AM: > On Mon, Oct 05, 2009 at 05:17:54PM -0700, Eric Vaughn wrote: > >> Are there any new features to postfix 2.6.x that would cause it to be >> slow? > > Eric your post premature. You don't yet have measurements showing Postfix > 2.6 to be "slow". Let

Re: run external command when new mail arrives

2009-10-20 Thread rihad
Geert Hendrickx wrote: On Tue, Oct 20, 2009 at 10:57:58PM +0500, rihad wrote: could someone please say how I'd configure external program myprog instead of maildrop? Maybe something like: myprog unix - n n - - pipe user=vmail argv=/path/to/myprog -d ${recipient

Postfix configuration outgoing mail problem; connection timed out

2009-10-20 Thread Stan Hoeppner
Sahil Tandon put forth on 10/20/2009 8:57 PM: > On Tue, 20 Oct 2009, Michael Jean wrote: > >> smtpd_sasl_auth_enable = yes > > smtpd != smtp; you never enabled SASL for the smtp *client*. Review the > SASL_README, specifically the client section to which you have already > been referred. > >> s

Re: run external command when new mail arrives

2009-10-20 Thread rihad
Geert Hendrickx wrote: On Tue, Oct 20, 2009 at 10:57:58PM +0500, rihad wrote: could someone please say how I'd configure external program myprog instead of maildrop? Maybe something like: myprog unix - n n - - pipe user=vmail argv=/path/to/myprog -d ${recipient

excessive recursion (max 50)

2009-10-20 Thread Alberto Lepe
I hope someone can help me with this problem... Thank you in advance, and sorry to take your time. (IPs and domains where changed) I have 2 mail servers: "server_old.com" and "server_new.com" I moved a domain "domain1.com" (and emails accounts) from "old" to "new" server and erased the "domain1.

Re: Rewriting Recepient Subdomain Email Address

2009-10-20 Thread Magnus Bäck
On Wednesday, October 21, 2009 at 02:06 CEST, Norman Noah wrote: > > Do you want to change the header addresses or just the envelope? In > > the former case use canonical rewriting, and in the latter case use > > virtual rewriting. See ADDRESS_REWRIIING_README. > > > > You probably don't nee

Re: X-Spam-Status: NO

2009-10-20 Thread Alberto Lepe
On Wed, Oct 21, 2009 at 11:05 AM, Sahil Tandon wrote: > On Wed, 21 Oct 2009, Alberto Lepe wrote: > > > I was wondering if there is a way or maybe some option in amavis(?) to > > delete those X-Spam fake headers? > > You can ask for amavisd-new help on the amavisd-new mailing list. If > you want

Re: How to get a more human-friendly quota bounce message

2009-10-20 Thread Russell Jones
Aw. That deserves a sad face :-( . I was hoping, since you can edit bounce.cf to say what you would like, you could also edit the actual system error message. Sahil Tandon wrote: On Tue, 20 Oct 2009, Russell Jones wrote: I have Postfix 2.3.3 installed, and am using standard file syste

Re: How to get a more human-friendly quota bounce message

2009-10-20 Thread Sahil Tandon
On Tue, 20 Oct 2009, Russell Jones wrote: > I have Postfix 2.3.3 installed, and am using standard file system > quotas for users. Whenever a user receives a message and the message > cannot be delivered to them due to being over quota, the following > bounce messages is sent back: > > russell-exa

How to get a more human-friendly quota bounce message

2009-10-20 Thread Russell Jones
I have Postfix 2.3.3 installed, and am using standard file system quotas for users. Whenever a user receives a message and the message cannot be delivered to them due to being over quota, the following bounce messages is sent back: russell-example@server2.example.com

Re: Postfix Open Relay Issue

2009-10-20 Thread Sahil Tandon
On Tue, 20 Oct 2009, Severian37 wrote: > My postfix email server has been listed by dsnbl.njabl.org as an open relay, > but I'm not sure why. I tested the server from another site, and it passes > every test. > > My main.cf is setup with the following: No. Paste the output of 'postconf -n'. Se

Postfix Open Relay Issue

2009-10-20 Thread Severian37
Good day, My postfix email server has been listed by dsnbl.njabl.org as an open relay, but I'm not sure why. I tested the server from another site, and it passes every test. My main.cf is setup with the following: __ alias_database = hash:/etc/aliases alias_maps = hash:/etc/alia

Re: X-Spam-Status: NO

2009-10-20 Thread Sahil Tandon
On Wed, 21 Oct 2009, Alberto Lepe wrote: > I was wondering if there is a way or maybe some option in amavis(?) to > delete those X-Spam fake headers? You can ask for amavisd-new help on the amavisd-new mailing list. If you want to remove certain headers "at the gate" before passing mail to your

Re: Postfix configuration outgoing mail problem; connection timed out

2009-10-20 Thread Sahil Tandon
On Tue, 20 Oct 2009, Michael Jean wrote: > smtpd_sasl_auth_enable = yes smtpd != smtp; you never enabled SASL for the smtp *client*. Review the SASL_README, specifically the client section to which you have already been referred. > sasl_passwd: > [smtp.broadband.rogers.com] michaeljean:mypasswo

X-Spam-Status: NO

2009-10-20 Thread Alberto Lepe
Hello, I'm creating a script to help me to enhance the spamassassin rules. As many of you may know already some spam mails add false X-Spam-Status headers to the mail like this one: X-Spam-Flag: YES > X-Spam-Score: 8.632 > X-Spam-Level: > X-Spam-Status: Yes, score=8.632 tag=3 tag2=6 kill=

Re: Postfix configuration outgoing mail problem; connection timed out

2009-10-20 Thread Michael Jean
Ok toots:/etc/postfix# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes config_directory = /etc/postfix mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 mydestination = $myhostname localhost.$mydomain localhost $mydomain

Non-persistent queues, speed-matching and fall-back

2009-10-20 Thread Wietse Venema
Work on Postfix continues to make it more scalable, after the system was made feature-complete in the past couple years. One recent example is Postscreen, which focuses on the increasing botnet threat, and keeping zombie SMTP clients away from the SMTP servers. This note discusses an approach to

Re: Rewriting Recepient Subdomain Email Address

2009-10-20 Thread Norman Noah
> > Do you want to change the header addresses or just the envelope? In the > former case use canonical rewriting, and in the latter case use virtual > rewriting. See ADDRESS_REWRIIING_README. > > You probably don't need to use the transport table, but it depends on > your setup. > What about /etc

Re: ldap : adress with delimiter "+"

2009-10-20 Thread Magnus Bäck
On Tuesday, October 20, 2009 at 23:03 CEST, Thierry Voyat wrote: > In "relay_recipient_maps" I use LDAP query like > (|(uid =%u)(mail=%s)) > that works quite normally. > > u...@domain.com produce (|(uid=user)(mail=u...@domain.com)) > > I would now use addresses with "+" delimiter like user

Re: run external command when new mail arrives

2009-10-20 Thread Magnus Bäck
On Tuesday, October 20, 2009 at 16:39 CEST, rihad wrote: [...] > I might as well write my own thin wrapper for virtual and be done: > > #!/bin/sh > # do not read the body, but do my own actions based on RCPT TO > ... > # and finally... > exec /path/to/postfix/virtual $@ > > and change in ma

ldap : adress with delimiter "+"

2009-10-20 Thread Thierry Voyat
Hi, In "relay_recipient_maps" I use LDAP query like (|(uid =%u)(mail=%s)) that works quite normally. u...@domain.com produce (|(uid=user)(mail=u...@domain.com)) I would now use addresses with "+" delimiter like user+...@domain.com but LDAP queries do research on uid=user+foo or mail=user+...@dom

Re: Sender/Client access

2009-10-20 Thread Magnus Bäck
On Tuesday, October 20, 2009 at 05:33 CEST, MySQL Student wrote: > I thought I understood how to block a specific domain from being able > to send mail to users on my server, but I must be doing something > wrong. In main.cf I have: > > check_sender_access hash:/etc/postfix/sender_access, >

Re: Rewriting Recepient Subdomain Email Address

2009-10-20 Thread Magnus Bäck
On Tuesday, October 20, 2009 at 21:53 CEST, Daniel L'Hommedieu wrote: > I've been trying to understand the ADDRESS_REWRITING_README and > haven't ever figured it out. Part of the problem is that I don't > understand the terminology that is in use (e.g., "header address" and > "envelope addr

Re: Using different CA for smtpd on port 25 on and port 587

2009-10-20 Thread Victor Duchovni
On Tue, Oct 20, 2009 at 10:25:20PM +0200, Roland Dirlewanger wrote: >Hi folks, > >I would like to set up TLS on our mail server the following way : > > * connections to port 25 may use TLS. If TLS is used, our server should >verify the client certificate using the CAs found

Using different CA for smtpd on port 25 on and port 587

2009-10-20 Thread Roland Dirlewanger
Hi folks, I would like to set up TLS on our mail server the following way : connections to port 25 may use TLS. If TLS is used, our server should verify the client certificate using the CAs found in OpenSSL's ca-bundle.crt connections to port 587 are required to use TLS. Our server should

Re: run external command when new mail arrives

2009-10-20 Thread Geert Hendrickx
On Tue, Oct 20, 2009 at 10:57:58PM +0500, rihad wrote: > could someone please say how I'd configure external program myprog > instead of maildrop? Maybe something like: > > myprog unix - n n - - pipe > user=vmail argv=/path/to/myprog -d ${recipient} > > myprog wi

Re: Rewriting Recepient Subdomain Email Address

2009-10-20 Thread Daniel L'Hommedieu
On Oct 20, 2009, at 15:45, Magnus Bäck wrote: On Tuesday, October 20, 2009 at 11:32 CEST, Norman Noah wrote: I'm quite new to Postfix. Can anybody show me an example how to rewrite recepient address ? Old email server u...@abc.company.com new email server u...@xyz.company.com Where shoul

Re: Rewriting Recepient Subdomain Email Address

2009-10-20 Thread Magnus Bäck
On Tuesday, October 20, 2009 at 11:32 CEST, Norman Noah wrote: > I'm quite new to Postfix. Can anybody show me an example how to > rewrite recepient address ? > > Old email server u...@abc.company.com > new email server u...@xyz.company.com > > Where should i change in transport_maps, virt

Re: run external command when new mail arrives

2009-10-20 Thread rihad
Wietse Venema wrote: rihad: Aha, and then if I'd like the original executable to do its work, _without_ having read the body, will exec'ing it be enough? You MUST use one of Postfix's deliver programs in master.cf: local, virtual, pipe, smtp. The interface to the queue manager is not publishe

Re: How to deliver to Cyrus imapd mailboxes

2009-10-20 Thread Victor Duchovni
On Tue, Oct 20, 2009 at 06:23:13PM +0200, Nicolas Courtel wrote: >> Oct 20 17:05:10 callisto postfix/pipe[22169]: B9BC918065: >> to=, relay=cyrus, delay=515, >> delays=515/0.06/0/0.07, dsn=4.3.0, status=deferred (temporary failure. >> Command output: couldn't connect to lmtpd: Connection refused_

Re: How to deliver to Cyrus imapd mailboxes

2009-10-20 Thread Reinaldo de Carvalho
On Tue, Oct 20, 2009 at 12:25 PM, Raimund Eimann wrote: > > I put the lmtp pipe in /var/spool/postfix/public/lmtp and have > corresponding config file entries: > > /etc/cyrus.conf: > lmtpunix    cmd="lmtpd" listen="/var/spool/postfix/public/lmtp" prefork=1 > Don't put pipes from external software

Re: run external command when new mail arrives

2009-10-20 Thread Wietse Venema
rihad: > Robert Schetterer wrote: > > Geert Hendrickx schrieb: > >> On Tue, Oct 20, 2009 at 02:04:15PM +0500, rihad wrote: > >>> "The Postfix SMTP server has a number of built-in mechanisms to block or > >>> accept mail at specific SMTP protocol stages." > >>> > >>> But the mail could later be filt

Re: How to deliver to Cyrus imapd mailboxes

2009-10-20 Thread Nicolas Courtel
Hello, I am a bit further, at least I get an error now when delivery fails: (from /var/log/mail) Oct 20 17:05:10 callisto postfix/pipe[22169]: B9BC918065: to=, relay=cyrus, delay=515, delays=515/0.06/0/0.07, dsn=4.3.0, status=deferred (temporary failure. Command output: couldn't connect to lmt

Re: query about "holding" mails for review...

2009-10-20 Thread Terry Carmen
Johan Andersson wrote: Hi, We have a slight problem with accounts being phished/hacked and spammers using them for their stuff. Servers are as safe as the customer will make them at the moment... which sadly means that some of the very mixed staff answers phishing mails and gives out their pa

Re: How to deliver to Cyrus imapd mailboxes

2009-10-20 Thread Raimund Eimann
Hi, I am a bit further, at least I get an error now when delivery fails: (from /var/log/mail) Oct 20 17:05:10 callisto postfix/pipe[22169]: B9BC918065: to=, relay=cyrus, delay=515, delays=515/0.06/0/0.07, dsn=4.3.0, status=deferred (temporary failure. Command output: couldn't connect to lmtpd: C

Re: query about "holding" mails for review...

2009-10-20 Thread Johan Andersson
Wietse Venema wrote: Johan Andersson: Hi, We have a slight problem with accounts being phished/hacked and spammers using them for their stuff. Servers are as safe as the customer will make them at the moment... which sadly means that some of the very mixed staff answers phishing mails and

Re: run external command when new mail arrives

2009-10-20 Thread rihad
Robert Schetterer wrote: Geert Hendrickx schrieb: On Tue, Oct 20, 2009 at 02:04:15PM +0500, rihad wrote: "The Postfix SMTP server has a number of built-in mechanisms to block or accept mail at specific SMTP protocol stages." But the mail could later be filtered etc., so it's a bit early for th

Re: run external command when new mail arrives

2009-10-20 Thread Robert Schetterer
Geert Hendrickx schrieb: > On Tue, Oct 20, 2009 at 02:04:15PM +0500, rihad wrote: >> "The Postfix SMTP server has a number of built-in mechanisms to block or >> accept mail at specific SMTP protocol stages." >> >> But the mail could later be filtered etc., so it's a bit early for the >> external pr

Re: run external command when new mail arrives

2009-10-20 Thread rihad
Wietse Venema wrote: rihad: Aha, and then if I'd like the original executable to do its work, _without_ having read the body, will exec'ing it be enough? You MUST use one of Postfix's deliver programs in master.cf: local, virtual, pipe, smtp. The interface to the queue manager is not publishe

Re: run external command when new mail arrives

2009-10-20 Thread Noel Jones
On 10/20/2009 8:06 AM, Wietse Venema wrote: rihad: Aha, and then if I'd like the original executable to do its work, _without_ having read the body, will exec'ing it be enough? You MUST use one of Postfix's deliver programs in master.cf: local, virtual, pipe, smtp. The interface to the queue

Re: run external command when new mail arrives

2009-10-20 Thread Wietse Venema
rihad: > >> Aha, and then if I'd like the original executable to do its work, > >> _without_ having read the body, will exec'ing it be enough? > > > > You MUST use one of Postfix's deliver programs in master.cf: > > > > local, virtual, pipe, smtp. > > > > The interface to the queue manager is n

Re: run external command when new mail arrives

2009-10-20 Thread rihad
Wietse Venema wrote: rihad: Geert Hendrickx wrote: On Tue, Oct 20, 2009 at 02:04:15PM +0500, rihad wrote: "The Postfix SMTP server has a number of built-in mechanisms to block or accept mail at specific SMTP protocol stages." But the mail could later be filtered etc., so it's a bit early for

Re: How to deliver to Cyrus imapd mailboxes

2009-10-20 Thread Bron Gondwana
On Tue, Oct 20, 2009 at 01:58:22PM +0200, lst_ho...@kwsoft.de wrote: > I think you should never write to Cyrus mailspool without using the > Cyrus Tools?? Absolutely. You don't want to deliver it directly, you want to deliver it to cyrus' lmtpd process, or piping it to the cyrus "deliver" tool.

Re: How to deliver to Cyrus imapd mailboxes

2009-10-20 Thread lst_hoe02
Zitat von Mark Goodge : Raimund Eimann wrote: Hi, I'm running Cyrus imapd and postfix on a box. I would like postfix to deliver incoming mail not to /var/spool/mail/, but rather to /var/spool/imap//Inbox, where the latter is apparently not a flat file, but rather a typical imap directory struc

Re: run external command when new mail arrives

2009-10-20 Thread Wietse Venema
rihad: > Geert Hendrickx wrote: > > On Tue, Oct 20, 2009 at 02:04:15PM +0500, rihad wrote: > >> "The Postfix SMTP server has a number of built-in mechanisms to block or > >> accept mail at specific SMTP protocol stages." > >> > >> But the mail could later be filtered etc., so it's a bit early for t

Re: How to deliver to Cyrus imapd mailboxes

2009-10-20 Thread lst_hoe02
Zitat von Raimund Eimann : Hi, I'm running Cyrus imapd and postfix on a box. I would like postfix to deliver incoming mail not to /var/spool/mail/, but rather to /var/spool/imap//Inbox, where the latter is apparently not a flat file, but rather a typical imap directory structure ("maildir"?) C

Re: How to deliver to Cyrus imapd mailboxes

2009-10-20 Thread Mark Goodge
Raimund Eimann wrote: Hi, I'm running Cyrus imapd and postfix on a box. I would like postfix to deliver incoming mail not to /var/spool/mail/, but rather to /var/spool/imap//Inbox, where the latter is apparently not a flat file, but rather a typical imap directory structure ("maildir"?) Current

How to deliver to Cyrus imapd mailboxes

2009-10-20 Thread Raimund Eimann
Hi, I'm running Cyrus imapd and postfix on a box. I would like postfix to deliver incoming mail not to /var/spool/mail/, but rather to /var/spool/imap//Inbox, where the latter is apparently not a flat file, but rather a typical imap directory structure ("maildir"?) Currently incoming mail for is

Re: run external command when new mail arrives

2009-10-20 Thread rihad
Geert Hendrickx wrote: On Tue, Oct 20, 2009 at 02:04:15PM +0500, rihad wrote: "The Postfix SMTP server has a number of built-in mechanisms to block or accept mail at specific SMTP protocol stages." But the mail could later be filtered etc., so it's a bit early for the external program to run. I

Re: run external command when new mail arrives

2009-10-20 Thread Geert Hendrickx
On Tue, Oct 20, 2009 at 02:04:15PM +0500, rihad wrote: > "The Postfix SMTP server has a number of built-in mechanisms to block or > accept mail at specific SMTP protocol stages." > > But the mail could later be filtered etc., so it's a bit early for the > external program to run. I want it to run

RE: Rewriting Recepient Subdomain Email Address

2009-10-20 Thread Craig Watson
I think you should just view /etc/postfix/generic -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Norman Noah Sent: Tuesday, October 20, 2009 6:32 PM To: postfix-users@postfix.org Subject: Rewriting Recepient Subdomain Email

Rewriting Recepient Subdomain Email Address

2009-10-20 Thread Norman Noah
Hi to all, I'm quite new to Postfix. Can anybody show me an example how to rewrite recepient address ? Old email server u...@abc.company.com new email server u...@xyz.company.com Where should i change in transport_maps, virtual_aliasing? Can u show me the example to change ?

Re: run external command when new mail arrives

2009-10-20 Thread Ansgar Wiechers
On 2009-10-20 rihad wrote: > Geert Hendrickx wrote: >> On Tue, Oct 20, 2009 at 01:03:04PM +0500, rihad wrote: >>> Hi there, I need an external command to be run whenever new mail is >>> finally delivered to a virtual domain, but I don't need access to >>> the body of that mail, only who it is for (

Re: Postfix configuration outgoing mail problem; connection timed out

2009-10-20 Thread LuKreme
On 20-Oct-2009, at 02:59, Angelo Amoruso wrote: Try to troubleshooting doing a simple telnet on port TCP/25 on the remote host. If you can get the welcome banner from the remote SMTP server, the issue is somewhere else. Nope,. you have to check a full transaction. Rogers, like some ISPs, m

Re: run external command when new mail arrives

2009-10-20 Thread rihad
Geert Hendrickx wrote: On Tue, Oct 20, 2009 at 01:03:04PM +0500, rihad wrote: Hi there, I need an external command to be run whenever new mail is finally delivered to a virtual domain, but I don't need access to the body of that mail, only who it is for (from its headers). Just wondering if cont

Maildir creation problem

2009-10-20 Thread suomi
Hi listers maildir creation problem: Oct 20 10:36:43 myhost postfix/virtual[10041]: warning: maildir access problem for UID/GID=89/89: create maildir file /data/postfix/maildrop//mydomain/anax/tmp/1256027803.P10041.myhost.mydomain.com: Permission denied Oct 20 10:36:43 myhost postfix/virtual[

Re: Postfix configuration outgoing mail problem; connection timed out

2009-10-20 Thread Angelo Amoruso
Noel Jones wrote:[...] mail.log: Oct 14 23:31:16 mymailhost postfix/smtp[9166]: 5F01426400: to=, relay=none, delay=60, delays=0.04/0.02/60/0, dsn=4.4.1, status=deferred (connect to filter.somewhere.ca[ipaddress]:25: Connection timed out) Oct 14 23:31:51 mymailhost postfix/smtp[9188]: 7EFCE264

Re: outgoing spam

2009-10-20 Thread Martin Schiøtz
>> Can I do any outgoing spam checks with postfix or I'm forced to >> install lots of Amavis, spamassassin, etc. software to do that job. >> > > I'm sorry to tell you that blocking outbound spam is at least harder > than blocking inbound spam. > > - you certainly need an anti-virus > - you "can" us

Re: run external command when new mail arrives

2009-10-20 Thread rihad
Geert Hendrickx wrote: On Tue, Oct 20, 2009 at 01:03:04PM +0500, rihad wrote: Hi there, I need an external command to be run whenever new mail is finally delivered to a virtual domain, but I don't need access to the body of that mail, only who it is for (from its headers). Just wondering if cont

Re: run external command when new mail arrives

2009-10-20 Thread Geert Hendrickx
On Tue, Oct 20, 2009 at 01:03:04PM +0500, rihad wrote: > Hi there, I need an external command to be run whenever new mail is finally > delivered to a virtual domain, but I don't need access to the body of that > mail, only who it is for (from its headers). Just wondering if content > filtering is t

run external command when new mail arrives

2009-10-20 Thread rihad
Hi there, I need an external command to be run whenever new mail is finally delivered to a virtual domain, but I don't need access to the body of that mail, only who it is for (from its headers). Just wondering if content filtering is the most efficient way supported by Postfix to do that: http://