Variables in delayed notification mail.

2009-09-02 Thread Guy
Hi, I'm using a slight variation of the default delay notification template which includes things like $delay_warning_time_hours and $maximal_queue_lifetime_days. A lot of users (ours anyway) won't read past the word "MAILER-DAEMON" so if it's possible I'd like to be able to make the subject of t

Re: Variables in delayed notification mail.

2009-09-02 Thread Wietse Venema
Guy: > Hi, > > I'm using a slight variation of the default delay notification > template which includes things like $delay_warning_time_hours and > $maximal_queue_lifetime_days. > > A lot of users (ours anyway) won't read past the word "MAILER-DAEMON" > so if it's possible I'd like to be able to

Custom 550 error message

2009-09-02 Thread Richard Smits
Hello, I was wondering, is it possible to change the default error message with a 550 or 450 ? It is now : #5.5.0 smtp;550 : Recipient address rejected: User unknown in virtual alias table Can this be changed ? Greetings .. Richard Smits

Re: How to block spammers appearing as local users?

2009-09-02 Thread Benny Pedersen
On ons 02 sep 2009 03:28:20 CEST, Sahil Tandon wrote ppp-124-122-30-5.revip2.asianet.co.th[124.122.30.5] WHy are you accepting mail from an obvious DHCP address? who says this ip is dynamic, just becurse the hostname look like it is ? Oh please; just use some common sense and basic heuristic

Re: Simple filter via pipe

2009-09-02 Thread rank1seeker
> It seems Noel was right: you need to learn your basics before moving forward > with Postfix. See 'Explanations of Man Sections' here: > > http://www.freebsd.org/cgi/man.cgi > > -- > Sahil Tandon > There was some error when user, other than root, has been filtering mail. Error was visible

Re: Reject subdomains

2009-09-02 Thread Noel Jones
On 9/2/2009 6:48 AM, indio wrote: I want to reject all mails sent from *.mydomain.tld, or at least apply the same restrictions as to mydomain.tld. I tried some parent_domain_matches_subdomains, but wasn't able to make it work. I want u...@mydomain.tld needed to log in to send mails, and I want u.

Re: Custom 550 error message

2009-09-02 Thread Ralf Hildebrandt
* Richard Smits : > Hello, > > I was wondering, is it possible to change the default error message > with a 550 or 450 ? > > It is now : #5.5.0 smtp;550 : Recipient address > rejected: User unknown in virtual alias table > > Can this be changed ? Which part of it? -- Ralf Hildebrandt Geschä

Re: Custom 550 error message

2009-09-02 Thread Richard Smits
Hello, After the "rejected" so the "User unknown in virtual alias table" part. Or the entire message. Also O.K. Greetings .. Ralf Hildebrandt wrote: * Richard Smits : Hello, I was wondering, is it possible to change the default error message with a 550 or 450 ? It is now : #5.5.0 smtp;550

Reject subdomains

2009-09-02 Thread indio
I want to reject all mails sent from *.mydomain.tld, or at least apply the same restrictions as to mydomain.tld. I tried some parent_domain_matches_subdomains, but wasn't able to make it work. I want u...@mydomain.tld needed to log in to send mails, and I want u...@other.mydomain.tld be treated as

Re: Custom 550 error message

2009-09-02 Thread Ralf Hildebrandt
* Richard Smits : > Hello, > > After the "rejected" so the "User unknown in virtual alias table" > part. Or the entire message. Also O.K. show_user_unknown_table_name = no -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Fra

Re: Custom 550 error message

2009-09-02 Thread Richard Smits
Let me explain why I ask this, We want to include a message in the error message , like : #5.5.0 smtp;550 : Recipient address > rejected: Please see http://telephonebook.domain.com for email info Is this possible ? Ralf Hildebrandt wrote: * Richard Smits : Hello, After the "rejected" so the

Re: Custom 550 error message

2009-09-02 Thread Ralf Hildebrandt
* Richard Smits : > Let me explain why I ask this, > > We want to include a message in the error message , like : > > #5.5.0 smtp;550 : Recipient address > > rejected: Please see http://telephonebook.domain.com for email info > > Is this possible ? By editing the sourcecode, yes -- Ralf Hilde

Re: attachment manipulations

2009-09-02 Thread Davy Leon
ok sounds like an alternative, but, in my case, as I told before, most of my clients are on dialup, so one high res pic attached, let's say 3 MB it's like about 15 minutes of conection to get the message using POP or IMAP, so, my idea was letting the user enjoy the picture (silently modified) in

Re: How to block spammers appearing as local users?

