Re: Configure open relay on specific port

2012-11-22 Thread Patric Falinder
Ralf Hildebrandt skrev 2012-11-22 16:25: * Patric Falinder : So it's not possible to have Postfix listening on another port with different settings, like skipping the authentication bit and have it act like an open relay? Well of course: -o smtpd_recipient_restrictions=... -o ... Than

Re: Configure open relay on specific port

2012-11-22 Thread Patric Falinder
Wietse Venema skrev 2012-11-22 15:22: Patric Falinder: All I actually need to do is to allow a dyndns-adress to send without authentication. Wietse: And why can't the SMTP client be bothered to authenticate? Patric Falinder: Some of our customers "business-systems" are

Re: Configure open relay on specific port

2012-11-22 Thread Patric Falinder
Wietse Venema skrev 2012-11-22 14:53: Patric Falinder: All I actually need to do is to allow a dyndns-adress to send without authentication. And why can't the SMTP client be bothered to authenticate? Did you put your printer/scanner on the Internet? Wietse Some of our cust

Re: Configure open relay on specific port

2012-11-22 Thread Patric Falinder
Patric Falinder skrev 2012-11-22 10:02: Hi, I need to configure Postfix to be an open relay on a specific port, lets say 3326. I already have Postfix configured like a normal mailserver that requires authentication etc. but I need it to not ask for authentication on port 3326. How do I do

Configure open relay on specific port

2012-11-22 Thread Patric Falinder
Hi, I need to configure Postfix to be an open relay on a specific port, lets say 3326. I already have Postfix configured like a normal mailserver that requires authentication etc. but I need it to not ask for authentication on port 3326. How do I do this? I know this isn't safe but this port

Re: Multiple domains, only content-filter and not final destination.

2012-09-01 Thread Patric Falinder
On 08/31/2012 04:41 PM, Noel Jones wrote: On 8/31/2012 9:35 AM, Patric Falinder wrote: Hi, I'm setting up a Postfix server which will act as a spamfilter-server and therefore will not store any mails in mailboxes. It will only scan for spam and relay it to the correct server that I have

Multiple domains, only content-filter and not final destination.

2012-08-31 Thread Patric Falinder
Hi, I'm setting up a Postfix server which will act as a spamfilter-server and therefore will not store any mails in mailboxes. It will only scan for spam and relay it to the correct server that I have in a list in my mysql-database. I already have one server that does all this but it stores

Best content-filter for Postfix

2012-05-15 Thread Patric Falinder
Hi, I don't know if this is a valid Postifx question but I'll give it a shot. What content-filter (spamfilter) does people use that has a large userbase? Let's say I have over 1000 mailboxes which need to be checked for spam and 2 Postfix servers that will perform this task, what system is the

Re: Exception in check_sender_access?

2012-05-11 Thread Patric Falinder
Robert Schetterer skrev 2012-05-11 10:50: Am 11.05.2012 10:44, schrieb Patric Falinder: Robert Schetterer skrev 2012-05-11 10:32: Am 11.05.2012 10:27, schrieb Patric Falinder: Hi, In my config I have done so that every mail with a NULL sender gets checked at ips.backscatterer.org like this

Re: Exception in check_sender_access?

2012-05-11 Thread Patric Falinder
Robert Schetterer skrev 2012-05-11 10:32: Am 11.05.2012 10:27, schrieb Patric Falinder: Hi, In my config I have done so that every mail with a NULL sender gets checked at ips.backscatterer.org like this: smtpd_restriction_classes = backscatter_rbl backscatter_rbl = reject_rbl_client

Exception in check_sender_access?

2012-05-11 Thread Patric Falinder
Hi, In my config I have done so that every mail with a NULL sender gets checked at ips.backscatterer.org like this: smtpd_restriction_classes = backscatter_rbl backscatter_rbl = reject_rbl_client ips.backscatterer.org smtpd_recipient_restrictions = . check_sender_access hash:/etc/postfix/

Re: separate log for amavisd-new

2012-05-04 Thread Patric Falinder
On 2012-05-04 18:45, Scott Brown wrote: Hello, Instead of including the amavisd activity in the maillog, I want to have a separate log file. I can't figure out how to get this working though. For some reason, amavisd isn't writing to the log file that's defined in /etc/amavisd.conf If I do a

Re: Rewrite the To: address

2012-04-29 Thread Patric Falinder
On 2012-04-29 19:42, Ralf Hildebrandt wrote: * Patric Falinder: Hi, I'm stuck right now and need some help. I have a webserver that sends out reports if the users exceed their diskquouta, however it sends to the local user like this: patric.f@lnxweb1.local I made and alias for that addre

