Postfix cannot scan mail

2013-05-21 Thread ton
Hi all,

I have some problem with amavis and postfix in my system

Problem is sometime system can scan the attached file but sometime cannot
,But  file type is same ".lzh"

Example
* Cannot scan *
May  9 13:11:43 SMTP amavis[95272]: (95272-01) p003 1 Content-Type:
multipart/mixed
May  9 13:11:43 SMTP amavis[95272]: (95272-01) p001 1/1 Content-Type:
text/plain, size: 4 B, name:
May  9 13:11:43 SMTP amavis[95272]: (95272-01) p002 1/2 Content-Type:
application/x-lzh-compressed, size: 1095339 B, name: testdo.lzh
May  9 13:11:43 SMTP amavis[95272]: (95272-01) (!)Decoding of p002 (LHa
(2.x) archive data [lh5]) failed, leaving it unpacked: do_lha: no archive
members, or not an archive at all at (eval 149) line 993.

* Can scan *
May  7 08:55:12 SMTP amavis[68993]: (68993-01) p001 1/1 Content-Type:
text/plain, size: 4 B, name:
May  7 08:55:12 SMTP amavis[68993]: (68993-01) p002 1/2 Content-Type:
application/x-lha, size: 535550 B, name: J100E2.lzh
May  7 08:55:13 SMTP amavis[68993]: (68993-01) p.path BANNED:1 test@test:
"P=p003,L=1,M=multipart/mixed |
P=p002,L=1/2,M=application/x-lha,T=lha,N=J100E2.lzh |
P=p024,L=1/2/21,T=exe,T=exe-ms,N=test.exe",
matching_key="(?^:^\134.(exe-ms|dll)$)"


My amavis version amavisd-new-2.8.0_2,1
Postfix version postfix-2.9.4,1

I don't know how to fix this issue.
Any answers or how to information would be very appreciated.

Thank,
Ton



--
View this message in context: 
http://postfix.1071664.n5.nabble.com/Postfix-cannot-scan-mail-tp58181.html
Sent from the Postfix Users mailing list archive at Nabble.com.


Re: Postfix cannot scan mail

2013-05-21 Thread lists
On Tue, 21 May 2013 02:30:54 -0700 (PDT)
ton  wrote:

> Hi all,
> 
> I have some problem with amavis and postfix in my system
> 
> Problem is sometime system can scan the attached file but sometime
> cannot ,But  file type is same ".lzh"
> 
> Example
> * Cannot scan *
> May  9 13:11:43 SMTP amavis[95272]: (95272-01) p003 1 Content-Type:
> multipart/mixed
> May  9 13:11:43 SMTP amavis[95272]: (95272-01) p001 1/1 Content-Type:
> text/plain, size: 4 B, name:
> May  9 13:11:43 SMTP amavis[95272]: (95272-01) p002 1/2 Content-Type:
> application/x-lzh-compressed, size: 1095339 B, name: testdo.lzh
> May  9 13:11:43 SMTP amavis[95272]: (95272-01) (!)Decoding of p002
> (LHa (2.x) archive data [lh5]) failed, leaving it unpacked: do_lha:
> no archive members, or not an archive at all at (eval 149) line 993.
> 
> * Can scan *
> May  7 08:55:12 SMTP amavis[68993]: (68993-01) p001 1/1 Content-Type:
> text/plain, size: 4 B, name:
> May  7 08:55:12 SMTP amavis[68993]: (68993-01) p002 1/2 Content-Type:
> application/x-lha, size: 535550 B, name: J100E2.lzh
> May  7 08:55:13 SMTP amavis[68993]: (68993-01) p.path BANNED:1
> test@test: "P=p003,L=1,M=multipart/mixed |
> P=p002,L=1/2,M=application/x-lha,T=lha,N=J100E2.lzh |
> P=p024,L=1/2/21,T=exe,T=exe-ms,N=test.exe",
> matching_key="(?^:^\134.(exe-ms|dll)$)"
> 
> 
> My amavis version amavisd-new-2.8.0_2,1
> Postfix version postfix-2.9.4,1
> 
> I don't know how to fix this issue.
> Any answers or how to information would be very appreciated.
> 
> Thank,
> Ton
> 

This is not postfix problem, you should ask to amavisd-new support
http://www.ijs.si/software/amavisd/#support