2009-09-02 Thread LuKreme
please don't reply off- list On 1-Sep-2009, at 02:48, nunatarsuaq wrote: 2009/9/1 LuKreme : On 31-Aug-2009, at 08:07, nunatarsuaq wrote: Aug 30 11:46:28 ghost postfix/smtpd[26223]: connect from ppp-124-122-30-5.revip2.asianet.co.th[124.122.30.5] WHy are you accepting mail from an obvious DHC

Re: How to block spammers appearing as local users?

2009-09-02 Thread LuKreme
On 2-Sep-2009, at 05:00, Benny Pedersen wrote: On ons 02 sep 2009 03:28:20 CEST, Sahil Tandon wrote ppp-124-122-30-5.revip2.asianet.co.th[124.122.30.5] WHy are you accepting mail from an obvious DHCP address? who says this ip is dynamic, just becurse the hostname look like it is ? Oh please;

Re: How to block spammers appearing as local users?

2009-09-02 Thread Benny Pedersen
On ons 02 sep 2009 18:07:27 CEST, LuKreme wrote who says this ip is dynamic, just becurse the hostname look like it is ? Erm don't be naive. If they can't be bothered to have a better rDNS then I can't be bothered to get their spam. who is naive now ?, i have seen dynamic ip with a static

Deferred queue settings?

2009-09-02 Thread Remy Lambert
I'm a Postfix n00b, so I may be asking a loaded question...but here goes: Recently, a user of mine sent an email to an incorrect address - he garbled the domain name. It took six days for our mail server to decide that it was undeliverable... Basically, the (incorrect) domain name actually res

Re: How to block spammers appearing as local users?

2009-09-02 Thread LuKreme
On 2-Sep-2009, at 10:22, Benny Pedersen wrote: On ons 02 sep 2009 18:07:27 CEST, LuKreme wrote who says this ip is dynamic, just becurse the hostname look like it is ? Erm don't be naive. If they can't be bothered to have a better rDNS then I can't be bothered to get their spam. who is n

Re: Deferred queue settings?

2009-09-02 Thread Wietse Venema
Remy Lambert: > I'm a Postfix n00b, so I may be asking a loaded question...but here goes: > > Recently, a user of mine sent an email to an incorrect address - > he garbled the domain name. It took six days for our mail server > to decide that it was undeliverable... [snip] Indeed, the mail syste

RE: Deferred queue settings?

2009-09-02 Thread Remy Lambert
Awesome, this is what I needed - thanks! I see that what ended up happening in my case is the "bounce_queue_lifetime" default maximum of 432000 seconds (5 days) was eventually reached. I'll shorten that up to 3 days for my purposes...if it's something on our side we can fix it way before then,

Re: How to block spammers appearing as local users?

2009-09-02 Thread Clunk Werclick
On Wed, 2009-09-02 at 18:22 +0200, Benny Pedersen wrote: > On ons 02 sep 2009 18:07:27 CEST, LuKreme wrote > >> who says this ip is dynamic, just becurse the hostname look like > >> it is ? > > Erm don't be naive. If they can't be bothered to have a better > > rDNS then I can't be bothered to

Re: Deferred queue settings?

2009-09-02 Thread Wietse Venema
Remy Lambert: > Awesome, this is what I needed - thanks! > > I see that what ended up happening in my case is the > "bounce_queue_lifetime" default maximum of 432000 seconds (5 days) > was eventually reached. I'll shorten that up to 3 days for my > purposes...if it's something on our side we can

RE: Deferred queue settings?

2009-09-02 Thread Remy Lambert
Oops, you're right - typed the wrong parameter name! Regarding the error counts, I see what you're getting at - when taking into consideration how often a message can be retried over any given span of time, it makes error count pretty irrelevant. I suppose if I want the message to bounce after

Postfix Error

2009-09-02 Thread Postfix
Hi, It seems when a mail box file gets to about 49MB, postfix will start giving the error: "can't create user output file" when trying to send mail to that account. Is there a setting for this somewhere in postfix? I can't seem to find one in the main.cf file about it. I didn't have a problem w

Re: Postfix Error

2009-09-02 Thread Noel Jones
On 9/2/2009 12:43 PM, Postfix wrote: Hi, It seems when a mail box file gets to about 49MB, postfix will start giving the error: "can't create user output file" when trying to send mail to that account. Is there a setting for this somewhere in postfix? I can't seem to find one in the main.cf file

Re: Deferred queue settings?

2009-09-02 Thread Charles Marcus
On 9/2/2009, Remy Lambert (rlamb...@healthforcepartners.com) wrote: > Regarding the error counts, I see what you're getting at - when > taking into consideration how often a message can be retried over any > given span of time, it makes error count pretty irrelevant. I > suppose if I want the mess

Re: A couple of problems

