Re: How to relay ALL mail to relayhost

2011-09-29 Thread Ralf Hildebrandt
* Bob Proulx b...@proulx.com: How can I configure a host to send *all* email to the relayhost? mydestination = relayhost = [the.relay.host] transport_maps = -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin

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

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

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

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 to do

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 server

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

Re: Multiple Users Reading Email

2011-09-29 Thread Charles Marcus
On 2011-09-29 11:33 AM, Robert Schetterer rob...@schetterer.org 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

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,

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:

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

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 not

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 =

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:

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

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 for

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

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.

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

2011-09-29 Thread Ralf Hildebrandt
* Reindl Harald h.rei...@thelounge.net: 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,

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 local

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

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 h.rei...@thelounge.net: 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

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 iptables -A

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 h.rei...@thelounge.net wrote: Am 29.09.2011 22:12, schrieb Ralf Hildebrandt: * Reindl Harald h.rei...@thelounge.net: None of these hosts supports any kind of transport level security (e.g. encryption using STARTTLS) you should complain to

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.com

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. In

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=domaintwo.com

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 192.0.43.12:smtp

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

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)

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]) $ host

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