Throttling

2011-09-29 Thread Tolga
Hi, I am sending myself a test message from outside my domain, and I am getting the following error: Sep 29 13:27:53 vps postfix/master[11943]: warning: process /usr/lib/postfix/smtpd pid 11960 exit status 1 Sep 29 13:27:53 vps postfix/master[11943]: warning: /usr/lib/postfix/smtpd: bad comm

Re: Throttling

2011-09-29 Thread Patrick Lists
On 09/29/2011 12:00 PM, Tolga wrote: mydestination = vps.ozses.net, localhost.ozses.net, , localhost To my untrained eye the two comma's (".net, , localhost") don't seem right and the error seems to suggest that you need to install, configure and start cyrus-sasl. Regards, Patrick

Re: Throttling

2011-09-29 Thread Noel Jones
On 9/29/2011 5:21 AM, Patrick Lists wrote: > On 09/29/2011 12:00 PM, Tolga wrote: >> mydestination = vps.ozses.net, localhost.ozses.net, , localhost > > To my untrained eye the two comma's (".net, , localhost") don't seem > right the extra commas won't break anything, just looks ugly. > and th

Multiple Users Reading Email

2011-09-29 Thread Jonathan Tripathy
Hi Everyone, Bit of a design question here. We have 2 users wishing to share an email account. However, when one person reads the email, we would like the email for the other person to still be marked as unread. Is there a way to do this using IMAP (where emails are stored centrally)? Or is

Re: Multiple Users Reading Email

2011-09-29 Thread Reindl Harald
Am 29.09.2011 17:27, schrieb Jonathan Tripathy: > Hi Everyone, > > Bit of a design question here. > > We have 2 users wishing to share an email account. However, when one person > reads the email, we would like the > email for the other person to still be marked as unread. > > Is there a way

Re: Multiple Users Reading Email

2011-09-29 Thread Robert Schetterer
Am 29.09.2011 17:27, schrieb Jonathan Tripathy: > Hi Everyone, > > Bit of a design question here. > > We have 2 users wishing to share an email account. However, when one > person reads the email, we would like the email for the other person to > still be marked as unread. postfix is no imap ser

Re: Multiple Users Reading Email

2011-09-29 Thread Stan Hoeppner
On 9/29/2011 10:27 AM, Jonathan Tripathy wrote: We have 2 users wishing to share an email account. However, when one person reads the email, we would like the email for the other person to still be marked as unread. Is there a way to do this using IMAP (where emails are stored centrally)? Or is

Re: Multiple Users Reading Email

2011-09-29 Thread Jonathan Tripathy
On 29/09/2011 16:45, Stan Hoeppner wrote: On 9/29/2011 10:27 AM, Jonathan Tripathy wrote: We have 2 users wishing to share an email account. However, when one person reads the email, we would like the email for the other person to still be marked as unread. Stan, the "overall goal" is as desc

Re: Multiple Users Reading Email

2011-09-29 Thread Charles Marcus
On 2011-09-29 11:33 AM, Robert Schetterer wrote: Am 29.09.2011 17:27, schrieb Jonathan Tripathy: Hi Everyone, Bit of a design question here. We have 2 users wishing to share an email account. However, when one person reads the email, we would like the email for the other person to still be ma

Re: Multiple Users Reading Email

2011-09-29 Thread Jonathan Tripathy
As has already been said, this is not a function of postfix, but Dovecot indeed can achieve this user 'per-user flags'... http://wiki.dovecot.org/SharedMailboxes/Public Perfect link :D Thanks!

Rejecting Email by using RBL's

2011-09-29 Thread Kaleb Hosie
This seems like it should be a simple task but for some reason Postfix isn't rejecting email by using RBL lookups. Here is my smtpd configuration: smtpd_recipient_restrictions = reject_non_fqdn_sender, reject_unknown_recipient_domain, reject_unauth_pipelining, reject_non_fqdn_recipient,

Re: Rejecting Email by using RBL's

2011-09-29 Thread Noel Jones
On 9/29/2011 1:39 PM, Kaleb Hosie wrote: > This seems like it should be a simple task but for some reason Postfix isn't > rejecting email by using RBL lookups. > > Here is my smtpd configuration: > > smtpd_recipient_restrictions = > reject_non_fqdn_sender, > reject_unknown_recipient_domain,

Re: Rejecting Email by using RBL's

