Re: Maildir testing

2009-09-21 Thread egoitz
If you really want to check you're mail servers performace do the next with one of them out of production and only for testing: Take rabid/postal combination. Inject mails to smtpd with postal (in you're postfix add the ip of the sender to client exception list) and do constant mail downloads wit

Re: cache/proxy other server email addresses in my Relay Host / Secondary MX

2009-09-21 Thread /dev/rob0
On Monday 21 September 2009 20:49:05 Justin C. Le Grice wrote: > Here is my question, How can I modify my workarounds.org setup so > I can verify and cache email addresses from the clients email > server when visible? I want to cache them for the rare occasions > when the clients email server is no

cache/proxy other server email addresses in my Relay Host / Secondary MX

2009-09-21 Thread Justin C. Le Grice
I've looked and I've googled but cannot find a straight answer or HowTo! I can find plenty of options to create lists of known email addresses locally but this is not exactly what I want. I am looking to be a relay host or secondary MX for a couple of my clients. I have my Postfix 2.5.5 mail ser

Re: local address masquared with postfix

2009-09-21 Thread Noel Jones
On 9/21/2009 3:44 PM, Eero Volotinen wrote: I have problem with masquerading local users, for example: echo foo | mail e...@email -s 'foo' shows from field from e...@mailserver.maildomain.com, but I want email from header always to show from e...@maildomain.com and possible from firstname.l...@

local address masquared with postfix

2009-09-21 Thread Eero Volotinen
I have problem with masquerading local users, for example: echo foo | mail e...@email -s 'foo' shows from field from e...@mailserver.maildomain.com, but I want email from header always to show from e...@maildomain.com and possible from firstname.l...@maildomain.com if possible? How to enable

Re: Stopping domain spoofing spam?

2009-09-21 Thread mouss
wiskbr...@hotmail.com a écrit : > Please do not top post. if you don't know what this means, google will tell you. > What should the contents of /etc/postfix/access_helo.cidr look like? > As a start, you can reject attempts to helo using your IP address. > I assume in there one should also

Re: Maildir testing

2009-09-21 Thread Paul Cockings
Wietse Venema wrote: Paul Cockings: This isn't strictly a postfix topic, but this is the best place I know to find clever people :-) I'm trying to find a script (sh,bash, perl) that will create a vast number (100K?) of test emails and store in maildir format. I'm trying to test my postfix

Re: main.cf format checking.

2009-09-21 Thread Wietse Venema
Gerard: > A GUI that could create 'main.cf', do syntax checking and warn of > potential conflicting options, or perhaps options that were ordered > incorrectly would be a major project IMHO. Add in options for templates > for things like 'virtual hosting', 'sender dependent relaying', etc., > and t

Re: main.cf format checking.

2009-09-21 Thread /dev/rob0
On Monday 21 September 2009 12:17:27 David Southwell wrote: > > Yes, "postconf" could use a couple of extra features. > > What might be especially useful would be to check, in addition to > format erros, whether, on the face of it main.cf shows possible: > > 1. Open Relay Open relay is generally n

Re: main.cf format checking.

2009-09-21 Thread Gerard
On Mon, 21 Sep 2009 18:17:27 +0100 David Southwell wrote: [snip] > What might be especially useful would be to check, in addition to > format erros, whether, on the face of it main.cf shows possible: > > 1. Open Relay > 2. Appropriate configuration of subsidiary tools e.g policyd > 3. Appropria

Re: main.cf format checking.

