Re: Cannot connect to smtp server

2009-01-08 Thread Chris Babcock
On Thu, 08 Jan 2009 21:20:20 -0800 Evan Platt wrote: > >When I send the mail, it just stays in the queue. The results of > >mailq, tail /var/log/mail.log, and postconf -n are pasting below for > >reference. > > From the laptop, what happens when you > telnet smtp.gmail.com 25 > > > >I shall

Re: "forcing" authenticated users to use port 587?

2009-01-08 Thread jeff_homeip
--- In post...@yahoogroups.com, Sahil Tandon wrote: > > Jeff Weinberger wrote: > > > I noticed that on several occasions, and in the default master.cf: > > > > -o milter_macro_daemon_name=ORIGINATING > > > > is suggested for the submission service. I'm not familiar with Milters > > and can't fin

Re: Cannot connect to smtp server

2009-01-08 Thread Evan Platt
At 09:20 PM 1/8/2009, you wrote: From the laptop, what happens when you telnet smtp.gmail.com 25 My bad, this should be telnet smtp.gmail.com 587

Re: Cannot connect to smtp server

2009-01-08 Thread Evan Platt
Please send your replies to the list, not to me. At 09:58 PM 1/8/2009, you wrote: > >> From the laptop, what happens when you >> telnet smtp.gmail.com 25 > > telnet smtp.gmail.com 25 > Trying 66.249.93.109... > Trying 66.249.93.111... > telnet: Unable to connect to remote host: Connection refu

Re: Cannot connect to smtp server

2009-01-08 Thread Evan Platt
At 09:26 PM 1/8/2009, you wrote: Quite the contrary -- they SHOULD be there in order to suppress MX lookups of the relayhost name. See the documentation. Huh. Yer right. Never had that in my main.cf - never had a problem either. I added it and reloaded. Thanks for the edumacation :)

Re: Cannot connect to smtp server

2009-01-08 Thread Magnus Bäck
On Friday, January 09, 2009 at 06:20 CET, Evan Platt wrote: > At 08:56 PM 1/8/2009, you wrote: [...] > > relayhost = [smtp.gmail.com] > > Do you have the brackets in the main.cf? Not sure if that will cause > a problem or not. Quite the contrary -- they SHOULD be there in order to suppr

Re: Cannot connect to smtp server

2009-01-08 Thread Evan Platt
At 08:56 PM 1/8/2009, you wrote: i have recently shifted to a different place. Uhhh do you mean a new internet provider? Or something else? I had a functioning postfix setup on my laptop but it is not working in this new place. I'm confused. Why are you running postfix on a laptop? I use

Cannot connect to smtp server

2009-01-08 Thread Vikas Rawal
i have recently shifted to a different place. I had a functioning postfix setup on my laptop but it is not working in this new place. I use gmail's smtp server to send e-mail. Please note the following. 1. Internet works fine. 2. Evolution can send e-mail using the same smtp server account 3. I

Re: "forcing" authenticated users to use port 587?