2009-09-02 Thread Daniel L'Hommedieu
On Aug 27, 2009, at 15:02, LuKreme wrote: On 27-Aug-2009, at 09:58, Daniel L'Hommedieu wrote: I could remove the limitation as you suggest, but doing so would open me up to hundreds of spams a day. So you have a choice, you can figure out how else to deal with the from/to spam, or you can n

Re: Deferred queue settings?

2009-09-02 Thread Victor Duchovni
On Wed, Sep 02, 2009 at 02:04:12PM -0400, Charles Marcus wrote: > On 9/2/2009, Remy Lambert (rlamb...@healthforcepartners.com) wrote: > > Regarding the error counts, I see what you're getting at - when > > taking into consideration how often a message can be retried over any > > given span of time

Re: A couple of problems

2009-09-02 Thread Benny Pedersen
On ons 02 sep 2009 20:06:08 CEST, Daniel L'Hommedieu wrote I guess nobody has any ideas on the other problem I mentioned, because nobody has responded to that half of my original email. :( are you saying that your wife cant use smtp auth ? :) -- xpoint

Re: Deferred queue settings?

2009-09-02 Thread Charles Marcus
On 9/2/2009, Victor Duchovni (victor.ducho...@morganstanley.com) wrote: > A bit too soon, given typical grey-listing minimum retry timers. I > would not send delay notices sooner than an hour after a message has > been queued. FWIW, I use a 2 hour delay warning. Hmmm... I just realized why we have

Re: Deferred queue settings?

2009-09-02 Thread LuKreme
On 2-Sep-2009, at 11:09, Remy Lambert wrote: I come from the land of MS Exchange so, although I'm competent I'm not sure one is allowed to use "MS Exchange" and "competent" in the same sentence without a negation. Only half kidding :) -- A marriage is always made up of two people who are p

question about logging of blocks resulting from message_size_limit

2009-09-02 Thread Christopher Adams
I have modified the message_size_limit in main.cf and restarted postfix. If I send messages under the size specified, they are delivered normally. If the message is over the limit, the message is not delivered, but there is no entry in the /var/log/maillog that shows that it was blocked. What am I

RE: Deferred queue settings?

2009-09-02 Thread Remy Lambert
I did indeed miss that part, thanks! Actually, now that I've looked we don't have that configured. I find that quite odd. I didn't set this system up, but they guy who did I have high respect for and I'm a little amazed that he didn't configure it. I'll do so immediately - thanks again for po

Re: question about logging of blocks resulting from message_size_limit

2009-09-02 Thread Victor Duchovni
On Wed, Sep 02, 2009 at 01:04:30PM -0700, Christopher Adams wrote: > I have modified the message_size_limit in main.cf and restarted > postfix. If I send messages under the size specified, they are > delivered normally. If the message is over the limit, the message is > not delivered, but there is

Re: Deferred queue settings?

2009-09-02 Thread Wietse Venema
LuKreme: > On 2-Sep-2009, at 11:09, Remy Lambert wrote: > > I come from the land of MS Exchange so, although I'm competent > > I'm not sure one is allowed to use "MS Exchange" and "competent" in > the same sentence without a negation. > > Only half kidding :) LuKreme, stick to the technical to

Re: question about logging of blocks resulting from message_size_limit

2009-09-02 Thread Wietse Venema
Christopher Adams: > I have modified the message_size_limit in main.cf and restarted > postfix. If I send messages under the size specified, they are > delivered normally. If the message is over the limit, the message is > not delivered, but there is no entry in the /var/log/maillog that > shows th

Converting Sendmail to Postfix

2009-09-02 Thread Scott Miller
I'm having a bit of an issue I'm hoping someone can help me out with. I've recently replaced Sendmail with Postfix, and so far so good. I also ran a script written by Russel Nelson that converts all e-mail located in /var/spool/mail to a Maildir format. That seemed to work just great. Now, my i

Re: question about logging of blocks resulting from message_size_limit

2009-09-02 Thread Christopher Adams
Thank you for your reply. I did find the bounce that indicates that the limit had been exceeded. I thought that the logs might also reflect that it had been blocked. Another question - can the message that the sender receives be modified? On Wed, Sep 2, 2009 at 1:17 PM, Victor Duchovni wrote: > O

Re: Converting Sendmail to Postfix

2009-09-02 Thread Sahil Tandon
On Wed, 02 Sep 2009, Scott Miller wrote: > I'm having a bit of an issue I'm hoping someone can help me out with. I've > recently replaced Sendmail with Postfix, and so far so good. I also ran a > script written by Russel Nelson that converts all e-mail located in > /var/spool/mail to a Maildir f

Re: question about logging of blocks resulting from message_size_limit

