Re: relay config

2009-01-22 Thread Victor Duchovni
On Fri, Jan 23, 2009 at 08:52:27AM +0200, bharathan kailath wrote: > the following is my main.cf > === > relay_recipient_maps =hash:/etc/postfix/relay_recipients > mime_header_checks = pcre:/etc/postfix/mime_header_checks > disable_dns_lookups = no > mailbox_command = > mailbox_tra

Blocking account from sending (Still not working)

2009-01-22 Thread Bill Loy
After adding the lines smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/restricted_senders smtpd_restriction_classes = local_only local_only = check_recipient_access hash:/etc/postfix/local_domains, reject to the file /etc/postfix/main.cf: the ser

relay config

2009-01-22 Thread bharathan kailath
the following is my main.cf === relay_recipient_maps =hash:/etc/postfix/relay_recipients mime_header_checks = pcre:/etc/postfix/mime_header_checks disable_dns_lookups = no mailbox_command = mailbox_transport = strict_8bitmime = no disable_mime_output_conversion = no smtpd_sender_res

Re: syntax for multiple addresses in transport

2009-01-22 Thread Victor Duchovni
On Thu, Jan 22, 2009 at 10:08:11PM -0600, Matt Rude wrote: > > You need to enable hosts file lookup: > > > > smtp_host_lookup = dns, hosts > > > > Wietse > > Wouldn't it be: > > smtp_host_lookup = dns, native > > http://www.postfix.org/postconf.5.html#smtp_host_lookup Yes. -- V

Re: How to reject mispelled recipient domain

2009-01-22 Thread christopher andrews
I was reading this subject and I was wondering, if you thought about what would happen if you compile a list of misspelled domains and denied them instantly and the user mint to send it to one of those domains. I'm saying this because what you may think is misspelled domain maybe a real domain that

Re: How to reject mispelled recipient domain

2009-01-22 Thread Sahil Tandon
On Thu, 22 Jan 2009, Ed W wrote: > The problem is that so many scammers seem to buy these mis-spellings and > hold them with no MX record set and so the poor user who mistypes > effectively see's their message sit in the postfix queue for 5 days (or > whatever your timeout is set to) and then 5 da

Re: Postfix mail queue

2009-01-22 Thread kemas
Reinaldo de Carvalho wrote: On Thu, Jan 22, 2009 at 6:16 PM, Noel Jones wrote: Martin Spinassi wrote: Is there something to read a specific mail using the id that appears at posqueue -p? What do you use for that task? Martín I use postcat -q QUEUEID | less http://www.postfix.

Re: syntax for multiple addresses in transport

2009-01-22 Thread Matt Rude
Wietse Venema wrote: > Cory Coager: >> Noel Jones said the following on 01/22/2009 03:20 PM: Is there another way of adding multiple addresses for transport of a domain? Round robin DNS would work I guess but not as good as a failover. If one of the addresses in the DNS is down t

Re: Postfix mail queue

2009-01-22 Thread Reinaldo de Carvalho
On Thu, Jan 22, 2009 at 6:16 PM, Noel Jones wrote: > Martin Spinassi wrote: >> >> Is there something to read a specific mail using the id that appears at >> posqueue -p? What do you use for that task? >> >> Martín > > I use > postcat -q QUEUEID | less > > http://www.postfix.org/postcat.1.html > >

Re: Postfix can not bind to address (IP)

2009-01-22 Thread Mike Pogue
Thanks for helping me with this - you're right! On Thu, Jan 22, 2009 at 7:44 PM, Wietse Venema wrote: > Mike Pogue: >> You're right, the ip set on smtp_bind_address was wrong. Updated this >> and restarted postfix. >> >> Got an error related to clamsmptpd, that tries to connect to x.x.x.x10 >> in

Re: Postfix mail queue

2009-01-22 Thread Noel Jones
Martin Spinassi wrote: Hi list! I've been using postfix since a few weeks. I always used qmail before for mail servers, and I'm really impressed by postfix but there is something that I really miss... I use to use "qmHandle -m'MAIL_ID'" to see some mails that looks strange or not normal, but ca

Postfix mail queue