Re: Documentation patch: [Re: Using resolve_numeric_domain=yes in master.cf]

2013-05-21 Thread Ralf Hildebrandt
* Viktor Dukhovni :
> On Mon, May 20, 2013 at 05:04:32PM +, Viktor Dukhovni wrote:
> 
> > On Mon, May 20, 2013 at 06:37:19PM +0200, Ralf Hildebrandt wrote:
> > 
> > > So I added resolve_numeric_domain=yes to a specific smtpd listening on
> > > port 10026 - since I don'T want to allo the []-less form globally:
> > 
> > Does not look like an smtpd parameter to me...
> 
> Related documentation patch:

Thanks :)

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein


Advice Needed / .NET Postfix Control

2013-05-21 Thread Greg Deward
NEWBIE WARNING:  I have never used Postfix and am not a Linux guru.  Please be 
gentile.

Is there an existing .NET library (DLL, etc.) for controlling Postfix?  If not, 
is there an existing API for applications that are NOT running on the same 
server as Postfix?  More specifically, I have a need for creating users, 
deleting users, changing passwords, and the like.  I have been tasked with 
implementing an Ubuntu mail server and tying it into our custom ERP application 
(written in ASP.NET MVC and running on Windows).  The goal is to be able to 
dynamically create user accounts, leverage them for a period of time, and then 
shut them down when a project is finished.

Thank you, in advance, for any assistance you may provide.

- G. Deward

Re: Advice Needed / .NET Postfix Control

2013-05-21 Thread Serge Fonville
Hi,

>From your mail it seems you desire a backend that can handle all that, you
should be able to setup postfix to retrieve its users from AD.

HTH

Kind regards/met vriendelijke groet,

Serge Fonville

http://www.sergefonville.nl

Convince Microsoft!
They need to add TRUNCATE PARTITION in SQL Server
https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table


2013/5/21 Greg Deward 

> NEWBIE WARNING:  I have never used Postfix and am not a Linux guru.
>  Please be gentile.
>
> Is there an existing .NET library (DLL, etc.) for controlling Postfix?  If
> not, is there an existing API for applications that are NOT running on the
> same server as Postfix?  More specifically, I have a need for creating
> users, deleting users, changing passwords, and the like.  I have been
> tasked with implementing an Ubuntu mail server and tying it into our custom
> ERP application (written in ASP.NET MVC and running on Windows).  The
> goal is to be able to dynamically create user accounts, leverage them for a
> period of time, and then shut them down when a project is finished.
>
> Thank you, in advance, for any assistance you may provide.
>
> - G. Deward


Re: Advice Needed / .NET Postfix Control

2013-05-21 Thread Greg Deward
Sorry... should have specified... cannot integrate with AD or the Microsoft 
environment.  This needs to remain entirely stand-alone.  This means our member 
base will be stored in the application's database and we will need to call out 
to Postfix to manually perform account provisioning and the like.

- G. Deward



On May 21, 2013, at 2:18 PM, Serge Fonville  wrote:

> Hi,
> 
> From your mail it seems you desire a backend that can handle all that, you 
> should be able to setup postfix to retrieve its users from AD.
> 
> HTH
> 
> Kind regards/met vriendelijke groet,
> 
> Serge Fonville
> 
> http://www.sergefonville.nl
> 
> Convince Microsoft!
> They need to add TRUNCATE PARTITION in SQL Server
> https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table
> 
> 
> 2013/5/21 Greg Deward 
> NEWBIE WARNING:  I have never used Postfix and am not a Linux guru.  Please 
> be gentile.
> 
> Is there an existing .NET library (DLL, etc.) for controlling Postfix?  If 
> not, is there an existing API for applications that are NOT running on the 
> same server as Postfix?  More specifically, I have a need for creating users, 
> deleting users, changing passwords, and the like.  I have been tasked with 
> implementing an Ubuntu mail server and tying it into our custom ERP 
> application (written in ASP.NET MVC and running on Windows).  The goal is to 
> be able to dynamically create user accounts, leverage them for a period of 
> time, and then shut them down when a project is finished.
> 
> Thank you, in advance, for any assistance you may provide.
> 
> - G. Deward
> 



Re: Advice Needed / .NET Postfix Control

2013-05-21 Thread Serge Fonville
Ah, ok.

Well you can run OpenLDAP (for example) as a backend in the same way you
could use AD.