2009-01-08 Thread Sahil Tandon
Jeff Weinberger wrote: > I noticed that on several occasions, and in the default master.cf: > > -o milter_macro_daemon_name=ORIGINATING > > is suggested for the submission service. I'm not familiar with Milters > and can't find information on what this is or what this does (at least > in my s

Re: PATCH: bug from May 19, 1997

2009-01-08 Thread Victor Duchovni
On Thu, Jan 08, 2009 at 09:07:07PM -0500, Wietse Venema wrote: > While adding a feature I ran into a problem that is so old that I > had to dig into my pre-alpha source code to find when it was > introduced. > > Bugfix (introduced May 19, 1997): removing a parameter > setting from mai

Re: "forcing" authenticated users to use port 587?

2009-01-08 Thread Jeff Weinberger
On Jan 8, 2009, at 6:53 AM, Jorey Bump wrote: Jeff Weinberger wrote, at 01/08/2009 09:27 AM: Setting smtpd_sasl_auth_enable = no would mean that no authentication is required on port 25, but if I understand it correctly, it wouldn't actually stop an authenticated user from sending mail throu

Re: getting dns error

2009-01-08 Thread Sahil Tandon
James D. Parra wrote: > I am getting the following error when sending to the below mail server. I > added the name of our internal relay server to our public dns and a ptr > record, but I am still getting the error below. > > > host mxi4p.craigslist.org[208.82.236.164] > said: 554 5.7.1 : C

getting dns error

2009-01-08 Thread James D. Parra
Hello, I am getting the following error when sending to the below mail server. I added the name of our internal relay server to our public dns and a ptr record, but I am still getting the error below. host mxi4p.craigslist.org[208.82.236.164] said: 554 5.7.1 : Client host rejected: rDNS/DNS

Re: PATCH: bug from May 19, 1997

2009-01-08 Thread Matt Hayes
Wietse Venema wrote: > While adding a feature I ran into a problem that is so old that I > had to dig into my pre-alpha source code to find when it was > introduced. > > Bugfix (introduced May 19, 1997): removing a parameter > setting from main.cf did not reset the parameter to its >

PATCH: bug from May 19, 1997

2009-01-08 Thread Wietse Venema
While adding a feature I ran into a problem that is so old that I had to dig into my pre-alpha source code to find when it was introduced. Bugfix (introduced May 19, 1997): removing a parameter setting from main.cf did not reset the parameter to its default value. File: gl

Re: Reject_unlisted_recipient and "wide" aliasing

2009-01-08 Thread Roman Medina-Heigl Hernandez
mouss escribió: > Roman Medina-Heigl Hernandez a écrit : >> Noel Jones escribió: >>> [snip] >>> Use 1-1 mappings. Use a little script and a Makefile to let the >>> computer build the aliased domain from the real domain list you already >>> maintain. Size of the table is not an issue. >>> >>> Your

Re: multiple e-mails on from:

2009-01-08 Thread mouss
Noel Jones a écrit : > Cameron Camp wrote: >> I have a Postfix setup which runs several mailman lists. I'm getting in >> the headers: >> >> From: nore...@domain.com, r...@www.domain.com > > The From: header is text added by the mail client or your list > processor. This isn't a postfix issue. >

Re: "forcing" authenticated users to use port 587?

2009-01-08 Thread mouss
Jeff Weinberger a écrit : > Hi: > > Based on good practice and the help and urging of some of the gurus on this > list, I am moving my users to using the submission service (port 587) > instead of port 25 to send mail from their mail clients. > > Once most of them move, I'd like to start warning

Re: Reject_unlisted_recipient and "wide" aliasing

2009-01-08 Thread Noel Jones
Roman Medina-Heigl Hernandez wrote: Noel Jones escribió: Roman Medina-Heigl Hernandez wrote: Hello, I don't want my mail queue to fill due to fake mail (spam) so I'd like to reject as much mail as I could at the smtp stage (avoiding mail entering into my queues). My setup is multi-domain (vdom

Re: Send-Only Server Config?

2009-01-08 Thread maddae...@gmail.com
On Thu, Jan 8, 2009 at 12:59 PM, Noel Jones wrote: > maddae...@gmail.com wrote: >> >> Hi All, >> >> I'm hoping for a little guidance with this. My apologies for not >> doing a proper search on this first, but I'm a bit pressed for time. >> >> I've been asked to build a mail server for the purpose

Re: Reject_unlisted_recipient and "wide" aliasing

2009-01-08 Thread mouss
Roman Medina-Heigl Hernandez a écrit : > Noel Jones escribió: >> [snip] >> Use 1-1 mappings. Use a little script and a Makefile to let the >> computer build the aliased domain from the real domain list you already >> maintain. Size of the table is not an issue. >> >> Your postconf output looks OK

Re: Blocking Spam

2009-01-08 Thread mouss
bijayant kumar a écrit : > My question is, spammers forges the from address and sends the spam where > from address and to address are same. Like in my case I am getting the spam > mails from bijay...@kavach.com to bijay...@kavach.com. So, I googled and > found that after reject_unauth_destinati

Re: Reject_unlisted_recipient and "wide" aliasing

2009-01-08 Thread Roman Medina-Heigl Hernandez
Noel Jones escribió: > Roman Medina-Heigl Hernandez wrote: >> Hello, >> >> I don't want my mail queue to fill due to fake mail (spam) so I'd like to >> reject as much mail as I could at the smtp stage (avoiding mail entering >> into my queues). My setup is multi-domain (vdomains) and it's working >

Re: Send-Only Server Config?

2009-01-08 Thread Noel Jones
maddae...@gmail.com wrote: Hi All, I'm hoping for a little guidance with this. My apologies for not doing a proper search on this first, but I'm a bit pressed for time. I've been asked to build a mail server for the purpose of sending mail from various machines within a LAN to anywhere on the

Re: Reject_unlisted_recipient and "wide" aliasing

2009-01-08 Thread Noel Jones
Roman Medina-Heigl Hernandez wrote: Hello, I don't want my mail queue to fill due to fake mail (spam) so I'd like to reject as much mail as I could at the smtp stage (avoiding mail entering into my queues). My setup is multi-domain (vdomains) and it's working reasonably well for my hosted domain

Reject_unlisted_recipient and "wide" aliasing

2009-01-08 Thread Roman Medina-Heigl Hernandez
Hello, I don't want my mail queue to fill due to fake mail (spam) so I'd like to reject as much mail as I could at the smtp stage (avoiding mail entering into my queues). My setup is multi-domain (vdomains) and it's working reasonably well for my hosted domains ("real") but not for those being "al

Send-Only Server Config?

2009-01-08 Thread maddae...@gmail.com
Hi All, I'm hoping for a little guidance with this. My apologies for not doing a proper search on this first, but I'm a bit pressed for time. I've been asked to build a mail server for the purpose of sending mail from various machines within a LAN to anywhere on the Net. I'm guessing that this

Re: Access and smtpd_sender_restrictions

2009-01-08 Thread Martin Spinassi
On Thu, 2009-01-08 at 14:02 -0300, Reinaldo de Carvalho wrote: [ snip ] > > > > Hey! That did the trick! > > > > Thanks for the help. Can you explain me why is it a problem if it si an > > external MTA? > > > > > > Martín > > > > Because any sender not equal to example.com will be reject. > > You

Re: tracking MTA connections

2009-01-08 Thread Cory Coager
Noel Jones said the following on 01/08/2009 10:34 AM: Postfix keeps idle processes around for $max_idle (default 100s), so the process count is only an approximation of the number of connections. Idle processes are reused $max_use (default 100) times before they are retired. The number of pro

Re: "forcing" authenticated users to use port 587?

2009-01-08 Thread Jeff Weinberger
On Thu, 08 Jan 2009 09:53:45 -0500, Jorey Bump wrote: > Jeff Weinberger wrote, at 01/08/2009 09:27 AM: > >> Setting smtpd_sasl_auth_enable = no would mean that no authentication is >> required on port 25, but if I understand it correctly, it wouldn't >> actually stop an authenticated user from se

Re: Access and smtpd_sender_restrictions

2009-01-08 Thread Reinaldo de Carvalho
On Thu, Jan 8, 2009 at 11:10 AM, Martin Spinassi wrote: > On Thu, 2009-01-08 at 10:10 -0300, Reinaldo de Carvalho wrote: >> On Thu, Jan 8, 2009 at 9:20 AM, Martin Spinassi >> wrote: >> > main.cf: >> > >> > smtpd_sender_restrictions= >> >check_client_access hash:/etc/postfix/access >> >

Re: Access and smtpd_sender_restrictions

2009-01-08 Thread john.swilt...@wanadoo.fr
john.swilt...@wanadoo.fr a écrit : Martin Spinassi a écrit : On Thu, 2009-01-08 at 10:10 -0300, Reinaldo de Carvalho wrote: On Thu, Jan 8, 2009 at 9:20 AM, Martin Spinassi wrote: main.cf: smtpd_sender_restrictions= check_client_access hash:/etc/postfix/access reject s/check_c

Re: Access and smtpd_sender_restrictions

2009-01-08 Thread john.swilt...@wanadoo.fr
Martin Spinassi a écrit : On Thu, 2009-01-08 at 10:10 -0300, Reinaldo de Carvalho wrote: On Thu, Jan 8, 2009 at 9:20 AM, Martin Spinassi wrote: main.cf: smtpd_sender_restrictions= check_client_access hash:/etc/postfix/access reject s/check_client_access/check_sender_access/ b

Re: Preventing relay of multiple recipients or cc to multiple recipients

2009-01-08 Thread Victor Duchovni
On Thu, Jan 08, 2009 at 11:03:51AM +0100, Bas van Reeuwijk wrote: > Am I correct in understandig that I should set null_sender to empty in the > pipe command to my content filter, because the default is set to > 'MAILER-DAEMON'? Yes. > Currently my filter entry in the master.cf is as follows: >

Re: CDB map files for virtual alias maps

2009-01-08 Thread Victor Duchovni
On Thu, Jan 08, 2009 at 09:25:33AM -0500, Brian Collins wrote: > > So that seems to be it. I would really need to compile an "authentic" > > postfix version. Can you give me a link to source RPM of 2.5.5 for > > centos 5 > > Wietse does not release any RPM versions of Postfix. As you can imagine

Re: multiple e-mails on from:

2009-01-08 Thread Noel Jones
Cameron Camp wrote: I have a Postfix setup which runs several mailman lists. I'm getting in the headers: From: nore...@domain.com, r...@www.domain.com The From: header is text added by the mail client or your list processor. This isn't a postfix issue. and also: Return-Path: www-d...@ww

Re: tracking MTA connections

2009-01-08 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > Well, there ARE enough processes as is. Your server is very low > volume it seems. > > > I ran the command on watch and the output never changes however postfix > > is processing about 5 messages per minute. Why am I getting different > > results? Is this a configuration

Re: tracking MTA connections

2009-01-08 Thread Noel Jones
Cory Coager wrote: Ralf Hildebrandt said the following on 01/08/2009 08:39 AM: * Cory Coager : I'm attempting to generate some rrd graphs to track MTA connections for postfix. With sendmail it was possible to do this by greping the ps list for the number of sendmail processes. How would I

Re: tracking MTA connections

2009-01-08 Thread Ralf Hildebrandt
* Cory Coager : > Unfortunately its not working. > > # ps auxwww|grep "smtp -n" > postfix 16747 0.0 0.0 3728 1172 ?S10:08 0:00 smtp -n > pmx -t unix -u > postfix 18905 0.0 0.0 3728 1160 ?S10:21 0:00 smtp -n > pmx -t unix -u > > The version installed is 2

Re: tracking MTA connections

2009-01-08 Thread Cory Coager
* Ralf Hildebrandt : grep for the smtp processes (not smtpd) (or vice versa) The number of smtp processes never changes so this won't work. Why ask if you know better? Of course it changes. mail-ausfall:~# ps auxwww|grep "smtp -n" |wc -l 6 mail-ausfall:~# ps auxwww|

Re: tracking MTA connections

2009-01-08 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > >> grep for the smtp processes (not smtpd) > >> (or vice versa) > > > The number of smtp processes never changes so this won't work. > > Why ask if you know better? Of course it changes. mail-ausfall:~# ps auxwww|grep "smtp -n" |wc -l 6 mail-ausfall:~# ps auxwww|grep "smt

Re: tracking MTA connections

2009-01-08 Thread Ralf Hildebrandt
* Cory Coager : >>> I'm attempting to generate some rrd graphs to track MTA connections for >>> postfix. With sendmail it was possible to do this by greping the ps >>> list for the number of sendmail processes. How would I accomplish this >>> on postfix? >>> >> >> grep for the smtp processe

Re: tracking MTA connections

2009-01-08 Thread Cory Coager
Ralf Hildebrandt said the following on 01/08/2009 08:39 AM: * Cory Coager : I'm attempting to generate some rrd graphs to track MTA connections for postfix. With sendmail it was possible to do this by greping the ps list for the number of sendmail processes. How would I accomplish this on p

Re: "forcing" authenticated users to use port 587?

2009-01-08 Thread Jorey Bump
Jeff Weinberger wrote, at 01/08/2009 09:27 AM: > Setting smtpd_sasl_auth_enable = no would mean that no authentication is > required on port 25, but if I understand it correctly, it wouldn't > actually stop an authenticated user from sending mail through port 25. > If they tried to authenticate on

Re: "forcing" authenticated users to use port 587?

2009-01-08 Thread Jeff Weinberger
On Jan 8, 2009, at 5:49 AM, Jorey Bump wrote: Jeff Weinberger wrote, at 01/08/2009 12:10 AM: Hi: Based on good practice and the help and urging of some of the gurus on this list, I am moving my users to using the submission service (port 587) instead of port 25 to send mail from their mail

RE: CDB map files for virtual alias maps

2009-01-08 Thread Brian Collins
> So that seems to be it. I would really need to compile an "authentic" > postfix version. Can you give me a link to source RPM of 2.5.5 for > centos 5 Wietse does not release any RPM versions of Postfix. As you can imagine, keeping that up for all the RPM-based distros would be quite a feat. How

Re: "forcing" authenticated users to use port 587?

2009-01-08 Thread Jorey Bump
Chris Babcock wrote, at 01/08/2009 03:19 AM: > On Wed, 7 Jan 2009 21:10:57 -0800 > Jeff Weinberger wrote: > >> 1) using the controls in postfix, is it possible to prevent >> authenticated >> users from using port 25 to submit mail? Is there a construct that >> would do >> that without interfe

Re: About bounce nonexist mx server mails

2009-01-08 Thread Geert Hendrickx
On Thu, Jan 08, 2009 at 09:59:54AM -0300, Reinaldo de Carvalho wrote: > On Thu, Jan 8, 2009 at 6:01 AM, Geert Hendrickx wrote: > > > > You can just refuse them: put "reject_unknown_recipient_domain" in your > > smtpd_recipient_restrictions -- assuming the typo domain has no A nor MX > > record, yo

Re: Access and smtpd_sender_restrictions

2009-01-08 Thread Martin Spinassi
On Thu, 2009-01-08 at 10:10 -0300, Reinaldo de Carvalho wrote: > On Thu, Jan 8, 2009 at 9:20 AM, Martin Spinassi > wrote: > > main.cf: > > > > smtpd_sender_restrictions= > >check_client_access hash:/etc/postfix/access > >reject > > > > s/check_client_access/check_sender_access/ >

Re: "forcing" authenticated users to use port 587?

2009-01-08 Thread Jorey Bump
Jeff Weinberger wrote, at 01/08/2009 12:10 AM: > Hi: > > Based on good practice and the help and urging of some of the gurus on this > list, I am moving my users to using the submission service (port 587) > instead of port 25 to send mail from their mail clients. > > Once most of them move, I'd l

Re: tracking MTA connections

2009-01-08 Thread Ralf Hildebrandt
* Cory Coager : > I'm attempting to generate some rrd graphs to track MTA connections for > postfix. With sendmail it was possible to do this by greping the ps > list for the number of sendmail processes. How would I accomplish this > on postfix? grep for the smtp processes (not smtpd) (or vice

tracking MTA connections

2009-01-08 Thread Cory Coager
I'm attempting to generate some rrd graphs to track MTA connections for postfix. With sendmail it was possible to do this by greping the ps list for the number of sendmail processes. How would I accomplish this on postfix? ~Cory Coager --

Re: Access and smtpd_sender_restrictions

2009-01-08 Thread Reinaldo de Carvalho
On Thu, Jan 8, 2009 at 9:20 AM, Martin Spinassi wrote: > main.cf: > > smtpd_sender_restrictions= >check_client_access hash:/etc/postfix/access >reject > s/check_client_access/check_sender_access/ but this a problem if is a external MTA. > > Martín > > -- Reinaldo de Carvalho h

Re: Access and smtpd_sender_restrictions

2009-01-08 Thread Martin Spinassi
On Thu, 2009-01-08 at 07:54 -0500, Wietse Venema wrote: > Martin Spinassi: > [ Charset UTF-8 unsupported, converting... ] > > Hi list! > > > > I'm trying to install a postfix with some restrictions, including a > > sender restriction, but I'm just missing something. > > > > The idea is to allow o

Re: Access and smtpd_sender_restrictions

2009-01-08 Thread Wietse Venema
Martin Spinassi: [ Charset UTF-8 unsupported, converting... ] > Hi list! > > I'm trying to install a postfix with some restrictions, including a > sender restriction, but I'm just missing something. > > The idea is to allow only one domain to send mails from that server, but > I'm having access d

Re: Blocking Spam

2009-01-08 Thread Chris Babcock
> > It's doing what you're asking... "REJECT" > > means bounce the message. You > > probably want to "DISCARD" it. > > > DISCARD means nobody will receive the bounce message, right? If any > bodies mails is rejected from our server he/she will never know what > was the issue. Right, which is wh

Access and smtpd_sender_restrictions

2009-01-08 Thread Martin Spinassi
Hi list! I'm trying to install a postfix with some restrictions, including a sender restriction, but I'm just missing something. The idea is to allow only one domain to send mails from that server, but I'm having access denied including the domain that is supposed to be allowed. Here is what I g

Re: Blocking Spam

2009-01-08 Thread bijayant kumar
Bijayant Kumar --- On Thu, 8/1/09, Chris Babcock wrote: > From: Chris Babcock > Subject: Re: Blocking Spam > To: postfix-users@postfix.org > Cc: bijayan...@yahoo.com > Date: Thursday, 8 January, 2009, 2:13 PM > On Wed, 7 Jan 2009 23:30:06 -0800 (PST) > bijayant kumar wrote: > > > > > > >

Re: Preventing relay of multiple recipients or cc to multiple recipients

2009-01-08 Thread Bas van Reeuwijk
Hi Victor, Thanks again for you help. I really appreciate the time and effort you put in helping and educating me. I've succesfully upgraded to postfix 2.5.6 this morning. I'm still a bit confused about your remarks regarding the "null_sender=" parameter. Am I correct in understandig that I sho

Re: About bounce nonexist mx server mails

2009-01-08 Thread Geert Hendrickx
On Thu, Jan 08, 2009 at 11:26:57AM +0800, tony liu wrote: > Hello, > > When my customers send mails with nonsexist domain(sometimes maybe typo > error, EX. u...@hotmail.org ), these mails will be rejected and in queue for > a long time(normally 5 days), Is there a way for postfix to remove these

Re: Blocking Spam

2009-01-08 Thread Chris Babcock
On Wed, 7 Jan 2009 23:30:06 -0800 (PST) bijayant kumar wrote: > > > Bijayant Kumar > > > --- On Tue, 6/1/09, DJ Lucas wrote: > > > From: DJ Lucas > > Subject: Re: Blocking Spam > > To: postfix-users@postfix.org > > Date: Tuesday, 6 January, 2009, 2:00 PM > > bijayant kumar wrote: > > > Bij

Re: "forcing" authenticated users to use port 587?

2009-01-08 Thread Chris Babcock
On Wed, 7 Jan 2009 21:10:57 -0800 Jeff Weinberger wrote: > 1) using the controls in postfix, is it possible to prevent > authenticated > users from using port 25 to submit mail? Is there a construct that > would do > that without interfering with incoming mail from anywhere? Your smtpd_recip