2011-09-29 Thread Marek Salwerowicz
W dniu 2011-09-29 20:39, Kaleb Hosie pisze: This seems like it should be a simple task but for some reason Postfix isn't rejecting email by using RBL lookups. Here is my smtpd configuration: smtpd_recipient_restrictions = reject_non_fqdn_sender, reject_unknown_recipient_domain, reject

Re: Rejecting Email by using RBL's

2011-09-29 Thread Reindl Harald
would you please be so gently and show log-entries where you see a problem? Am 29.09.2011 20:39, schrieb Kaleb Hosie: > This seems like it should be a simple task but for some reason Postfix isn't > rejecting email by using RBL lookups. > > Here is my smtpd configuration: > > smtpd_recipient_re

SASL

2011-09-29 Thread Tolga
Hi, I've solved 99% of the problems of my mail server thanks to you guys, however I get this in my log: 2011 Sep 29 22:46:25 xxx fatal: no SASL authentication mechanisms. Why do I get this? Below is my postconf -n: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_myd

Re: SASL

2011-09-29 Thread Reindl Harald
Am 29.09.2011 20:50, schrieb Tolga: > Hi, > > I've solved 99% of the problems of my mail server thanks to you guys, however > I get this in my log: > 2011 Sep 29 22:46:25 xxx fatal: no SASL authentication mechanisms this is not a complete log for a single message so we must guess because we do

Re: Rejecting Email by using RBL's

2011-09-29 Thread Noel Jones
On 9/29/2011 1:57 PM, Niccolò Belli wrote: > Il 29/09/2011 20:39, Kaleb Hosie ha scritto: >> This seems like it should be a simple task but for some reason >> Postfix isn't rejecting email by using RBL lookups. > > I suggest you to use policyd-weight instead. > > Cheers, > Niccolò policyd-weigh

Re: SASL

