ASSP - POSTFIX - pop-before-smtp

2008-09-18 Thread Marcel Grandemange
Good day Recently I deiced to give ASSP a bash seeing as I had many troubles from spam coming in from our internal "trusted" network. So far so good, very impressive in connection with postfix! However had one problem. I have pop-before-smtp running for relaying from outside.

Re: ASSP - POSTFIX - pop-before-smtp

2008-09-18 Thread Patrick Ben Koetter
* Marcel Grandemange <[EMAIL PROTECTED]>: > However had one problem. you have two problems. ;) Please follow these instructions to get advice on the list: [EMAIL PROTECTED] -- All technical answers asked privately will be automatically answered o

Re: Domain name appended despite remote_header_rewrite_domain being empty

2008-09-18 Thread Ralf Hildebrandt
* rihad <[EMAIL PROTECTED]>: > Hi there, I'm a Postfix newb playing my way with FreeBSD 7 port named > postfix-current-2.6.20080814,4. In > http://www.postfix.org/ADDRESS_REWRITING_README.html > it says that: > > Postfix never rewrites message header addresses from remote SMTP > clients when the

Re: checking integrity

2008-09-18 Thread Milos Prudek
> > virtual_alias_domains = hash:/etc/postfix/virtual > > virtual_alias_maps = hash:/etc/postfix/virtual > > This is suspicious and may cause problems if done incorrectly. You don't > list the map /etc/postfix/virtual so it's hard to say. /etc/postfix/virtual: [EMAIL PROTECTED][EMAIL PROT

distribution lists.

2008-09-18 Thread Mauro Sanna
Hello, sorry for my bad english. I have to send messages to more than one person using a single mail address. So I've created a virtual-alias: [EMAIL PROTECTED] myaccount and a text file, myaccount.txt, with all the addresses that I want to send mail. Then I put in /etc/aliases: myaccount: :include

Re: checking integrity

2008-09-18 Thread Milos Prudek
Dne Wednesday 17 of September 2008 22:56:00 Brian Evans - Postfix List napsal(a): > No relay_recipient_maps? You could be a Backscatter source and may end > up on blacklists. Is relay_recipient_maps a list of valid email addresses? Should each valid email address be in that map? It may be diff

Re: checking integrity

2008-09-18 Thread Erwan David
On Thu, Sep 18, 2008 at 11:26:52AM CEST, Milos Prudek <[EMAIL PROTECTED]> said: > Dne Wednesday 17 of September 2008 22:56:00 Brian Evans - Postfix List > napsal(a): > > No relay_recipient_maps? You could be a Backscatter source and may end > > up on blacklists. > > Is relay_recipient_maps a list

Re: checking integrity

2008-09-18 Thread Milos Prudek
> Are they addressed to real Domino users? Most of them are not. > If not, your best use of time is to get postfix to reject mail > to invalid users during SMTP, before it ever gets accepted. So I just enter "reject_unverified_sender" into main.cf and then run "postsuper -r ALL", correct? > Yo

Re: checking integrity

2008-09-18 Thread Jan P. Kessler
Milos Prudek schrieb: If not, your best use of time is to get postfix to reject mail to invalid users during SMTP, before it ever gets accepted. So I just enter "reject_unverified_sender" into main.cf and then run "postsuper -r ALL", correct? Don't forget to configure your Domino S

Re: checking integrity

2008-09-18 Thread Robert Schetterer
Jan P. Kessler schrieb: Milos Prudek schrieb: If not, your best use of time is to get postfix to reject mail to invalid users during SMTP, before it ever gets accepted. So I just enter "reject_unverified_sender" into main.cf and then run "postsuper -r ALL", correct? Don't forget t

Re: checking integrity

2008-09-18 Thread Jan P. Kessler
Robert Schetterer schrieb: Jan P. Kessler schrieb: Milos Prudek schrieb: If not, your best use of time is to get postfix to reject mail to invalid users during SMTP, before it ever gets accepted. So I just enter "reject_unverified_sender" into main.cf and then run "postsuper -r ALL",

Re: ASSP - POSTFIX - pop-before-smtp

2008-09-18 Thread Charles Marcus
On 9/18/2008, Marcel Grandemange ([EMAIL PROTECTED]) wrote: > I have pop-before-smtp running for relaying from outside. This is extremely unwise. Use smtp auth instead. popb4smtp is very insecure, and will most likely result in your server becoming compromised - its not a matter of if, but when.

postfix expands [EMAIL PROTECTED] to [EMAIL PROTECTED] - But it wont expant if using [EMAIL PROTECTED]

2008-09-18 Thread Axel Werner
Hi Postfix-Experts! ive got some strange thing going on here.. if ill send a mail (using smtp mailclient or just "mail" on the shell) my postfix expands the TO Adress from "[EMAIL PROTECTED]" to "[EMAIL PROTECTED]" for some reason i dont know and i didnt find within 8h of searching and reading ma

Postfix statistics from log stored on RDBMS

2008-09-18 Thread Rocco Scappatura
Hello, I have several Postfix+Amavisd-new+MySQL mail gateways. I have configured syslog service on that machines to send logs to a centralized syslog server, which stores received logs on mysql DBMS. BTW, I lookup the logs using Php-Syslog-NG. Anyway, logs on each machine are stored also as usua

Re: distribution lists.

2008-09-18 Thread mouss
Mauro Sanna wrote: Hello, sorry for my bad english. I have to send messages to more than one person using a single mail address. So I've created a virtual-alias: [EMAIL PROTECTED] myaccount and a text file, myaccount.txt, with all the addresses that I want to send mail. Then I put in /etc/aliases

smtps:,Servname not supported for ai_socktype"

2008-09-18 Thread J. Bakshi
Dear list, I get an error like "postfix/master[18801]: fatal: 127.0.0.1:smtps: Servname not supported for ai_socktype" below is my main.cf of postfix. Could any one give me a clue ? alias_maps = hash:/etc/aliases biff = no canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sb

Re: postfix expands [EMAIL PROTECTED] to [EMAIL PROTECTED] - But it wont expant if using [EMAIL PROTECTED]

2008-09-18 Thread mouss
Axel Werner wrote: Hi Postfix-Experts! ive got some strange thing going on here.. if ill send a mail (using smtp mailclient or just "mail" on the shell) my postfix expands the TO Adress from "[EMAIL PROTECTED]" to "[EMAIL PROTECTED]" for some reason i dont know and i didnt find within 8h of sea

Re: smtps:,Servname not supported for ai_socktype"

2008-09-18 Thread mouss
J. Bakshi wrote: Dear list, I get an error like "postfix/master[18801]: fatal: 127.0.0.1:smtps: Servname not supported for ai_socktype" below is my main.cf of postfix. Could any one give me a clue ? what does # grep smtps /etc/services return?

Re: checking integrity

2008-09-18 Thread mouss
Milos Prudek wrote: Are they addressed to real Domino users? Most of them are not. If not, your best use of time is to get postfix to reject mail to invalid users during SMTP, before it ever gets accepted. So I just enter "reject_unverified_sender" into main.cf and then run "postsuper -r A

Re: Postfix statistics from log stored on RDBMS

2008-09-18 Thread Robert Schetterer
Rocco Scappatura schrieb: Hello, I have several Postfix+Amavisd-new+MySQL mail gateways. I have configured syslog service on that machines to send logs to a centralized syslog server, which stores received logs on mysql DBMS. BTW, I lookup the logs using Php-Syslog-NG. Anyway, logs on each mac

send all mail from [EMAIL PROTECTED] to a single destination address ([EMAIL PROTECTED]) regardless of recipient

2008-09-18 Thread Anton Melser
Hi all, I've spent a while looking but haven't turned up anything interesting... Basically, we have an application and we want to test the newsletter sending functionality. I need to make sure that no real emails get sent out, though the addresses are real (production) addresses. I am sure this is

Re: send all mail from [EMAIL PROTECTED] to a single destination address ([EMAIL PROTECTED]) regardless of recipient

2008-09-18 Thread mouss
Anton Melser wrote: Hi all, I've spent a while looking but haven't turned up anything interesting... Basically, we have an application and we want to test the newsletter sending functionality. I need to make sure that no real emails get sent out, though the addresses are real (production) address

Re: send all mail from [EMAIL PROTECTED] to a single destination address ([EMAIL PROTECTED]) regardless of recipient

2008-09-18 Thread Victor Duchovni
On Thu, Sep 18, 2008 at 03:13:29PM +0200, Anton Melser wrote: > Hi all, > I've spent a while looking but haven't turned up anything > interesting... Basically, we have an application and we want to test > the newsletter sending functionality. I need to make sure that no real > emails get sent out,

RE: Postfix statistics from log stored on RDBMS

2008-09-18 Thread Rocco Scappatura
> -Original Message- > From: Robert Schetterer [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 18, 2008 3:06 PM > To: Rocco Scappatura > Cc: postfix-users@postfix.org > Subject: Re: Postfix statistics from log stored on RDBMS > > Rocco Scappatura schrieb: > > Hello, > > > > I have

Re: checking integrity

2008-09-18 Thread Milos Prudek
> dont do reject_unverified_sender until you have good reasons Sorry, I meant reject_unverified_recipient -- Milos Prudek

Re: ASSP - POSTFIX - pop-before-smtp

2008-09-18 Thread Noel Jones
Marcel Grandemange wrote: Good day Recently I deiced to give ASSP a bash seeing as I had many troubles from spam coming in from our internal “trusted” network. So far so good, very impressive in connection with postfix! However had one problem. I have pop-before-smtp ru

Re: checking integrity

2008-09-18 Thread Noel Jones
Milos Prudek wrote: Are they addressed to real Domino users? Most of them are not. If not, your best use of time is to get postfix to reject mail to invalid users during SMTP, before it ever gets accepted. So I just enter "reject_unverified_sender" into main.cf and then run "postsuper -r A

Postfix-mysql using stored procedures?

2008-09-18 Thread Guy
Hi, I'm busy setting up a pair of new MySQL servers. The bulk of the work the current servers do is handle queries from postfix and I'm doing a lot of reading and learning about MySQL tweaking and suchlike. Our current postfix set up has a lot of convoluted queries (a lot of UNION type queries), m

Re: Postfix-mysql using stored procedures?

2008-09-18 Thread mouss
Guy wrote: Hi, I'm busy setting up a pair of new MySQL servers. The bulk of the work the current servers do is handle queries from postfix and I'm doing a lot of reading and learning about MySQL tweaking and suchlike. Our current postfix set up has a lot of convoluted queries (a lot of UNION typ

Re: Postfix-mysql using stored procedures?

2008-09-18 Thread Justin McAleer
Guy wrote: Hi, I'm busy setting up a pair of new MySQL servers. The bulk of the work the current servers do is handle queries from postfix and I'm doing a lot of reading and learning about MySQL tweaking and suchlike. Our current postfix set up has a lot of convoluted queries (a lot of UNION typ

Re: send all mail from [EMAIL PROTECTED] to a single destination address ([EMAIL PROTECTED]) regardless of recipient

2008-09-18 Thread Anton Melser
... > how does the application send mail? > It's via the php mail function, which I believe just uses a $ sendmail blablah... internally (ie, it gets sent by postfix). > if it's with smtp, then use REDIRECT or FILTER in an smtpd restriction > check. > > but it's better to let the application use

Re: send all mail from [EMAIL PROTECTED] to a single destination address ([EMAIL PROTECTED]) regardless of recipient

2008-09-18 Thread Victor Duchovni
On Thu, Sep 18, 2008 at 07:12:09PM +0200, Anton Melser wrote: > [EMAIL PROTECTED] REDIRECT [EMAIL PROTECTED] > into /etc/postfix/access (with a postmap /etc/postfix/access and > restart of the daemon) > does nothing That's right, you also need to check the access table: smtpd_sender_rest

ldap_README postfix docs

2008-09-18 Thread msimovic
Hi, I´m replacing mysql with ldap in my postfix mail server hosting virtual domains. postfix 2.3.8, openldap 2.3.30 (debian etch) mail delivery works for virtual domains + virtual mailboxes, i´m having trouble with virtual_alias_maps as following: tried to follow the ldap_README.html (postfix d

Re: ldap_README postfix docs

2008-09-18 Thread Adam Tauno Williams
On Thu, 2008-09-18 at 18:40 +0100, [EMAIL PROTECTED] wrote: > Hi, > > I´m replacing mysql with ldap in my postfix mail server hosting virtual > domains. > > postfix 2.3.8, openldap 2.3.30 (debian etch) > > mail delivery works for virtual domains + virtual mailboxes, i´m having > trouble with vir

Re: ldap_README postfix docs

2008-09-18 Thread Victor Duchovni
On Thu, Sep 18, 2008 at 06:40:17PM +0100, [EMAIL PROTECTED] wrote: > tried to follow the ldap_README.html (postfix docs) and came across this > example: > > dn: cn=agroup, dc=example, dc=com > objectclass: top > objectclass: ldapgroup > cn: agroup > mail: [EMAIL PROTECTED] >

Re: send all mail from [EMAIL PROTECTED] to a single destination address ([EMAIL PROTECTED]) regardless of recipient

2008-09-18 Thread mouss
Anton Melser wrote: ... how does the application send mail? It's via the php mail function, which I believe just uses a $ sendmail blablah... internally (ie, it gets sent by postfix). smtpd restrictions don't apply to sendmail submission. you can however force such mail into smtpd by addi

Re: send all mail from [EMAIL PROTECTED] to a single destination address ([EMAIL PROTECTED]) regardless of recipient

2008-09-18 Thread Brian Evans - Postfix List
Anton Melser wrote: > ... > >> how does the application send mail? >> >> > > It's via the php mail function, which I believe just uses a > $ sendmail blablah... > internally (ie, it gets sent by postfix). > Any thing sent through the sendmail command will not have SMTP restrictions plac

Re: Postfix-mysql using stored procedures?

2008-09-18 Thread Guy
Hi mouss, 2008/9/18 mouss <[EMAIL PROTECTED]>: > you can use views. Cool. Thanks, I'll have a look at that. Guy -- Don't just do something...sit there!

exchange_recepients format

2008-09-18 Thread James Parra
Hello, I have generated a exchusers.txt file for postfix, however I am curious as to what the format should be to create the db. Currently, the file looks like so; Mailbox SMTP:[EMAIL PROTECTED]@%X400:c=US;a= ;p=Example Company, I;o=DOMAIN;s=LASTname;g=Username; smtp:[EMAIL PROTECTED]:[EMA

Re: exchange_recepients format

2008-09-18 Thread Chris
On Thu, 18 Sep 2008 13:05:10 -0800 "James Parra" <[EMAIL PROTECTED]> wrote: > Hello, > > I have generated a exchusers.txt file for postfix, however I am > curious as to what the format should be to create the db. Currently, > the file looks like so; > > Mailbox SMTP:[EMAIL PROTECTED]@%X400

Error compilin with ldap support

2008-09-18 Thread Tommaso Visconti
hi everybody, i'm trying to compile postfix with ldap support. I've successfully compiled and installed berkeleydb and openldap. this is my configuration string: make makefiles CCARGS="-DHAS_DB -I/usr/local/BerkeleyDB-4.6.21/include -DHAS_LDAP -I/usr/local/openldap-2.4.11/include" AUXIBS="-llber

Re: Error compilin with ldap support

2008-09-18 Thread Victor Duchovni
On Fri, Sep 19, 2008 at 12:02:00AM +0200, Tommaso Visconti wrote: > hi everybody, > i'm trying to compile postfix with ldap support. I've successfully > compiled and installed berkeleydb and openldap. > > this is my configuration string: > > make makefiles CCARGS="-DHAS_DB -I/usr/local/BerkeleyD

Re: Error compilin with ldap support

2008-09-18 Thread Tommaso Visconti
Victor Duchovni ha scritto: > Try spelling AUXLIBS with with an "L" between the "X" and the "I". @#!&%!# i'm feeling really stupid! thanks, it obviously works now :( smime.p7s Description: S/MIME Cryptographic Signature

Changeing outgoing port

2008-09-18 Thread RYAN vAN GINNEKEN
Hello all i need to change the outgoing port used by postfix from 25 to 325. I need to do this as my isp blocks outgoing port 25 however my incoming isp forwards port 325 I know this has been discussed many times on many lists but i cannot get any of the posted solutions to work. Maybe i am en

Changeing outgoing port

2008-09-18 Thread RYAN vAN GINNEKEN
Hello all i need to change the outgoing port used by postfix from 25 to 325. I need to do this as my isp blocks outgoing port 25 however my incoming isp forwards port 325 I know this has been discussed many times on many lists but i cannot get any of the posted solutions to work. Maybe i am en

weird problem with smtpd_recipient_restrictions

2008-09-18 Thread mmelyp
Hi there, First let me describe my postfix scenary. Is running on a server with 2 ethernet interfaces; one serving to internet, and the other to my internal network. I configured postfix to run personalized UCE control rules by IP. That's why i have instead of smtpd_recipient_restrictions, esmtpd_

weird problem with smtpd_recipient_restrictions (I missed something)

2008-09-18 Thread mmelyp
If i comment: check_recipient_access proxy:ldap:/etc/postfix/_e_recipientSMTP.cf, The problem seems to solve. Still don't understand the problem. The checks must finish in REJECT if i have this check_recipient_access discommented.

getting 'mail transport unavailable'

2008-09-18 Thread anant
Dear List, I am getting mail transport unavailable for one specific domain 'elsevier.com'. How should I debug? We have recently upgraded to Postfix 2.5.5 running on AIX 5.3 OS. See the logs below. Sep 19 10:05:59 dnserns.isac.gov.in Message forwarded from dnserns: postfix/smtpd[99536

Question on Mail Forwarding with Virtual Hosts.

2008-09-18 Thread Daniel V. Reinhardt
All, I just set up virtual maps and virtual hosting using postfix, and would like to know how I can forward email from a non-unix account to someone who has a unix account. For example, cryptodan is a user on the unix machine and has a shell and login credentials. However, I would like to create

Re: Changeing outgoing port

2008-09-18 Thread Ralf Hildebrandt
* RYAN vAN GINNEKEN <[EMAIL PROTECTED]>: > Hello all i need to change the outgoing port used by postfix from 25 to 325. > > I need to do this as my isp blocks outgoing port 25 however my incoming isp > forwards port 325 Use transport_maps -- Ralf Hildebrandt ([EMAIL PROTECTED]) [EMAIL

Re: getting 'mail transport unavailable'

2008-09-18 Thread Duane Hill
On Fri, 19 Sep 2008, [EMAIL PROTECTED] wrote: Dear List, I am getting mail transport unavailable for one specific domain 'elsevier.com'. How should I debug? We have recently upgraded to Postfix 2.5.5 running on AIX 5.3 OS. http://www.postfix.org/DEBUG_README.html See the logs below.

Re: Changeing outgoing port

2008-09-18 Thread Rod Whitworth
On Fri, 19 Sep 2008 07:39:37 +0200, Ralf Hildebrandt wrote: >* RYAN vAN GINNEKEN <[EMAIL PROTECTED]>: >> Hello all i need to change the outgoing port used by postfix from 25 to 325. >> >> I need to do this as my isp blocks outgoing port 25 however my incoming isp >> forwards port 325 > >Use tran

Re: Changeing outgoing port

2008-09-18 Thread RYAN vAN GINNEKEN
I only need to send mail receiving is not that big of a deal for this machine. If i could get postfix to send outbound mail on port 325 that would be all i need. The server on the other end is already listening to port 325 actually port 325 is forwarded to 25 on the receiving end of things. D

Re: Question on Mail Forwarding with Virtual Hosts.

2008-09-18 Thread mouss
Daniel V. Reinhardt wrote: All, I just set up virtual maps and virtual hosting using postfix, and would like to know how I can forward email from a non-unix account to someone who has a unix account. For example, cryptodan is a user on the unix machine and has a shell and login credentials. Ho

Re: weird problem with smtpd_recipient_restrictions

2008-09-18 Thread mouss
[EMAIL PROTECTED] wrote: [snip] My domain is example.com, and i have some subdomains (ie ldap.example.com). So the problem is: If i send a message with RCPT TO [EMAIL PROTECTED], check_recipient_access rules starts checking this subdomain, but since i don't have this subdomain in my ldap lookup

Re: Changeing outgoing port

2008-09-18 Thread mouss
RYAN vAN GINNEKEN wrote: Hello all i need to change the outgoing port used by postfix from 25 to 325. I need to do this as my isp blocks outgoing port 25 however my incoming isp forwards port 325 I know this has been discussed many times on many lists but i cannot get any of the posted solutio