Postfix can use multiple backends depending on your needs.

What requirements do you have?



Kind regards/met vriendelijke groet,

Serge Fonville

http://www.sergefonville.nl

Convince Microsoft!
They need to add TRUNCATE PARTITION in SQL Server
https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table


2013/5/21 Greg Deward 

> Sorry... should have specified... cannot integrate with AD or the
> Microsoft environment.  This needs to remain entirely stand-alone.  This
> means our member base will be stored in the application's database and we
> will need to call out to Postfix to manually perform account provisioning
> and the like.
>
> - G. Deward
>
>
>
> On May 21, 2013, at 2:18 PM, Serge Fonville 
> wrote:
>
> Hi,
>
> From your mail it seems you desire a backend that can handle all that, you
> should be able to setup postfix to retrieve its users from AD.
>
> HTH
>
> Kind regards/met vriendelijke groet,
>
> Serge Fonville
>
> http://www.sergefonville.nl
>
> Convince Microsoft!
> They need to add TRUNCATE PARTITION in SQL Server
>
> https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table
>
>
> 2013/5/21 Greg Deward 
>
>> NEWBIE WARNING:  I have never used Postfix and am not a Linux guru.
>>  Please be gentile.
>>
>> Is there an existing .NET library (DLL, etc.) for controlling Postfix?
>>  If not, is there an existing API for applications that are NOT running on
>> the same server as Postfix?  More specifically, I have a need for creating
>> users, deleting users, changing passwords, and the like.  I have been
>> tasked with implementing an Ubuntu mail server and tying it into our custom
>> ERP application (written in ASP.NET  MVC and running on
>> Windows).  The goal is to be able to dynamically create user accounts,
>> leverage them for a period of time, and then shut them down when a project
>> is finished.
>>
>> Thank you, in advance, for any assistance you may provide.
>>
>> - G. Deward
>
>
>
>


Re: Advice Needed / .NET Postfix Control

2013-05-21 Thread Greg Deward
In our conversations, the overall goal was to have a stand-alone mail server 
running Ubuntu and whatever mail packages are installed in [as close to default 
as possible] configuration.  The server should remain isolated and not be 
connected to any other box or resource.  We would call into it programmatically 
for all administrative functions.  Since we are a Microsoft shop, there is an 
overwhelming concern (read "fear") that we will be less qualified to maintain 
the platform as we add other services to the mix... in essence, we need to keep 
the overall mail platform as simplistic as possible to increase the chance that 
our folks can maintain it with ease.  Unless an LDAP server was an absolute 
requirement for Postfix we could not look at it.  And, more than likely, if it 
was a requirement, we would probably look to a different product.

Early on in this project we were given a requirement to allow our members the 
ability to receive "messages" from our server via IMAP.  Someone assumed 
writing an IMAP server service would be simple and that we would have the 
cycles to do so.  Over time we have discouraged this and tried to find another 
IMAP service that will be able to marshal and deliver our messages to the 
client.  This was unsuccessful.  Postfix, and a simple server like Ubuntu, 
seems like the easiest method for dropping in a box that can receive messages 
and allow a standard email client to pull them down.  Ultimately, it would be 
great to find an IMAP Server Service to negotiate the client calls act as a 
proxy to our application.  Until then, Postfix appears to be the path we are on.

I hope this helps.

- G. Deward



On May 21, 2013, at 2:32 PM, Serge Fonville  wrote:

> Ah, ok.
> 
> Well you can run OpenLDAP (for example) as a backend in the same way you 
> could use AD.
> 
> Postfix can use multiple backends depending on your needs.
> 
> What requirements do you have?
> 
> 
> 
> Kind regards/met vriendelijke groet,
> 
> Serge Fonville
> 
> http://www.sergefonville.nl
> 
> Convince Microsoft!
> They need to add TRUNCATE PARTITION in SQL Server
> https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table
> 
> 
> 2013/5/21 Greg Deward 
> Sorry... should have specified... cannot integrate with AD or the Microsoft 
> environment.  This needs to remain entirely stand-alone.  This means our 
> member base will be stored in the application's database and we will need to 
> call out to Postfix to manually perform account provisioning and the like.
> 
> - G. Deward
> 
> 
> 
> On May 21, 2013, at 2:18 PM, Serge Fonville  wrote:
> 
>> Hi,
>> 
>> From your mail it seems you desire a backend that can handle all that, you 
>> should be able to setup postfix to retrieve its users from AD.
>> 
>> HTH
>> 
>> Kind regards/met vriendelijke groet,
>> 
>> Serge Fonville
>> 
>> http://www.sergefonville.nl
>> 
>> Convince Microsoft!
>> They need to add TRUNCATE PARTITION in SQL Server
>> https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table
>> 
>> 
>> 2013/5/21 Greg Deward 
>> NEWBIE WARNING:  I have never used Postfix and am not a Linux guru.  Please 
>> be gentile.
>> 
>> Is there an existing .NET library (DLL, etc.) for controlling Postfix?  If 
>> not, is there an existing API for applications that are NOT running on the 
>> same server as Postfix?  More specifically, I have a need for creating 
>> users, deleting users, changing passwords, and the like.  I have been tasked 
>> with implementing an Ubuntu mail server and tying it into our custom ERP 
>> application (written in ASP.NET MVC and running on Windows).  The goal is to 
>> be able to dynamically create user accounts, leverage them for a period of 
>> time, and then shut them down when a project is finished.
>> 
>> Thank you, in advance, for any assistance you may provide.
>> 
>> - G. Deward
>> 
> 
> 



Re: Advice Needed / .NET Postfix Control

2013-05-21 Thread Brian Evans

On 5/21/2013 2:49 PM, Greg Deward wrote:
In our conversations, the overall goal was to have a stand-alone mail 
server running Ubuntu and whatever mail packages are installed in [as 
close to default as possible] configuration.  The server should remain 
isolated and not be connected to any other box or resource.  We would 
call into it programmatically for all administrative functions.  Since 
we are a Microsoft shop, there is an overwhelming concern (read 
"fear") that we will be less qualified to maintain the platform as we 
add other services to the mix... in essence, we need to keep the 
overall mail platform as simplistic as possible to increase the chance 
that our folks can maintain it with ease.  Unless an LDAP server was 
an absolute requirement for Postfix we could not look at it.  And, 
more than likely, if it was a requirement, we would probably look to a 
different product.


I think you misunderstand what Postfix is.

Postfix receives mail for valid recipients then passes it on to a 
delivery agent.

It has no administrative functions like you are seeking.
It can look up valid recipient via SQL or ldap or static lists.
Then it delivers as directed to an agent. There are a couple of simple 
agents to deliver to the local file system included, but nothing fancy.


Installing Postfix alone will not let you read the mail.  You need an 
IMAP/POP3 client to read remotely which Postfix does not provide.


Before commenting further, I think you should read the documentation 
http://www.postfix.org/documentation.html .


Brian



Early on in this project we were given a requirement to allow our 
members the ability to receive "messages" from our server via IMAP. 
 Someone assumed writing an IMAP server service would be simple and 
that we would have the cycles to do so.  Over time we have discouraged 
this and tried to find another IMAP service that will be able to 
marshal and deliver our messages to the client.  This was 
unsuccessful.  Postfix, and a simple server like Ubuntu, seems like 
the easiest method for dropping in a box that can receive messages and 
allow a standard email client to pull them down.  Ultimately, it would 
be great to find an IMAP Server Service to negotiate the client calls 
act as a proxy to our application.  Until then, Postfix appears to be 
the path we are on.


I hope this helps.

- G. Deward



On May 21, 2013, at 2:32 PM, Serge Fonville > wrote:



Ah, ok.

Well you can run OpenLDAP (for example) as a backend in the same way 
you could use AD.


Postfix can use multiple backends depending on your needs.

What requirements do you have?



Kind regards/met vriendelijke groet,

Serge Fonville

http://www.sergefonville.nl 

Convince Microsoft!
They need to add TRUNCATE PARTITION in SQL Server
https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table 




2013/5/21 Greg Deward >


Sorry... should have specified... cannot integrate with AD or the
Microsoft environment.  This needs to remain entirely
stand-alone.  This means our member base will be stored in the
application's database and we will need to call out to Postfix to
manually perform account provisioning and the like.

- G. Deward



On May 21, 2013, at 2:18 PM, Serge Fonville
mailto:serge.fonvi...@gmail.com>> wrote:


Hi,

From your mail it seems you desire a backend that can handle all
that, you should be able to setup postfix to retrieve its users
from AD.

HTH

Kind regards/met vriendelijke groet,