2009-01-22 Thread Martin Spinassi
Hi list! I've been using postfix since a few weeks. I always used qmail before for mail servers, and I'm really impressed by postfix but there is something that I really miss... I use to use "qmHandle -m'MAIL_ID'" to see some mails that looks strange or not normal, but can't figure out if there i

Re: syntax for multiple addresses in transport

2009-01-22 Thread Wietse Venema
Cory Coager: > Noel Jones said the following on 01/22/2009 03:20 PM: > >> Is there another way of adding multiple addresses for transport of a > >> domain? Round robin DNS would work I guess but not as good as a > >> failover. If one of the addresses in the DNS is down the transport > >> is go

Re: syntax for multiple addresses in transport

2009-01-22 Thread Victor Duchovni
On Thu, Jan 22, 2009 at 02:20:33PM -0600, Noel Jones wrote: >> Is there another way of adding multiple addresses for transport of a >> domain? Round robin DNS would work I guess but not as good as a failover. >> If one of the addresses in the DNS is down the transport is going to get >> delay

Re: syntax for multiple addresses in transport

2009-01-22 Thread Cory Coager
Noel Jones said the following on 01/22/2009 03:20 PM: Is there another way of adding multiple addresses for transport of a domain? Round robin DNS would work I guess but not as good as a failover. If one of the addresses in the DNS is down the transport is going to get delayed for that MX and

Re: syntax for multiple addresses in transport

2009-01-22 Thread Noel Jones
Cory Coager wrote: Victor Duchovni said the following on 01/22/2009 12:31 PM: On Thu, Jan 22, 2009 at 12:26:54PM -0500, Cory Coager wrote: What is the syntax for specifying multiple addresses in transport for smtp? Something like: example.com smtp:[gateway1.example.com] smtp:[gatewa

Re: syntax for multiple addresses in transport

2009-01-22 Thread Cory Coager
Victor Duchovni said the following on 01/22/2009 12:31 PM: On Thu, Jan 22, 2009 at 12:26:54PM -0500, Cory Coager wrote: What is the syntax for specifying multiple addresses in transport for smtp? Something like: example.com smtp:[gateway1.example.com] smtp:[gateway2.example.com]

Re: syntax for multiple addresses in transport

2009-01-22 Thread Wietse Venema
Cory Coager: > What is the syntax for specifying multiple addresses in transport for > smtp? Something like: > > example.com smtp:[gateway1.example.com] smtp:[gateway2.example.com] The syntax is fully documented in the transport(5) manual page. You can safely conclude that functionality d

Re: Postfix can not bind to address (IP)

2009-01-22 Thread Wietse Venema
Mike Pogue: > You're right, the ip set on smtp_bind_address was wrong. Updated this > and restarted postfix. > > Got an error related to clamsmptpd, that tries to connect to x.x.x.x10 > instead of localhost (127.0.0.1) > ~~~ > www clamsmtpd: 102C71: SERVER: couldn't connect to: x.x.x.10:10026: > T

Re: syntax for multiple addresses in transport

2009-01-22 Thread Victor Duchovni
On Thu, Jan 22, 2009 at 12:26:54PM -0500, Cory Coager wrote: > What is the syntax for specifying multiple addresses in transport for smtp? > Something like: > > example.com smtp:[gateway1.example.com] smtp:[gateway2.example.com] No, there is no multi-nexthop syntax in the transport table.

syntax for multiple addresses in transport

2009-01-22 Thread Cory Coager
What is the syntax for specifying multiple addresses in transport for smtp? Something like: example.com smtp:[gateway1.example.com] smtp:[gateway2.example.com] The information contained in this communication is in

Re: Create Custom Mail Queue

2009-01-22 Thread Ed W
> Let's assume that you specify: > > /etc/postfix/main.cf: > default_transport = smtp > relay_transport = smtp > smtp_destination_rate_delay = 120s > > With this, Postfix inserts 120s between deliveries over the smtp > transport. There will not be two messages back to back. > > In othe

Re: Problem DNS-resolving single helo-hostnames

2009-01-22 Thread Victor Duchovni
On Thu, Jan 22, 2009 at 12:57:30PM +0100, Schilling, Timo wrote: > Hello to everybody, > > while we use the option "reject_unknown_helo_hostname" we noticed, that > single hostnames will be rejected without contacting the dns-servers. > After some debugging of the source code we got to this line:

Re: More than one host in relayhost = ...?

2009-01-22 Thread Wietse Venema
Thomas Ackermann: > Wietse Venema schrieb: > > That is a bug in your operating system. > > > > That made me test all of them :) ... > Solaris 8 and 9: > AIX (AIX 3 5 00C9FC9A4C00): > Linux (SuSE 9.3 and SuSE 10.3): ... > Which OS is not buggy then?!? SunOS 3 (hey I said 21 years ago :-), may