Rewrite the To: address

2012-04-29 Thread Patric Falinder
Hi, I'm stuck right now and need some help. I have a webserver that sends out reports if the users exceed their diskquouta, however it sends to the local user like this: patric.f@lnxweb1.local I made and alias for that address so it goes to the right address and everything, but it still says

Re: 250 Msg

2012-04-20 Thread Patric Falinder
On 2012-04-20 15:52, Marko Weber wrote: Hello, i see some Servers greeting with this: 250-barracuda.annonet.de Hello mail.tig.de [x8.x6.5x.1x9], pleased to meet you Is it possible to such personel Greetings in Postfix too? marko Do you mean smtp_banner? You'll find it here: http://ww

Allow scanner to send mail without authenticating.

2010-11-30 Thread Patric Falinder
Hi, Ok so I have a couple of printers/scanners that need to be able to send the scanned pages to an email-address. The problem is that they are not in my LAN and they can't authenticate at all, And they are on a dynamic IP.. What is the best way to allow the printer/scanners to send mail usin

Re: Tons of Delivery Status Notifications from random places.

2010-11-25 Thread Patric Falinder
Ansgar Wiechers skrev 2010-11-25 09:44: On 2010-11-25 Patric Falinder wrote: Ansgar Wiechers skrev 2010-11-24 18:11: On 2010-11-24 Patric Falinder wrote: lst_ho...@kwsoft.de skrev 2010-11-24 11:08: Be sure to limit the usage of the list to the affected account and maybe even to bounce sender

Re: Tons of Delivery Status Notifications from random places.

2010-11-25 Thread Patric Falinder
Ansgar Wiechers skrev 2010-11-24 18:11: On 2010-11-24 Patric Falinder wrote: lst_ho...@kwsoft.de skrev 2010-11-24 11:08: Be sure to limit the usage of the list to the affected account and maybe even to bounce sender addresses as a lot of legitim hosts are listed. See http

Re: Tons of Delivery Status Notifications from random places.

2010-11-24 Thread Patric Falinder
lst_ho...@kwsoft.de skrev 2010-11-24 11:08: Zitat von Patric Falinder : lst_ho...@kwsoft.de skrev 2010-11-24 10:22: Zitat von Patric Falinder : Hi, A colleague of mine gets a lot of weird Delivery Status Notifications, Failure Notice and Rejected messages. Yesterday she got 200 of them

Re: Tons of Delivery Status Notifications from random places.

2010-11-24 Thread Patric Falinder
lst_ho...@kwsoft.de skrev 2010-11-24 10:22: Zitat von Patric Falinder : Hi, A colleague of mine gets a lot of weird Delivery Status Notifications, Failure Notice and Rejected messages. Yesterday she got 200 of them.. They all come from different servers and they are most from Russia and

Tons of Delivery Status Notifications from random places.

2010-11-24 Thread Patric Falinder
Hi, A colleague of mine gets a lot of weird Delivery Status Notifications, Failure Notice and Rejected messages. Yesterday she got 200 of them.. They all come from different servers and they are most from Russia and Japan and they are countries that we have no connection to at all. I've looked

Re: Postgrey and RBL checks

2010-10-26 Thread Patric Falinder
Henrik K skrev 2010-10-27 08:52: On Wed, Oct 27, 2010 at 08:45:56AM +0200, Patric Falinder wrote: I just set up Postgrey yesterday and it works just fine. One thing that got me thinking though was that if I have greylisting check Before reject_rbl_client, shouldn't the rbl check be skipp

Postgrey and RBL checks

2010-10-26 Thread Patric Falinder
I just set up Postgrey yesterday and it works just fine. One thing that got me thinking though was that if I have greylisting check Before reject_rbl_client, shouldn't the rbl check be skipped if the IP get's greylisted and Then checked with rbl when/if it passes the greylisting? Or am I thinki

Default transport

2010-10-21 Thread Patric Falinder
Hi, I'm wondering if it's smart to set a "default transport" like this "*...@*" to "smtp:[mail.server.com]" so I don't have to specify for every domain that I have on the server, and would just have to specify for those who need a different transport? I have a smtp-server that checks for spa

Re: Resend emails from a Maildir

2010-10-18 Thread Patric Falinder
Ralf Hildebrandt skrev 2010-10-18 14:43: * Patric Falinder: Hi, I'm not really sure if this has to do with Postifx so just tell me if I'm wrong. Is it possible to resend emails that are in a Maildir already? Yes. #!/bin/sh # # verschickt die gesamte Mail eines Benutzers an

Resend emails from a Maildir

2010-10-18 Thread Patric Falinder
Hi, I'm not really sure if this has to do with Postifx so just tell me if I'm wrong. Is it possible to resend emails that are in a Maildir already? The reason for this is that a user changed server so I had to change the transport for that domain and there are something like 50 mails in the

Re: Queue full of double-bounce

2010-10-12 Thread Patric Falinder
Patric Falinder skrev 2010-10-12 10:37: Wietse Venema skrev 2010-10-11 23:00: Patric Falinder: then you have found the timer bug that causes Postfix to deliver only one message probe per 300 seconds, and we can start looking for workarounds (such as changing the src/util/events.c module and

Re: Queue full of double-bounce

2010-10-12 Thread Patric Falinder
Wietse Venema skrev 2010-10-11 23:00: Patric Falinder: then you have found the timer bug that causes Postfix to deliver only one message probe per 300 seconds, and we can start looking for workarounds (such as changing the src/util/events.c module and replacing zero delay requests by 1

Re: Queue full of double-bounce

2010-10-11 Thread Patric Falinder
On 10/11/10 8:40 PM, Wietse Venema wrote: Small correction in-line. Wietse Wietse Venema: Wietse Venema: How do I fix the system's ZERO-DELAY timer? I can write a small test program. If it reproduces the problem, then there are two things that need to be done. 1) The program needs

Re: Queue full of double-bounce

2010-10-11 Thread Patric Falinder
Wietse Venema skrev 2010-10-11 14:44: Wietse Venema: Patric Falinder: Hi, Recently I've noticed that my mailqueue is filled up with doube-bounce messages that won't go away. I can't remember it being this way since the beginning and I just noticed it a couple of days ago. R

Queue full of double-bounce

2010-10-11 Thread Patric Falinder
Hi, Recently I've noticed that my mailqueue is filled up with doube-bounce messages that won't go away. I can't remember it being this way since the beginning and I just noticed it a couple of days ago. Right now I have 193 messages in the queue and they're all from double-bounce. They are o

Re: Error 451 (Couldn't open temporary) #2

2010-07-01 Thread Patric Falinder
Datatronics Gmail skrev 2010-07-01 15:06: > > Hello Everyone, i´m going to make it quick, > > ** > Problem #1 > > We are receiving a lot of errors from the Queue of postfix, and emails are > not going out, we are getting this error: > > host mx2.hotmail.c

Re: Allow specific IP to send mail without username/password

2010-04-26 Thread Patric Falinder
Charles Marcus skrev 2010-04-26 12:07: > On 2010-04-26 5:59 AM, Patric Falinder wrote: >> Maybe I'm to lazy or I'm just blind, but is it possible in an easy way >> to allow a specific IP to send mail etc without username and password? I >> use sasl authentication on

Allow specific IP to send mail without username/password

2010-04-26 Thread Patric Falinder
Hi, Maybe I'm to lazy or I'm just blind, but is it possible in an easy way to allow a specific IP to send mail etc without username and password? I use sasl authentication on my postfix machine and I want a outside IP-address to be able to send e-mails without logging in. Thanks, Patric

Put mail in queue when database is down.

2010-04-16 Thread Patric Falinder
Hi, I have all my users (addresses, passwords etc) in a MySQL-database thats not on the same server. So I was just wondering if its possible to put every mail in the queue when the database is down for some reason? Right now it just return a error message that it can't find the user and stuff so t

Re: All email forward a copy to testing server

2010-04-14 Thread Patric Falinder
Patric Falinder skrev 2010-04-15 08:21: > Mark Martinec skrev 2010-04-13 14:17: >> Patric, >> >>> I looked in to it a little more and it looks like Maia re-writes the >>> new.sub.domain.com to sub.domain.com. >>> I get: >>> >>> /usr/

Re: All email forward a copy to testing server

2010-04-14 Thread Patric Falinder
Mark Martinec skrev 2010-04-13 14:17: > Patric, > >> I looked in to it a little more and it looks like Maia re-writes the >> new.sub.domain.com to sub.domain.com. >> I get: >> >> /usr/sbin/amavisd-new[22834]: (22834-04) Checking: [62.127.194.20] >> -> >> , >> >> When I guess it should be: >> >> /

Re: Send mail to everyone on one domain

2010-04-14 Thread Patric Falinder
Eero Volotinen skrev 2010-04-14 14:24: > 2010/4/14 Patric Falinder : >> Hi, >> >> Is it possible to send a group-mail in a easy way to every recipient in >> a specific domain? > > Well well.. it depends. if it is you own domain, then just create > alias on pos

Send mail to everyone on one domain

2010-04-14 Thread Patric Falinder
Hi, Is it possible to send a group-mail in a easy way to every recipient in a specific domain? Thanks, Patric

Re: Postfix Logfile Statistics

2010-04-14 Thread Patric Falinder
Kammen van, Marco, Springer SBM NL skrev 2010-04-14 10:50: > Hi All, > > > > Searched on the web for this but couldn't find anything close to what > I'm looking for. > > Any of you know tool that generates web based (graph) statistics based > on information in the postfix logfile. > > I'm l

Re: All email forward a copy to testing server

2010-04-13 Thread Patric Falinder
Patric Falinder skrev 2010-04-13 11:41: Wietse Venema skrev 2010-03-29 15:00: Patric Falinder: /etc/postfix/recipient_bcc: /@sub\.domain\.com/ /^(.*)@sub\.domain\.com$/ $...@new.sub.domain.com Wietse Venema skrev 2010-03-29 14:47: That first line has no result value. Patric Falinder

Re: All email forward a copy to testing server

2010-04-13 Thread Patric Falinder
Wietse Venema skrev 2010-03-29 15:00: Patric Falinder: /etc/postfix/recipient_bcc: /@sub\.domain\.com/ /^(.*)@sub\.domain\.com$/ $...@new.sub.domain.com Wietse Venema skrev 2010-03-29 14:47: That first line has no result value. Patric Falinder: What should I set the result value to? I got

Re: All email forward a copy to testing server

2010-03-29 Thread Patric Falinder
Wietse Venema skrev 2010-03-29 14:15: Patric Falinder: ah, I changed that but now I get this error message: warning: regexp map /etc/postfix/recipient_bcc, line 1: using empty replacement string warning: recipient_bcc_maps lookup of patric.falin...@sub.domain.com returns an empty string result

Re: All email forward a copy to testing server

2010-03-29 Thread Patric Falinder
Wietse Venema skrev 2010-03-29 14:47: Patric Falinder: /etc/postfix/recipient_bcc: /@sub\.domain\.com/ /^(.*)@sub\.domain\.com$/ $...@new.sub.domain.com That first line has no result value. Wietse What should I set the result value to? I got this example from the mailinglist so I

Re: All email forward a copy to testing server

2010-03-29 Thread Patric Falinder
Patric Falinder skrev 2010-03-24 12:00: Ansgar Wiechers skrev 2010-03-24 11:49: On 2010-03-24 Patric Falinder wrote: If I have a subdomain that I need to do this with, sub.domain.com, should it he like this then? /etc/postfix/recipient_bcc: if /@sub\.domain\.com/ /^...@sub\.domain\.com

Re: All email forward a copy to testing server

2010-03-24 Thread Patric Falinder
Ansgar Wiechers skrev 2010-03-24 11:49: On 2010-03-24 Patric Falinder wrote: If I have a subdomain that I need to do this with, sub.domain.com, should it he like this then? /etc/postfix/recipient_bcc: if /@sub\.domain\.com/ /^...@sub\.domain\.com$/ $...@new.domain.com endif You can probably

Re: All email forward a copy to testing server

2010-03-24 Thread Patric Falinder
> (copy of an answer from a few days ago) > > To deliver to two destinations, you need two recipients. > > You can use a regexp recipient_bcc_maps to add another > recipient, then use smtp_generic_maps to rewrite it back to > the original during delivery. Use a transport_maps entry to > direct th

Re: Check relay-user before processing it

2010-03-22 Thread Patric Falinder
Noel Jones skrev 2010-03-22 15:05: On 3/22/2010 2:36 AM, Patric Falinder wrote: Hi, I'm a relay for a lot of domains and currently I think my server processes every email that it gets, check if its spam or not, and then try to relay it to the destination server and if the user doesn&#x

Check relay-user before processing it

2010-03-22 Thread Patric Falinder
Hi, I'm a relay for a lot of domains and currently I think my server processes every email that it gets, check if its spam or not, and then try to relay it to the destination server and if the user doesn't exist, the destination SMTP-servers says something like: User Unknown. But is it possib

Re: Relaying denied

2010-03-17 Thread Patric Falinder
Patric Falinder skrev 2010-03-17 14:36: Brian Evans - Postfix List skrev 2010-03-17 13:43: On 3/17/2010 6:05 AM, Patric Falinder wrote: Thats just it, I'm not even sure if I have configured it right and I'm starting to think there is something wrong with it cause I'm not 100

Re: Relaying denied

2010-03-17 Thread Patric Falinder
Brian Evans - Postfix List skrev 2010-03-17 13:43: On 3/17/2010 6:05 AM, Patric Falinder wrote: Thats just it, I'm not even sure if I have configured it right and I'm starting to think there is something wrong with it cause I'm not 100% sure how sasl works.. I attached my main.

Re: Relaying denied

2010-03-17 Thread Patric Falinder
s or if my config is right.. Varun Kaushik skrev 2010-03-17 10:58: Do you have any authentication configured? As you mentioned SASL setup , are all the configurations sane? On Wed, Mar 17, 2010 at 3:20 PM, Patric Falinder mailto:patric.falin...@omg.nu>> wrote: Hi! I act as

Relaying denied

2010-03-17 Thread Patric Falinder
Hi! I act as a "spamcheck"-relay for a couple of servers but I get this error message for one server when I'm trying to relay a message to it: Mar 17 10:28:07 myrelay postfix/smtp[4910]: 1358410A329: to=, relay=mail.domain.se[81.228.XXX.XXX]:25, delay=0.4, delays=0.08/0.01/0.27/0.05, dsn=5.7

Lots of connections from Unknown

2010-03-16 Thread Patric Falinder
I just noticed that I had a lot of these messages in my logs and was just wondering what they were: Mar 16 16:34:02 sexan postfix/smtpd[25331]: connect from unknown[unknown] Mar 16 16:34:02 sexan postfix/smtpd[25331]: lost connection after CONNECT from unknown[unknown] Mar 16 16:34:02 sexan po

Re: Untrusted issuer

2010-03-15 Thread Patric Falinder
Noel Jones skrev 2010-03-15 16:53: On 3/15/2010 9:00 AM, Patric Falinder wrote: Ralf Hildebrandt skrev 2010-03-15 14:35: * Patric Falinder: certificate verification failed for remote.example.se[85.197.XXX.XXX]:25: untrusted issuer /CN=AAA-SBS-PYRAMID-CA You don'T trust the CA, thus the

Re: Untrusted issuer

2010-03-15 Thread Patric Falinder
Ralf Hildebrandt skrev 2010-03-15 14:35: * Patric Falinder: certificate verification failed for remote.example.se[85.197.XXX.XXX]:25: untrusted issuer /CN=AAA-SBS-PYRAMID-CA You don'T trust the CA, thus the cert is untrusted. Yes but can I somehow make it tr

Re: Untrusted issuer

2010-03-15 Thread Patric Falinder
Ralf Hildebrandt skrev 2010-03-15 13:52: * Patric Falinder: Hi! I act as a "spamcheck"-relay for another server and I get this "error" message when my server tries to connect and send a mail to them: certificate verification failed for remote.example.se[85.197.XX

Untrusted issuer

2010-03-15 Thread Patric Falinder
Hi! I act as a "spamcheck"-relay for another server and I get this "error" message when my server tries to connect and send a mail to them: certificate verification failed for remote.example.se[85.197.XXX.XXX]:25: untrusted issuer /CN=AAA-SBS-PYRAMID-CA Its the certificate on the server th

Re: virtual_mailbox_limit_maps

2010-03-02 Thread Patric Falinder
If you want you can try compiling it yourself with the VDA-patch, it's not hard. Just do step 3 on this guide: http://howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-ubuntu-9.10 Manao ahoana, Hello, Bonjour, I took the administration of an old (Debian Etch + some Backp

Bad Header: Non-encoded 8-bit data

2010-03-02 Thread Patric Falinder
Hi! I'm getting a couple of this "bad header" messages: 250 2.6.0 Ok, message with invalid header discarded, id=18740-03 - Non-encoded 8-bit data (char F6 hex) in message header 'Subject': Subject: Tar kraftorder i F\\366renade arabemir...) I think its because there is an "ö" -letter in the

Re: rbl sites

2010-02-18 Thread Patric Falinder
Try using reject_rbl_client instead of reject_maps_rbl as it says in the logs. reject_rbl_client = zen.spamhaus.org Jon L Miller skrev 2010-02-19 07:56: Is there a preferred list of rbl sites one can use in postfix. I keep getting the following on the following: warning: 21.27.134.89.zen.

Re: Problem with transport

2010-02-12 Thread Patric Falinder
Wietse Venema skrev: Patric Falinder: but when I get a mail from t...@example.org it checks the database if the user exists, which it doesn't becuase I am just gonna spam check it and send it the the real mailserver. error message: Feb 11 11:49:38 example.com postfix/smtpd[24775]: NO

Problem with transport

2010-02-11 Thread Patric Falinder
Hi! I got a little problem with my postfix setup. I currently have Postfix, MySQL, amavisd-maia (Maia Mailguard), spamassassin, f-secure and dovecot installed. I have all my users/domains information in the database that are going to be delivered to my pop3/imap. But I also want to be some sor