2009-09-02 Thread /dev/rob0
Please do not top-post your replies. Thank you. On Wednesday 02 September 2009 17:03:20 Christopher Adams wrote: > Thank you for your reply. I did find the bounce that indicates > that the limit had been exceeded. I thought that the logs might > also reflect that it had been blocked. Only if it w

cannot find your hostname

2009-09-02 Thread LuKreme
what exactly does "Cannot find your hostname" mean? NOQUEUE: reject_warning: RCPT from unknown[216.1.201.141]: 450 4.7.1 Client host rejected: cannot find your hostname, [216.1.201.141]; from= to= proto=SMTP helo= ;; ANSWER SECTION: wellmissionstyle.com. 6402IN A 216.1.20

Re: cannot find your hostname

2009-09-02 Thread LuKreme
On 2-Sep-2009, at 16:46, LuKreme wrote: what exactly does "Cannot find your hostname" mean? Never mind. Found the answer a few seconds after hitting send. $ host 216.1.201.141 141.201.1.216.in-addr.arpa domain name pointer unite13.ufot.com. $ host unite13.ufot.com Host unite13.ufot.com not

Re: cannot find your hostname

2009-09-02 Thread /dev/rob0
On Wednesday 02 September 2009 17:46:38 LuKreme wrote: > what exactly does "Cannot find your hostname" mean? > > NOQUEUE: reject_warning: RCPT from unknown[216.1.201.141]: 450 4.7.1 > Client host rejected: cannot find your hostname, [216.1.201.141]; > from= to= > proto=SMTP helo= > > ;; ANSWER SECT

Re: cannot find your hostname

2009-09-02 Thread Sahil Tandon
On Wed, 02 Sep 2009, LuKreme wrote: > what exactly does "Cannot find your hostname" mean? > > NOQUEUE: reject_warning: RCPT from unknown[216.1.201.141]: 450 4.7.1 > Client host rejected: cannot find your hostname, [216.1.201.141]; > from= to= proto=SMTP > helo= > > ;; ANSWER SECTION: > wellmi

Re: Converting Sendmail to Postfix

2009-09-02 Thread Noel Butler
On Wed, 2009-09-02 at 15:54 -0600, Scott Miller wrote: > I'm having a bit of an issue I'm hoping someone can help me out with. I've > recently replaced Sendmail with Postfix, and so far so good. I also ran a > script written by Russel Nelson that converts all e-mail located in > /var/spool/mail

Re: cannot find your hostname

2009-09-02 Thread Scott Haneda
On Sep 2, 2009, at 4:07 PM, Sahil Tandon wrote: As clearly documented in postconf(5), How exactly does one get to that man page? man postconf That of course works. man postconf(5) -bash: syntax error near unexpected token `(' man postconf5 No manual entry for postconf5 Does t

RE: cannot find your hostname

2009-09-02 Thread Terry Gilsenan
On Sep 2, 2009, at 4:07 PM, Sahil Tandon wrote: > As clearly documented in postconf(5), How exactly does one get to that man page? man postconf That of course works. man postconf(5) -bash: syntax error near unexpected token `(' man postconf5 No manual entry for postconf5 like th

Re: cannot find your hostname

2009-09-02 Thread Marcel Montes
Scott Haneda さんは書きました: man postconf(5) -bash: syntax error near unexpected token `(' man postconf5 No manual entry for postconf5 Does this imply there are version 1, 2, 3, and 4 as well? How do I find out? The number specifies the section, not version. $ man 5 postconf $ whereis postconf pos

Re: cannot find your hostname

2009-09-02 Thread LuKreme
On 2-Sep-2009, at 20:40, Scott Haneda wrote: On Sep 2, 2009, at 4:07 PM, Sahil Tandon wrote: As clearly documented in postconf(5), How exactly does one get to that man page? man 5 postconf -- Did they get you to trade your heroes for ghosts? Hot ashes for trees? Hot air for a cool breeze?

Re: cannot find your hostname

2009-09-02 Thread LuKreme
On 2-Sep-2009, at 17:02, /dev/rob0 wrote: On Wednesday 02 September 2009 17:46:38 LuKreme wrote: The rDNS is wrong, but does reject_unknown_hostname care about that? You seem to be confusing several restrictions here. Actually, I merely typoed. I do not have "reject_unknown_hostname" smtpd_

Re: cannot find your hostname

2009-09-02 Thread Sahil Tandon
On Wed, 02 Sep 2009, Scott Haneda wrote: > On Sep 2, 2009, at 4:07 PM, Sahil Tandon wrote: > >> As clearly documented in postconf(5), > > How exactly does one get to that man page? > man postconf > That of course works. That "works" because, absent a section specification, man(1) will only displa