Re: Create Custom Mail Queue

2009-01-22 Thread Wietse Venema
Ed W: > Ralf Hildebrandt wrote: > > * Jacky Chan : > > > >> Dear all, > >> > >> Can I create custom mail queue in /var/spool/postfix to hold the mails for > >> specific detinsation and schedule to deliver one by one for period of time, > >> let's say 2 mins. > >> > > > > That's not needed.

Re: transport_maps preferences

2009-01-22 Thread Noel Jones
On Thu, Jan 22, 2009 at 10:46:09AM +0530, ram wrote: > > On Wed, 2009-01-21 at 12:56 -0600, Noel Jones wrote: > > ram wrote: > That was just an example. In real life I dont have the exact same key > but I have matches in both Don't put matches in both files. > > Search order is documented in t

Re: More than one host in relayhost = ...?

2009-01-22 Thread Brian Evans - Postfix List
Thomas Ackermann wrote: > Wietse Venema schrieb: >> That is a bug in your operating system. >> > > That made me test all of them :) > I used several runs of "ping" against the hostname after including it > with two entries into /etc/hosts > Cannot use "getaddrinfo" ... getaddrinfo is a test pro

Re: Nigerian 419 spam

2009-01-22 Thread jeff donovan
On Jan 22, 2009, at 10:28 AM, bharathan kailath wrote: hi how can i take some measures to stop this so called Nigerian 419 spam ;i've got two postfix relays with amavisd; but still i get some emails like Nigerian 419 spam help appreciated smtpd_client_restrictions = permit_mynetworks, c

Nigerian 419 spam

2009-01-22 Thread bharathan kailath
hi how can i take some measures to stop this so called Nigerian 419 spam ;i've got two postfix relays with amavisd; but still i get some emails like Nigerian 419 spam help appreciated**

Re: Nigerian 419 spam

2009-01-22 Thread Steve
Original-Nachricht > Datum: Thu, 22 Jan 2009 17:28:07 +0200 > Von: bharathan kailath > An: postfix users list > Betreff: Nigerian 419 spam > hi > how can i take some measures to stop this so called Nigerian 419 spam > ;i've > got two postfix relays with amavisd; but still i ge

Re: How to reject mispelled recipient domain

2009-01-22 Thread Ed W
Ralf Hildebrandt wrote: > * Eddy Beliveau : > >> Hi! >> >> We are using Postfix 2.5.4 with success. Thanks ;-) >> >> My question is: >> >> We have many students who send emails to mispelled domains, as: >> hotmmail.com, hotmial.com, hotmail.cm ... >> >> I know that I can try to find all individ

Re: Create Custom Mail Queue

2009-01-22 Thread Ed W
Ralf Hildebrandt wrote: > * Jacky Chan : > >> Dear all, >> >> Can I create custom mail queue in /var/spool/postfix to hold the mails for >> specific detinsation and schedule to deliver one by one for period of time, >> let's say 2 mins. >> > > That's not needed. Create a custom transport fo

Re: More than one host in relayhost = ...?

