Validating relay-recpient/relay-domain per hostname

2009-09-28 Thread Jeroen Koekkoek
Hi All, I want to support the following situation: Our customers have two connections to the internet e.g. a DSL and a broadband connection (cable). They don't have the ability to setup reverse DNS, but both hosts are in DNS under mail.domain.tld. We relay all incoming mail to

Re: slightly OT: size data

2009-09-28 Thread Stan Hoeppner
Wietse Venema put forth on 9/27/2009 8:30 AM: Stan Hoeppner: Wietse Venema put forth on 9/27/2009 7:39 AM: If you have a question about POSTFIX logs, then it is a good idea to send samples of POSTFIX logging. Point taken, sry Wietse. Upon grabbing these sample entries, I noticed the

Re: slightly OT: size data

2009-09-28 Thread Wietse Venema
Stan Hoeppner: Wietse Venema put forth on 9/27/2009 8:30 AM: Stan Hoeppner: Wietse Venema put forth on 9/27/2009 7:39 AM: If you have a question about POSTFIX logs, then it is a good idea to send samples of POSTFIX logging. Point taken, sry Wietse. Upon grabbing these sample entries,

Re: Strange lack of SMTP rejections

2009-09-28 Thread Charles Marcus
On 9/28/2009, Russell Jones (rjo...@eggycrew.com) wrote: On my older, production Exim server, ths popup occurs immediately. Per the welcome message you received when you joined the list: TO REPORT A PROBLEM see: http://www.postfix.org/DEBUG_README.html#mail At a minimum, postfix version and

Re: Validating relay-recpient/relay-domain per hostname

2009-09-28 Thread Noel Jones
On 9/28/2009 2:22 AM, Jeroen Koekkoek wrote: Hi All, I want to support the following situation: Our customers have two connections to the internet e.g. a DSL and a broadband connection (cable). They don't have the ability to setup reverse DNS, but both hosts are in DNS under mail.domain.tld.

Re: Strange lack of SMTP rejections

2009-09-28 Thread Noel Jones
On 9/28/2009 12:41 AM, Russell Jones wrote: For some reason, if a local user sends mail to another local user who doesn't exist, my Postfix installation doesn't seem to notify the sender of the error, nor deliver a bounce message to the sender. Log snippet of what I am talking about: Sep 28

Re: Strange lack of SMTP rejections

2009-09-28 Thread Wietse Venema
Russell Jones: For some reason, if a local user sends mail to another local user who doesn't exist, my Postfix installation doesn't seem to notify the sender of the error, nor deliver a bounce message to the sender. ... Sep 28 00:29:58 server2 postfix/smtpd[3447]: NOQUEUE: reject: RCPT from

Relay acces denied with permit_tls_clientcerts

2009-09-28 Thread Stefan Selbitschka
Hi, i recently tried to install a postfix server with TLS and client authentication required. Testing the installation with Thunderbird looked good: server certificate show, client certificate requested and postfix log shows TLS OK but finaly I got the message 5.7.1 Relay access denied.

Re: Relay acces denied with permit_tls_clientcerts

2009-09-28 Thread Noel Jones
On 9/28/2009 7:19 AM, Stefan Selbitschka wrote: Hi, i recently tried to install a postfix server with TLS and client authentication required. Testing the installation with Thunderbird looked good: server certificate show, client certificate requested and postfix log shows TLS OK but finaly I

Re: Strange lack of SMTP rejections

2009-09-28 Thread LuKreme
On 27-Sep-2009, at 23:41, Russell Jones wrote: Sep 28 00:29:58 server2 postfix/smtpd[3447]: NOQUEUE: reject: RCPT from c-98-197-128-40.hsd1.tx.comcast.net[98.197.128.40]: 550 5.1.1 sadasd...@example.com : Recipient address rejected: User unknown in virtual alias table;

Re: slightly OT: size data

2009-09-28 Thread Stan Hoeppner
Wietse Venema put forth on 9/28/2009 5:26 AM: If the chroot environment does not contain the required syslog socket, then why does qmgr place a stamp in the log for some message transactions and not others? Oh, ye of little faith. Ye of not enough understanding of the subject (me) is more

Re: Strange lack of SMTP rejections

2009-09-28 Thread Charles Marcus
On 9/28/2009 7:19 AM, Noel Jones wrote: For some reason, if a local user sends mail to another local user who If your client doesn't notify you that the mail can't be delivered, it's a client configuration problem. It sounds to me like this postfix instance *is* the client... or, it is the

Re: slightly OT: size data

2009-09-28 Thread Wietse Venema
Stan Hoeppner: [ Charset ISO-8859-1 unsupported, converting... ] Wietse Venema put forth on 9/28/2009 5:26 AM: If the chroot environment does not contain the required syslog socket, then why does qmgr place a stamp in the log for some message transactions and not others? Oh, ye of

Re: Strange lack of SMTP rejections