2011-09-29 Thread Tolga
Sorry, there was more (I just didnt't see it) Sep 29 22:55:57 vps postfix/smtpd[13419]: warning: SASL: Connect to private/auth failed: Permission denied Sep 29 22:55:57 vps postfix/smtpd[13419]: fatal: no SASL authentication mechanisms Sep 29 22:55:58 vps postfix/master[11378]: warning: process /

Re: Rejecting Email by using RBL's

2011-09-29 Thread Niccolò Belli
Il 29/09/2011 20:39, Kaleb Hosie ha scritto: This seems like it should be a simple task but for some reason Postfix isn't rejecting email by using RBL lookups. I suggest you to use policyd-weight instead. Cheers, Niccolò

Re: Rejecting Email by using RBL's

2011-09-29 Thread Noel Jones
On 9/29/2011 1:46 PM, Marek Salwerowicz wrote: > W dniu 2011-09-29 20:39, Kaleb Hosie pisze: >> This seems like it should be a simple task but for some reason >> Postfix isn't rejecting email by using RBL lookups. >> >> Here is my smtpd configuration: >> >> smtpd_recipient_restrictions = >>reje

RE: Rejecting Email by using RBL's

2011-09-29 Thread Kaleb Hosie
The intended purpose of this server is to receive email for a number of domains, filter for SPAM and than send the clean email onto our clients mail servers. In this circumstance, do you still feel that I should remove the "permit_auth_destination" option? My configuration is as follows: alias

Different SMTP hostname greeting for each IP Address

2011-09-29 Thread Cameron Smith
How can I set a different SMTP hostname greeting for each dedicated IP Address on my server? If my main SMTP hostname is: vps.example.com with the IP of 192.0.43.10 and I have some vhosts on that server with dedicated IPs domainone.com 192.0.43.11 domaintwo.com 192.0.43.12 domainthree.com 192.

Re: Different SMTP hostname greeting for each IP Address

2011-09-29 Thread Viktor Dukhovni
On Thu, Sep 29, 2011 at 12:25:07PM -0700, Cameron Smith wrote: > How can I set a different SMTP hostname greeting for each dedicated > IP Address on my server? > > domainone.com 192.0.43.11 > domaintwo.com 192.0.43.12 > domainthree.com 192.0.43.13 > > How can I make the SMTP hostname greeting f

No STARTTLS when sending email to a BlackBerry device?

2011-09-29 Thread Ralf Hildebrandt
We're sending mail to addresses of the form: xxx...@mobileemail.vodafone.de The MX for mobileemail.vodafone.de is: # host -t mx mobileemail.vodafone.de mobileemail.vodafone.de mail is handled by 5 vodade.mx1.eu.blackberry.com. mobileemail.vodafone.de mail is handled by 10 mx03.bis7.eu.blackberry

Re: No STARTTLS when sending email to a BlackBerry device?

2011-09-29 Thread Reindl Harald
Am 29.09.2011 21:45, schrieb Ralf Hildebrandt: > We're sending mail to addresses of the form: > xxx...@mobileemail.vodafone.de > > The MX for mobileemail.vodafone.de is: > > # host -t mx mobileemail.vodafone.de > mobileemail.vodafone.de mail is handled by 5 vodade.mx1.eu.blackberry.com. > mobi

Re: No STARTTLS when sending email to a BlackBerry device?

2011-09-29 Thread Ralf Hildebrandt
* Reindl Harald : > > None of these hosts supports any kind of transport level security > > (e.g. encryption using STARTTLS) > > you should complain to blackberry Thought so, too > maybe their server support TLS but do not anncounce it, No I tried sending the STARTTLS verb, doesn't work. I al

Re: How to relay ALL mail to relayhost

2011-09-29 Thread Bob Proulx
Kurt Buff wrote: > Bob Proulx wrote: > > How can I configure a host to send *all* email to the relayhost? > > mydestination = > transport_maps = hash:/usr/local/etc/postfix/transport Aha! Unsetting mydestination seems to be the magic sauce in this problem. Then no mail is matched as lo

managesieve firewall

2011-09-29 Thread Niccolò Belli
Hi, This is the managesieve part of my mailserver's firewall: iptables -P INPUT DROP iptables -P OUTPUT DROP iptables -P FORWARD DROP [...] iptables -A MAILSERVER-in -i ${EXT1} -p tcp --dport 4190 -j ACCEPT iptables -A MAILSERVER-out -o ${EXT1} -p tcp --sport 4190 -m state --state ESTABLISHED -j

Re: How to relay ALL mail to relayhost

2011-09-29 Thread Bob Proulx
Ralf Hildebrandt wrote: > * Bob Proulx : > > How can I configure a host to send *all* email to the relayhost? > > mydestination = > relayhost = [the.relay.host] Aha! Unsetting mydestination is the magic configuration. Not having mydestination available causes none of the destinations to match a

Re: managesieve firewall

2011-09-29 Thread Niccolò Belli
Il 29/09/2011 22:16, Niccolò Belli ha scritto: It starts working again only if I add _both_ the above rules to my laptop's firewall, which isn't something I may expect the user to do: iptables -A INPUT -p tcp --dport 4190 -j ACCEPT iptables -A INPUT -p tcp --sport 4190 -j ACCEPT Now even those

Re: No STARTTLS when sending email to a BlackBerry device?

2011-09-29 Thread Reindl Harald
Am 29.09.2011 22:12, schrieb Ralf Hildebrandt: > * Reindl Harald : > >>> None of these hosts supports any kind of transport level security >>> (e.g. encryption using STARTTLS) >> >> you should complain to blackberry > > Thought so, too > >> maybe their server support TLS but do not anncounce

Re: managesieve firewall

2011-09-29 Thread Niccolò Belli
It probably is a thunderbird problem because it works randomly :@ I'm starting to hate this e-mail client... Niccolò

Re: managesieve firewall

2011-09-29 Thread Reindl Harald
Am 29.09.2011 22:24, schrieb Niccolò Belli: > Il 29/09/2011 22:16, Niccolò Belli ha scritto: >> It starts working again only if I add _both_ the above rules to my >> laptop's firewall, which isn't something I may expect the user to do: >> iptables -A INPUT -p tcp --dport 4190 -j ACCEPT >> iptable

Re: managesieve firewall

2011-09-29 Thread Niccolò Belli
Il 29/09/2011 22:34, Reindl Harald ha scritto: first: this is not a component of postfix I'm sorry, I thought I sent it to the dovecot mailing list.

Re: No STARTTLS when sending email to a BlackBerry device?

2011-09-29 Thread Mauricio Tavares
On Thu, Sep 29, 2011 at 4:18 PM, Reindl Harald wrote: > > > Am 29.09.2011 22:12, schrieb Ralf Hildebrandt: >> * Reindl Harald : >> None of these hosts supports any kind of transport level security (e.g. encryption using STARTTLS) >>> >>> you should complain to blackberry >> >> Thought so

Re: Different SMTP hostname greeting for each IP Address

2011-09-29 Thread Cameron Smith
On Sep 29, 2011, at 12:36 PM, Viktor Dukhovni wrote: > On Thu, Sep 29, 2011 at 12:25:07PM -0700, Cameron Smith wrote: > >> How can I set a different SMTP hostname greeting for each dedicated >> IP Address on my server? >> >> domainone.com 192.0.43.11 >> domaintwo.com 192.0.43.12 >> domainthree

Re: Rejecting Email by using RBL's

2011-09-29 Thread Noel Jones
[please don't top post. Either post at the bottom or in-line after the text you refer to] On 9/29/2011 2:21 PM, Kaleb Hosie wrote: > The intended purpose of this server is to receive email for a number of > domains, filter for SPAM and than send the clean email onto our clients mail > servers. I

Re: Different SMTP hostname greeting for each IP Address

2011-09-29 Thread Viktor Dukhovni
On Thu, Sep 29, 2011 at 02:29:16PM -0700, Cameron Smith wrote: > >> How can I make the SMTP hostname greeting for those IPs match the domains? > > > > No need. > > > >> 192.0.43.11:smtp inet n - n - - smtpd -o myhostname=domainone.com > >> 192.0.43.12:smtp inet n - n - - smtpd -o myhostname=doma

Re: Different SMTP hostname greeting for each IP Address

2011-09-29 Thread Cameron Smith
On Sep 29, 2011, at 3:16 PM, Viktor Dukhovni wrote: > On Thu, Sep 29, 2011 at 02:29:16PM -0700, Cameron Smith wrote: > How can I make the SMTP hostname greeting for those IPs match the domains? >>> >>> No need. >>> 192.0.43.11:smtp inet n - n - - smtpd -o myhostname=domainone.com >>>

Catching emails with date in the past

2011-09-29 Thread James Lay
Hey All! Topic says itŠ.I consistently get email from one source that has the date in the pasteŠ.say almost a month. Is there functionality within Postfix to deal with these, or should I work on a daily script that will modify my head_checks file or something like that? Thank you. James

Re: Catching emails with date in the past

2011-09-29 Thread Michael Orlitzky
On 09/29/11 20:38, James Lay wrote: > Hey All! > > Topic says it….I consistently get email from one source that has the > date in the paste….say almost a month. Is there functionality within > Postfix to deal with these, or should I work on a daily script that will > modify my head_checks file or

Re: Different SMTP hostname greeting for each IP Address

2011-09-29 Thread Wietse Venema
Cameron Smith: > For my system would like the domain name listed there to be the > domain that lives on that IP but the headers show: > Received: from www.alwaysbuywholesale.com (unknown [74.63.3.132]) $ host 74.63.3.132 132.3.63.74.in-addr.arpa domain name pointer alwaysbuywholesale.com. $

Re: Different SMTP hostname greeting for each IP Address

2011-09-29 Thread Cameron Smith
On Sep 29, 2011, at 5:48 PM, Wietse Venema wrote: > Cameron Smith: >> For my system would like the domain name listed there to be the >> domain that lives on that IP but the headers show: >> Received: from www.alwaysbuywholesale.com (unknown [74.63.3.132]) > > $ host 74.63.3.132 > 132.3.63.

email to smtp server from a cron entry returns relaying not allowed

2011-09-29 Thread dwoody1
I have a perl program that sends email out. It is called from other perl programs as well as shell scripts. When run from the command prompt it works as expected. However, when it is run from a cron entry and I send an email from myself to myself (from u...@example.com to u...@example.com) from

Re: Different SMTP hostname greeting for each IP Address

2011-09-29 Thread Wietse Venema
Cameron Smith: > > On Sep 29, 2011, at 5:48 PM, Wietse Venema wrote: > > > Cameron Smith: > >> For my system would like the domain name listed there to be the > >> domain that lives on that IP but the headers show: > >> Received: from www.alwaysbuywholesale.com (unknown [74.63.3.132]) > > >

routing mail based on inbound port?

2011-09-29 Thread CSS
Hello, This is a bit of an odd question, and I don't see an obvious way to do this, but perhaps there's a non-obvious way. We're looking to try Postfix out in some queues that would benefit from Postfix's throttling and rate-limiting features, and I'm trying to model this after our current qmail

smtp_helo_name with multiple IP address

2011-09-29 Thread Antonio Tommasi
Hi to all i've configured my smtp server with several IP addresses on the same NIC; i've set smtp_bind_address to select one IP to send email and i've set master.cf like this ip1:smtpinet n - - - - smtpd -o myhostname=hostname1 ip2:smtpine