April 5, 2007  
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30

[09:49:15] *** echelog has joined #postfix
[09:50:39] *** JoKoT3 has joined #postfix
[09:51:16] <outlaw84> I see no reason that i shouldn't but where can I see if it does?
[09:53:38] *** UQlev has joined #postfix
[09:55:03] <outlaw84> All the settings in sasl/smtpd.conf are correct but If I run the 'sql_select' then I dont get any rows
[09:55:24] <outlaw84> its set to 'select password from users where email='%u@%r''
[09:55:27] *** f3ew has quit IRC
[09:55:45] *** f3ew has joined #postfix
[09:58:16] *** f3ew has quit IRC
[09:58:44] *** f3ew has joined #postfix
[10:02:58] *** war has joined #postfix
[10:05:58] *** bostik has joined #postfix
[10:08:10] *** f3ew has quit IRC
[10:08:23] *** f3ew_ has joined #postfix
[10:12:04] *** xpoint has quit IRC
[10:12:09] *** xpoint_ has joined #postfix
[10:17:28] *** f3ew_ has quit IRC
[10:18:12] *** apeiros has joined #postfix
[10:18:44] *** prebur191200 has quit IRC
[10:18:51] *** mastachand has joined #postfix
[10:19:11] *** f3ew_ has joined #postfix
[10:23:54] *** prebur191200 has joined #postfix
[10:26:15] *** cutmasta has joined #postfix
[10:41:33] *** amrit|bbl is now known as amrit
[10:58:12] *** whereami has joined #postfix
[11:04:51] *** AJ_Z0 has quit IRC
[11:05:14] *** AJ_Z0 has joined #postfix
[11:07:37] *** AJ_Z0 has quit IRC
[11:08:25] *** AJ_Z0 has joined #postfix
[11:13:11] *** taube is now known as Taube
[11:13:28] *** whereami has left #postfix
[11:35:44] *** f3ew_ is now known as f3ew
[11:55:22] *** Lap_64 has joined #postfix
[12:02:40] *** Mez|OnAir is now known as Mez
[12:06:58] *** choongii has joined #postfix
[12:10:01] *** henriknj has joined #postfix
[12:15:48] *** cutmasta has quit IRC
[12:16:53] *** choongii has quit IRC
[12:24:31] *** kwek__ has joined #postfix
[12:25:15] *** xpoint_ has quit IRC
[12:25:28] *** xpoint_ has joined #postfix
[12:26:51] <kwek__> hi.. we have a typical postfix / mysql / amavis (checks disabled atm) setup on a debian-sarge. Works good but our mail.log is flooded by the following entry 10x every seconds. Anyone know where it comes from?
[12:26:52] <kwek__> Apr  5 12:26:41 asterix postfix/smtpd[8899]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
[12:26:52] <kwek__> Apr  5 12:26:41 asterix postfix/smtpd[8899]: disconnect from localhost.localdomain[127.0.0.1]
[12:27:35] *** xpoint_ is now known as xpoint
[12:30:14] *** xpoint has quit IRC
[12:30:34] *** xpoint has joined #postfix
[12:30:39] *** trickie has joined #postfix
[12:31:28] *** choongii has joined #postfix
[12:31:48] <f3ew> no clue
[12:32:26] <f3ew> See your process list?
[12:33:07] <kwek__> Apr  5 12:30:29 asterix postfix/smtpd[11436]: disconnect from localhost.localdomain[127.0.0.1]
[12:33:07] <kwek__> asterix root # ps aux | grep 11436
[12:33:07] <kwek__> postfix  11436  0.0  0.3  6512 2988 ?        S    12:34   0:00 smtpd -n smtp -t inet -u -c -s 2
[12:33:18] <kwek__> doesnt say much to me
[12:33:47] <f3ew> nononno, see the processes which are connecting to port 25
[12:33:52] <f3ew> lsof?
[12:34:03] *** amrit is now known as amrit|zzz
[12:35:41] <kwek__> thats alof of processes.. what can we see here
[12:36:59] <f3ew> you want to see the one connecting to port 25 on localhost
[12:39:16] *** Deep6 has joined #postfix
[12:41:09] <kwek__> dont see anything connected using lsof -i :25
[12:41:14] <kwek__> just listening postfix
[12:41:28] <kwek__> same with netstat -anp | grep 25
[12:46:41] <trickie> hi, im working with kwek__ to try and solve that problem
[12:46:43] <trickie> Apr  5 12:44:08 asterix postfix/smtpd[18662]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
[12:46:47] <trickie> Apr  5 12:44:08 asterix postfix/smtpd[18662]: disconnect from localhost.localdomain[127.0.0.1]
[12:47:06] <trickie> from i can see i think that is postfix trying to connect to our amavis install
[12:47:11] <trickie> for a content_filter
[12:47:37] <trickie> becuase we get a similar log from amavis saying that the client closed the connection
[12:47:46] <trickie> and at similar rates - 20 to 30 times a second
[12:49:12] <trickie> and from what we can tell, when postifx gets an actual mail, and wants amavis to process it send to port 10024, amavis processes it and re-connects to postix on 127.0.0.1:10025 and the mail egts sent
[12:49:55] <trickie> but for some reason postfix also wants to talk to amavis many times a second, but doesn't like the connection
[12:57:11] <f3ew> kwek__ you want the _reverse_ of that query
[12:57:25] <f3ew> you are looking at the listening process, not the transmitting process
[12:58:08] <kwek__> any hints on that?
[12:58:56] *** Ice_ has joined #postfix
[13:05:20] *** bkw has joined #postfix
[13:07:07] <bkw> I use home_mailbox=Maildir/ in my main.cf which works well. But I wonder if it's possible to exclude users that mail should not be delivered 'to'. For example www-data has /var/www as home dir, so when I sent a mail to www-data@mydomain /var/www/Maildir got created.
[13:08:35] *** Blackmore has joined #postfix
[13:12:12] <f3ew> !check_recipient_access
[13:12:12] <knoba> f3ew: Error: "check_recipient_access" is not a valid command.
[13:12:20] <f3ew> bkw  use check_recipient_access
[13:12:39] <Blackmore> Hi. I would like to be able to check the header of each message that is about to be stored in the maildir (after passing smtpd_client_restrictions ...) for: sender, and subject and then passing them as arguments to an external program. What is the best way of doing that?
[13:12:40] <f3ew> kwek__ if it isn't logging, netstat
[13:12:59] <kwek__> f3ew: netstat how
[13:13:04] *** Zeit|idle has joined #postfix
[13:13:07] <f3ew> Blackmore, use an external deliver agent like procmail or maildrop, or your own script
[13:13:20] <f3ew> kwek__ netstat -nt
[13:13:32] <f3ew> See which ones are connected to port 25 on 127.0.0.1
[13:14:16] <kwek__> f3ew: its empty
[13:17:14] <Blackmore> f3ew: In my .forward I have: "| /usr/local/bin/spamassassin | /usr/local/bin/maildir /home/myusername/Maildir/"   (where maildir is part of DJB's safecat) and I would like to keep it that way. Is it still possible to use procmail or maildrop without compromising that?
[13:17:46] <bkw> f3ew: http://www.postfix.org/postconf.5.html check_recipient_access doesn't describe well how do disable mail delivery to specified users.
[13:20:18] <outlaw84> I am trying to setup postfix for my first time... I am doing it by http://workaround.org/articles/ispmail-sarge/ I am trying to setup a mail server that we will be using instead of the one running now, which is a some data center... the current mail server is running at 'eseco.se' when I try to send mail to my user in the my postfix setup it seams to be going to the "old mail server"
[13:21:10] <outlaw84> I am trying to send the mail to 'mihaly.bak at eseco dot se' which is a user I have added into the mysql database
[13:21:40] <outlaw84> I am trying to send mail with telnet as in the example but changing the rcpt to into my adress
[13:22:13] *** bkw has left #postfix
[13:25:15] <outlaw84> But I get "1C5246E0F3: to=<test at workaround dot org>, relay=torf.workaround.org[212.12.58.129]:25, delay=1.1, delays=0.03/0/0.38/0 .68, dsn=5.0.0, status=bounced (host torf.workaround.org[212.12.58.129] said: 550 <test at workaround dot org>: Recipient address rejected: User unknown (in reply to RCPT TO command))"
[13:28:41] <kwek__> really cannot find that proces
[13:28:55] <kwek__> Apr  5 13:28:50 asterix amavisd-new[12991]: SMTP: NOTICE: client broke the connection without a QUIT (Connection reset by peer)
[13:29:00] <kwek__> that is in amavis.log
[13:32:33] *** UQlev has quit IRC
[13:34:26] *** cutmasta has joined #postfix
[13:37:22] <f3ew> kwek__ that sounds like something connecting to 10024
[13:37:37] <kwek__> yeah but how can i trace it exactly
[13:38:04] <kwek__> my guess it is postfix as that one is supposed to connect to 10024
[13:38:44] <f3ew> Blackmore "|/something/which/extracts/the/headers | /path/to/spamassassin ...."
[13:38:57] <f3ew> kwek__ then Postfix will log it
[13:39:20] <kwek__> we just get spammed there with:
[13:39:25] <kwek__> Apr  5 13:39:08 asterix postfix/smtpd[18803]: connect from localhost.localdomain[127.0.0.1]
[13:39:25] <kwek__> Apr  5 13:39:08 asterix postfix/smtpd[18803]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
[13:39:36] <Blackmore> f3ew: ah... thanks.. :)
[13:39:59] <f3ew> that looks like the amavisd is connecting to postfix, and then disconnecting
[13:40:20] <f3ew> you want to look for postfix/smtp[pid]:.*lost connection.*
[13:40:37] <kwek__> where
[14:07:10] *** xpoint has left #postfix
[14:18:53] *** brancaleone has joined #postfix
[14:24:03] *** cpm has joined #postfix
[14:35:30] *** kwek__ has quit IRC
[14:45:06] *** lasjsdfs has joined #postfix
[14:45:15] <lasjsdfs> hi
[14:45:34] <lasjsdfs> i have problem with ldap+postfix+courier
[14:45:46] <lasjsdfs> domU-MX authdaemond: ldap_simple_bind_s failed: Can't contact LDAP server
[14:47:10] <lasjsdfs> http://rafb.net/p/sEx6o448.html
[14:53:02] *** cebortolotto has joined #postfix
[14:54:42] <cebortolotto> hi all, when i tried start postfix i got this error in syslog ( postfix[4839]: fatal: bad string length 0 < 1: setgid_group = ) anyone can help me with this? Wha't i'm going wrong? I'm using deb stable
[14:54:43] <lawnchair> moo
[14:56:01] *** PeteBoyd has joined #postfix
[14:56:39] <PeteBoyd> if I'm collecting pop3 mail with Fetchmail for domain1.org and delivering it to local virtual mailboxes domain2.org, how do I do that with Fetchmail? all users are the same across the domains. Up to Fetchmail 6.3.4 does it not need any special treatment? but if so what about 6.3.5?
[14:59:50] *** lasjsdfs has left #postfix
[15:02:01] *** noetik has joined #postfix
[15:04:49] *** shasta has quit IRC
[15:09:25] *** Lap_64 has quit IRC
[15:12:30] *** Lap_64 has joined #postfix
[15:21:37] *** hparker has joined #postfix
[15:37:20] *** Ice_ has quit IRC
[15:39:51] *** noetik has quit IRC
[15:44:01] *** cebortolotto has quit IRC
[15:46:01] *** cutmasta has quit IRC
[15:48:01] *** buksrol_ has quit IRC
[15:50:07] <robink> Does postfix have a utility that will read a mail from stdin and deliver it to a directory specified on the commandline?
[15:50:35] <robink> I automatically assumed 'local' wasn't a candidate since it's a daemon.
[15:50:56] <robink> I'm looking for something that'd have a man page in section 1.
[15:51:29] *** f3ew has quit IRC
[15:51:44] *** f3ew_ has joined #postfix
[15:55:36] *** PeteBoyd has left #postfix
[15:56:18] <trickie> so i still having trouble with postfix <-> amavis, but now i got more debug:
[15:56:31] <trickie> Apr  5 15:56:15 asterix postfix/smtpd[1599]: connect from localhost.localdomain[127.0.0.1]
[15:56:34] <trickie> Apr  5 15:56:15 asterix postfix/smtpd[1599]: > localhost.localdomain[127.0.0.1]: 220 asterix.basesoft.com ESMTP Postfix (Debian/GNU)
[15:56:37] <trickie> Apr  5 15:56:15 asterix postfix/smtpd[1599]: watchdog_pat: 0x808a310
[15:56:40] <trickie> Apr  5 15:56:15 asterix postfix/smtpd[1599]: vstream_fflush_some: fd 14 flush 53
[15:56:43] <trickie> Apr  5 15:56:15 asterix postfix/smtpd[1599]: smtp_get: EOF
[15:56:46] <trickie> Apr  5 15:56:15 asterix postfix/smtpd[1599]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
[15:56:49] <trickie> Apr  5 15:56:15 asterix postfix/smtpd[1599]: disconnect from localhost.localdomain[127.0.0.1]
[15:57:23] <trickie> and at the very same time in amavis logs:
[15:57:24] <trickie> Apr  5 15:57:14 asterix.basesoft.com amavisd-new[2362]: lookup_ip_acl: key="127.0.0.1" matches "127/8", result=1
[15:57:27] <trickie> Apr  5 15:57:14 asterix.basesoft.com amavisd-new[2362]: prolong_timer after new request - timer reset: remaining time = 300 s
[15:57:31] <trickie> Apr  5 15:57:14 asterix.basesoft.com amavisd-new[2362]: SMTP> 220 [127.0.0.1] ESMTP amavisd-new service ready
[15:57:34] <trickie> Apr  5 15:57:14 asterix.basesoft.com amavisd-new[2362]: SMTP: NOTICE: client broke the connection without a QUIT ()
[15:57:37] <trickie> and this is happening many times a second
[15:59:01] <trickie> i don't understand why both are sending the banner
[16:00:32] <trickie> i have a tcpdump in which you can see amavis trying to send a banner, but pretty much before that can happen a postfix process send a reset packet
[16:01:24] <trickie> kinda strange, as *normal* mail delivery works fine
[16:01:38] <trickie> even via the amavis content_filter
[16:02:15] *** geekboi has joined #postfix
[16:07:14] *** StyleWarz has joined #Postfix
[16:08:50] *** Badunkadunk has quit IRC
[16:09:09] <geekboi> What's the easiest way to reject inbound mail claiming to be my domains?
[16:10:55] <cpm> geekboi, have you read and done everything on this page?
[16:10:56] <cpm> http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt
[16:12:50] <geekboi> cpm: Just found that myself. Another question, can I do the recipient_checks.pcre file as hash or dbm?
[16:16:55] *** UQlev has joined #postfix
[16:18:30] *** madclicker has quit IRC
[16:21:16] <cpm> geekboi, try reading and implementing the suggestions at
[16:21:18] <cpm> http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt
[16:21:55] *** madclicker has joined #postfix
[16:22:08] <cpm> btw, pcre is pcre, not hash, not dbm
[16:22:58] <cpm> http://www.postfix.org/PCRE_README.html
[16:24:19] *** cebortolotto has joined #postfix
[16:24:22] *** cebortolotto is now known as wmkr
[16:24:27] <geekboi> cpm: Got it. Thanks.
[16:24:34] <geekboi> I'm doing all that now
[16:24:35] <cpm> have fun!
[16:24:53] *** rootsvr has joined #postfix
[16:25:05] <geekboi> cpm: Thanks. Just hoping to cut down on my spam load a bit more. Greylisting has put a dent in it, but, I'm still getting clobbered
[16:28:03] *** Blackmore has left #postfix
[16:29:50] *** netcrash_ has quit IRC
[16:29:51] *** rootsvr_ has joined #postfix
[16:30:21] *** netcrash_ has joined #postfix
[16:37:21] *** bostik_ has joined #postfix
[16:37:25] *** bostik has quit IRC
[16:44:29] *** zike has quit IRC
[16:45:18] *** roe has joined #postfix
[16:46:50] *** rootsvr has quit IRC
[16:52:16] *** Ryushin has quit IRC
[16:52:28] *** rootsvr_ has quit IRC
[16:54:20] *** f3ew_ has quit IRC
[16:54:35] *** f3ew_ has joined #postfix
[17:01:30] *** pmjdebruijn has quit IRC
[17:01:31] *** honkzilla has joined #postfix
[17:05:41] <geekboi> Doh. It helps to spell it fqdn and not fdqn
[17:10:17] *** renkho has joined #postfix
[17:12:00] <renkho> hello, does anybody use policyd with postfix?
[17:13:56] <geekboi> cpm: Thanks for the pointer again. I'll keep a watch on my logs to see if there are any changes
[17:14:01] *** Badunkadun1 has joined #postfix
[17:17:20] <geekboi> renkho: I played with it for a day or two but could never get it working properly. I went with sqlgrey instead
[17:20:18] <Badunkadun1> I'm trying to get postfix to change m2n+<newsgroup> at mydomain dot com to <newsgroup> at mynntpserver dot com.  I've tried creating aliasing m2n in virtual then creating a pcre file for m2n_transport like someone told me to but it doesn't work.  Help!
[17:20:59] *** mikala has quit IRC
[17:22:19] *** apeiros is now known as zapeiros
[17:22:55] *** zapeiros is now known as apeiros
[17:23:00] <renkho> geekboi: yeah im trying to make it work.... but im more interesed in how to limit the attachment size peer user
[17:23:13] <renkho> throttle
[17:24:44] *** trickie has left #postfix
[17:24:50] *** redondos_ has joined #postfix
[17:25:06] *** geekboi has left #postfix
[17:25:51] <Badunkadun1> Can you use the commands listed in headers_check in a pcre file?
[17:30:38] *** f3ew_ has quit IRC
[17:31:09] *** f3ew_ has joined #postfix
[17:32:46] *** UQlev has quit IRC
[17:34:18] *** Ryushin has joined #postfix
[17:36:54] *** redondos has quit IRC
[17:36:55] *** redondos_ is now known as redondos
[17:37:12] <Badunkadun1> I see, thanks
[17:43:45] <Badunkadun1> fascinating
[17:45:12] <Badunkadun1> go on
[17:49:06] *** xai has joined #postfix
[17:49:48] *** Jax has joined #postfix
[17:54:58] <xai> I have a load balancer on our outbound email that makes out outbound IP look different. Do i need to set mailname to that IP in order for outbound email to be consist4ent?
[17:58:16] *** tminos has quit IRC
[18:02:12] *** shasta has joined #postfix
[18:04:00] *** tminos has joined #postfix
[18:08:08] *** Jax has quit IRC
[18:14:48] *** bostik_ has quit IRC
[18:19:05] *** mwtb has joined #postfix
[18:19:28] *** darkphader has joined #postfix
[18:19:37] *** netcrash_ has quit IRC
[18:19:59] *** netcrash_ has joined #postfix
[18:20:28] *** birmaan has joined #postfix
[18:26:15] <mwtb> Hi. If I have a virtual domain setup, is it possible to get postfix to deliver locally addressed mail to the virtual domain of the host system?
[18:26:36] <cpm> mwtb, how I do it.
[18:26:46] <cpm> all virtual, all the time
[18:26:55] <cpm> having local complicates things
[18:27:34] * hparker thinks having cpm complicates things
[18:28:33] <mwtb> Okay, so where should I be looking to get mail for 'user' delivered to 'user at domain dot tld'?
[18:28:57] <hparker> Is domain.tld a virtual domain?
[18:29:11] <mwtb> Yes.
[18:29:32] <mwtb> Well, it's also the actual domain,if that makes a difference.
[18:29:43] <hparker> Then you'd have to deliver to user at localhost dot domain.tld or some such.. That's what I do for mailing lists to keep them simple
[18:31:58] *** Lap_64 has quit IRC
[18:32:38] *** webmasterforhire has joined #postfix
[18:34:01] <webmasterforhire> Hello all,  Could someone help me with reverse dns?  My mailserver can't send to servers that require rdns like aol and the like.  My dns setup is a little basic and rather then revamp, I'm hoping just to solve this.  How does a server query for rdns?
[18:41:07] *** hemry has joined #postfix
[18:42:25] *** apeiros has left #postfix
[18:43:30] *** ALVAN has joined #postfix
[18:43:35] <ALVAN> hi all
[18:43:43] <ALVAN> where should i set relay
[18:44:34] <ALVAN> i added the server ip adn the ips taht are allowed to connect at mynetworks
[18:44:41] <ALVAN> but i cant receive emails
[18:44:47] <ALVAN> where should i set that ?
[18:45:17] <ALVAN> in relayhost ?
[18:49:57] <darkphader> webmasterforhire: uses the dns system
[18:51:41] *** wmkr has quit IRC
[18:51:45] <webmasterforhire> darkphader:  I'm trying to avoid the hassle of setting up a full dns server, so I'm using a dynamic dns service to handle most of it.  I'm guessing that I will need to at least set up bind with an entry for my mail server.  Does that sound correct, or do you think I *might* be able to get away with mod'ing the dynamic dns.  Do you know what kind of record it's looking for?
[18:52:33] <darkphader> webmasterforhire: i suggest you forward all mail through your isp's mail server
[18:53:14] <webmasterforhire> darkphader: I tell my clients the same thing, but I know who runs my ISP and I know them to be untrustworthy. :)
[18:53:17] *** JoKoT3 has quit IRC
[18:53:32] <darkphader> webmasterforhire: you are up against something you can't really solve without getting a fixed IP
[18:53:56] <webmasterforhire> darkphader:  I do have a fixed IP for this server, I just wanted to avoid setting up bind.
[18:54:14] <darkphader> webmasterforhire: is the IP address on any blacklists (DUL, etc.)?
[18:54:49] <webmasterforhire> darkphader: no, I'm just missing some record I assume.  I'm getting the reverse dns needs to be set message in my maillog.
[18:55:03] <webmasterforhire> 64.79.210.14
[18:55:04] <ALVAN> darkphader, what this means NOQUEUE: reject: RCPT from xxx.xxx.com  : 554 Relay access denied; from=
[18:55:23] <ALVAN> whee should i set it ?
[18:55:42] <ALVAN> i set let the default values
[18:55:52] <darkphader> webmasterforhire: that address has no PTR record, you need to talk to who owns that block to set onme up
[18:55:57] <ALVAN> for relayhosts and mynetworks
[18:56:19] <webmasterforhire> darkphader: can you tell me how you determined that so I can keep checking on it?
[18:56:31] <darkphader> webmasterforhire: "dig -x 64.79.210.14" returns no answer
[18:56:45] <webmasterforhire> darkphader: sweet, thanks for your help.
[18:57:15] <darkphader> webmasterforhire: also for most the forward and reverse lookups need to match each other
[18:57:38] <webmasterforhire> darkphader: okay that makes sense.
[18:58:24] <darkphader> webmasterforhire: so that if "dig mail.mydomain.com" gives 1.2.3.4 than "dig -x 1.2.3.4" should answer "mail.mydomain.com"
[18:58:47] <darkphader> webmasterforhire: and this should be your smtp_helo_name in main.cf
[18:59:28] <webmasterforhire> darkphader: I don't have that set, will do.
[19:00:00] <darkphader> webmasterforhire: you will need the PTR (reverse DNS)
[19:01:45] <darkphader> ALVAN: mynetworks generally allows such connections
[19:02:25] <ALVAN> so default is not good waht should i set it for ?
[19:03:24] <ALVAN> so incoming connections is used by relayhosts?
[19:04:11] <ALVAN> if i let defautl is still rejecting mail
[19:04:22] <ALVAN> what should i set
[19:04:25] <webmasterforhire> darkphader:  Thanks for all your help.  There was a form I had to fill out with my host to get it made, so I should be cookin soon.
[19:05:16] <ALVAN> is the relayhosts the one where should i enter the server ip and 127.0.0.1 adn my networks ?
[19:05:27] *** nescius_ has quit IRC
[19:05:33] <ALVAN> what should be mynetworks ?
[19:05:46] <ALVAN> problem is i cant receive from no where with defautl configuration
[19:05:52] <ALVAN> strange thought why
[19:07:16] <ALVAN> ican send fine but cant receive
[19:07:31] <ALVAN> so mynetworks is who i sallowed to authentificate
[19:10:43] <darkphader> ALVAN: usually something like this: mynetworks = 192.168.1.0/24, 127.0.0.0/8
[19:11:34] <ALVAN> yes done that
[19:11:40] <ALVAN> is set the error is the same
[19:11:50] <darkphader> it's the list of trusted clients that can relay
[19:12:23] <ALVAN> yes that could connect to the server and sent email with the server right ?
[19:12:40] <darkphader> mail destined for the domain should be accepted
[19:12:52] <ALVAN> well is not
[19:13:15] <darkphader> just one domain?
[19:13:25] <ALVAN> i tryed one only:)
[19:13:55] <darkphader> myorigin?
[19:14:48] <ALVAN> no
[19:15:06] <ALVAN> ok tryed another from yahoo.com
[19:15:28] <darkphader> can you receive mail for the myorigin domain?
[19:15:58] <ALVAN> dont know
[19:16:00] *** jduggan_ has quit IRC
[19:16:03] <ALVAN> the error is the same
[19:16:06] <ALVAN> NOQUEUE: reject: RCPT from web55313.mail.re4.yahoo.com[206.190.58.192]: 554 <web55313.mail.re4.yahoo.com[206.190.58.192]>: Client host rejected: Access denied
[19:16:33] <darkphader> myorigin: The domain name that locally-posted mail appears to come from, and that locally posted mail is delivered to.
[19:17:10] <ALVAN> i dont know how can i test this myorigin
[19:17:24] <ALVAN> mail from local to local?
[19:18:06] <darkphader> mail from somewhere else to myorigin
[19:18:43] <ALVAN> nope it doesnt work
[19:18:57] <darkphader> what does the log show?
[19:19:12] <ALVAN> the upper i paste it
[19:19:27] <ALVAN> fro every domain at "somewhere else"
[19:19:54] <ALVAN> from local to local works ok
[19:20:07] <darkphader> are you running virtual domains
[19:21:10] <darkphader> what is the value of mydestination ?
[19:21:13] *** pUmkInhEd has joined #postfix
[19:21:16] <pUmkInhEd> hello #postfix
[19:22:06] <pUmkInhEd> i am trying to setup faxmail (not ur problem i know) but my problem is that i use a recipient map, do recipient maps allow the use of wildcards?
[19:22:45] <pUmkInhEd> ah i guess @example.com        OK would probably work
[19:22:47] <pUmkInhEd> lol
[19:23:30] <pUmkInhEd> ty #postfix
[19:23:58] <ALVAN> darphis default
[19:24:14] <ALVAN> the value of  mydestination  is default
[19:24:40] <darkphader> ALVAN: have you read: http://www.postfix.org/BASIC_CONFIGURATION_README.html and http://www.postfix.org/STANDARD_CONFIGURATION_README.html ?
[19:25:38] <darkphader> also recommend "The Book of Postfix"
[19:26:25] <ALVAN> the basic yes but not all
[19:27:47] <ALVAN> i just dont why
[19:28:07] <ALVAN> why it  doesnt work by  default
[19:28:49] <darkphader> looks like postfix doesn't recognize that it's the end point for the mail you're sending
[19:29:08] *** elderrr has joined #postfix
[19:29:40] <ALVAN> end point for what ?
[19:30:05] <darkphader> the domain the mail is being sent to - mydestination
[19:31:34] <ALVAN> well and for this would be a NOQUEUE
[19:31:40] <ALVAN> Relay error
[19:31:47] <ALVAN> strange
[19:32:18] *** frennkie has joined #postfix
[19:32:19] <darkphader> mydestination (default: $myhostname, localhost.$mydomain, localhost)
[19:32:54] <darkphader> you may need to change this
[19:33:38] <darkphader> mydestination = $myhostname, localhost.$mydomain $mydomain mail.$mydomain $myorigin hostname.$myorigin
[19:33:48] <ALVAN> ah so it should be from  mail.$mydomain, www.$mydomain
[19:34:06] <darkphader> it's mail to, not from
[19:34:18] *** netcrash_ has quit IRC
[19:34:19] <ALVAN> yes got this
[19:34:42] *** netcrash_ has joined #postfix
[19:36:06] <ALVAN> ok changed as you said
[19:36:09] <ALVAN> the same error
[19:36:25] <darkphader> are you sending mail to those destinations?
[19:36:27] <ALVAN> after restart of course
[19:36:51] <ALVAN> no
[19:37:05] <ALVAN> i am sending mail to the postfix server
[19:37:11] <ALVAN> from other location
[19:37:13] <darkphader> those are the destinations that postfix will accept mail for
[19:37:45] <darkphader> you need to send mail to a valid user in mydestinations
[19:38:22] <ALVAN> is valid is a user created only whit passwd
[19:38:29] <ALVAN> and adduser
[19:38:46] <ALVAN> adn it exists in /var/mail/postfix
[19:38:54] <darkphader> u can have virtual users as well, but you shouldn't get access denied without one
[19:39:07] <darkphader> it should bounce saying there's no such user
[19:39:07] <ALVAN> i know
[19:39:11] <ALVAN> right
[19:39:38] <ALVAN> then what i am missing ...
[19:40:08] <ALVAN> it doesnt have permissions set right or i must create a MAildir in the user home directory
[19:40:18] <darkphader> so if mydomain is yourdomain, and you send mail to user@yourdomain (providing dns, etc. works fine) then
[19:40:34] <ALVAN> yeap work fine
[19:40:35] <darkphader> the mail should get accepted or bounced for the proper reasons
[19:40:56] <darkphader> also $mydomain would need to be in mydestinations
[19:41:40] <ALVAN> another if i set myhostname
[19:41:51] <ALVAN> and not mydomain will make a difference i see is the same
[19:41:56] <xai> how do I get smtp servers to recognize my mail server instead of "unknown". The IP and the name match ok.
[19:43:23] <darkphader> setting a maildir or not depends on your choice of mailstore, i use cyrus-imap so postfix send it via lmtp
[19:44:17] *** DickensCider has joined #postfix
[19:44:19] *** frennkie has quit IRC
[19:47:14] <goodshit> Anyone know why the email is being Queued mail for delivery? I'm using postfix, I mean I can send to gmail.com yahoo.com but everytime i try to send to hotmail.com it always say Queued mail for delivery. For gmail & yahoo.com It just delivery it right away? anyone know why its being qued up.
[19:48:15] <ALVAN> darkphader, couldbe smtpd_recipient_restrictions
[19:49:00] <darkphader> ALVAN: so blank it out to verify
[19:50:36] <darkphader> xai: myhostname?
[19:51:12] <darkphader> goodshit: maybe some spf feature - might delay acceptance without it
[19:51:35] <ALVAN> goodshit, see the mail logs
[19:53:01] *** Spec has joined #postfix
[19:53:26] <elderrr> goodshit,  yep    Step one: Look in the error log
[19:57:09] <goodshit> i did
[19:57:13] <goodshit> mail log show no error
[19:57:16] <goodshit> and say its send 250
[19:57:24] <goodshit> but at the end it say mail queed up for delivery
[19:57:28] <goodshit> but i never get the email
[19:57:50] <goodshit> any other way to track this?
[19:58:12] <goodshit> i mean i can send to yahoo gmail
[19:58:14] <goodshit> all other fine
[19:58:15] <goodshit> just hotmail
[19:58:20] <goodshit> hotmail required spf
[19:58:25] <goodshit> which i added to my DNS
[19:58:31] *** integer has joined #postfix
[19:58:36] <integer> hi guys
[19:58:50] <integer> i have a problem about pam...
[19:58:51] <DickensCider> help: i'm moving my test server into production, but while i'm trying to send messages from my mail client, i'm getting an error: "Relay Access Denied", and in my maillog the error is: "recipient address rejected: relay access denied"
[19:59:16] <integer> DickensCider, your postfix could not relay users
[19:59:31] <integer> you should enable sasl
[19:59:36] <goodshit> Apr  5 10:57:38 filter postfix/smtp[66200]: 1BE4C2E04C: to=<aboyzzz at hotmail dot com>, relay=mx1.hotmail.com[65.54.244.136]:25, delay=2, delays=0.1/0.01/0.88/1, dsn=2.0.0, status=sent (250  <001e01c777ac$10c98130$325c8390$@com> Queued mail for delivery)
[20:00:05] <integer> smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
[20:00:12] <integer> DickensCider, this is your solution
[20:00:20] <integer> hey guys, i have another problem :)
[20:00:28] <goodshit> why no email coming in anyone know??
[20:00:41] <integer> when i use: testsaslauthd -s smtp -u user at mail dot com -p password
[20:00:45] <goodshit> why hotmail not pushing my email thru?
[20:00:46] *** luke-jr_work has joined #postfix
[20:00:46] <integer> it can authenticate me
[20:00:54] <integer> but when i try to authenticate via an e-mail client
[20:00:55] <DickensCider> ~[ integer ]~ i'll try that. thx
[20:01:27] <ALVAN> inetger do you know what is this error NOQUEUE: reject: RCPT from web55313.mail.re4.yahoo.com[206.190.58.192]: 554 <web55313.mail.re4.yahoo.com[206.190.58.192]>: Client host rejected: Access denied
[20:01:39] <ALVAN> i cant receive from nowhere
[20:02:06] <ALVAN> i can sent but cant receive
[20:05:01] *** cpm has quit IRC
[20:06:20] *** cpm has joined #postfix
[20:09:34] <DickensCider> ~[ integer ]~ that was the solution, thanks again
[20:09:42] <webmasterforhire> darkphader:  Looks like my PTR request has propagated to aol's servers and it worked.  Thanks for your help.
[20:10:00] *** integer has quit IRC
[20:10:29] <darkphader> webmasterforhire: kewl
[20:11:26] *** rcsu has joined #postfix
[20:12:48] <darkphader> webmasterforhire: u have a problem
[20:13:05] <darkphader> webmasterforhire: some will still reject your mail
[20:13:26] <darkphader> webmasterforhire: your dns/rdns don't match
[20:14:09] <darkphader> webmasterforhire: "dig -x 64.79.210.14" = mail.webmaster4hire.info.210.79.64.in-addr.arpa
[20:14:34] <darkphader> webmasterforhire: dig mail.webmaster4hire.info.210.79.64.in-addr.arpa = _no answer_!!!
[20:15:05] <darkphader> webmasterforhire: yet dig mail.webmaster4hire.info = 64.79.210.14
[20:15:48] <darkphader> webmasterforhire: u want your PTR record to be mail.webmaster4hire.info and not mail.webmaster4hire.info.210.79.64.in-addr.arpa
[20:16:30] <darkphader> webmasterforhire: then put "smtp_helo_name = mail.webmaster4hire.info" in main.cf
[20:17:38] <darkphader> webmasterforhire: some, not all, email servers will first verify via rdns then double-check that value via forward dns before accpting mail
[20:18:10] <cpm> you forget to terminate the PTR record in your in.addr-arpa table
[20:18:13] <cpm>  mail.webmaster4hire.info.210.79.64.in-addr.arpa.
[20:18:18] <cpm> WRONG
[20:18:29] <cpm> or your in-addr.arpa table even
[20:19:23] <cpm> add a '.' terminator to the fqdn in the in-addr.arpa PTR record
[20:19:34] <cpm> increment and reload
[20:20:45] <webmasterforhire> darkphader: hmm I set the smtp_helo_name part, and my request for PTR was for that IP to be mail.webmaster4hire.info.
[20:21:43] <webmasterforhire> cpm: So that's something the server host provider needs to do?
[20:21:57] <cpm> whomever is running your dns
[20:22:37] <darkphader> webmasterforhire: they didn
[20:22:52] <darkphader> webmasterforhire: they didn't honor your request properly
[20:23:07] <webmasterforhire> darkphader: Okay so I need to take it back to them, nothing on my side.
[20:23:10] <darkphader> webmasterforhire: added the extra string after .info
[20:23:16] <darkphader> webmasterforhire: right
[20:31:52] *** olinux has joined #postfix
[20:35:51] *** Ryushin has quit IRC
[20:36:08] *** Badunkadun1 has quit IRC
[20:39:15] <webmasterforhire> darkphader: They admitted it was wrong and have fixed it.  I'll let you know how it turns out.
[20:39:29] *** Motoko-chan has joined #postfix
[20:40:04] <darkphader> webmasterforhire: it's fixed, you should be good to go
[20:40:46] <darkphader> webmasterforhire: dig -x 64.79.210.14 = mail.webmaster4hire.info.
[20:40:56] <webmasterforhire> darkphader: Cool.  I don't care what they say about you, you know your stuff. ;) Thanks for the help!
[20:43:21] *** mwtb has left #postfix
[20:43:58] <darkphader> webmasterforhire: noprob
[20:46:36] *** Badunkadunk has joined #postfix
[20:46:43] <Badunkadunk> I'm trying to get postfix to change m2n+<newsgroup> at mydomain dot com to <newsgroup> at mynntpserver dot com.  I've tried creating aliasing m2n in virtual then creating a pcre file for m2n_transport like someone told me to but it doesn't work.  Help!
[20:46:45] <Badunkadunk> Can you use the commands listed in headers_check in a pcre file?
[20:50:39] <Badunkadunk> I've got some junk in my trunk. Some junk in my trunk. Yeah got some junkk in my trunk
[20:51:29] *** Zelest has joined #postfix
[20:59:10] *** mofino has joined #postfix
[20:59:29] <mofino> Wasn't there a way to specify a 'class' for a service?
[21:00:02] <mofino> I guess that only applies to addresses.
[21:05:29] <renkho> hello, i have an issue... my setup is: postfix + mysql + courier, and im using postfixadmin for manage all the mails.. when i set up the quota for an user it create a file called maildirsize, where is configured the maximum size of the maildir, but actually when an user has more than the value configured.. he still receiving mails
[21:06:52] <renkho> i was looking that i can enforce the quotas with maildrop, but is not working for me, after compile and enable i got this errors when i try to start postfix: Apr  5 14:00:24 chasqui postfix/master[13499]: fatal: /etc/postfix/master.cf: line 65: bad transport type: argv=/usr/bin/maildrop
[21:07:09] <renkho> any idea please?
[21:08:48] <rcsu> how do you deliver the mails from postfix to your courier
[21:09:50] *** eydaimon has quit IRC
[21:10:06] <renkho> u mean: virtual_transport = virtual
[21:10:07] <renkho> ?
[21:10:21] <rcsu> local_transport
[21:10:35] <renkho> no, i dont have local_transport configured
[21:10:36] <rcsu> or <any>_transport
[21:10:39] <renkho> wait
[21:10:55] <renkho> local_transport = local:$myhostname
[21:11:00] *** mastachand has quit IRC
[21:11:57] <rcsu> ok, whats the line in master.cf which starts with 'local'
[21:12:42] <renkho> local     unix  -       n       n       -       -       local
[21:13:09] <renkho> but actually i dont have local users
[21:13:13] <renkho> only virtual
[21:13:25] <rcsu> that doesnt matter
[21:13:36] <renkho> oh ok
[21:13:43] *** elderrr has quit IRC
[21:14:01] <rcsu> you map virtual users to mailboxes, thats all
[21:14:45] <rcsu> hmm, how are the mails handed over from postfix to courier
[21:14:53] <rcsu> i never discovered that
[21:15:14] <renkho> how i can see that? :$
[21:15:34] <rcsu> that is a q for the masters here
[21:15:47] <renkho> heh
[21:16:05] <renkho> any clue? :P
[21:16:34] <rcsu> hey cpm, ayt ?
[21:18:11] <renkho> i feel a bit lost :(
[21:18:38] <rcsu> the point is the feedback of courier to postfix
[21:19:07] <rcsu> if courier doesnt tell postfix the over quota situation
[21:19:19] <rcsu> postfix cant reject mails
[21:19:39] <renkho> ok, that i was trying to install maildrop
[21:19:43] <rcsu> but that involves a direct comm from postfix to courier
[21:19:56] <rcsu> thats bad
[21:20:23] <rcsu> cause there is another step in the comm involved
[21:20:39] *** webmasterforhire has quit IRC
[21:20:40] <renkho> oh ok.. i didn't know that
[21:21:02] <renkho> which files are involved in that communication?
[21:22:10] <rcsu> none, ideally
[21:22:20] <ceL_> is maia mailguard still effective?
[21:22:24] <rcsu> only socket comm
[21:22:45] *** adaptr has joined #postfix
[21:23:00] <renkho> configuration on the master.cf you mean?
[21:23:15] *** UQlev has joined #postfix
[21:23:23] <rcsu> hi UQlev
[21:23:40] <UQlev> hi. rcsu
[21:24:13] <rcsu> renkho: i dunno the comm of courier
[21:24:30] <rcsu> renkho: i m a bit lost then
[21:24:42] <rcsu> renkho: but thats the way to look
[21:24:57] *** netcrash_ has quit IRC
[21:25:22] *** netcrash_ has joined #postfix
[21:25:44] <renkho> im following this document: http://www.xs4all.nl/~jaspersl/quota/
[21:26:03] <rcsu> but what are the benefits of using courier
[21:27:05] *** ALVAN has quit IRC
[21:28:43] <rcsu> renkho: show the maildrop line of master.cf
[21:30:05] <renkho> maildrop  unix  -       n       n       -       -       pipe
[21:30:12] <renkho> flags=DRhu user=vmail argv=/usr/bin/maildrop -w 90 -d ${recipient}
[21:30:35] <rcsu> ok, is a space on the second line
[21:30:38] *** Ryushin has joined #postfix
[21:30:56] <rcsu> a leading space
[21:31:20] <renkho> ?
[21:32:15] <rcsu> maildrop  unix  -       n       n       -       -       pipe
[21:32:31] <rcsu>     flags=DRhu user=vmail argv=/usr/bin/maildrop -w 90 -d ${recipient}
[21:32:35] <rcsu> is coorect
[21:32:44] <renkho> ok, i will try
[21:34:28] *** asdzxc has joined #postfix
[21:34:33] <asdzxc> hi
[21:34:39] <asdzxc> i have some questions about postfix + mysql
[21:35:38] <asdzxc> postfix will download all data from DB every reload OR it will check data in DB everytime the email arrvies ?
[21:36:49] <asdzxc> so, for example, if DB will crash for any reason, will be postfix able to receive emails ?
[21:39:20] *** darkphader has quit IRC
[21:39:21] *** flami has joined #postfix
[21:41:20] <renkho> rcsu: ok, it doesn't show me errors. on the postfix start :)
[21:41:59] <renkho> but now i see this:
[21:42:01] <renkho> Apr  5 14:40:18 chasqui postfix/pipe[16168]: 8FD7F19465: to=<user1 at domain dot com>, relay=maildrop, delay=0.12, delays=0.07/0/0/0.05, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/bin/maildrop: Unable to open mailbox. )
[21:42:06] <renkho> mmm
[21:42:15] <asdzxc> wrong permissions :)
[21:42:42] <asdzxc> check the ownership of mailbox
[21:43:46] <renkho> ermm im using maildirs o_O
[21:44:35] <asdzxc> so, the ownership of a maildir
[21:46:03] <asdzxc> if your using debian (with default packages), the maildir should be owner by postfix:mail
[21:46:33] <renkho> actually maildirs owned by: vmail:vmail o_O
[21:46:33] <asdzxc> the problem could also be in, for example, the courier configuration (if your useing maildrop from courier)
[21:47:17] <asdzxc> i had exactly this error about week ago
[21:47:51] <asdzxc> and the problem was that the user in courier user DB had different UID then his maildir has
[21:48:37] *** Badunkadunk has quit IRC
[21:48:37] <asdzxc> (actually, the maildir has correct UID, problem was in courier user)
[21:50:37] <renkho> mmm
[21:50:56] *** rcsu has quit IRC
[21:50:59] <renkho> i see guid and uid correclty configured
[21:51:40] <asdzxc> are you useing courier maildrop ?
[21:52:26] <renkho> yes
[21:52:27] <renkho> eh
[21:52:29] <renkho> new error
[21:52:36] <renkho> i fixed the other one lol
[21:52:37] <renkho> temporary failure. Command output: /usr/bin/maildrop: Unable to create a dot-lock.
[21:52:57] <asdzxc> i had this error when the maildir was not correctly created
[21:53:09] <renkho> correctly?
[21:53:10] <asdzxc> missing directories etc.
[21:53:14] <renkho> oh
[21:53:57] *** cpm has quit IRC
[21:57:06] <asdzxc> renkho is should has this structure http://paste.ubuntu-nl.org/14077/
[21:57:52] *** birmaan has quit IRC
[21:58:41] <asdzxc> the names of folders depends on what is inside the 'courierimapsubscribed' file
[22:01:49] <renkho> mmmm
[22:01:57] <renkho> i have maildirs
[22:02:06] <asdzxc> it's a maildir
[22:02:12] <renkho> oh ok
[22:02:13] <asdzxc> mailbox is just one file
[22:04:28] <renkho> actually one of my accounts it looks like this: http://paste.ubuntu-nl.org/14078/
[22:06:35] <asdzxc> looks ok
[22:06:53] <asdzxc> as i said, names of folders denepds of what is in courierimapsubscribed
[22:08:13] <renkho> i will check it out
[22:08:39] <renkho> but :$
[22:08:53] <asdzxc> there no such file in your maildir :)
[22:08:53] <renkho> i can't see that option in my courier configuration :s
[22:08:57] <renkho> nop
[22:09:20] <asdzxc> strange, every maildir in my server has this file
[22:09:27] <asdzxc> it look like this:
[22:09:51] <asdzxc> # cat courierimapsubscribed
[22:09:52] <asdzxc> INBOX.Odoslane
[22:09:52] <asdzxc> INBOX.Kos
[22:09:52] <asdzxc> INBOX.Rozpisane
[22:09:52] <asdzxc> INBOX.Spam
[22:09:52] <asdzxc> INBOX.Karantena
[22:09:54] <asdzxc> INBOX.sent-mail
[22:09:56] <asdzxc> INBOX.Trash
[22:09:58] <asdzxc> INBOX.Sent
[22:10:33] <asdzxc> and when i create new folder via a mail client, this was is updated and folder is added here
[22:10:54] <asdzxc> at the end
[22:11:15] <renkho> weird..
[22:11:20] *** af_ has joined #postfix
[22:11:36] <renkho> no clue of any conf about on the courier configuration files
[22:11:59] <adaptr> asdzxc: don't create folders in the root of your namespace.. use subfolders of the inbox as per the imap spec
[22:12:19] <adaptr> depending on your client/server combo, this may cause problems
[22:12:49] <adaptr> not that Postfix does IMAP, at all :)
[22:13:03] *** freebsd_fan has joined #postfix
[22:13:10] <freebsd_fan> how do i check which ssl postfix is using?
[22:13:19] <freebsd_fan> which ssl version
[22:13:37] <freebsd_fan> because i've installed new openssl, and i need to know if postfix is using the new one?
[22:13:39] *** amrit|zzz is now known as amrit|wrk
[22:13:52] <asdzxc> adaptr never had problems and never heard about this :) but thnx for info
[22:14:41] <lunaphyte_> freebsd_fan: ldd smtpd | grep -i ssl will tell you which file it's linked against.
[22:14:42] <adaptr> well, IMAP spec is fuzzy aboot it too, but courier AFAIK is really fussy about it
[22:15:00] <adaptr> the difference between INBOX.sub and just .sub
[22:16:11] <renkho> damm.. so.. how i can creat that courierimapsubscribed
[22:16:24] <renkho> or who has to create it? the mail client?
[22:16:27] *** bizhat has joined #postfix
[22:16:47] <asdzxc> renkho i think the imap/pop3 server
[22:17:19] <asdzxc> try to create it by yourself and check if it fix the error
[22:17:20] *** doomas has joined #postfix
[22:17:57] <freebsd_fan> ldd: smtpd: No such file or directory
[22:17:59] <freebsd_fan> what is ldd?
[22:18:16] <lunaphyte_> freebsd_fan: you need to use the path to wherever postfixs' smtpd is.
[22:18:59] <asdzxc> renkho i think is should contain just one line in your case: INBOX.sent-mail
[22:19:21] <renkho> "If the directory does not exist, or if maildrop doesn't have permission to create files in the directory, you will see the Unable to create a dot-lock error message."
[22:19:25] <renkho> ummm
[22:19:28] <renkho> i found that
[22:19:55] <renkho> no idea which user use maildrop :(
[22:19:56] <asdzxc> so maybe the server doesn't has the privs. to create that file :)
[22:20:05] *** doomas_ has quit IRC
[22:20:25] <asdzxc> renkho maildrop is run by a postfix
[22:20:54] <asdzxc> are you useing postfix ? :)
[22:21:03] *** UQlev has left #postfix
[22:23:11] <asdzxc> is anyone useing postfix + mysql ?
[22:23:52] <renkho> I do :)
[22:23:53] *** Badunkadun1 has joined #postfix
[22:23:59] <Badunkadun1> I'm trying to get postfix to change m2n+<newsgroup> at mydomain dot com to <newsgroup> at mynntpserver dot com.  I've tried creating aliasing m2n in virtual then creating a pcre file for m2n_transport like someone told me to but it doesn't work.  Help!
[22:24:07] <Badunkadun1> Can you use the commands listed in headers_check in a pcre file?
[22:24:44] <asdzxc> renkho was answer on which question ? :)
[22:25:41] <goodshit> Anyone know why the email is being Queued mail for delivery? I'm using postfix, I mean I can send to gmail.com yahoo.com but everytime i try to send to hotmail.com it always say Queued mail for delivery. For gmail & yahoo.com It just delivery it right away? anyone know why its being qued up.
[22:25:43] <goodshit> Apr  5 10:57:38 filter postfix/smtp[66200]: 1BE4C2E04C: to=<aboyzzz at hotmail dot com>, relay=mx1.hotmail.com[65.54.244.136]:25, delay=2, delays=0.1/0.01/0.88/1, dsn=2.0.0, status=sent (250  <001e01c777ac$10c98130$325c8390$@com> Queued mail for delivery)
[22:26:24] <hparker> hotmail has accepted and queued your email
[22:26:37] *** flami has quit IRC
[22:26:38] <asdzxc> are there any benchmarks on 'postfix without mysql' and 'postfix with mysql' ?
[22:26:52] <renkho> asdzxc: no idea.. im not thinking right now.. lol.. i need eat something.. brb.. launch time
[22:27:11] * Badunkadun1 launches renkho
[22:27:18] <asdzxc> :)
[22:27:19] <renkho> asdzxc: no idea, i mostly use users on mysql 'cause i dont like have a lot of system users
[22:27:29] <hparker> asdzxc: Be kinda hard due to hardware limitations and such
[22:27:50] <renkho> also is more easy to manage
[22:27:51] <asdzxc> renkho you can use virtual users (virtual domains)
[22:28:17] <renkho> yep
[22:28:25] <renkho> well.. have to go.. thanks for the help
[22:28:26] <asdzxc> hparker is it a good idea to have postfix + mysql on quite busy mail server ?
[22:28:31] <renkho> i will work on it later
[22:28:53] <asdzxc> hparker 10 000 mails per day
[22:29:02] <renkho> asdzxc: tune the mysql :)
[22:29:10] <hparker> asdzxc: Depends on a lot of things.. Running mysql on the same server? What's the load on mysql if not?
[22:29:40] <asdzxc> hparker the another problem is that the mysql is also used for another purpoises
[22:29:43] <Badunkadun1> hparker: Can you use the commands listed in headers_check in a pcre file?
[22:30:10] <asdzxc> hparker what will postfix do if it's not possible to connect to DB when i do a reload ?
[22:30:24] <hparker> asdzxc: It's going to be load dependent.. If mysql can't respond fast enough you'll have problems
[22:30:36] <hparker> Badunkadun1: No idea
[22:30:52] <asdzxc> hparker fast enough ? so postfix is reading from mysql every time the e-mailk arrives ?
[22:31:00] <hparker> asdzxc: If it can't validate a user it will bounce if setup properly
[22:31:37] <asdzxc> i thought it will read all data from mysql on reload and store it in memory
[22:31:37] <hparker> No, it can do connection caching to keep the connection open, but it does have to validate each To:
[22:31:42] <hparker> Nope
[22:32:03] *** renkho has quit IRC
[22:32:06] <asdzxc> it's not very clever like this
[22:32:21] <asdzxc> is should read all only once
[22:32:28] <asdzxc> and store it in memory
[22:32:43] <hparker> asdzxc: Uhm... The idea behind using SQL is to make changes on the fly... Caching would kill that
[22:32:45] <asdzxc> it is doing the same also with that .db files
[22:32:48] *** devdas has joined #postfix
[22:32:55] <asdzxc> hm
[22:33:55] <hparker> Right, and it rereads them periodically
[22:34:30] <asdzxc> well, if i don't need to make changes on the fly but i need to store data in a way where i can easily manage them ? (in mysql for example :) )
[22:34:38] <asdzxc> isn't there any other way ?
[22:35:34] <hparker> Errmm... System accounts are usually easy to manage
[22:35:35] <pUmkInhEd> asdzxc: why not just use hash:/recipient_map?
[22:36:03] <asdzxc> pUmkInhEd do you think it's easily managed ? :)
[22:36:16] <pUmkInhEd> asdzxc: as easily as mysql, yes
[22:36:28] <asdzxc> it's quite hard to, for example, create an app for adding/removing accounts and aliase
[22:36:43] <asdzxc> which will be also thread-safe of course
[22:36:55] <pUmkInhEd> asdzxc: but it all depends what you are doing, for instance postfix feeds my exchange server, and nightly it downloads the email addresses from ldap, that what you are tryign to accomplish?
[22:37:10] <madclicker> i use transport to relay email for a user, aliases to this user are not being transported. Anyone?
[22:37:37] <asdzxc> pUmkInhEd i'm codeing an web administration for mail accounts management
[22:37:41] <pUmkInhEd> madclicker: use newaliases after modifying aliases?
[22:37:52] <pUmkInhEd> asdzxc: aah
[22:38:26] <asdzxc> pUmkInhEd and, as i said, it's really hard to make it right when data are stored in files
[22:38:26] <madclicker> pUmkInhEd, hmm, aliases are working the issue is that relay with transport is not
[22:38:41] <asdzxc> pUmkInhEd there are many situations when everything can fuck up :)
[22:38:57] <madclicker> alias>>   alias:   user
[22:39:02] *** af_ has quit IRC
[22:39:17] <madclicker> when i send an email to user a transport to the relayhost occures
[22:39:42] <madclicker> but when i sent to alias at mydomain dot com   it gets deposited localy and no relay occures
[22:42:42] <asdzxc> pUmkInhEd so i need to use mysql just for storing data and postfi will read them only on reload
[22:43:06] <asdzxc> (so it will not depend on mysql so much)
[22:43:23] <asdzxc> it's isn't possible to do this by some configuration ?
[22:46:05] <hparker> asdzxc: If there's not many changes just do a dump from mysql of the valid users
[23:03:53] *** xpoint has joined #postfix
[23:07:49] <asdzxc> hmm, not a bad idea
[23:08:37] <Badunkadun1> I'm trying to get postfix to change m2n+<newsgroup> at mydomain dot com to <newsgroup> at mynntpserver dot com.  I've tried creating aliasing m2n in virtual then creating a pcre file for m2n_transport like someone told me to but it doesn't work.  Help!
[23:08:40] <Badunkadun1> Can you use the commands listed in headers_check in a pcre file?
[23:32:31] *** flami has joined #postfix
[23:35:44] *** pirho has joined #postfix
[23:36:30] *** pirho has quit IRC
[23:39:02] *** pirho has joined #postfix
[23:40:32] <flami> I dont like courier and cyrus running on root :/ anyway i can change that ? i cant really find anything about it ... all my mails are stored with the same systemuser so i guess making courier non-root wouldnt harm . or is it usual to run all that with root ?
[23:40:46] <flami> oh forgot to say hi ^^
[23:42:28] <sysmonk> where do you see cyrus runing as root ? ;/
[23:42:35] <sysmonk> cyrus      1403  0.0  0.2  3816  1172  ??  Ss   21Mar07   0:58.11 /usr/local/cyrus/bin/master -d
[23:42:42] <sysmonk> it runs as cyrus user
[23:43:15] *** jduggan_ has joined #postfix
[23:44:45] <flami> wait
[23:45:27] <flami> soory its not cyrus its saslauthd
[23:45:51] <flami> root 20523 0.0 0.2 32904 2572 ? Ss Jan18 0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -
[23:46:22] <sysmonk> ergh, sorry, i don't have saslauthd running on any box i can access right now, i'm not at work, so i can't tell anything
[23:47:41] <sysmonk> and you should consider asking about it on a proper channel, not on postfix
[23:48:01] <flami> im just wondering :/ its a bit strange , I dont like anything thats running on root . I didnt find anything about it yet on google
[23:49:19] <sysmonk> flami: saslauthd is an aplication wich authenticates you
[23:49:29] <sysmonk> it may need to access your passwd files and etc
[23:49:34] <sysmonk> depends on how you configured it
[23:49:53] <sysmonk> so, it's kinda allright that it runs as root
[23:50:17] <sysmonk> you can try to run it as a specific user, if you don't need to access any password files, maybe it will work
[23:50:33] <sysmonk> i.e. you use saslauthd to authenticate to remote imap server, than you don't need root i think
[23:50:34] <flami> yes its all virtual
[23:50:59] <sysmonk> flami: anyway, as i told before, try asking on a proper channel
[23:51:21] <flami> saslauthd looks up all its password etc in a DB
[23:51:31] <flami> yep ill try to find the right one :P
[23:51:35] <sysmonk> i can't answer you as i don't use saslauthd
[23:54:42] *** robink has quit IRC
[23:54:45] <flami> night then
[23:57:05] <sysmonk> flami: what's good about a proper channel - if i answer wrongly, people may correct me
[23:57:37] <flami> hhr
[23:58:26] <flami> well in here the chances t find more then 20 people who use sasl are quite high though
[23:59:33] <sysmonk> yes, but most of them are only using it like... once per install ? :)

top