2009-01-22 Thread Thomas Ackermann
Wietse Venema schrieb: That is a bug in your operating system. That made me test all of them :) I used several runs of "ping" against the hostname after including it with two entries into /etc/hosts Cannot use "getaddrinfo" ... Solaris 8 and 9: Only uses the first IP in /etc/hosts (with "

Re: Slow down in delivery

2009-01-22 Thread jeff donovan
On Jan 21, 2009, at 1:44 PM, Victor Duchovni wrote: On Wed, Jan 21, 2009 at 01:04:07PM -0500, jeff donovan wrote: On Jan 21, 2009, at 12:13 PM, Victor Duchovni wrote: On Wed, Jan 21, 2009 at 10:41:00AM -0500, jeff donovan wrote: I read the performance tuning http://www.postfix.org/TUNING

Re: How to reject mispelled recipient domain

2009-01-22 Thread Ralf Hildebrandt
* Eddy Beliveau : > Hi! > > We are using Postfix 2.5.4 with success. Thanks ;-) > > My question is: > > We have many students who send emails to mispelled domains, as: > hotmmail.com, hotmial.com, hotmail.cm ... > > I know that I can try to find all individual combinations > and write them in some

Re: How to reject mispelled recipient domain

2009-01-22 Thread Thomas Ackermann
Eddy Beliveau schrieb: I know that I can try to find all individual combinations and write them in some reject file to be used in check_recipient_access Is there some way to define a rule based on phonetic or another solution which detect mispelled words ? I would recommend against that idea :

Re: More than one host in relayhost = ...?

2009-01-22 Thread Wietse Venema
Thomas Ackermann: > I can map the mail-relays hostname only to one IP with /etc/hosts and > therefor, any redundancy is lost. That is a bug in your operating system. As a workaround, use smtp_fallback_relay. I have used multiple IP addresses per name in /etc/hosts for as long as I can remember,

How to reject mispelled recipient domain

2009-01-22 Thread Eddy Beliveau
Hi! We are using Postfix 2.5.4 with success. Thanks ;-) My question is: We have many students who send emails to mispelled domains, as: hotmmail.com, hotmial.com, hotmail.cm ... I know that I can try to find all individual combinations and write them in some reject file to be used in check_re

Re: Postfix can not bind to address (IP)

2009-01-22 Thread Wietse Venema
Mike Pogue: > fatal: parameter inet_interfaces: no local interface found for x.x.x.10 Postfix cannot bind to the interface address because that address has not been configured on the machine in question. You can specify only IP addresses that show up with "ifconfig -a". Postfix does NOT implemen

Re: More than one host in relayhost = ...?

2009-01-22 Thread Thomas Ackermann
Maybe i should better explain the reasons behind this question: We have some domains, where the mail-relay is mapped to several IP-Adresses (and servers) over an DNS entry. That is, we have ONE mailrelay that can be configured as relayhost. So far, so good. BUT, we also have systems without D

More than one host in relayhost = ...?

2009-01-22 Thread Thomas Ackermann
Hello, normally, you can say "relayhost = domain" and postfix searches the MX record for that domain in DNS to get the list of relayhosts. For domains where no MX record is configured into the DNS, i would need to use more than one relayhost ... Is that possible? The configuration seems not

Postfix can not bind to address (IP)

2009-01-22 Thread Mike Pogue
Hi! I have this server with 4 IPs, from x.x.x.10 to from x.x.x.14. My main domain, example.com is bind to x.x.x.10 address (x.x.x.10 has a PTR record too) For some reason postfix (smtp server) is picking up the last IP x.x.x.14 for outgoing mail instead of x.x.x.10. This is a problem because I w

Re: overriding/modifying smtp error codes from other MTAs

2009-01-22 Thread Charles Marcus
On 1/22/2009, ram (r...@netcore.co.in) wrote: > I have a got a stupid problem. We have some customers saying they > can't and don't want to reconfigure their mail servers even if > Planet-X hits Earth and that would help to avoid it :) And their MTAs > always responds with: If they are that brain

Re: overriding/modifying smtp error codes from other MTAs

2009-01-22 Thread Mark Goodge
Gábor Lénárt wrote: On Wed, Jan 21, 2009 at 12:38:28PM -0600, Noel Jones wrote: [...] Also sounds as if you don't have a valid recipient list for these customers. Not OK. Your queue is likely filled with lots of undeliverable mail to unknown recipients, and undeliverable bounces to bogus sen

Re: overriding/modifying smtp error codes from other MTAs

