Re: Pipe mails to script

2011-10-11 Thread Anders Bruun Olsen
2011/10/10 Jeroen Geilman : >> How about defining your scan-transport in a transport table? did you >> forget that? > He did not forget it; he thought using relay_transport would work for smtpd > submission. Exactly. > Noel's solution is a lot easier, especially since you don't care about what >

Re: Pipe mails to script

2011-10-10 Thread Jeroen Geilman
On 2011-10-10 17:30, postfix wrote: How about defining your scan-transport in a transport table? did you forget that? He did not forget it; he thought using relay_transport would work for smtpd submission. A transport map is based on the recipient address; how would you determine which ma

Re: Pipe mails to script

2011-10-10 Thread postfix
How about defining your scan-transport in a transport table? did you forget that? suomi On 2011-10-10 16:57, Anders Bruun Olsen wrote: Hi, I have a Postfix 2.7 running on our LAN to relay mails from servers and such stuff to our hosted email service. We have a photocopier that can also scan t

Re: Pipe mails to script

2011-10-10 Thread Noel Jones
On 10/10/2011 9:57 AM, Anders Bruun Olsen wrote: > Hi, > > I have a Postfix 2.7 running on our LAN to relay mails from servers > and such stuff to our hosted email service. > We have a photocopier that can also scan to PDF and email the > resulting file. Unfortunately our email-provider does not l

Pipe mails to script

2011-10-10 Thread Anders Bruun Olsen
Hi, I have a Postfix 2.7 running on our LAN to relay mails from servers and such stuff to our hosted email service. We have a photocopier that can also scan to PDF and email the resulting file. Unfortunately our email-provider does not like mails above the size of 20mb, so large scans can't get th