Serge Fonville

http://www.sergefonville.nl 

Convince Microsoft!
They need to add TRUNCATE PARTITION in SQL Server

https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table



2013/5/21 Greg Deward mailto:greg.dew...@gmail.com>>

NEWBIE WARNING:  I have never used Postfix and am not a
Linux guru.  Please be gentile.

Is there an existing .NET library (DLL, etc.) for
controlling Postfix?  If not, is there an existing API for
applications that are NOT running on the same server as
Postfix?  More specifically, I have a need for creating
users, deleting users, changing passwords, and the like.  I
have been tasked with implementing an Ubuntu mail server and
tying it into our custom ERP application (written in ASP.NET
 MVC and running on Windows).  The goal is
to be able to dynamically create user accounts, leverage
them for a period of time, and then shut them down when a
project is finished.

Thank you, in advance, for any assistance you may provide.

- G. Deward











Re: Advice Needed / .NET Postfix Control

2013-05-21 Thread Viktor Dukhovni
On Tue, May 21, 2013 at 02:12:18PM -0400, Greg Deward wrote:

> Is there an existing .NET library (DLL, etc.) for controlling
> Postfix?

No.  But people use webmin or similar to control their Unix systems
with Postfix as one of the managed components.

> More specifically, I have a need for creating users, deleting users,
> changing passwords, and the like.

None of this is Postfix-specific.  Postfix is just an MTA, it routes
email messages, it is not a mailstore.  Perhaps you're looking for
Zimbra or something similar or perhaps a bit simpler like Dovecot.

> I have been tasked with implementing an Ubuntu mail server and tying
> it into our custom ERP application

Postfix is a building-block not a complete mail system.  It is an
MTA that receives and forwards email.  Postfix does not manage
users or user mailboxes.

The MTA is an important, but very simple part of a "mail server",
by far the bulk of the complexity is the mailstore.  All the
user-centric activity happens around the IMAP or similar mail
service, not the SMTP mail relay.

Find a mail-server you like, and management tools for that.  You
can use Postfix on the edge of this environment to be a border MX
host, and in as the MTA internally routing messages between servers.

The extent of Postfix interaction with the mailstore will be lookups
against LDAP or MySQL or ... tables managed by the mailstore
administrator to determine how to rewrite public addresses to
mailbox addresses or route public addresses to the right store.

Consider the strong possibility that you're in over your head.
Building an Ubuntu mailstore as a novice to Unix is a tall order.
Look for an integrated product that delivers the whole stack (users,
mailboxes, quotas, passwords, ...)

-- 
Viktor.


Re: Advice Needed / .NET Postfix Control

2013-05-21 Thread Serge Fonville
A few challenges then I suspect.
Postfix does SMTP, you need a different service for IMAP
It is likely easier (to maintain) a full solution (i.e. zarafa, zimbra)
instead of a combination of services (postfix/dovecot)

The point you make about low maintenance complicates things especially
since there are multiple components that make up a solution.

HTH

Kind regards/met vriendelijke groet,

Serge Fonville

http://www.sergefonville.nl

Convince Microsoft!
They need to add TRUNCATE PARTITION in SQL Server
https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table


2013/5/21 Greg Deward 

> In our conversations, the overall goal was to have a stand-alone mail
> server running Ubuntu and whatever mail packages are installed in [as close
> to default as possible] configuration.  The server should remain isolated
> and not be connected to any other box or resource.  We would call into it
> programmatically for all administrative functions.  Since we are a
> Microsoft shop, there is an overwhelming concern (read "fear") that we will
> be less qualified to maintain the platform as we add other services to the
> mix... in essence, we need to keep the overall mail platform as simplistic
> as possible to increase the chance that our folks can maintain it with
> ease.  Unless an LDAP server was an absolute requirement for Postfix we
> could not look at it.  And, more than likely, if it was a requirement, we
> would probably look to a different product.
>
> Early on in this project we were given a requirement to allow our members
> the ability to receive "messages" from our server via IMAP.  Someone
> assumed writing an IMAP server service would be simple and that we would
> have the cycles to do so.  Over time we have discouraged this and tried to
> find another IMAP service that will be able to marshal and deliver our
> messages to the client.  This was unsuccessful.  Postfix, and a simple
> server like Ubuntu, seems like the easiest method for dropping in a box
> that can receive messages and allow a standard email client to pull them
> down.  Ultimately, it would be great to find an IMAP Server Service to
> negotiate the client calls act as a proxy to our application.  Until then,
> Postfix appears to be the path we are on.
>
> I hope this helps.
>
> - G. Deward
>
>
>
> On May 21, 2013, at 2:32 PM, Serge Fonville 
> wrote:
>
> Ah, ok.
>
> Well you can run OpenLDAP (for example) as a backend in the same way you
> could use AD.
>
> Postfix can use multiple backends depending on your needs.
>
> What requirements do you have?
>
>
>
> Kind regards/met vriendelijke groet,
>
> Serge Fonville
>
> http://www.sergefonville.nl
>
> Convince Microsoft!
> They need to add TRUNCATE PARTITION in SQL Server
>
> https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table
>
>
> 2013/5/21 Greg Deward 
>
>> Sorry... should have specified... cannot integrate with AD or the
>> Microsoft environment.  This needs to remain entirely stand-alone.  This
>> means our member base will be stored in the application's database and we
>> will need to call out to Postfix to manually perform account provisioning
>> and the like.
>>
>> - G. Deward
>>
>>
>>
>> On May 21, 2013, at 2:18 PM, Serge Fonville 
>> wrote:
>>
>> Hi,
>>
>> From your mail it seems you desire a backend that can handle all that,
>> you should be able to setup postfix to retrieve its users from AD.
>>
>> HTH
>>
>> Kind regards/met vriendelijke groet,
>>
>> Serge Fonville
>>
>> http://www.sergefonville.nl
>>
>> Convince Microsoft!
>> They need to add TRUNCATE PARTITION in SQL Server
>>
>> https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table
>>
>>
>> 2013/5/21 Greg Deward 
>>
>>> NEWBIE WARNING:  I have never used Postfix and am not a Linux guru.
>>>  Please be gentile.
>>>
>>> Is there an existing .NET library (DLL, etc.) for controlling Postfix?
>>>  If not, is there an existing API for applications that are NOT running on
>>> the same server as Postfix?  More specifically, I have a need for creating
>>> users, deleting users, changing passwords, and the like.  I have been
>>> tasked with implementing an Ubuntu mail server and tying it into our custom
>>> ERP application (written in ASP.NET  MVC and running
>>> on Windows).  The goal is to be able to dynamically create user accounts,
>>> leverage them for a period of time, and then shut them down when a project
>>> is finished.
>>>
>>> Thank you, in advance, for any assistance you may provide.
>>>
>>> - G. Deward
>>
>>
>>
>>
>
>


Re: Advice Needed / .NET Postfix Control

2013-05-21 Thread Brian Evans

On 5/21/2013 2:57 PM, Brian Evans wrote:


Installing Postfix alone will not let you read the mail.  You need an 
IMAP/POP3 client to read remotely which Postfix does not provide.


I mean IMAP/POP3 server such as courier, dovecot, etc.


Re: Advice Needed / .NET Postfix Control

2013-05-21 Thread Stan Hoeppner
On 5/21/2013 1:28 PM, Greg Deward wrote:
> Sorry... should have specified... cannot integrate with AD or the Microsoft 
> environment.  

It's a bit ironic that you're summarily eliminating the one interface
you already know very well, which would work perfectly for you.  I'd
guess this is due to...

> This needs to remain entirely stand-alone.  

Fear.  You fear the unknown system you have zero experience with, so you
desire to completely isolate it from anything else.  This is a mistake.
 Face your fear and let it pass through you.

Postfix never modifies LDAP/AD/mysql data.  As others have mentioned
that is not its job.  It simply queries for user and domain names,
possibly credentials if you're allowing submission, other table data,
etc.  Given that you're an all Microsoft shop, implementing a *nix mail
server without using LDAP/AD queries for user info is akin to hog tiring
yourself.

> This means our member base will be stored in the application's database and 
> we will need to call out to Postfix to manually perform account provisioning 
> and the like.

Again as others noted, Postfix doesn't perform user management.  It
doesn't create nor delete user accounts.  You can perform these
functions blindfolded using AD can you not?  Then use it.

And if you actually intend to have users "pull" this email as you
described, instead of delivering it to their existing mailboxes, then
you need a mailbox/IMAP/POP server, as others mentioned.

To make this much easier and avoid running a mailbox/IMAP/POP server,
simply deliver these emails to users' existing mailboxes, wherever those
may be:  freemail, ISP, internal corporate, etc.  If you do this, all
you need is your MS hosted AD database and Postfix.

Your description of the workload requirements is somewhat vague so keep
that in mind when reading replies.

-- 
Stan



Re: Postfix, Autoreply

2013-05-21 Thread motty cruz
after a lot of research, I have this script

# sh reply motty.c...@gmail.com u...@mydomain.com

I get the copy and sender gets a copy, but how do I get Postfix to use this
script
here is the script:
#!/usr/bin/bash
/usr/sbin/sendmail -oi -t < wrote:

> On 05/21/2013 09:51 AM, Timo Röhling wrote:
>
>> Have a look at
>> http://www.postfix.org/addon.**html#autoreplyand
>>  pick the solution that
>> is the easiest for you to setup.
>>
>
> I have two to add to that list:
>
> 1.  Virtual Vacation which comes packaged with PostfixAdmin (but does not
> require PostfixAdmin to use).
>
> 2.  dovecot sieve and managesieve plugins (probably with other sieve
> implementations as well).
>
> There are addons in both Roundcube and Squirrlmail for both of the above
> so that users can set their own autoreply messages.
>
>
> Peter
>
>


Re: google outbound SMTP whitelisting

2013-05-21 Thread Benny Pedersen

wie...@porcupine.org skrev den 2013-05-20 19:02:


You need "postfix reload after changing cidr maps (and pres, regexp,
and other files that are processed in their entirety as the map is
opened).


here i just move cidr maps to postgresql so it does not need to reload 
postfix, but its maybe not all using postgresql, just to note it for 
cron update postfix


using spf data to dump into cidr is basicly a bit silly in the terms 
its not live data, postscreen could use tables in any postconf -m, its 
only make sense to use cidr for speed reasons imho


--
senders that put my email into body content will deliver it to my own 
trashcan, so if you like to get reply, dont do it


Re: google outbound SMTP whitelisting

2013-05-21 Thread Benny Pedersen

Steve Jenkins skrev den 2013-05-20 19:06:


I wasn't sure either, which is why I added a "postfix reload" as the
last line of the gwhitelist.sh script. :)


please respect my signature, if you use multiple sh files to update via 
cron, then you might combine all sh into one cron script and end it all 
with one single postfix reload, if not using postgresql :)


--
senders that put my email into body content will deliver it to my own 
trashcan, so if you like to get reply, dont do it


Re: Advice Needed / .NET Postfix Control

2013-05-21 Thread Benny Pedersen

Greg Deward skrev den 2013-05-21 20:12:

NEWBIE WARNING:  I have never used Postfix and am not a Linux guru.
Please be gentile.


+1

http://www.postfix.org/addon.html (Run/Configuration/Queue/User 
management)


--
senders that put my email into body content will deliver it to my own 
trashcan, so if you like to get reply, dont do it


Re: Postfix, Autoreply

2013-05-21 Thread Benny Pedersen

motty cruz skrev den 2013-05-21 02:04:


Does anybody have a script that work for autoresponders? 


try the one in postfixadmin, note it does not reply to maillists 
blindly


--
senders that put my email into body content will deliver it to my own 
trashcan, so if you like to get reply, dont do it


Re: Postfix, Autoreply

2013-05-21 Thread Robert L Mathews
On 5/21/13 1:50 PM, motty cruz wrote:

> any suggestions?

Before you go any further, you should read RFC 3834, "Recommendations
for Automatic Responses to Electronic Mail":

 http://tools.ietf.org/html/rfc3834

... particularly section 2, which begins (with admirable directness) "An
automatic responder MUST NOT blindly send a response for every message
received."

If you don't consider those recommendations, your script -- if you get
it working -- will do things you won't like.

As an example: what would your script do if it ever received a message
claiming to be from its own "From" address (because you sent yourself a
message, or because a spammer forged your own address)? It appears that
it would send itself an infinite loop of "On vacation" messages.

There are other subtle problems that are difficult to explain here, some
of which will cause you to annoy other people on the Internet, not just
yourself.

This is why people with experience are telling you to use existing
software that already takes all of this into account, instead of helping
you do something that's universally recognized as unwise.

-- 
Robert L Mathews, Tiger Technologies, http://www.tigertech.net/