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

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 make the

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 b...@domain.com: 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

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 sa...@tandon.net There was some error when user, other than root, has been filtering mail. Error was

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

Re: Custom 550 error message

2009-09-02 Thread Ralf Hildebrandt
* Richard Smits r.sm...@tudelft.nl: 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 b...@domain.com: Recipient address rejected: User unknown in virtual alias table Can this be changed ? Which part of it? --

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

Re: Custom 550 error message

2009-09-02 Thread Ralf Hildebrandt
* Richard Smits r.sm...@tudelft.nl: 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

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 b...@domain.com: Recipient address rejected: Please see http://telephonebook.domain.com for email info Is this possible ? Ralf Hildebrandt wrote: * Richard Smits r.sm...@tudelft.nl:

Re: Custom 550 error message

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

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)

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 krem...@kreme.com: 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

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

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

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

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

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 system

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 get their

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 fix it

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

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

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 message

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

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, it

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

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

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

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 no

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 topic,

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

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

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

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=billfzi...@wellmissionstyle.com to=u...@example.com proto=SMTP helo=mx4.wellmissionstyle.com ;;

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 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=billfzi...@wellmissionstyle.com to=u...@example.com proto=SMTP

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 to

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

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

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

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

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

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 display the