April 29, 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

[00:06:26] *** Diamond has joined #postfix
[00:06:31] <Diamond> Helo
[00:06:36] <Diamond> have a simple question
[00:07:57] <Diamond> is it possible to use postfix as mta without having port 25 open to the net ? my isp closed it because they want me to use there relay servers (spam.).
[00:12:34] *** meandtheshell has quit IRC
[00:16:17] <Zerberus> yes
[00:18:14] *** war has quit IRC
[00:21:03] *** [dmp] has quit IRC
[00:23:14] *** KhensU has quit IRC
[00:29:20] *** Mez has joined #postfix
[00:34:25] *** amrit|zzz is now known as amrit
[00:43:47] *** master_o1_master has joined #postfix
[00:45:02] *** xpoint2 has joined #postfix
[00:46:04] *** ma3x has joined #postfix
[00:46:09] <ma3x> hi
[00:46:15] <ma3x> when I send mail to myself ma3x at domain dot com it receives it
[00:46:33] <ma3x> when i send to ma3x2 at domain dot com it wont receive it
[00:46:42] <ma3x> I have /etc/aliases with ma3x2: ma3x
[00:46:47] <ma3x> and it says sent
[00:47:22] <ma3x> but then it says Apr 29 01:02:00 ma3x postfix/smtp[2857]: 462C520348D: to=<ma3x2@debian>, orig_to=<ma3x2 at domain dot com>, relay=none, delay=30, delays=0.08/0.01/30/0, dsn=4.4.1, status=deferred (connect to debian[81.229.73.215]: Connection timed out)
[00:47:36] <ma3x> why does it change to ma3x2@debian?
[00:47:43] <ma3x> that was my hostname before
[00:47:45] <ma3x> now I 've changed it
[00:47:50] <ma3x> why does it still get the old one/
[00:48:14] *** caravena has joined #postfix
[00:51:05] *** hemry_ has joined #postfix
[00:54:27] *** ma3x has quit IRC
[00:56:19] *** Fr0zen_ has joined #postfix
[00:56:26] <Fr0zen_> where can i find the postfix mailbox limit?
[00:56:36] <Fr0zen_> Technical details of permanent failure:
[00:56:36] <Fr0zen_> PERM_FAILURE: SMTP Error (state 12): 552 5.3.4 Error: message file too big
[00:57:34] <Zerberus> man  5 postconf
[00:59:30] *** master_of_master has quit IRC
[01:02:49] *** hemry has quit IRC
[01:03:54] <Fr0zen_> [127.0.0.1] said: 451 4.5.0 Error in processing, id=28111-01, spam_scan FAILED: Out of memory during "large" request for 16781312 bytes, total sbrk() is 523372544 bytes at /usr/local/sbin/amavisd line 1271, <GEN9> line 321542. (in reply to end of DATA command))
[01:04:01] <Fr0zen_> has anyone seen that before with clamav?
[01:05:28] *** Taube is now known as taube
[01:06:34] *** KhensU has joined #postfix
[01:09:27] <cpm> 523372544 bytes ?
[01:09:38] <cpm> that's a pretty big file
[01:10:15] <Fr0zen_> hmm it looks like /var/amavisd/tmp is full with 50-60 16mb files
[01:10:19] <Fr0zen_> can i safetly delete these?
[01:10:20] *** xpoint2 has quit IRC
[01:10:57] <cpm> you might want to stop the amavis process first
[01:11:33] <Fr0zen_> ok, what exactly can be in these files?
[01:14:42] <Diamond> Zerberus : can you tell me how ?
[01:17:39] <Fr0zen_> does amavisd have a startup script somewhere on bsd?
[01:18:24] *** KhensU has quit IRC
[01:22:37] <Zerberus> Diamond: edit master.cf if you like, but don't expect other MTAs to deliver mail to your postfix on that different port
[01:25:48] <caravena> Hello, Message " amavis[7196]: (!!) TROUBLE in pre_loop_hook:
[01:25:48] <caravena>   db_home directory is not writable: /var/lib/amavis/db at
[01:25:48] <caravena>   /usr/sbin/amavisd-new line 6921."
[01:26:21] <Zerberus> cappiz: that message is clear, isn't it?
[01:27:05] *** KhensU has joined #postfix
[01:30:24] <Diamond> Zerberus : but you sayd that its possible to get a working postfix mta ? i heard that it is possible to use the ssl port
[01:30:31] <Diamond> is it also possible with postfix ?
[01:31:56] <Zerberus> i am not sure what you understand by "a  working postfix mta" - yes, it is possible to have TLS or even SMTPS running with postfix
[01:35:17] <Diamond> ok :)
[01:35:28] <Diamond> but is it possible without port 25 open ?
[01:35:49] <Zerberus> SMTPS isn't port 25
[01:36:18] <Zerberus> you can have postfix running at a different port than 25 - but you won't get mail by other mail systems you don't know
[01:39:20] <Diamond> ok thats no good .
[01:39:38] <caravena> http://paste.ubuntu-nl.org/18171/
[01:44:26] *** amrit is now known as amrit|bbl
[01:55:10] *** eltech has joined #postfix
[01:59:47] *** eltech has quit IRC
[02:00:58] *** eltech has joined #postfix
[02:20:00] *** Zeit|idle has joined #postfix
[02:36:47] *** KhensU has quit IRC
[02:37:36] *** KhensU has joined #postfix
[02:39:24] *** eltech has quit IRC
[02:42:14] *** eltech has joined #postfix
[02:42:17] <Fr0zen_> Apr 28 19:46:42 mail amavis[46075]: (46075-02) spam_scan: not wasting time on SA, message longer than 262144 bytes: 901+9817495
[02:42:20] <Fr0zen_> is there a way to change that?
[02:43:43] *** AJ_Z0 has quit IRC
[02:43:46] <Fr0zen_> 27.0.0.1] said: 451 4.5.0 Error in processing, id=46710-01, spam_scan FAILED: Out of memory during "large" request for 16781312 bytes, total sbrk() is 523345920 bytes at /usr/local/sbin/amavisd line 1271, <GEN9> line 321528. (in reply to end of DATA command))
[02:43:48] <Fr0zen_> :(
[02:43:55] *** AJ_Z0 has joined #postfix
[02:48:47] *** KhensU has quit IRC
[02:50:08] *** KhensU has joined #postfix
[02:56:20] <Zerberus> Fr0zen_: first message means that amavis does not test messages with a specific size, as spam is typically small in size
[02:56:36] <Zerberus> you can change that in its configuration - not a postfix topix
[02:56:39] <Zerberus> topic
[02:57:26] <Fr0zen_> i've seen people discussing spamassasin, courier, dovecot, amavisd, etc.. in here. Espacially when it's a bit dead.
[02:57:52] <Fr0zen_> I'm having an issue, someone send me like 30mb of attachments and their filling up my amavisd tmp folder in /var/tmp/amavisd.
[02:58:03] <Fr0zen_> it looks like it's not scanning it and just caching it
[02:58:13] <Fr0zen_> preserving for EDVIDENCE it says
[02:58:32] <Zerberus> mail bombs it seems
[02:58:54] <Zerberus> compressed content which deflates with really big size
[02:59:12] <Fr0zen_> the person who sent it is a family member
[02:59:16] <Fr0zen_> it's not a mail bomb
[02:59:20] <Zerberus> but those bombs normally are small in total size, not 16mb
[02:59:28] <Fr0zen_> it's 5 images 8-8.5mb each
[02:59:49] <Fr0zen_> amavis isnt scanning it because it's over a certain size?
[03:00:13] <Zerberus> it does not route it through spamassassin
[03:00:30] <Fr0zen_> ah
[03:00:41] <Fr0zen_> thats prob making it not deliver to the virtual mailbox
[03:00:47] *** KhensU has quit IRC
[03:00:49] <Fr0zen_> and it's going into /var/amavisd/tmp
[03:01:08] <Fr0zen_> spam_scan FAILED: Out of memory during "large" request for 16781312 bytes, total sbrk() is 523618304 bytes at /usr/local/sbin/amavisd line 1271, <GEN9> line 321629. (in reply to end of DATA command))
[03:01:13] <Fr0zen_> throws that as well
[03:01:20] <Fr0zen_> what would you suggest i do?
[03:02:31] <Zerberus> do not accept mails of that size
[03:03:01] <Fr0zen_> why couldnt I lets say accept emails 100mb in size?
[03:03:16] <Fr0zen_> just not right for a mail server to handle?
[03:03:40] <Zerberus> mail is the wrong media for file transfers
[03:03:59] <Fr0zen_> what should the max attachtment size be?
[03:04:01] <Fr0zen_> 20mb?
[03:04:26] *** KhensU has joined #postfix
[03:04:42] <Zerberus> depends, normally 10mb is sufficient, that is the postfix default
[03:04:56] <Fr0zen_> ahh
[03:05:17] *** xenoterracide has joined #postfix
[03:05:31] <rob0> The 10MB default is common among a lot of large mail providers, I believe.
[03:05:43] <shasta> well
[03:06:06] <shasta> i am accepting larger messages (100MB), but just don't scan them
[03:06:28] <shasta> i see you're using amavis. make use of its $sa_mail_body_size_limit configuration parameter
[03:06:37] *** Tachy has joined #postfix
[03:06:38] <rob0> But, when you try to send those to other sites, they might not be accepted.
[03:07:01] <shasta> then my users will get a bounce, no big deal
[03:07:05] <xenoterracide> anyone in here know exim too... the reason I'm asking is I'm curious as to what commands are equivalent for postfix as I administrate several exim systems. example: exim -bpc how do I do that in postfix?
[03:07:24] <Fr0zen_> shasta, thanks. I will set it to scan messages past 50mb
[03:07:26] <Fr0zen_> i think thats sufficent
[03:07:33] <Fr0zen_> btw, thanks!
[03:07:39] <shasta> spam is usually <256kB
[03:07:56] <Fr0zen_> what about virus scan?
[03:07:59] <xpoint> now spam is over that limit :-)
[03:08:21] <shasta> xpoint, really? haven't noticed (yet?)
[03:08:29] <xpoint> we want to share iso files in mail :-)
[03:08:32] <shasta> Fr0zen_: $sa_mail_body_size_limit is explicitly for SpamAssassin
[03:09:01] <xpoint> shasta, i have my own limit at 512K
[03:09:08] <Fr0zen_> i will set to 1mb just to be safe
[03:09:16] <Fr0zen_> i get some nasty spam from time to time
[03:09:38] <Fr0zen_> $sa_mail_body_size_limit = 256*1024;
[03:09:42] <Fr0zen_> thats my setting
[03:09:43] <xpoint> Fr0zen_, good for image spams
[03:09:47] <Fr0zen_> yep
[03:10:03] *** caravena has quit IRC
[03:10:19] <shasta> (that's 256kB)
[03:10:39] <Fr0zen_> 1024*1024 will work
[03:10:45] <xpoint> 1M
[03:11:13] <xenoterracide> how do I get a queue count in postfix?
[03:11:16] <xpoint> i have put amavisd tmp on tmpfs
[03:11:31] <xpoint> and limit this fs to 512M
[03:11:46] <xpoint> my mail server have 2G ram
[03:11:52] <Fr0zen_> hmm
[03:11:52] <Fr0zen_> Apr 28 20:15:43 mail amavis[47200]: (47200-01) cached 32776241c2098f49b9cb43e50f2598be from <piotrsz5 at vp dot pl> (1,0,0)
[03:11:52] <Fr0zen_> Apr 28 20:15:48 mail amavis[47204]: (47204-01) spam_scan: not wasting time on SA, message longer than 262144 bytes: 1130+9803331
[03:11:59] <Fr0zen_> Apr 28 20:16:18 mail amavis[47204]: (47204-01) TROUBLE in check_mail: spam_scan FAILED: Out of memory during "large" request for 16781312 bytes, total sbrk() is 523362304 bytes at /usr/local/sbin/amavisd line 1271, <GEN9> line 321542.
[03:12:07] <Fr0zen_> why it is scanning it
[03:12:14] <Fr0zen_> Apr 28 20:16:18 mail amavis[47204]: (47204-01) PRESERVING EVIDENCE in /var/amavisd/tmp/amavis-20070428T201540-47204
[03:13:01] <xpoint> Fr0zen_, you have to litte ram free for 256K spam scanning here
[03:13:24] <Fr0zen_> my server has 4gb of ram
[03:13:31] <xpoint> out of mem is not amavisd
[03:13:44] <Fr0zen_> 800mb of ram free
[03:13:52] <Fr0zen_> spamassasin ?
[03:13:53] *** KhensU has quit IRC
[03:13:57] <xpoint> tmp fs ?
[03:14:03] <Fr0zen_> tmp fs?
[03:14:07] <Fr0zen_> not sure what that is
[03:14:19] <Fr0zen_> why doesnt amavisd have a pid file
[03:14:19] <Fr0zen_> grr
[03:14:33] <xenoterracide> tmpfs is a filesytem in ram
[03:14:37] <xenoterracide> it's dynamic
[03:14:38] <xpoint> check that unpack path is not fieled with old files :-)
[03:14:52] *** KhensU has joined #postfix
[03:15:01] <shasta> Fr0zen, it does :)
[03:15:01] <xenoterracide> but you can static it's size
[03:15:26] <Fr0zen_> [root /usr/local/etc/rc.d]> /usr/local/sbin/amavisd-maia stop
[03:15:26] <Fr0zen_> No PID file /var/amavisd/amavisd.pid, can't stop the process
[03:15:42] <xpoint> xenoterracide, yes default is half of the mem the computer have
[03:15:45] <shasta> blame your startup scripts and/or config :)
[03:15:51] <xenoterracide> yes I know
[03:15:55] <xenoterracide> I use it xpoint
[03:16:00] <shasta> $ cat /var/lib/amavis/amavisd.pid
[03:16:00] <shasta> 1649
[03:16:03] <Fr0zen_> so i need to increase mem in spamassasin?
[03:16:12] <Fr0zen_> in order to stop the errors?
[03:16:20] <Fr0zen_> i set 1024*1024 in amavisd.conf
[03:16:23] <xpoint> Fr0zen_, no you have to find the real problem :)
[03:16:37] <Fr0zen_> mmm kay
[03:16:49] <shasta> Fr0zen, maybe your OS sets some limits on memory allocation per-user or per-process
[03:16:55] <Fr0zen_> nah
[03:17:00] <xpoint> amavis say out of mem, find why
[03:17:08] <Zerberus> Fr0zen_: read the maia wiki about the different (think they are 3) mail size settings
[03:18:45] *** Tachy_ has quit IRC
[03:19:03] <shasta> http://www.renaissoft.com/pipermail/maia-users/2006-December/008590.html
[03:19:11] <shasta> doesn't seem to have a solution, though
[03:19:49] <Fr0zen_> thats exactly my issue
[03:20:20] * xpoint have 24 c64 pics that looks nice, well commodore 64 still rules btw :-)
[03:21:34] <Zerberus> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-kernel-limits.html
[03:22:24] <xenoterracide> anyone know of any good docs on learning the basics of postfix or from exim to postfix?
[03:23:31] <xpoint> xenoterracide, amazon.com search for postfix
[03:24:15] <xenoterracide> that's wonderfully helpful
[03:24:33] <xenoterracide> I could just read the o'reilly book I already have access to
[03:24:38] <xpoint> or just search for Ralf Hilderbrandt
[03:24:56] <Zerberus> "FreeBSD limits the size of a process to 512MB, even if you have much more RAM available on the system."
[03:25:50] <xpoint> Zerberus, but Fr0zen_ have problems in 256K area
[03:26:03] <xenoterracide> meh
[03:26:31] *** xenoterracide has left #postfix
[03:27:43] <Zerberus> sparkleytone: no, he gets a huge 16mb mail through: spam_scan FAILED: Out of memory during "large" request for 16781312 bytes
[03:28:28] <Zerberus> he said someone known sends mails with huge image attachments
[03:28:58] <xpoint> in one mail ?
[03:29:01] <Zerberus> his whole amavis/maia process exceeds the 52 MB limit
[03:29:52] <Zerberus> xpoint: "I'm having an issue, someone send me like 30mb of attachments and their filling up my amavisd tmp folder in /var/tmp/amavisd."
[03:29:57] <xpoint> each mail should not contain more data then 8M without spliting the mail in more parts, but the real problem can be multipart scanning in amavisd
[03:31:42] <xpoint> postfix should lower the limits so
[03:31:59] <xpoint> defaults is 50M
[03:32:55] <xpoint> the 16M was one single mail ?
[03:33:26] <xpoint> why did his postfix accept this ?
[03:33:51] <Zerberus> xpoint: guess he set his limit high to 100mb
[03:34:08] <Zerberus> see the past discussion
[03:34:22] <xpoint> yes he can now hopefully see the problem in doing so :-)
[03:36:26] <Fr0zen_> im back guys
[03:36:32] <Fr0zen_> i changed it to 1024*1024
[03:36:46] <xpoint> Fr0zen_, but this is not the problem
[03:36:47] <Fr0zen_> restarted amavisd
[03:36:48] <Fr0zen_> i know
[03:37:00] <Fr0zen_> you guys suggest i set postfix to bounce emails larger then 20mb?
[03:37:34] <xpoint> the above size is limit how much you want to have spamassassin to scan for spam
[03:37:47] <Fr0zen_> and what if the emails exceeds that size?
[03:37:50] <Fr0zen_> it's skipped correct?
[03:37:56] <Fr0zen_> why does amavisd throw the mem error?
[03:38:08] <xpoint> Fr0zen_, postfix have default at 10M
[03:38:28] <Fr0zen_> so thats causing amavisd to stop?
[03:38:34] <xpoint> yes
[03:38:39] <Fr0zen_> ah
[03:38:49] <Zerberus> Fr0zen_: a
[03:38:58] <xpoint> you recived on single mail at 16M
[03:39:24] <Zerberus> sorry, maia throws the error as the whole process exceeds the default 512mb limit
[03:39:35] <xpoint> make sure amavisd can handle this or set postfix back to default mail sizes
[03:39:37] <Fr0zen_> why would it use 512mb when scanning a 30mb email?
[03:40:19] <Zerberus> maia / amavisd is a perl programm which loads a lot of modules and helpers
[03:40:49] <Fr0zen_> ah
[03:41:00] <Fr0zen_> zerbeus, i dont think i modified my postfix limit
[03:41:30] <Zerberus> postconf -n | grep size
[03:41:41] <Fr0zen_> [root /usr/local/etc/postfix]> postconf -n | grep size
[03:41:42] <Fr0zen_> virtual_create_maildirsize = yes
[03:41:50] <Fr0zen_> i use virtual users
[03:41:52] <Fr0zen_> with mysql
[03:41:58] <Zerberus> compare it with: postconf -d | grep size
[03:42:15] <xpoint> Fr0zen_, this is qouta
[03:42:36] <Zerberus> if you haven't modified the max message size limit of 10 mb, then a mail of 16mb size wouldn't get accepted
[03:42:53] *** KhensU has joined #postfix
[03:42:54] *** KhensU has quit IRC
[03:43:06] <Fr0zen_> this email is like 50mb
[03:43:13] <Fr0zen_> 5 images x 9mb
[03:43:14] <Fr0zen_> bounce_size_limit = 50000
[03:43:14] <Fr0zen_> header_size_limit = 102400
[03:43:14] <Fr0zen_> mailbox_size_limit = 51200000
[03:43:14] <Fr0zen_> message_size_limit = 10240000
[03:43:44] <xpoint> Fr0zen_, then postfix should have reject it
[03:43:56] <Fr0zen_> it didnt
[03:44:01] <Fr0zen_> so back to mai
[03:44:03] <Fr0zen_> *maia
[03:44:08] <Fr0zen_> it should scan past 256kb
[03:44:13] <Fr0zen_> it says it skips it
[03:44:26] <Fr0zen_> then it throws errors and add everything to /var/amavisd/tmp
[03:44:27] <Fr0zen_> why?
[03:45:07] <xpoint> no maia/spamassassin should not scan past 256K mails unless there is image spams that do not get cut
[03:46:15] <Fr0zen_> hmmm
[03:46:18] <Fr0zen_> well this is odd then
[03:47:04] <xpoint> you have to limit spamassassin ram usage
[03:47:26] <Fr0zen_> $sa_mail_body_size_limit = 256*1024;
[03:47:29] <Fr0zen_> is what i have set
[03:47:30] <xpoint> and use postfix defaults for *size*s
[03:47:36] <Fr0zen_> i am using the defaults
[03:47:41] <Fr0zen_> this makes no sense to me
[03:47:42] <Zerberus> Fr0zen_: please read the docs - http://www.maiamailguard.com/maia/wiki/SizeLimit
[03:49:02] <Fr0zen_> let me check it out. I havent had this problem before, this one email seemed to have done it
[03:49:09] <Fr0zen_> thx for the help guys
[03:49:16] <Fr0zen_> it's odd i havent noticed this sooner.
[03:49:25] <Fr0zen_> i guess i havent gotten 40mb emails yet
[03:49:50] <xpoint> none should be allowed to send it
[03:50:10] <Fr0zen_> someone from overseas isp (onet.pl) sent 5 large images via email
[03:50:21] <Fr0zen_> it seems to be in postfix's queue
[03:50:31] <Fr0zen_> everytime it's run maia puts it in /tmp
[03:50:32] <shasta> (onet.pl is one of the biggest "free" email providers here in Poland)
[03:50:34] <Fr0zen_> ya
[03:51:09] <xpoint> Fr0zen_, complain goes to them then :-)
[03:52:08] * xpoint will have a cop of hot coffie now
[03:52:29] <Fr0zen_> i looked thru the docs, all of my settings are on par with that
[03:54:10] <shasta> (onet.pl free email service limits every message to 10MB)
[03:54:36] <Fr0zen_> hmm
[03:54:39] <Fr0zen_> check this
[03:56:01] <xpoint> so Fr0zen_ got a forged mail sent from a user with onet.pl as email just not sent with onet.pl as smtp ?
[03:56:23] <shasta> not necessarily forged
[03:56:31] <Fr0zen_> no it's not forged
[03:56:32] <shasta> onet.pl offers commercial accounts as well
[03:56:35] <Fr0zen_> i know the person who sent it
[03:57:03] <Fr0zen_> even 10mb emails get caught now
[03:57:04] <Fr0zen_> grr
[03:57:34] <Fr0zen_> 6.5mb email
[03:57:35] <xpoint> Fr0zen_, ah okay, free email is limmited to 10M but commercial is 100M ? :)
[03:57:36] <Fr0zen_> same loop
[03:57:51] <Fr0zen_> not sure xpoint, i dont use onet.pl, i know the person who sent it tho.
[03:58:12] <shasta> xpoint, 20MB
[03:58:35] <xpoint> shasta, there we go, he recieved 16M problem
[03:58:40] <Fr0zen_> http://pastebin.ca/463685
[03:59:31] <Fr0zen_> that email is 6.5mb
[04:00:31] <Zerberus> Fr0zen_: increase your freebsd memory limit if you run mail checks with the tools you do now
[04:00:57] <Zerberus> given you have enough real RAM
[04:01:06] <Fr0zen_> i do, why is it using more then 512mb per process?
[04:01:11] <Fr0zen_> this is a 6.5mb email
[04:01:38] <xpoint> Fr0zen_, but amavisd asked for 16M mem
[04:02:02] <xpoint> with did fail as you see
[04:02:28] <xpoint> check limits on amavis user
[04:02:31] <shasta> xpoint, not really, man sbrk :)
[04:02:43] <xpoint> su amavis ulimit -a
[04:03:37] <Fr0zen_> whatever that is :0
[04:03:43] <xpoint> shasta, amavis user have limit to much
[04:03:50] <Fr0zen_> ulimit looks like a bulitin
[04:03:58] <shasta> xpoint: [03:24:56] < Zerberus> "FreeBSD limits the size of a process to 512MB, even if you have much more RAM available on the system."
[04:04:01] <xpoint> for a 4GB mail server :-)
[04:04:09] <shasta> "total sbrk() is 532023296 bytes"
[04:04:28] <Fr0zen_> postfix is set to stop at 16mb
[04:04:33] <Fr0zen_> yet maia still tries to scan 50mb emails
[04:04:36] <Fr0zen_> odd.
[04:04:45] <Fr0zen_> i changed it to 256*1024 to in both maia and amavisd
[04:04:49] <Fr0zen_> still an issue
[04:04:59] <Fr0zen_> i shouldnt have to increase process memory on a 2 person mail server
[04:05:02] <Fr0zen_> thatd absured
[04:06:08] <Zerberus> then check your maia install what it loads and where the memory goes
[04:06:16] <Zerberus> not a postfix problem
[04:06:39] <shasta> Fr0zen, what's your kern.maxdsiz and kern.dfldsiz sysctls?
[04:07:05] <Fr0zen_> both default
[04:07:20] <xpoint> and defaults is ?
[04:07:33] <Fr0zen_> 512mb i believe
[04:10:16] <shasta> sorry, i can't help you more. i'm not experienced with either fbsd or maia
[04:12:46] <Fr0zen_> hey no worries
[04:12:48] <Fr0zen_> thanks anyway tho
[04:12:53] <Fr0zen_> i will play with it more
[04:13:50] <xpoint> Fr0zen_, maybe freebsd is just not upto the problem and you need another linux in the room ? :-))
[04:19:04] <Fr0zen_> definetly not
[04:19:17] <xpoint> just joking
[04:19:21] *** doomas has joined #postfix
[04:19:22] <Fr0zen_> i prefer freebsd over linux for servers to be honest. I run Ubuntu on a few laptops.
[04:19:30] <Fr0zen_> it's sick!
[04:19:44] <xpoint> i agre on ubuntu
[04:21:20] <Fr0zen_> whois jpalmer
[04:21:23] <Fr0zen_> oops
[04:23:52] <xpoint> Fr0zen_, ubuntu 7.x server should come soon, maybe it just not that bad :-)
[04:31:35] *** doomas_ has quit IRC
[04:32:40] *** bugz_ has joined #postfix
[04:46:02] *** hemry_ has quit IRC
[04:51:50] <xpoint> Fr0zen_, my first mail server was buildt on freebsd 4.9 installed from 2 floppy disks
[04:53:47] <dj-fu> xpoint: it's already out
[04:54:02] <dj-fu> I've the iso sitting right here. Haven't rolled it into production, though.
[04:54:21] <xpoint> iso what :-)
[04:54:37] <xpoint> who needs that
[04:55:27] <xpoint> i tryed freenas it is a iso nas server buildt on freebsd but i have not got it to work :(
[04:56:19] *** confound has quit IRC
[04:57:06] *** mjoseph has quit IRC
[05:01:42] *** dj-fu has quit IRC
[05:01:55] *** mjoseph has joined #postfix
[05:05:50] *** dj-fu has joined #postfix
[05:06:32] <Fr0zen_> im used to freebsd
[05:06:37] <Fr0zen_> it has many goodies coming out in 7.0
[05:06:42] <Fr0zen_> i will stick with ubuntu for the desktop
[05:06:47] <Fr0zen_> for now at least
[05:14:19] <dj-fu> I wouldn't run ubuntu as a desktop
[05:14:22] <dj-fu> It's bloatware.
[05:18:01] *** KhensU has joined #postfix
[05:21:34] <Fr0zen_> not anymore bloated then osx or vista
[05:21:44] <Fr0zen_> i love gui goodies, it's perfect for that.
[05:24:01] *** Motoko-chan has joined #postfix
[05:41:17] <xpoint> all is offtopic
[05:50:06] *** xpoint has quit IRC
[06:00:30] *** Tinozaure is now known as Tino
[06:00:30] *** Tino is now known as Tinozaure
[06:22:44] *** jpon has quit IRC
[06:55:12] *** misc-- has quit IRC
[06:55:42] *** sifusam has joined #postfix
[07:10:48] *** misc-- has joined #postfix
[07:41:11] *** hachiya has joined #postfix
[07:59:43] *** sifusam has left #postfix
[08:08:39] *** jbt has joined #postfix
[08:21:34] <misc--> can I use virtual transport maps and transport maps at the same time? I would like it to check its transport maps file and then fall back onto virtual transport maps (unless I can create a virtual transport map with the same flexibility as normal transport maps)?
[08:32:09] *** rmayorga has joined #postfix
[08:42:13] *** rmayorga has quit IRC
[08:48:44] *** jbt has quit IRC
[09:03:38] *** amrit|bbl is now known as amrit|zz
[09:03:41] *** amrit|zz is now known as amrit|zzz
[09:13:56] *** af_ has joined #postfix
[09:41:08] *** nitbix has quit IRC
[09:45:03] *** misc-- has quit IRC
[09:51:48] *** f3ew has quit IRC
[09:52:09] *** f3ew has joined #postfix
[09:58:09] *** smesjz has joined #postfix
[09:58:18] <smesjz> moin sleepy ones
[10:10:10] *** af_ has quit IRC
[10:26:27] *** af_ has joined #postfix
[10:32:29] *** war has joined #postfix
[10:35:41] *** mazon is now known as Mazon
[10:38:16] *** Motoko-chan has quit IRC
[10:45:28] *** af_ has quit IRC
[10:49:22] *** GMFlash has quit IRC
[10:49:28] *** GMFlash has joined #postfix
[10:51:56] *** MrRagga has joined #postfix
[11:09:46] *** meandtheshell has joined #postfix
[11:24:58] *** aluchko has quit IRC
[11:28:45] *** taube is now known as Taube
[11:35:27] *** redondos_ has joined #postfix
[11:43:09] *** redondos has quit IRC
[11:43:09] *** redondos_ is now known as redondos
[12:05:06] *** devdas has joined #postfix
[12:21:12] *** pirho has joined #postfix
[12:34:09] *** frennkie has joined #postfix
[13:13:59] *** rootsvr has joined #postfix
[13:16:24] *** rootsvr has quit IRC
[13:16:26] *** cpm has quit IRC
[13:21:41] *** confound has joined #postfix
[13:47:12] *** war has quit IRC
[14:03:54] *** frennkie has quit IRC
[14:17:29] <Diamond> Hi :)
[14:20:13] <Diamond> Zerberus : i asked you last night for a sollution for my postfix can you tell me if i can resieve mail from other mta's with port 25 closed to the net ? or can you tell me whats the meaning of "kpn" there relay server ? (i heard that it is possible to use only the tls port with exim4 is it also possible with postfix) ?
[14:21:46] <shasta> you can't
[14:22:13] <shasta> well, you can use only smtps, but that'll prevent other MTAs from delivering mail to you
[14:23:02] <Diamond> ok.
[14:23:10] <Diamond> so its not possible with postfix?
[14:24:00] <Zerberus> Diamond: public MTAs will always try port 25 of the other MTA to deliver to - unless there is a specific setup for known communication partners
[14:24:26] <Zerberus> Diamond: if your ISP blocks port 25 completely it makes no sense to try to bypass this
[14:25:57] <Zerberus> Diamond: you can setup postfix to use only TLS, of course
[14:26:06] <Zerberus> but that will not change the port
[14:29:31] *** devdas has left #postfix
[14:31:07] *** tchmnkyz has joined #postfix
[14:33:34] *** war has joined #postfix
[14:34:01] <tchmnkyz> hey all, i am looking for a way in postfix, example right now i use vendors-<compan name> at domain dot tld (with qmail) how would this be accomplished in postfix. like i have one alias for anything vendors- email addresses...
[14:37:18] <tchmnkyz> is this a possability
[14:37:20] <shasta> man 5 postconf
[14:37:24] <shasta> see "recipient_delimiter"
[14:37:32] <Zerberus> tchmnkyz: http://www.postfix.org/ADDRESS_REWRITING_README.html
[14:38:49] <tchmnkyz> rgr
[14:44:43] <tchmnkyz> ok now help me understand this...
[14:46:10] <tchmnkyz> i use a mysql virtual setup and i use - as the delimiter and i want a catchall bassically with vendors-* at domain dot tld my entry can it be address:"vendors- at domain dot tld" to:"where at domain dot tld" correct?
[14:46:53] *** jpon has joined #postfix
[14:47:31] *** rcsudo has joined #postfix
[14:47:34] *** af_ has joined #postfix
[14:47:41] *** rcsu has quit IRC
[14:49:07] <shasta> vendors at domain dot tld, no '-'
[14:49:21] <tchmnkyz> ok
[14:49:56] <tchmnkyz> but wont that just accept vendors@ instead of vendors-<company>@
[14:52:54] *** war has quit IRC
[14:53:15] <shasta> it should accept both, if recipient_delimiter is set to '-', IIRC
[14:53:22] *** war has joined #postfix
[14:53:35] <shasta> can't you just try it? :)
[14:55:38] <tchmnkyz> it is
[14:55:39] <tchmnkyz> ok
[14:55:44] <tchmnkyz> i just wanted to check
[14:55:53] <tchmnkyz> i am trying it now
[14:58:19] *** eltech has quit IRC
[15:04:13] *** hemry has joined #postfix
[15:11:34] *** eltech has joined #postfix
[15:13:43] <Mez> how can I setup postfix to say
[15:13:57] <Mez> all email for "thekatapult.org.uk" should be treated as for "thekatapult.net"
[15:14:08] <tchmnkyz> address rewriteing
[15:14:25] <shasta> http://www.postfix.org/ADDRESS_REWRITING_README.html
[15:14:40] <Mez> tchmnkyz, I have address rewriting for each, but I dont want to have to setup a rewrite for each account
[15:19:58] <Mez> I mean, you can easily rewrite addresses for individual addresses, but for whole domains?
[15:34:37] <tchmnkyz> is there anyway i can see the contents of a msg in the mail queue
[15:35:42] *** VolVE-mk2 is now known as VolVE
[15:40:05] *** devdas has joined #postfix
[15:42:04] *** VolVE has quit IRC
[15:50:36] *** xpoint has joined #postfix
[15:50:49] *** frennkie has joined #postfix
[15:51:23] *** AJ_Z0 has quit IRC
[15:51:42] *** AJ_Z0 has joined #postfix
[15:54:28] *** higuita has joined #postfix
[16:00:34] *** dj-fu has quit IRC
[16:01:13] <sysmonk> tchmnkyz: postcat -q QUEUE_ID
[16:03:04] <tchmnkyz> thnx
[16:04:29] <smesjz> otherwise install pfqueue a nice tool to look at the queue
[16:08:21] <sysmonk> never used it, but pflogsumm is great
[16:08:21] <sysmonk> ;)
[16:08:40] <sysmonk> (i don't know if it has the same author or not, just the pf* name is the same)
[16:10:33] <devdas> no
[16:12:51] *** stony has joined #postfix
[16:13:21] <stony> hi
[16:31:16] *** Ryushin has quit IRC
[17:10:24] *** Lap_64 has joined #postfix
[17:20:50] *** Mavvie has quit IRC
[17:21:03] *** Mavvie has joined #postfix
[17:27:43] *** rmayorga has joined #postfix
[17:30:30] *** magyar has joined #postfix
[17:53:12] *** echelog has joined #postfix
[17:54:26] *** Mazon is now known as mazon
[17:56:00] *** mazon is now known as Mazon
[18:05:40] *** sepski has joined #postfix
[18:09:05] *** _Brandon_ has joined #postfix
[18:09:43] <_Brandon_> hi, is there a way to map mydestination with ldap?
[18:10:12] <devdas> mydestination = ldap:/etc/postfix.ldap-mydestination
[18:11:59] <_Brandon_> ok, and then that file should be like ldap-aliases.cf?
[18:13:45] <devdas> yes
[18:14:22] <_Brandon_> ok thanks
[18:25:36] <Fr0zen_> anyone here on bsd use amavisd from ports?
[18:27:48] <tchmnkyz> nop
[18:27:55] <tchmnkyz> i use dspam
[18:32:04] *** af_ has quit IRC
[18:35:46] <tchmnkyz> i am having a problem with my new install
[18:35:55] <tchmnkyz> Apr 29 11:32:47 newinst postfix/smtp[20471]: 2F36BB743B5: to=<jeremy at rootsrvices dot net>, relay=none, delay=0.03, delays=0.03/0/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=rootsrvices.net type=A: Host not found)
[18:36:07] <tchmnkyz> but rootservices.net is the domain on the local box
[18:38:07] <_Brandon_> tchmnkyz: it lookups for the dns record
[18:38:44] <tchmnkyz> nm
[18:38:51] <tchmnkyz> i misstyped
[18:38:52] <tchmnkyz> sorry
[18:39:24] *** _Brandon_ has quit IRC
[18:47:56] *** stony_ has joined #postfix
[18:52:33] *** cilly has joined #postfix
[18:59:28] *** frennkie has quit IRC
[19:00:36] *** Lap_64 has quit IRC
[19:02:41] *** Lap_64 has joined #postfix
[19:04:15] *** stony has quit IRC
[19:10:33] *** zamez has joined #postfix
[19:10:55] <zamez> hi
[19:11:06] <tchmnkyz> hi
[19:11:37] <zamez> I want to send all mail from my machine via a different machine using authenticated smtp
[19:11:59] <zamez> my isp firewalls 25, so I want to use 465
[19:12:16] <zamez> I tried this:
[19:12:29] <zamez> relayhost = [semichrome.net]:465
[19:12:33] <zamez> smtp_sasl_auth_enable = yes
[19:12:33] <zamez> smtp_sasl_security_options =
[19:12:33] <zamez> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
[19:12:51] <zamez> but the result is:
[19:13:01] <zamez> Apr 29 11:52:10 zamez postfix/smtp[6099]: 697B53039EE4D: to=<james at zamez dot org>, relay=semichrome.net[62.197.33.225]:465], delay=1491, delays=1191/0.14/300/0, dsn=4.4.2, status=deferred (conversation with semichrome.net[62.197.33.225] timed out while receiving the initial server greeting)
[19:14:35] <tchmnkyz> let me guess you got sbc/att
[19:15:32] <zamez> yes
[19:15:43] <tchmnkyz> call them up and tell them to unblock that shit
[19:15:48] <tchmnkyz> they will do it on request
[19:15:58] <tchmnkyz> you have to ask for thier second level support
[19:16:03] <tchmnkyz> the initial guys wont do it
[19:17:49] <zamez> ok
[19:17:54] <zamez> I'll try that
[19:18:03] <zamez> but I'm still curious if this can be done using postfix
[19:18:08] <tchmnkyz> not sure
[19:18:10] <tchmnkyz> never done it
[19:18:11] <tchmnkyz> lol
[19:18:22] <tchmnkyz> the other option you have a dedicated server somewhere right
[19:18:29] <tchmnkyz> with some free ips
[19:18:56] <tchmnkyz> (free meaning your not using them...
[19:18:59] <tchmnkyz> )
[19:19:27] <tchmnkyz> cuz you could always tunnel to that server
[19:19:28] <tchmnkyz> lol
[19:19:33] <tchmnkyz> i have done that b4
[19:19:58] <tchmnkyz> they only really block 25
[19:20:07] <zamez> yes, I have a server somewhere
[19:20:52] <tchmnkyz> tunnel and use that real ip on your network
[19:20:52] <tchmnkyz> lol
[19:21:02] <tchmnkyz> hell run all your web shit over that ip too
[19:24:11] *** aluchko has joined #postfix
[19:35:58] *** noetik has joined #postfix
[19:40:59] *** rmayorga has quit IRC
[19:55:08] *** rcsudo is now known as rcsu
[20:02:44] *** sepski has quit IRC
[20:03:24] *** Mr_Sako has joined #postfix
[20:04:15] *** noetik has quit IRC
[20:05:15] <Mr_Sako> when trying to send mail to an account on my mail server, i get this error on postfic saying stuff "possible alias database loop for webmaster" this is when i tried to email sales, and i guess an alias that i didnt realise that i had set was sending it to webmaster, in any case the mail couldnt be send and i get a return to sender. How do i fix this problem?
[20:05:58] <Fr0zen_> any amavisd guys here?
[20:06:00] *** zamez has left #postfix
[20:07:50] <higuita> Mr_Sako: check the your aliases files and see what is delivering to webmaster
[20:08:33] <higuita> then check where webmaster is delivering, probably to webmaster (a loop) or to another email that will be delivered to webmaster (a longer loop)
[20:08:52] <higuita> check the log also to seen better what is happening
[20:08:59] <Mr_Sako> ok i get it, so an alias is sending sales to webmaster and webmaster has an alias going ot sales or something?
[20:09:14] <higuita> yes, something like that
[20:10:30] <Mr_Sako> if i comment out an alias, ie sales:  postmaster then sales will just go to sales right?
[20:10:33] <higuita> postfix is complaining about a loop, you must check exactly what you setup postfix to do... he is just following your orders and detected a message that it alread processed being processed again
[20:11:02] <Mr_Sako> i didn't realise there were so many preset aliases and i think i found the problem im about to test it
[20:11:05] <higuita> yes, the sales@ email will be delivered to the sales user
[20:14:50] <Mr_Sako> I changed all aliases in that file which involved sales and took them out, (and reloaded postfix) i'm still getting the same problem
[20:15:00] <berkel> sorry...i has configured my postifx as this wiki say...http://wiki.apache.org/spamassassin/IntegratePostfixViaSpampd
[20:15:12] <berkel> but now i have this problem...
[20:15:22] <berkel> Apr 29 20:13:56 linuxserv postfix/smtp[8987]: D24EF1E816: to=<fabio at localhost dot ufficio>, orig_to=<fabio@localhost>, relay=none, delay=492, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
[20:15:25] <berkel> why?
[20:17:09] <berkel> the alias file must be contain this lines
[20:17:11] <berkel> user1:  spamking
[20:17:22] <Mr_Sako> nevermind stupid me, i didn't read the part of the file saying i need to run newaliases for changes to take affect
[20:17:26] <Mr_Sako> it works now, thanks
[20:17:34] <berkel> user1 is my user....spamking is a folder?
[20:18:06] <smesjz> berkel: did you start spamd?
[20:18:12] <berkel> yes
[20:18:46] <berkel> linuxserv:/home/fabio # service spamd restart
[20:18:47] <berkel> Shutting down spamd                                                   done
[20:18:47] <berkel> Starting spamd                                                        done
[20:19:20] *** sirion2 has joined #postfix
[20:19:22] <sirion2> hi
[20:19:44] <sirion2> i'v a problem with local and virtual user
[20:20:10] <tchmnkyz> ok
[20:20:14] <tchmnkyz> so ask the question
[20:20:25] <sirion2> if i don't put $mydomain in $mydestination, the local_reciptient_map reject the local user send
[20:20:33] <sirion2> "user unknown"
[20:21:03] <sirion2> and if i put the $mydomain in $mydestination, virtual user can't send
[20:21:14] <sirion2> (sorry, but my english are bad)
[20:22:23] <tchmnkyz> np
[20:22:52] <sirion2> i paste the main.cf ?
[20:25:11] <sirion2> warning: do not list domain domain.org in BOTH mydestination and virtual_mailbox_domains
[20:25:31] <sirion2> i'v this when $mydestination have $mydomain
[20:25:44] <sirion2> and all virtual user are unknown
[20:31:12] <berkel> smesjz: can you help me 2 minuts?
[20:35:17] <berkel> tchmnkyx: can you help me?
[20:35:32] <berkel> i use this wiki http://wiki.apache.org/spamassassin/IntegratedSpamdInPostfix now...
[20:35:35] <berkel> and it works..
[20:36:01] <sirion2> someone have idea to use the same domain fort local user and virtual user ?
[20:36:02] <berkel> but how can i set postfix to use procmail for delivery mail?
[20:36:27] <berkel> not...sorry :(
[20:38:11] <berkel> please anyone help me!!
[20:38:35] <sirion2> i can"t...
[20:38:52] *** hparker has joined #postfix
[20:40:32] <devdas> !standard
[20:40:33] <knoba> devdas: 'standard' : Your question is probably answered in http://www.postfix.org/STANDARD_CONFIGURATION_README.html
[20:40:39] <devdas> sirion2: see that document
[20:43:58] <sirion2> "Do not list the.backed-up.domain.tld in virtual_mailbox_domains."
[20:44:02] <sirion2> :(
[20:44:30] <devdas> See the some_local section
[20:45:20] *** rmayorga has joined #postfix
[20:46:10] <berkel> devdas: can you help me?
[20:47:09] <devdas> berkel: too tired
[20:47:15] <devdas> ask postfix-users at postfix dot org
[20:47:16] <devdas> sorry
[20:49:10] <sirion2> i will go to use virtual user onl
[20:49:12] <sirion2> y
[20:53:31] *** daqqal has joined #postfix
[20:54:56] *** pirho has quit IRC
[21:03:33] *** devdas has quit IRC
[21:12:21] *** eltech has quit IRC
[21:26:13] *** eltech has joined #postfix
[21:30:10] *** phl4kx has joined #postfix
[21:35:41] *** danielss89 has joined #postfix
[21:35:43] <danielss89> hi
[21:35:53] <danielss89> ive just installed postfix on my etch server..
[21:36:01] <danielss89> how do i recieve mail for "kontakt at damgaarden dot eu"
[21:36:19] *** stony_ is now known as stony
[21:42:19] <shasta> !basic
[21:42:20] <knoba> shasta: 'basic' : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here.
[21:42:26] <shasta> danielss89: ^^^^
[21:45:12] <danielss89> shasta ive tryied to pipe mails to a php script
[21:45:25] <danielss89> ive added this to my alias file
[21:45:33] *** rmayorga has quit IRC
[21:45:42] <danielss89> test at potterskolen dot dk: "|/var/www/potterskolen/mail.php"
[21:48:39] <danielss89> but when im sending mail to the adress i just get a mail back
[21:48:39] <danielss89> Technical details of permanent failure:
[21:48:40] <danielss89> PERM_FAILURE: SMTP Error (state 9): 550 5.1.1 <test at potterskolen dot dk>: Recipient address rejected: User unknown in local recipient table
[21:48:58] <danielss89> whats wrong here shasta?
[21:49:52] <shasta> pastebin your postconf -n
[21:49:52] <shasta> btw, man 5 aliases
[21:49:52] <shasta> it's for local recipients
[21:52:35] *** Zeit|awy has joined #postfix
[21:56:22] *** frennkie has joined #postfix
[21:57:26] *** rmayorga has joined #postfix
[21:58:29] *** Zeit|idle has quit IRC
[21:59:50] <danielss89> ahh ive got it to work now shasta .. now i just wonder.. can i forward all emails to this script and can i recieve emails for more that one domain?
[22:02:12] *** vu_ has joined #postfix
[22:05:56] <sysmonk> what does 'gage' mean in IT termins?
[22:06:32] *** vu__ has joined #postfix
[22:17:47] <hparker> !backscatter
[22:17:48] <knoba> hparker: 'backscatter' : http://www.postfix.org/BACKSCATTER_README.html
[22:20:06] *** vu_ has quit IRC
[22:22:55] *** xpoint has quit IRC
[22:23:03] *** xpoint has joined #postfix
[22:27:31] *** danielss89 has quit IRC
[22:31:36] *** Mazon is now known as mazon
[22:42:53] *** _nalle has quit IRC
[22:45:28] *** _nalle has joined #postfix
[22:49:23] *** GMFlash has quit IRC
[22:49:29] *** GMFlash has joined #postfix
[22:50:12] *** phl4kx has quit IRC
[22:50:30] *** sirion2 has left #postfix
[23:09:04] *** phl4kx has joined #postfix
[23:11:04] *** frennkie has quit IRC
[23:12:09] *** dj-fu has joined #postfix
[23:17:51] *** hparker has quit IRC
[23:28:59] *** hparker has joined #postfix
[23:50:15] *** phl4kx has quit IRC
[23:59:29] *** berkel has quit IRC

top