2009-09-28 Thread Russell Jones
Actually that's all the logs show when sending to a non-existent address that resides on the same physical server, but I got it figured it. Believe it or not, it was actually my AVG antivirus. It turns out that when scanning outgoing mail, by default AVG will use its own Auto SMTP server. For

Re: Strange lack of SMTP rejections

2009-09-28 Thread Noel Jones
On 9/28/2009 9:40 AM, Russell Jones wrote: Actually that's all the logs show when sending to a non-existent address that resides on the same physical server, but I got it figured it. Believe it or not, it was actually my AVG antivirus. It turns out that when scanning outgoing mail, by default

Failover from one remote SMTP server to another

2009-09-28 Thread Mark Baxter
Hi, I am currently using Postfix to relay email to a remote SMTP server run by the company I work in (we use it for sending Nagios notifications). As this network connection is occasionally not so reliable we would like to use a 3G connection as a backup network connection and doing so

Re: Failover from one remote SMTP server to another

2009-09-28 Thread Charles Marcus
On 9/28/2009, Mark Baxter (mark.bax...@visma.com) wrote: smtp_fallback_relay = smtp.3g.com I'm not sure if it would cause your problem, but I have square brackets around mine, so try: smtp_fallback_relay = [smtp.3g.com] -- Best regards, Charles

Quoted-printable values in header-checks

2009-09-28 Thread Brian Evans - Postfix List
How would you detect a quoted-printable line feed in header checks? I get lots of spam that includes several of these and would like to reject them early. If there is a good reason not to do this, please note such.

Re: Failover from one remote SMTP server to another

2009-09-28 Thread Paul Cockings
Charles Marcus wrote: On 9/28/2009, Mark Baxter (mark.bax...@visma.com) wrote: smtp_fallback_relay = smtp.3g.com I'm not sure if it would cause your problem, but I have square brackets around mine, so try: smtp_fallback_relay = [smtp.3g.com] Does the machine know how to resolve

Re: Failover from one remote SMTP server to another

2009-09-28 Thread Noel Jones
On 9/28/2009 10:23 AM, Mark Baxter wrote: Hi, I am currently using Postfix to relay email to a remote SMTP server run by the company I work in (we use it for sending Nagios notifications). As this network connection is occasionally not so reliable we would like to use a 3G connection as a

Re: Quoted-printable values in header-checks

2009-09-28 Thread Noel Jones
On 9/28/2009 10:35 AM, Brian Evans - Postfix List wrote: How would you detect a quoted-printable line feed in header checks? I get lots of spam that includes several of these and would like to reject them early. If there is a good reason not to do this, please note such. View the on-disk

Re: Quoted-printable values in header-checks

2009-09-28 Thread Brian Evans - Postfix List
Noel Jones wrote: On 9/28/2009 10:35 AM, Brian Evans - Postfix List wrote: How would you detect a quoted-printable line feed in header checks? I get lots of spam that includes several of these and would like to reject them early. If there is a good reason not to do this, please note such.

Mail Queue Notification

2009-09-28 Thread Scott Miller
I'm wondering if there is a script available that will send out an SMS or e-mail message when the postfix mail queue reaches a certain threshold, for instance, 100 or 1000 messages. I've searched google, but haven't had much luck, or have searched for the wrong thing. Any advise would be

RE: Failover from one remote SMTP server to another

2009-09-28 Thread Mark Baxter
Hi, Two good ideas to test there. Thanks Charles and Paul. /MB Mark Baxter OnDemand Administrator, Visma Proceedo AB Switchboard : +46 8 522 930 30 - Direct : +46 8 522 930 60 - Mobile : +46 73 978 92 60 - Fax : +46 8 58 88 48 29

RE: Failover from one remote SMTP server to another

2009-09-28 Thread Mark Baxter
Postfix is not able to connect to the 100.100.100.100 address on the 3G network. The real IP address is on the non-routable 10.* subnet. I shall however do some testing tomorrow and send a postconf -n. Thanks for the help so far. /MB Mark Baxter OnDemand

Re: Quoted-printable values in header-checks

2009-09-28 Thread Noel Jones
On 9/28/2009 11:17 AM, Brian Evans - Postfix List wrote: Noel Jones wrote: On 9/28/2009 10:35 AM, Brian Evans - Postfix List wrote: How would you detect a quoted-printable line feed in header checks? I get lots of spam that includes several of these and would like to reject them early. If

Re: Quoted-printable values in header-checks

2009-09-28 Thread Brian Evans - Postfix List
Noel Jones wrote: On 9/28/2009 11:17 AM, Brian Evans - Postfix List wrote: Noel Jones wrote: On 9/28/2009 10:35 AM, Brian Evans - Postfix List wrote: How would you detect a quoted-printable line feed in header checks? I get lots of spam that includes several of these and would like to

Re: Quoted-printable values in header-checks

2009-09-28 Thread Noel Jones
On 9/28/2009 12:02 PM, Brian Evans - Postfix List wrote: Noel Jones wrote: On 9/28/2009 11:17 AM, Brian Evans - Postfix List wrote: Noel Jones wrote: On 9/28/2009 10:35 AM, Brian Evans - Postfix List wrote: How would you detect a quoted-printable line feed in header checks? I get lots of