2009-01-22 Thread Mark Goodge
ram wrote: On Wed, 2009-01-21 at 18:36 +0100, Gábor Lénárt wrote: Hei, I have a got a stupid problem. We have some customers saying they can't and don't want to reconfigure their mail servers even if Planet-X hits Earth and that would help to avoid it :) And their MTAs always responds with: 45

Problem DNS-resolving single helo-hostnames

2009-01-22 Thread Schilling, Timo
Hello to everybody, while we use the option "reject_unknown_helo_hostname" we noticed, that single hostnames will be rejected without contacting the dns-servers. After some debugging of the source code we got to this line: 226 _res.options &= ~saved_options; where the flag "RES_DEFNAMES" will be

Re: example.com problem?

2009-01-22 Thread Daniel V. Reinhardt
- Original Message > From: Norm Mackey > To: postfix-users@postfix.org > Sent: Thursday, January 22, 2009 4:12:21 AM > Subject: example.com problem? > > I had been under the impression that I should tell users to use the > domain "example.com" (or example.org) as default settings in s

Re: Create Custom Mail Queue

2009-01-22 Thread Wietse Venema
Jacky Chan: > If slow_destination_rate_delay = 5s and slow_destination_concurrency_limit = > 2, and with slow_destination_recipient_limit > 1, how does > slow_destination_rate_delay and slow_destination_concurrency_limit affect > each other if there are 10 mails send to the same doamin? xxx_rate_d

Re: example.com problem?

2009-01-22 Thread Wietse Venema
Norm Mackey: > The situation reached the point where the mail queue could not even > be listed completely with postqueue without postqueue failing, and What was the failure? I suppose that after $daemon_timeout seconds (1800s default) the daemon that lists the queue is terminated for safety reas

Re: overriding/modifying smtp error codes from other MTAs

2009-01-22 Thread ram
On Wed, 2009-01-21 at 18:36 +0100, Gábor Lénárt wrote: > Hei, > > I have a got a stupid problem. We have some customers saying they can't and > don't want to reconfigure their mail servers even if Planet-X hits Earth and > that would help to avoid it :) And their MTAs always responds with: > > 45

Re: Mail certificate

2009-01-22 Thread Tolga
Geert Hendrickx yazmış: On Thu, Jan 22, 2009 at 11:08:52AM +0200, Tolga wrote: http://www.google.com/search?q=self+signed+certificate I have been reading https://help.ubuntu.com/8.04/serverguide/C/postfix.html and I applied some parts and skipped some (as I don't have SASL anywhere

Re: [Fwd: Re: Mail certificate]

2009-01-22 Thread Nick Warr
Tolga ha scritto: http://www.google.com/search?q=self+signed+certificate I have been reading https://help.ubuntu.com/8.04/serverguide/C/postfix.html and I applied some parts and skipped some (as I don't have SASL anywhere mentioned in main.cf), and I restarted postfix but I still get the war

Re: Mail certificate

2009-01-22 Thread Geert Hendrickx
On Thu, Jan 22, 2009 at 11:08:52AM +0200, Tolga wrote: >> http://www.google.com/search?q=self+signed+certificate > I have been reading > https://help.ubuntu.com/8.04/serverguide/C/postfix.html and I applied > some parts and skipped some (as I don't have SASL anywhere mentioned in > main.cf), and I

[Fwd: Re: Mail certificate]

2009-01-22 Thread Tolga
Orijinal Mesaj Konu: Re: Mail certificate Tarih: Thu, 22 Jan 2009 11:08:52 +0200 Kimden: Tolga Kime: Nick Warr CC: postfix-users@postfix.org Tercihler: <49781c25.9000...@ozses.net> <497828de.5030...@mobilia.it> Nick Warr yazmış: Tolga ha scritto: He

Re: Mail certificate

2009-01-22 Thread Tolga
Nick Warr yazmış: Tolga ha scritto: Hello, It seems I (not knowingly) created a certificate for use, and now it expired. How do I renew it? Below is my postconf -n, if it helps: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_dire

Re: Mail certificate

2009-01-22 Thread Nick Warr
Tolga ha scritto: Hello, It seems I (not knowingly) created a certificate for use, and now it expired. How do I renew it? Below is my postconf -n, if it helps: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix