Re: Sending on different network interface

2011-04-03 Thread /dev/rob0
On Sun, Apr 03, 2011 at 10:39:58PM -0700, email builder wrote: > I'm wondering if it's possible to configure a smtpd process in > master.cf to send messages to the outside on a secondary network > interface. Of course not; smtpd(8) is the SMTP daemon, the server. It receives mail; it does not s

Sending on different network interface

2011-04-03 Thread email builder
Hello, I'm wondering if it's possible to configure a smtpd process in master.cf to send messages to the outside on a secondary network interface. It seems to be possible to make a smtpd process listen on a given interface (IP address) by specifying the IP address on the front of the configura

Re: SMTP client host name spoofing

2011-04-03 Thread Reindl Harald
Am 04.04.2011 03:08, schrieb Sahil Tandon: > On Mon, 2011-04-04 at 02:38:14 +0200, Reindl Harald wrote: > > [ .. ] > >> now you come even with "direct send from a notebook" >> jesus christ this is really ignorant! > > Please, this is a technical mailing list; let's all try to minimize the > edi

Re: Updating main.cf Efficiently

2011-04-03 Thread /dev/rob0
On Sun, Apr 03, 2011 at 04:45:28PM -0700, Rich Shepard wrote: > On Sun, 3 Apr 2011, Rich Shepard wrote: > > If I understand you correctly, applying upgrade-configuration > >should be all I need to do and parameters such as > >smtpd_delay_reject = yes should be in 2.8.2 without explicit > >inclus

Re: Updating main.cf Efficiently

2011-04-03 Thread Noel Jones
On 4/3/2011 6:48 PM, Rich Shepard wrote: On Sun, 3 Apr 2011, Sahil Tandon wrote: AFAIK, Postfix has never distributed such files. This must be an artifact of your package management system. Yes, from the last Slackware upgrade. And also note that this setting has been the default since well

Re: SMTP client host name spoofing

2011-04-03 Thread Sahil Tandon
On Mon, 2011-04-04 at 02:38:14 +0200, Reindl Harald wrote: [ .. ] > now you come even with "direct send from a notebook" > jesus christ this is really ignorant! Please, this is a technical mailing list; let's all try to minimize the editorializing and insults. -- Sahil Tandon

Re: SMTP client host name spoofing

2011-04-03 Thread Reindl Harald
Am 04.04.2011 02:22, schrieb Vincent Lefevre: >> why not? > > Because strictly speaking, due to NAT, the DNS would lie. I mean that > the address would not be the address of the machine sending the mail, > but the address of the router. nobody out there is interested on your NAT the server on th

Re: SMTP client host name spoofing

2011-04-03 Thread Vincent Lefevre
On 2011-04-04 01:53:15 +0200, Reindl Harald wrote: > > But the purpose of having a host in DNS is to be able to resolve it. > > I mean: you can't have a real hostname in the DNS if it is on a private > > network (unreachable because of NAT), can you? Well... I'm not sure. > > See below > > why not

Re: SMTP client host name spoofing

2011-04-03 Thread Reindl Harald
Am 04.04.2011 01:27, schrieb Vincent Lefevre: > On 2011-04-01 23:51:39 +0200, mouss wrote: >> we're not asking them to resolve their hostname. we're only asking them >> to use a "real" name. it's as easy as >> myhostname = joe.example.com >> >> with a "joe.example.com" that exists in DNS. > > But

Re: Updating main.cf Efficiently

2011-04-03 Thread Rich Shepard
On Sun, 3 Apr 2011, Sahil Tandon wrote: AFAIK, Postfix has never distributed such files. This must be an artifact of your package management system. Yes, from the last Slackware upgrade. And also note that this setting has been the default since well before 2.7.2. Well, then, that's n

Re: Updating main.cf Efficiently

2011-04-03 Thread Sahil Tandon
On Sun, 2011-04-03 at 16:39:15 -0700, Rich Shepard wrote: > On Sun, 3 Apr 2011, Sahil Tandon wrote: > > >What is main.cf.new? It is not distributed with Postfix. The > >parameter setting you mention above is the default, and thus does not > >even need to appear in main.cf. > > Sahil, > > I di

Re: Updating main.cf Efficiently

2011-04-03 Thread Rich Shepard
On Sun, 3 Apr 2011, Rich Shepard wrote: If I understand you correctly, applying upgrade-configuration should be all I need to do and parameters such as smtpd_delay_reject = yes should be in 2.8.2 without explicit inclusion in main.cf. Yet a colleage of mine still has his mail to me rejected bef

Re: Updating main.cf Efficiently

2011-04-03 Thread Rich Shepard
On Sun, 3 Apr 2011, Sahil Tandon wrote: What is main.cf.new? It is not distributed with Postfix. The parameter setting you mention above is the default, and thus does not even need to appear in main.cf. Sahil, I did not check the date on the file, so it might be from an earlier upgrade.

Re: Updating main.cf Efficiently

2011-04-03 Thread Sahil Tandon
On Sun, 2011-04-03 at 16:26:13 -0700, Rich Shepard wrote: > On Sun, 3 Apr 2011, Wietse Venema wrote: > > >Run this, with the old configuration files in place: > > > ># postfix upgrade-configuration > > Wietse, > > Thank you. I'm still missing something after doing this: I see > smtpd_delay_reje

Re: SMTP client host name spoofing

2011-04-03 Thread Vincent Lefevre
On 2011-04-01 23:51:39 +0200, mouss wrote: > we're not asking them to resolve their hostname. we're only asking them > to use a "real" name. it's as easy as > myhostname = joe.example.com > > with a "joe.example.com" that exists in DNS. But the purpose of having a host in DNS is to be able to res

Re: Updating main.cf Efficiently

2011-04-03 Thread Rich Shepard
On Sun, 3 Apr 2011, Wietse Venema wrote: Run this, with the old configuration files in place: # postfix upgrade-configuration Wietse, Thank you. I'm still missing something after doing this: I see smtpd_delay_reject = yes in main.cf.new, but not in main.cf. Did I run the command incorrectl

Re: Updating main.cf Efficiently

2011-04-03 Thread Wietse Venema
Rich Shepard: >I just upgraded from -2.7.1 to -2.8.2. I see there are many changes > between my existing main.cf and the new main.cf.default.new. Is there an > efficient way to preserve the specifics of my current main.cf while adding > the new features in the main.cf.default.new? Run this, wi

Updating main.cf Efficiently

2011-04-03 Thread Rich Shepard
I just upgraded from -2.7.1 to -2.8.2. I see there are many changes between my existing main.cf and the new main.cf.default.new. Is there an efficient way to preserve the specifics of my current main.cf while adding the new features in the main.cf.default.new? Thanks, Rich

Re: SMTP client host name spoofing

2011-04-03 Thread Vincent Lefevre
On 2011-04-01 17:45:01 +0200, Reindl Harald wrote: > when the server is down you can not send mails > and you really will not die, I repeat: When the server is down, I may *NEED* to send mail (for various reasons, e.g. to send logs so that things can be fixed, to warn some people that I can no lon

Re: Adjust smtp to limitations of a host

2011-04-03 Thread Victor Duchovni
On Sat, Apr 02, 2011 at 06:59:42PM +0100, Mark Alan wrote: > > > /etc/postfix/master.cf > > > slow unix - - - - - smtp > > > -o syslog_name=postfix-slow > > > -o smtp_connection_reuse_time_limit=30s > > > EOT > > > > > > /etc/postfix/main.cf > > > slow_init

Re: example showing how to track bad/bounce emails

2011-04-03 Thread Andrew Beverley
On Thu, 2011-03-31 at 12:56 -0400, Wietse Venema wrote: > marshall: > > Hello; > > > > I've been searching around for a while, but I've not found any > > documentation or > > examples that show how you can configure Postfix to log bad/bounce/failed > > emails > > to MySQL or how to read a log

Re: Methods to limit spam sent through compromised account?

2011-04-03 Thread Gábor Lénárt
On Thu, Mar 31, 2011 at 07:51:43PM +0200, Ralf Hildebrandt wrote: > > Are there any suggestions on how to tune postfix to limit the spam > > throughput? > > There are also legitimate users who have bulk email to send, so > > limiting by recipient quantity (as we do on our webmail) wouldn't be > > d

Re: Adjust smtp to limitations of a host (REPOST without postconf)

2011-04-03 Thread Mark Alan
On Sat, 2 Apr 2011 18:03:29 -0400 (EDT), Wietse Venema wrote: > > slow unix - - - - - smtp > > -o syslog_name=postfix-slow > > -o default_destination_rate_delay=1s > > -o default_destination_recipient_limit=20 > > -o smtp_connection_cache_on_demand=no

Re: Adjust smtp to limitations of a host

2011-04-03 Thread Mark Alan
On Sat, 2 Apr 2011 18:03:29 -0400 (EDT), Wietse Venema wrote: > > slow unix - - - - - smtp > > -o syslog_name=postfix-slow > > -o default_destination_rate_delay=1s > > -o default_destination_recipient_limit=20 > > -o smtp_connection_cache_on_demand=no >