Re: Quoted-printable values in header-checks

2009-09-28 Thread Brian Evans - Postfix List
Noel Jones wrote: On 9/28/2009 12:02 PM, Brian Evans - Postfix List wrote: OK.. then how about this refined pcre: /^Subject: =\?.*\?Q\?.*(=0A(\s)?)*\?=$/ REJECT Bad Subject format With the inclusion of the quoted-printable header definition, I think the chances of false positives would be

Re: Any way to avoid message duplication after mailing list expansion?

2009-09-28 Thread Gerardo Herzig
Gianni Sandigliano wrote: Is there any way to avoid message duplication after mailing list expansion? A quick example: A message is sent:to: al...@mycompany.com cc: theb...@mycompany.com Because theboss is included in Alist (and the sender

SMTP Authentication for users from LDAP?

2009-09-28 Thread Mala Dibbs
Hi I'm trying to setup openLDAP, postfix and dovecot as a mailserver for users stored in the LDAP directory. I followed the following tutorials: https://help.ubuntu.com/community/Postfix https://help.ubuntu.com/community/PostfixDovecotSASL https://help.ubuntu.com/community/Postfix/DovecotLDAP

Re: Quoted-printable values in header-checks

2009-09-28 Thread Victor Duchovni
On Mon, Sep 28, 2009 at 01:18:36PM -0400, Brian Evans - Postfix List wrote: But why do you think a QP line feed will never occur in a legit mail? (complex expression not reviewed) The *correct* way to QP encode multi-line subjects, is to encode each line separately, in fact QP encoding of

Re: SPF FAILURES

2009-09-28 Thread mouss
Homer Wilson Smith wrote: Dear Sirs, Running Fedora Core 3, postfix 2.1.5, spf 2.007 Remote customer an...@thumpernet.com sends e-mail to ho...@lightlink.com via our incoming mail server at smtp0.lightlink.com which is running the above mentioned software. dig

Re: Strange lack of SMTP rejections

2009-09-28 Thread mouss
Russell Jones wrote: Actually that's all the logs show when sending to a non-existent address that resides on the same physical server, but I got it figured it. Believe it or not, it was actually my AVG antivirus. It turns out that when scanning outgoing mail, by default AVG will use its own

Re: Failover from one remote SMTP server to another

2009-09-28 Thread Victor Duchovni
On Mon, Sep 28, 2009 at 11:00:15AM -0500, Noel Jones wrote: After searching online and reading a lot it seemed to me that, assuming that the company?s SMTP server is 100.100.100.100 (for one reason or another we use the IP address rather than FQDN) and the 3G operator?s SMTP server is

Re: SMTP Authentication for users from LDAP?

2009-09-28 Thread Zhang Huangbin
On Sep 29, 2009, at 3:55 AM, Mala Dibbs wrote: ldap_virtual_users.cf query_filter = ((objectclass=posixAccount)(|(mail=%s))) ldap_senders.cf query_filter = ((objectclass=posixAccount)(|(mail=%s))) I think ldap filter here should be '((objectclass=posixAccount)(mail= %s))'. The ldap

Re: Any way to avoid message duplication after mailing list expansion?

2009-09-28 Thread Zhang Huangbin
On Sep 27, 2009, at 1:33 AM, Gianni Sandigliano wrote: The desired feature would be: 1) avoid delivering to an address in bcc: list when the same address is already listed in cc: or to: 2) avoid delivering to an address in cc: list when the same address is already listed in to: You need

Re: SMTP Authentication for users from LDAP?

2009-09-28 Thread Jose Alberto
Check the modules pam /etc/pam.d/ common-session -auth -password -account 2009/9/28 Mala Dibbs griori-m...@yahoo.de: Hi I'm trying to setup openLDAP, postfix and dovecot as a mailserver for users stored in the LDAP directory. I followed the following

Re: Strange lack of SMTP rejections

2009-09-28 Thread d . hill
Quoting mouss mo...@ml.netoyen.net: Russell Jones wrote: Actually that's all the logs show when sending to a non-existent address that resides on the same physical server, but I got it figured it. Believe it or not, it was actually my AVG antivirus. It turns out that when scanning outgoing

Content_filter - Too Many Hops

2009-09-28 Thread michel
Hello I'm trying to integrate bogofilter with postfix, I followed the steps in the documentation for installation and configuration: I'm using CentOS 5.3 with postfix-2.3.3-2.1, my users are virtuals, they are in the active directory in windows. When I send a message, my server must deliver

smtp client and aliased addresses

2009-09-28 Thread Postfix User
I'm having an issue getting the smtp client to bind to an aliased IP address. mail_version = 2.5.7 I've tried to no avail to have the smtp client use a aliased IP to deliver mail but it insists on using the address of the interface the aliased address is assigned to. # ifconfig eth2 ifconfig