2009-09-21 Thread David Southwell
> On Mon, Sep 21, 2009 at 08:57:09AM -0600, LuKreme wrote: > > On 21-Sep-2009, at 08:47, Victor Duchovni wrote: > >> It may be useful to highlight for review parameter names that are not > >> known to "postconf -d" (i.e. not built-in). Also any parameters defined > >> more than once (the last value

Re: 554 5.7.1 This message has been blocked because the return email domain is invalid.(failed to obtain DNS record for domain)

2009-09-21 Thread Noel Jones
On 9/21/2009 9:40 AM, Wim Groen wrote: Hi guys, Hope you can help me out. I've setup a new hosting server(hosting.example.com) all notification of that server i redirect to my postfix smtp server. When i look in the postfix log i see the message: 554 5.7.1 This message has been blocked because th

Re: Filter out unwanted content

2009-09-21 Thread LuKreme
On 21-Sep-2009, at 08:54, Pirate wrote: I trying to filter out unwanted mails with no bat, exe and other potential unwanted files. main.cf: mime_header_checks = pcre:$config_directory/mime_headers.pcre mime_headers.pcre: /^\s*Content-(Disposition|Type).*name\s*=\s*"?(.*\.(ade|adp|bas|bat| ch

Re: main.cf format checking.

2009-09-21 Thread Victor Duchovni
On Mon, Sep 21, 2009 at 08:57:09AM -0600, LuKreme wrote: > On 21-Sep-2009, at 08:47, Victor Duchovni wrote: >> It may be useful to highlight for review parameter names that are not >> known to "postconf -d" (i.e. not built-in). Also any parameters defined >> more than once (the last value wins, bu

Re: main.cf format checking.

2009-09-21 Thread LuKreme
On 21-Sep-2009, at 08:47, Victor Duchovni wrote: It may be useful to highlight for review parameter names that are not known to "postconf -d" (i.e. not built-in). Also any parameters defined more than once (the last value wins, but there really should be just one setting of each parameter).

Filter out unwanted content

2009-09-21 Thread Pirate
Hello postfix users! Im trying to understand how to filter out with postfix checks email containing in its body : /--XXX Content-Type: application/x-msdownload; name=attached\ .bat Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=attached\ .bat echo Your system is vul

Re: main.cf format checking.

2009-09-21 Thread Victor Duchovni
On Mon, Sep 21, 2009 at 03:33:22PM +0100, David Southwell wrote: > Is there an independent main.cf format checking tool that will identify any > errors in the file? Even better one that analyses the main.cf and points out > weaknesses would be even more welcome!!! Syntax errors are easy to dete

554 5.7.1 This message has been blocked because the return email domain is invalid.(failed to obtain DNS record for domain)

2009-09-21 Thread Wim Groen
Hi guys, Hope you can help me out. I've setup a new hosting server(hosting.example.com) all notification of that server i redirect to my postfix smtp server. When i look in the postfix log i see the message: 554 5.7.1 This message has been blocked because the return email domain is invalid.(faile

main.cf format checking.

2009-09-21 Thread David Southwell
Hi Is there an independent main.cf format checking tool that will identify any errors in the file? Even better one that analyses the main.cf and points out weaknesses would be even more welcome!!! David

Re: postfix logging feature

2009-09-21 Thread Victor Duchovni
On Mon, Sep 21, 2009 at 03:55:45PM +0200, Slezak Roman wrote: > Is possible to add in postfix logging "cient`s local IP address"? No. > Public IP is logged, but if is possible, in my condition will be best to > know his local IP. Postfix is not Psychic. > Sep 21 15:44:47 mail postfix/smtpd[215

Re: postfix logging feature

2009-09-21 Thread Martijn de Munnik
On Mon, 2009-09-21 at 15:55 +0200, Slezak Roman wrote: > Hi, > > > > Is possible to add in postfix logging “cient`s local IP address”? > Public IP is logged, but if is possible, in my condition will be best > to know his local IP. I assume that what you mean with the local IP of a client is t

postfix logging feature

2009-09-21 Thread Slezak Roman
Hi, Is possible to add in postfix logging "cient`s local IP address"? Public IP is logged, but if is possible, in my condition will be best to know his local IP. Thank`s, Roman Sep 21 15:44:47 mail postfix/smtpd[21591]: connect from my.company.sk [pu.bl.ic.ip] Sep 21 15:44:47

RE: Stopping domain spoofing spam?

2009-09-21 Thread wiskbroom
What should the contents of /etc/postfix/access_helo.cidr look like? I assume in there one should also place RFC1918 addresses? What is the order for this? I mean, if I use an RFC 1918 address for my internal network, and I place all RFC1918 addresses in /etc/postfix/access_helo.cidr, will

Re: Maildir testing

2009-09-21 Thread Patrick Ben Koetter
* Wietse Venema : > Paul Cockings: > > This isn't strictly a postfix topic, but this is the best place I know > > to find clever people :-) > > > > I'm trying to find a script (sh,bash, perl) that will create a vast > > number (100K?) of test emails and store in maildir format. > > I'm trying t

Re: Maildir testing

2009-09-21 Thread Wietse Venema
Paul Cockings: > This isn't strictly a postfix topic, but this is the best place I know > to find clever people :-) > > I'm trying to find a script (sh,bash, perl) that will create a vast > number (100K?) of test emails and store in maildir format. > I'm trying to test my postfix/dovecot instal

Re: Maildir testing

2009-09-21 Thread Steve
Original-Nachricht > Datum: Mon, 21 Sep 2009 12:29:18 +0100 > Von: Paul Cockings > An: postfix-users@postfix.org > Betreff: Maildir testing Hallo Paul, > This isn't strictly a postfix topic, but this is the best place I know > to find clever people :-) > > I'm trying to fin

Re: Maildir testing

2009-09-21 Thread Steve
Original-Nachricht > Datum: Mon, 21 Sep 2009 12:29:18 +0100 > Von: Paul Cockings > An: postfix-users@postfix.org > Betreff: Maildir testing > This isn't strictly a postfix topic, but this is the best place I know > to find clever people :-) > > I'm trying to find a script (s

Re: postfix does not change the sasl authentication mechanism

2009-09-21 Thread suomi
Hi p...@rick thank you very much indeed for your prompt reply. In the meantime, i found out the following: 1. postfix reads /usr/lib/sasldb2/smtpd.conf definitely , as you said. i found that out by doing changes to the mech-list in this file and then: [myu...@clienthost ~]$ telnet myhost.lan 25

Maildir testing

2009-09-21 Thread Paul Cockings
This isn't strictly a postfix topic, but this is the best place I know to find clever people :-) I'm trying to find a script (sh,bash, perl) that will create a vast number (100K?) of test emails and store in maildir format. I'm trying to test my postfix/dovecot installation to find some of its

Re: SMTP relay host

2009-09-21 Thread Kevin Bailey
Martin Allan Jensen wrote: Hi all, The company I work for have approximately nine mail servers, including Postfix, qmail, sendmail and exim. They would like to make ONE SMTP relay host server so that all their customers can use their SMTP server to send mail through. The customers already get

Re: postfix does not change the sasl authentication mechanism

2009-09-21 Thread Patrick Ben Koetter
* Patrick Ben Koetter : > * suomi : > > Hi listers, > > I just can't make postfix change from sasl2 auxprop to sasl2 saslauthd > > (with LDAP). postfix never reads /usr/lib/sasl/smtpd.conf. > > Postfix on Fedora will not look for smtpd.conf in /usr/lib/sasl/. > It will either search in /usr/lib/

Re: postfix does not change the sasl authentication mechanism

2009-09-21 Thread Patrick Ben Koetter
* suomi : > Hi listers, > I just can't make postfix change from sasl2 auxprop to sasl2 saslauthd > (with LDAP). postfix never reads /usr/lib/sasl/smtpd.conf. Postfix on Fedora will not look for smtpd.conf in /usr/lib/sasl/. It will either search in /usr/lib/sasl2/ or in /etc/sasl2/. The latter i

postfix does not change the sasl authentication mechanism

2009-09-21 Thread suomi
Hi listers, I just can't make postfix change from sasl2 auxprop to sasl2 saslauthd (with LDAP). postfix never reads /usr/lib/sasl/smtpd.conf. postfix-2.5.6-3.fc11.i586 [r...@myhost ~]# postconf -n alias_database = hash:/etc/postfix/aliases alias_maps = hash:/etc/postfix/aliases anvil_rate_tim