[00:00:17] *** ToreadorVampire has quit IRC [00:00:17] *** pirho has joined #postfix [00:03:52] *** lunaphyte has quit IRC [00:05:35] *** carl- has quit IRC [00:06:19] *** shinao1 has quit IRC [00:20:57] *** lunaphyte has joined #postfix [00:26:48] *** gutocarvalho has quit IRC [00:36:20] *** hparker has quit IRC [00:50:20] *** Southron has left #Postfix [00:54:22] *** jense has quit IRC [00:56:12] *** radius has quit IRC [00:56:57] *** m0f0x has quit IRC [01:02:49] *** war9407 has quit IRC [01:09:56] *** Deddi has quit IRC [01:15:10] *** saurabhb has joined #postfix [01:17:08] *** hparker has joined #postfix [01:18:57] *** radius has joined #postfix [01:22:46] *** rmr-f has quit IRC [01:22:59] *** cilquirm has quit IRC [01:23:20] *** rmr-f has joined #postfix [01:24:06] *** deadpigeon has quit IRC [01:25:14] *** Tykling has left #postfix [01:25:25] *** RickRoss has quit IRC [01:25:31] *** RickRoss has joined #postfix [01:29:37] *** skyweb has quit IRC [01:30:45] *** loddafnir has quit IRC [01:48:30] *** devilbues has joined #postfix [01:49:40] <devilbues> Hi, can anybody help me? I would like to setup multiple instances of postfix to send outbound mail from different ips [01:51:19] *** cilquirm has joined #postfix [01:55:27] *** ming_zym has joined #postfix [01:59:41] <cafuego> A single postfix can run multiple daemons on multiple IPs. I don't know how you can tell it to send which domains via which IP, though. [02:12:47] *** githogori has quit IRC [02:17:41] *** devilbues has quit IRC [02:39:37] *** eanxgeek has quit IRC [02:41:34] *** roe has joined #postfix [02:41:34] *** i_ate_god has joined #postfix [02:43:03] *** pitakill has joined #postfix [02:44:40] <i_ate_god> I've been searching google for a while now, haven't really found any solutions to this predicament (maybe not searching properly though). I'm running Cyrus/sasl/mysql/postfix together on FreeBSD 6.3 . Postfix is having issues (imap is fine). I keep getting this in my logs: postfix/smtpd[24285]: fatal: open database /etc/postfix/aliases.db: Invalid argument [02:44:59] <i_ate_god> not sure if that's whats preventing me from logging in via smtp, but it does seem to be of concern [02:45:49] <i_ate_god> postfix was compiled I believe with BerkleyDB v42 [02:48:41] <i_ate_god> yeah it was: Compiled against Berkeley DB: 4.2.52? [02:56:25] *** pirho has quit IRC [02:56:30] *** cilquirm has quit IRC [03:06:22] *** cilquirm has joined #postfix [03:11:49] *** tshine has quit IRC [03:23:14] *** timotiCK has joined #POSTFIX [03:28:11] *** Motoko-chan has joined #postfix [03:29:21] *** tshine has joined #postfix [03:35:24] *** verywiseman has quit IRC [03:35:35] *** verywiseman has joined #postfix [03:36:29] <timotiCK> I'm having mail delay problems...........email senders to my postfix server is being timed out and some are getting their mail delayed. [03:37:46] <growltiger> telnet yourserver 25 and see whats up [03:40:01] <growltiger> !basic [03:40:02] <knoba> growltiger: "basic" : http://www.postfix.org/BASIC_CONFIGURATION_README.html : a good starting place for Postfix beginners, many common questions are answered here. [03:44:07] *** cilquirm has quit IRC [03:44:53] *** cilquirm has joined #postfix [03:45:16] <timotiCK> telnet to server is "220 mx.mow.gov.ck MOW ESMTP Postfix MTA (2.5.1)" [03:46:58] <growltiger> telnet mx.mow.gov.ck 25 [03:46:58] <growltiger> telnet: mx.mow.gov.ck: Name or service not known [03:46:58] <growltiger> mx.mow.gov.ck: Unknown host [03:47:04] <growltiger> seems to be dns issues [03:47:39] <timotiCK> sorry, telnet mail.mow.gov.ck 25 [03:48:35] <growltiger> slow [03:49:20] <growltiger> no response after EHLO [03:49:24] <growltiger> check the logs [03:49:44] <timotiCK> the errors.log ?? [03:50:25] <growltiger> maillog [03:50:28] <growltiger> or mail.log [03:51:20] <timotiCK> please what am I looking for? [03:51:44] <i_ate_god> I've been searching google for a while now, haven't really found any solutions to this predicament (maybe not searching properly though). I'm running Cyrus/sasl/mysql/postfix together on FreeBSD 6.3 . Postfix is having issues (imap is fine). I keep getting this in my logs: postfix/smtpd[24285]: fatal: open database /etc/postfix/aliases.db: Invalid argument - Berkeley DB v4.2 [03:53:35] <growltiger> !alias_maps [03:53:35] <knoba> growltiger: "alias_maps" : a configuration parameter in the main.cf: The alias databases that are used for local(8) delivery. See aliases(5) for syntax details. [03:53:59] <growltiger> usually on freebsd alias db is in /etc [03:54:17] <i_ate_god> growltiger: It was originally configured for that. [03:54:22] <i_ate_god> growltiger: it was the same problem [03:54:50] <growltiger> are you using dbm:/etc/postfix/aliases ? [03:55:08] <i_ate_god> no, hash:/etc/postfix/aliases (originally hash:/etc/aliases) [03:55:12] <growltiger> that's why [03:55:36] <growltiger> change to dbm [03:55:42] <growltiger> then newaliases [03:55:50] <i_ate_god> if this works, I'll thank you profusely. If it doesn't work, I'll be a grown man, weeping on your shoulders [03:57:57] <i_ate_god> well [03:58:03] * i_ate_god starts to cry [03:58:08] <i_ate_god> er... weep [03:58:17] <i_ate_god> fatal: unsupported dictionary type: dbm [03:58:29] <growltiger> then you will have to use hash [03:58:48] <i_ate_god> that's what it did use [03:59:01] <growltiger> timotiCK, you must have some errors, it finally gave me response: [03:59:03] <growltiger> 500 5.5.2 Error: bad syntax [03:59:03] <growltiger> 500 5.5.2 Error: bad syntax [03:59:03] <growltiger> 250 mow-lb02.mow.gov.ck [03:59:20] <brd> i_ate_god: postconf -m? [04:00:17] <i_ate_god> btree/cidr/environ/hash/mysql/pcre/proxy/regexp/static/unix [04:01:17] <brd> i_ate_god: is this a recent install of Postfix? [04:01:40] <i_ate_god> brd: yes [04:01:53] <growltiger> !alias_database [04:01:54] <knoba> growltiger: "alias_database" : a configuration parameter in the main.cf: The alias databases for local(8) delivery that are updated with "newaliases" or with "sendmail -bi". [04:02:06] <i_ate_god> v2.5.4 [04:02:07] <brd> i_ate_god: hmm, I run lots of Postfix/FreeBSD boxes and haven't seen it.. [04:03:54] <timotiCK> growltiger: what do those errors mean for me? [04:04:16] <i_ate_god> brd: I dunno what to tell you. Maybe it's an incompatible version of bdb? [04:04:53] <lunaphyte> rebuild your aliases file. [04:04:56] <brd> i_ate_god: what does this return: pkg_info -I db\* [04:05:24] <i_ate_god> db42-4.2.52_5 The Berkeley DB package, revision 4.2 [04:06:31] <brd> i_ate_god: hmm, I have that one +others [04:06:47] <i_ate_god> lesser versions? [04:07:18] <brd> i_ate_god: the others are yes.. [04:07:28] <i_ate_god> and whats postfix compiled with? [04:07:50] <brd> i_ate_god: depends on the install.. [04:08:04] <i_ate_god> well, are any of them using bdb v4.2? [04:08:26] <brd> i_ate_god: I can't tell, ldd doesn't show it [04:08:46] <brd> i_ate_god: remove both db and postfix and reinstall them? [04:09:02] <i_ate_god> ugh [04:09:03] <i_ate_god> heh [04:09:12] <i_ate_god> cyrus doesn't rely on bdb? [04:09:24] <brd> i_ate_god: well, remove postfix and db, then reinstall postfix and see what it brings in [04:10:05] <brd> i_ate_god: I didn't actually check the bdb check box in the config options.. [04:10:11] <i_ate_god> k, let me just back up my configs [04:10:31] <brd> i_ate_god: good idea, but you shouldn't need to.. ports won't obliterate them [04:15:23] <i_ate_god> would you look at that, it grabbed v4.1 [04:18:50] <timotiCK> growltiger: what do those errors mean for me?..................................................................................... [04:19:00] <growltiger> have no idea [04:19:05] <growltiger> you never showed them [04:19:57] <timotiCK> 500 5.5.2 Error: bad syntax [04:19:57] <timotiCK> 500 5.5.2 Error: bad syntax [04:19:57] <timotiCK> 250 mow-lb02.mow.gov.ck [04:20:30] *** pulsar has quit IRC [04:22:30] *** _mavrick61 has quit IRC [04:22:38] <growltiger> no,, the error log or mail log has something to say about this [04:23:36] *** _mavrick61 has joined #postfix [04:24:03] <i_ate_god> whoa [04:24:04] <i_ate_god> wtf [04:24:18] <i_ate_god> adobe flash is suddenly working on ubuntu [04:24:22] <i_ate_god> ! [04:24:29] <thumbs> magic. [04:26:18] <timotiCK> growltiger: I actually dont know what I'll be looking for in the info.log...any suggestions?? [04:26:31] <growltiger> like, errors and such [04:26:36] <growltiger> in maillog [04:31:18] <timotiCK> growltiger: I'm using postfix 2.2.8 under mdv2008.1 [04:31:42] <timotiCK> and it's log file is /var/log/mail/info.log [04:32:08] <growltiger> there's error info and warnings [04:32:20] <timotiCK> yes [04:32:25] <growltiger> now, if you wanted to see errors, what would be a good one to check first? [04:32:38] <timotiCK> errors.log [04:33:00] <growltiger> bingo! [04:33:23] <timotiCK> it does not report anything conspicuous [04:33:50] <timotiCK> "Nov 18 16:07:35 mow-lb02 postfix/master[21645]: fatal: bind 127.0.0.1 port 10025: Address already in use" [04:33:59] <timotiCK> this is the last error msg [04:34:13] <timotiCK> which has be resolved [04:34:18] <growltiger> you are running amavis too? [04:34:35] <timotiCK> yes [04:35:20] <timotiCK> [root@mow-lb02 etc]# service amavisd status [04:35:20] <timotiCK> amavisd (pid 19374 19373 19367) is running... [04:36:53] <growltiger> restart it [04:37:32] <timotiCK> [root@mow-lb02 etc]# service amavisd restart [04:37:32] <timotiCK> Shutting down amavisd: [ OK ] [04:37:32] <timotiCK> Starting amavisd: [ OK ] [04:39:31] <growltiger> !content_filter [04:39:32] <knoba> growltiger: "content_filter" : a configuration parameter in the main.cf: The name of a mail delivery transport that filters mail after it is queued. [04:39:53] <growltiger> what do you have for port 10025 in master.cf? [04:40:05] <i_ate_god> brd: damn, reinstalled postfix, installed bdb v4.1 and still get the same error message, even after rebuilding the aliases.db file [04:41:04] <magyar> hi, can anyone assist with this >> http://pastebin.ca/1261107 [04:41:07] <brd> i_ate_god: delete the /etc/aliases.db ? [04:41:13] <brd> and rerun newaliases? [04:42:06] <i_ate_god> brd: yup [04:42:18] <timotiCK> growltiger: nothing.........but there is one for port 10026 [04:42:28] <i_ate_god> maybe a typo in aliases somewhere? [04:42:31] <brd> i_ate_god: I have no idea :( [04:43:23] <timotiCK> growltiger: content_filter is empty or commented out in the main.cf [04:44:45] <i_ate_god> brd: damn, thanks for trying. There is nothing on google that seems to be of any help except "REBUILD ALIASES.DB" which does nothing for me :( [04:45:05] <brd> i_ate_god: yeah, try the postfix mailing list [04:46:17] <timotiCK> growltiger: uninstall amavis-new for now.....to test??? [04:49:48] <timotiCK> amavisd-new uninstalled [04:51:24] *** MrNaz has joined #postfix [04:54:10] <timotiCK> growltiger: thanks for your help sofar......gotta go...hometime [04:54:49] *** rmayorga has quit IRC [04:56:54] *** timotiCK has left #POSTFIX [04:58:14] <MrNaz> where would i find postfix logs on a debian install ? [04:58:37] <MrNaz> i'm trying to find out if mail sent from my MUA is even making it to the postfix server [05:01:25] <brd> !logs [05:01:26] <knoba> brd: "logs" : postfix logs to the mail facility of syslog. Something like grep -i `postconf -h syslog_facility` /etc/syslog.conf or grep -rl `postconf -h syslog_name` /var/log/* should tell you where logs are going. also see !have2mung [05:07:28] *** tshine has quit IRC [05:14:15] *** rmayorga has joined #postfix [05:21:57] *** Conker has joined #postfix [05:24:48] <Conker> Hey guys, I've got a bit of an issue. I'm using postfix to deliver mail using virtual mailboxes and I jsut wanted to set it up using mbox that it makes the mailbox if it doesnt exist. [05:30:46] <Conker> My maillog says something to thies effect "(delivery failed to mailbox /var/spool/mail/hosts/<domain>/<user>/inbox: unable to create lock file: /var/spool/mail/hosts/<domain>/<user>/inbox.lock No such file of directory) [05:35:03] *** chadmaynard has joined #postfix [05:36:47] *** goldfisc1li has joined #postfix [05:37:07] *** goldfischli has quit IRC [05:39:07] <i_ate_god> brd: well, I asked on the mailing list, but searching through its archives, seems like no one has this problem that couldn't be fixed by rebuilding the aliases.db *sigh* [05:40:24] *** MrNaz has quit IRC [05:47:30] <brd> i_ate_god: can you postbin your postconf -n ? [05:47:35] <brd> i_ate_god: nm [05:47:39] <brd> i_ate_god: I see it in your email [05:48:15] <brd> i_ate_god: comment out the alias_maps and alias_database lines [05:48:27] *** hparker has quit IRC [05:49:20] <brd> i_ate_god: I don't have that set in my installation [05:50:43] <i_ate_god> still tried to open the file heh. [05:50:44] <i_ate_god> hmm [05:52:00] *** hparker has joined #postfix [05:52:19] <brd> i_ate_god: you forgot to include postconf -m in your mail [05:55:29] *** Haris1 has joined #postfix [05:55:48] <i_ate_god> brd: I attached it to a reply, hash is in there [05:55:55] <brd> k [05:56:43] <i_ate_god> bahhhh, I hate gmail. I need to get this to work HEH [05:58:00] <brd> i_ate_god: I know what you mean, this is such a weird isue.. I'm curious to see what they say [06:06:11] <i_ate_god> omg [06:06:14] <i_ate_god> I do believe I've fixed it [06:06:38] <Conker> Whay is when i change the location of the mailbox from /company.com/user to /company.com/user/inbox ... i start getting error and mail is never delivered?? [06:06:38] <i_ate_god> I did I did! [06:06:41] <i_ate_god> I sent an email! [06:08:37] <Conker> Anyone have any idea? im trying to use postfix with dovecot and dovecot expects the inbox to be there but is just give me errors [06:08:37] <i_ate_god> brd: It seems I was using a bad newaliases [06:08:59] <i_ate_god> brd: when I ran newaliases, it was calling /usr/bin/newaliases. I called /usr/local/bin/newaliases and tada! [06:11:06] <Conker> Can anyone help me configure postfix with dovecot so there "friendly" and it actually works? [06:11:17] <Conker> not sure what wrong/going on here guys. [06:17:55] *** tty2 has joined #postfix [06:17:59] *** tty2 has left #postfix [06:18:17] *** tty2 has joined #postfix [06:22:58] <tty2> anyone around who can give me some help? I seem to have setup TLS and it seems to work (when i telnet in i get the STARTTLS message and using it when sending doesnt complain). [06:23:06] <tty2> However, when i send messages i get a no relay error [06:23:33] <tty2> so how do i tell it to relay for people who authenticated via TLS but not on the local network. but not for the rest of the internet? [06:35:26] *** hparker has quit IRC [06:38:02] *** hparker has joined #postfix [06:39:13] <Conker> Anyone know why i can use "user" as a mailbox but not "user/inbox" ?? [06:42:39] *** pitakill has quit IRC [06:44:34] <Conker> Uhg does ANYONE know how i can get postfix to automaticaly create the mailbox if it doesn't already exit? [06:44:37] <Conker> exist* [06:45:04] <f3ew> Conker it does that by default if it can write o the directory? [06:45:59] *** chadmaynard has quit IRC [06:47:06] <f3ew> tty2 http://www.postfix.org/TLS_README.html#server_access [06:47:53] *** digex7778 has quit IRC [06:48:49] <Conker> f3ew: No it doesn't, or at least its not doing it with mine [06:49:33] <Conker> say i tell it the mailbox is "/hosts/company.com/user" and it only goes as deep as "/hosts" it wont create them for some reason! [06:49:54] <f3ew> Conker exact log/ [06:49:55] <f3ew> ? [06:50:32] <Conker> just says delivery failed to the full directory, and thats because its not creating it [06:50:41] <Conker> i can pastie it if u want [06:51:33] <tty2> f3ew: thank you [06:51:53] <f3ew> yes please [06:52:31] <tty2> f3ew: that doesnt seem to apply its talking about certs, am i missing something [06:53:14] <Conker> www.pastie.org/318481 [06:54:13] <f3ew> 2> so how do i tell it to relay for people who authenticated via TLS but not on the local network. but not for the rest of the internet? <=== [06:54:18] <f3ew> TLS auth is via certs [06:54:44] <tty2> f3ew: so tls isnt wher eyou have a username and password? [06:55:17] <f3ew> that's SASL [06:55:29] <f3ew> You want permit_sasl_authenticated [06:55:32] <f3ew> http://www.postfix.org/postconf.5.html#permit_tls_clientcerts [06:55:39] <f3ew> http://www.postfix.org/postconf.5.html#permit_sasl_authenticated [06:55:40] <tty2> f3ew: odd, when i set my email client to use tls and enter a username and password it seems to not complain [06:55:54] <f3ew> tty2, two different things [06:57:06] <tty2> f3ew: you gonna be here in an hour, i wanna drive to my data center and work on this. [06:58:17] <Conker> what do ya think f3ew? [06:58:52] <tty2> how do i check if SASL is setup? i know TLS is not sure about sasl? [06:58:57] <tty2> also does outlook support TLS? [07:00:47] <f3ew> /var/spool/mail/hosts/company.net/user <== what are the permissions on the directory? Does Postfix have permission to write there (as the uid/gid specified in virtual_uid_maps/virtual_gid_maps)? [07:00:49] <tty2> oh wait it does [07:00:52] <tty2> thats weird... [07:00:58] <f3ew> tty2 look for the AUTH stuff [07:01:08] <f3ew> tty2 yes [07:01:26] <f3ew> Does the authentication happen? [07:01:34] <f3ew> !sasl [07:01:35] <knoba> f3ew: "sasl" : SASL is 'Simple Authentication and Security Layer', necessary for SMTP AUTH, and provided to Postfix by addin software. Cyrus SASL and/or Dovecot IMAP/POP3 can provide SASL. See http://www.postfix.org/SASL_README.html for details. [07:01:36] <Conker> the hosts file permissions belongs to the uid/gid with 770 [07:02:02] <f3ew> Try 700? [07:02:17] <tty2> let me check [07:02:36] <Conker> the company.net/user doesnt nessicarily exist [07:03:27] <tty2> f3ew: i just went into outlook and set my incomming to TLS and was able to ge tmy mail just fine [07:03:46] <Conker> f3ew: 777 doesn't even work [07:03:49] <tty2> f3ew: but if its using certs and not login how is that possible.. i never added any sort of cert to the server all i have is a username and password [07:05:57] <f3ew> Postfix is not a POP3/IMAP server [07:06:08] <f3ew> Getting mail is a POP3/IMAP function [07:06:20] <tty2> yes i know its its a smtp server [07:06:26] <tty2> pop3/imap is secondary [07:06:36] <tty2> but surely it uses the same auth mechanism [07:06:44] <tty2> what i mean to say [07:06:56] <Conker> f3ew: nope, "chmod 700 /var/spool/mail/hosts" ... same deal [07:06:59] <tty2> is that if tls works without a cert on pop3 the same process is true for smtp [07:07:11] <tty2> another words it seems that tls is using a username and password and not any sort of cert file [07:09:43] *** Haris1 has quit IRC [07:10:36] *** niki has quit IRC [07:13:58] *** Haris1 has joined #postfix [07:14:40] *** Motoko-chan has quit IRC [07:15:14] <Conker> f3ew any other ideas? [07:16:08] <tty2> f3ew: im still having trouble here, can you tell me what line i need to add specifically to get TLS authenticated people to be able to relay.. i followed 2 howtos to the letter. [07:18:01] <Conker> funny when i check my mailbox (dovecot) it create the full dir if its not there... but if it doesnt exist and it recieves mail (postfix) doesnt create the dir [07:26:38] *** Fallenou has joined #postfix [07:26:48] *** Fallenou has quit IRC [07:28:48] <f3ew> http://www.postfix.org/postconf.5.html#permit_tls_clientcerts [07:30:11] <tty2> f3ew: i got it [07:30:18] <tty2> f3ew: seems i had it already but commented it out and forgot [07:30:19] <tty2> lol [07:30:21] <tty2> but thank you [07:30:27] *** bhagat has joined #postfix [07:30:37] *** tty2 has left #postfix [07:34:51] *** rmayorga has quit IRC [07:34:55] *** rmayorga has joined #postfix [07:47:34] *** cilquirm has quit IRC [07:57:17] *** phnord has joined #postfix [07:57:31] <Conker> this is killin me over here [07:57:55] <Conker> such a small feature... and it can't perform [08:11:34] *** meso_uug has joined #postfix [08:12:03] <meso_uug> Hello. :) [08:15:01] <Conker> i think the old ver had virtual_create_maildirsize ?? [08:15:29] <Conker> what happened to it O.o [08:15:43] <Conker> and hi [08:17:09] <meso_uug> I have a problem with postfix, when I send mail to internet through my isp. I installed postfix with cyrus SASL support, configured postfix and when i test smtp through telnet th error appear: SASL authentication failed; cannot authenticate to server .....: generic failure. What it may be? [08:18:44] <meso_uug> I readed manual twice and no result. Google don't help either. [08:20:33] <Conker> personaly i'm not sure, and have my own issues. maybe others can help [08:20:41] *** Haris1 has quit IRC [08:21:19] <meso_uug> When I use the 'smtp_sasl_mechanism_filter = !gssapi' then I have another error message 'SASL authentication failed: server .... offered no compatible authentication mechanisms for this type of connection security'. [08:21:35] *** sjmudd has joined #postfix [08:22:48] <meso_uug> Conker, what issue? [08:23:01] <meso_uug> (sorry for my English) [08:25:38] *** sophokles has joined #postfix [08:26:39] <f3ew> sjmudd == Simon Mudd? [08:26:59] <Conker> the prob is [08:27:01] *** githogori has joined #postfix [08:27:44] <Conker> that postfix isnt creating a mailbox [08:27:52] <Conker> if it doesnt exist [08:28:01] <Conker> ex: [08:28:29] <Conker> its supposed to put mail here for one user: /var/spool/mail/hosts/company.com/user [08:29:20] <Conker> but the directory company.com doesn't exist for example or user doesn't... postfix wont create it it just ends up not delivering the mail [08:29:32] <meso_uug> Conker, you use mbox or maildir? [08:30:16] <Conker> mbox [08:30:31] <meso_uug> Hm... [08:31:08] <meso_uug> mbox file don't need to create, but company.com must be created. [08:31:26] <Conker> but why?! [08:31:30] <Conker> i dont want that lol [08:31:33] <meso_uug> Because you need to use the 'chown' [08:31:36] <Conker> i want it to create it if its not there [08:32:02] <Conker> it is the owner of /var/spool/mail/hosts [08:32:13] <Conker> so should be able to make it right? [08:32:41] <meso_uug> I try now... I'm interesting too. [08:32:50] *** Jax0r has joined #postfix [08:33:05] <Conker> ok awsome thanks! [08:36:54] *** hparker has quit IRC [08:39:03] *** wei has joined #postfix [08:39:24] *** hparker has joined #postfix [08:40:01] <Conker> i mean thats rediculously stupid right? [08:45:14] <meso_uug> Concer, nope! [08:45:18] <meso_uug> Nov 19 10:45:29 internet postfix/virtual[2264]: 1D48211433: to=<test at rsdtest dot ru>, relay=virtual, delay=46, delays=45/0.04/0/0.02, dsn=4.2.0, status=deferred (delivery failed to mailbox /var/mail/rsdtest.ru/test: unable to create lock file /var/mail/rsdtest.ru/test.lock: No such file or directory) [08:46:45] *** UQlev has joined #postfix [08:49:22] <Conker> exactly [08:49:25] <Conker> why?!? [08:49:26] <Conker> lol [08:49:31] <Conker> thats what i get [08:50:01] <meso_uug> Conker, you have so many domains? [08:50:27] <roe> you want to know why postfix can't create a directory that, from postfix's point-of-view, has nothing to do with mail delivery? [08:50:58] <Conker> yeah [08:51:24] *** roe has quit IRC [08:51:31] *** ssd_ has joined #postfix [08:51:39] <meso_uug> Ha ha... [08:51:46] <Conker> i think i give up i might just make the dir [08:51:58] <Conker> its being an impossible child [08:54:05] *** Conker has quit IRC [08:55:02] <meso_uug> Have anybody send mail with auth on isp side? [08:55:28] *** roe has joined #postfix [08:56:07] <roe> what happened did Conker leave in the 4mins to took me to reboot? [08:56:25] <f3ew> yes [08:56:30] <roe> oh well [08:57:57] <meso_uug> Why when I use the 'smtp_sasl_mechanism_filter = !gssapi' I have error message 'SASL authentication failed: server .... offered no compatible authentication mechanisms for this type of connection security'.? [08:58:46] <meso_uug> I try to telnet my ISP and it say's that he can more then just 'gssapi' [09:04:01] *** Jax0r has quit IRC [09:08:27] *** hparker has quit IRC [09:10:53] *** hparker has joined #postfix [09:13:47] *** weedar has joined #postfix [09:16:06] *** Tykling has joined #postfix [09:21:35] *** Lap_64 has joined #postfix [09:28:15] <meso_uug> How to force postfix to use LOGIN or PLAIN? [09:30:50] <meso_uug> Sorry... When I typed it... I found an answer.. )))))))) [09:33:59] *** githogori has quit IRC [09:39:56] *** Lap_64 has quit IRC [09:54:46] <UQlev> hi, f3ew: could you kindly have a look at http://rafb.net/p/uGtNjE67.html ? [09:57:01] *** war9407 has joined #postfix [09:57:20] <f3ew> UQlev, you need to send postmaster@.. \0 postmaster@ ... [09:57:31] <f3ew> See the decoded base64 of your paste [09:58:24] <UQlev> f3ew: I see, thank you [09:58:43] <UQlev> but why authdaemon gives OK? [09:58:55] *** |_Knoedel_| has joined #postfix [10:03:27] <UQlev> f3ew: thank you so much, it works indeed!!! [10:08:11] *** saurabhb has quit IRC [10:27:25] *** fXsTar has joined #postfix [10:28:00] *** hparker has quit IRC [10:29:56] *** hparker has joined #postfix [10:30:19] *** loddafnir has joined #postfix [10:31:02] *** UQlev has quit IRC [10:38:03] *** denis_ has joined #postfix [10:51:31] *** EasilyOdd has joined #postfix [11:07:16] *** Haris1 has joined #postfix [11:09:34] *** cite has quit IRC [11:09:49] *** cite has joined #postfix [11:20:19] <fXsTar> hy all!im getting this error when i try to use postfix postsuper: fatal: scan_dir_push: open directory bounce: Permission denied postfix/postfix-script: fatal: Postfix integrity check failed!! What to do to fix this? [11:23:14] <f3ew> reinstall Postfix [11:27:33] <Roobarb> postfix set-permissions [11:30:52] *** shinao1 has joined #postfix [11:40:50] *** ming_zym has quit IRC [11:41:44] *** sypher has joined #postfix [11:47:08] *** pirho has joined #postfix [11:56:01] *** netcrash has joined #postfix [11:57:58] *** denis_ has quit IRC [11:58:38] *** denis_ has joined #postfix [11:59:48] *** UQlev has joined #postfix [12:02:34] *** pirho has quit IRC [12:04:22] *** pirho has joined #postfix [12:05:31] *** roe has quit IRC [12:12:37] *** dante_cms has joined #postfix [12:12:46] <dante_cms> hey guys [12:14:00] <dante_cms> I am relatively new to postfix and just set it up [12:15:20] <dante_cms> all works fine except for sending in outlook. From reading various posts i beileive it is due to "reject_non_gqdn_hostname" setting in main.cf and outlooks lack of supplying a fqdn [12:15:31] <dante_cms> does anyone know how this can be resolved [12:15:35] <dante_cms> (thx in advance) [12:18:25] *** _bt has quit IRC [12:18:58] *** roe has joined #postfix [12:19:26] <UQlev> dante_cms: do you use smtp-auth? [12:19:51] *** incidence has joined #Postfix [12:20:07] <dante_cms> UQlev: nope. [12:21:12] <UQlev> dante_cms: do other mail-clients can send from remote hosts? [12:21:33] <UQlev> other than outlook [12:21:50] <dante_cms> yes. There are around 10 other email accounts on the same server and remote clients connected using thrunderbird without any problems [12:21:53] <incidence> Can I disallow sending email from unknown hostnames? Or how do I do that? I want "user at example dot com" to send email only from "example.com" not "google.com". Now I can just set it to different from roundcube email's settings. [12:22:07] <incidence> I'm using virtual domains [12:22:11] <dante_cms> outlook can also connect and receive mail but cannot send outgoing mail [12:22:52] <dante_cms> from reading around i beilieve its outlook's lack of sending a correct fqdn that causes this [12:23:44] <dante_cms> if i disable reject_non_gqdn_hostname in main.cf outlook can send just fine but I want to have it enabled to avoid the spammers [12:24:35] *** meso_uug has quit IRC [12:25:15] *** BBishop has quit IRC [12:28:41] <UQlev> dante_cms: the only I could find to remove smtp_sender_restrictions [12:30:45] *** donald has joined #postfix [12:31:06] *** s0what has joined #postfix [12:32:23] <dante_cms> here is a stripped down version of main.cf (dont know if that helps)... [12:34:22] <dante_cms> http://rafb.net/p/JkkN3F23.html [12:47:17] *** ssd_ has quit IRC [12:57:00] *** arooni_____ has quit IRC [12:57:43] <sysmonk> !howto [12:57:44] <knoba> sysmonk: Error: "howto" is not a valid command. [12:57:49] <sysmonk> !tutorial [12:57:50] <knoba> sysmonk: "tutorial" : A very common problem is that some people prefer to follow a step-by-step tutorial that shows them how to setup their mail server without reading the documentation or understanding what they are doing. If something goes wrong, they have no clue whatsoever about where to look for hints, and they sometimes decide to start from scratch using a different tutorial. This is not The Proper Way. [12:57:53] <sysmonk> !fish [12:57:54] <knoba> sysmonk: "fish" : Give an admin a fish and you feed them for a day. Teach an admin to fish and you feed them for life. -- All new anglers, please see the following channel factoids, !tutorial !docs !basic !standard !faq !manuals !logs !debug !lvsv !virtual !smtpd!=smtp : Use '/msg knoba whatis #postfix factoid' to get the factoid details from knoba in a private message to reduce channel noise [12:58:19] *** arooni_____ has joined #postfix [13:00:25] *** _bt has joined #postfix [13:13:37] *** UQlev has quit IRC [13:26:19] <munga> can I use transport to drop a msg ? [13:27:43] *** alibo has joined #postfix [13:30:08] *** devilbues has joined #postfix [13:32:08] <devilbues> Hi, can anybody tell me how do I load balance randomly outbound smtp connections? I have multiple ips and want to use all of them to send outbound mail [13:32:15] *** jense has joined #postfix [13:33:08] *** wei has left #postfix [13:39:36] <f3ew> devilbues multiple Postfix instances [13:42:18] <devilbues> f3ew, done that, but when I send a mail it always uses the first instance. Is it possible to randomize this? Postfix send the mail through every instance, in a random, load balance fashion? [13:42:48] <f3ew> use hostnames for the relayhost [13:42:58] <f3ew> multiple A records [13:43:36] <devilbues> done that also, but it complains "mail loop backs to myself" [13:43:53] <devilbues> or something like that :) [13:43:58] <f3ew> !loopback [13:43:58] <knoba> f3ew: "loopback" : 'Mail loops back to myself' means that your Postfix wanted to send out the mail to the internet but then discovered that the DNS says your mail server should be responsible. Most likely you forgot to list your domain in mydestination or virtual_(alias|mailbox)_domains [13:44:18] <f3ew> the last line is what you don't want to do [13:47:24] <devilbues> f3ew, but I have the domain listed on mydestination, and dns is resolving correctly [13:50:36] <alibo> Hi all, I have a problem with the return address when sending mails. I use relayhost and can successful send mails. The problem is the return address is wrong. [13:50:51] <alibo> I used sendercanonical to change the return address but only the Return-Path changed. It still is the wrong addres in the from field which is also used for replies. [13:50:57] <alibo> How can I change this to an other addres, too? [13:51:34] <f3ew> devilbues which Postfix install is looping? [13:52:44] <devilbues> first instance [13:54:06] *** bhagat has quit IRC [13:54:27] *** bhagat has joined #postfix [13:58:03] *** Saiko has joined #postfix [13:59:06] <Saiko> I've setup virtualmin which uses postfix to send emails, and Dovecot to retrieve them. Retrievingen emails and sending emails with webmail works. But sending emails with postfix with outlook express doesnt [13:59:27] <Saiko> it asks for login informatiion [13:59:37] <Saiko> againd and again [14:07:45] *** mohshami has joined #postfix [14:08:30] <mohshami> hey guys, we set up a new mailing list server, but my boss wants it to only distribute the messages at night, is that by any way possible? I tried googling but I couldn't find anything relevant [14:09:30] <devilbues> f3ew, is this a supported configuration relay mail to itself, using relayhost=localhost or something [14:16:52] *** fXsTar has quit IRC [14:20:55] <jelly> mohshami: so, you essentially want to supress queue processing at work hours? [14:21:25] <mohshami> jelly: exactly [14:21:31] <mohshami> is that possible? [14:21:44] <devilbues> f3ew: can I send you my configuration? main.cf? [14:22:01] <jelly> mohshami: no idea, just thought I'd clarify the question. ;-) [14:22:09] <mohshami> ^_^ [14:23:24] <f3ew> see access(5) for HOLD [14:23:43] <f3ew> devilbues, don't use localhost for the name of the relayhost [14:23:53] * f3ew is testing phone upgrade [14:25:42] <devilbues> f3ew: I'm using the multiple hostname record I created on dns, but it complains about the loopback [14:26:04] <f3ew> Strange [14:26:33] <devilbues> mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, localhost.mydomain.com, mydomain.com, mail.mydomain.com, mta.mydomain.com [14:26:44] <devilbues> relayhost = [mta.mydomain.com] [14:26:47] <devilbues> like this [14:27:37] <devilbues> is this correct? [14:28:44] *** gutocarvalho has joined #postfix [14:29:19] <mohshami> f3ew: thanks, I'll check [14:31:44] *** brancaleone has joined #postfix [14:37:19] *** eanxgeek has joined #postfix [14:40:31] *** i_ate_god has quit IRC [14:42:08] *** Haris________ has joined #postfix [14:51:23] *** donald has quit IRC [14:51:23] *** mohshami has quit IRC [15:01:21] *** Haris_ has quit IRC [15:01:53] *** bhagat has quit IRC [15:02:07] *** eanxgeek_ has joined #postfix [15:02:22] *** eanxgeek_ has quit IRC [15:02:33] *** eanxgeek|laptop has joined #postfix [15:09:10] <f3ew> remove mta.mydomain.dom from mydestination [15:09:31] *** stpierre has left #postfix [15:11:41] *** tshine has joined #postfix [15:16:02] *** keffer has quit IRC [15:16:55] *** rmr-f has quit IRC [15:16:55] *** RickRoss has quit IRC [15:22:30] *** dante_cms has quit IRC [15:27:37] *** s0what has quit IRC [15:34:47] *** AMorozov has joined #postfix [15:34:57] <AMorozov> Hi! [15:36:11] <AMorozov> I've noticed that postfix master process opens A LOT of unix domain sockets in "CONNECTED" state [15:36:24] *** xpoint has joined #postfix [15:36:53] <AMorozov> What are they for? [15:37:33] <AMorozov> It exhausts limit for this VPS. [15:44:26] *** xpoint_ has joined #postfix [15:44:26] *** xpoint has quit IRC [15:48:18] *** xpoint_ is now known as xpoint [15:48:39] *** Tykling has left #postfix [15:52:25] *** cilquirm has joined #postfix [16:00:00] *** AMorozov has left #postfix [16:00:53] <devilbues> f3ew: same error. can I show you my main.cf [16:07:58] *** weedar has quit IRC [16:11:31] *** alibo` has joined #postfix [16:20:56] *** pulsar has joined #postfix [16:22:45] *** githogori_ has joined #postfix [16:26:58] *** alibo has quit IRC [16:36:40] *** TGM has joined #postfix [16:36:48] *** TGM has quit IRC [16:38:39] *** TGM has joined #postfix [16:40:10] *** Tykling has joined #postfix [16:42:57] *** boolean has joined #postfix [16:46:13] *** githogori_ has quit IRC [16:46:41] *** rkreed has joined #postfix [16:48:06] *** ribasushi has quit IRC [16:53:53] *** seekwill has joined #postfix [17:04:20] *** |_Knoedel_| has quit IRC [17:10:41] *** slushpupie has joined #postfix [17:11:13] <slushpupie> what is the best way to quickly set up postfix to accept mail for several domains, but just keep it in the queue- no deliver, no bounce? [17:11:30] <slushpupie> I need something to hold onto incoming mail while we get a permanent solution set up [17:11:42] *** githogori has joined #postfix [17:13:11] *** githogori has quit IRC [17:13:29] *** no_maam has quit IRC [17:13:56] *** no_maam has joined #postfix [17:17:16] *** denis_ has quit IRC [17:27:49] *** cilquirm_ has joined #postfix [17:31:11] *** rcsu has joined #postfix [17:32:31] *** cilquirm has quit IRC [17:43:45] *** sophokles has quit IRC [17:43:51] *** Knoedel2 has joined #postfix [17:44:38] *** bda has quit IRC [17:45:19] *** bda has joined #postfix [17:46:18] *** lgbr has joined #postfix [17:47:11] <lgbr> I've updated /etc/postfix/aliases, but when I run `newaliases` aliases.db doesn't update. main.cf reads: alias_maps = hash:/etc/postfix/aliases How can I fix this? [17:47:40] *** xpeed has joined #postfix [17:47:58] *** sjmudd has quit IRC [17:48:23] <jeev> postmap [17:48:27] <jeev> not newaliases [17:48:29] <jeev> *i think* [17:50:48] <lgbr> hmm. ok so now aliases.db has updated but despite restarting postfix it still claims that my alias doesn't exist [17:51:49] <roe_> not postmat [17:52:18] <roe_> er postmap [17:52:26] <roe_> I think postalias is another command [17:52:51] <slushpupie> is there a typo in the file? [17:52:53] <jeev> dunno [17:53:24] <lgbr> roe_: bingo! [17:53:30] <lgbr> thanks [17:53:33] <roe_> the alias file is a special file [17:55:31] <jeev> i love my postfix set up [17:55:34] <jeev> but it's one wild set up. [17:55:41] <jeev> i'ms kurred one day i wont be able to reproduce it [17:56:50] *** donald has joined #postfix [17:57:57] *** ovb_ has quit IRC [17:58:01] *** ovb_ has joined #postfix [18:06:03] *** lgbr has left #postfix [18:10:29] *** sypher has quit IRC [18:17:04] *** githogori has joined #postfix [18:31:47] *** rkreed has quit IRC [18:32:14] *** phnord has quit IRC [18:33:50] *** shinao1 has quit IRC [18:36:49] *** niki has joined #postfix [18:39:22] *** netcrash has quit IRC [18:50:21] *** Haris________ is now known as Haris_ [18:52:24] *** karrotx has joined #postfix [18:56:27] *** xpeed has quit IRC [18:58:07] *** cilquirm_ is now known as cilquirm [18:58:19] *** brancaleone has quit IRC [18:58:30] *** TGM has quit IRC [19:04:32] *** F6F has joined #postfix [19:05:36] *** Xzisted has quit IRC [19:10:35] *** pitakill has joined #postfix [19:14:55] *** randra has joined #postfix [19:20:48] *** Zeit|awy_ has quit IRC [19:31:56] *** pickcoder has joined #postfix [19:31:56] *** amrit is now known as amrit|wrk [19:47:14] *** sekhmet_ has joined #postfix [19:50:13] *** sekhmet has quit IRC [19:53:13] <devilbues> Hi, can anybody tell me how do I load balance randomly outbound smtp connections? I have multiple ips and want to use all of them to send outbound mail [19:55:53] <cite> Do you have multiple ethernet cards in you server, too? [19:55:57] <cite> Or just multiple IPs? [19:59:28] *** Zeit|awy has joined #postfix [20:07:09] *** sekhmet_ is now known as sekhmet [20:07:39] <devilbues> cite, I have one card, with multiple ips, eth0:0, eth0:1... and so on [20:08:06] <cite> You don't gain anything from your intended behaviour, then. [20:17:09] <devilbues> cite, I have a costumer who has a maillist service and it gets listed on spam lists, I thought to workaround this by sending from different ips [20:19:07] *** rouri has joined #postfix [20:21:38] *** randra has quit IRC [20:23:40] *** chadmaynard has joined #postfix [20:28:52] <slushpupie> devilbues: the action you seek wont keep the server from getting blacklisted [20:29:54] <slushpupie> the right action is to change the content so its less spam-y [20:34:01] *** crazzter has joined #postfix [20:34:44] <devilbues> slushpupie, I now that, it just takes longer :) But is this possible or not? I tried to create r-robin dns records, use relayhost pointing to that record but I get loopback errors [20:36:10] *** chadmaynard has quit IRC [20:36:47] <slushpupie> I dont think postfix has that ability, no [20:37:15] <slushpupie> we used a load-balencer [20:37:33] <slushpupie> there are software versions available for Linux and BSD, you might look into that [20:37:46] <deface> devilbues: relay through your isp, always saves you from getting tagged as spam [20:38:38] <slushpupie> devilbues: I think you will find the ammount of work keeping that mailing list from getting tagged as spam is not worth it, unless the content changes [20:39:01] * slushpupie used to work for a direct-marketing company for several years [20:39:08] <slushpupie> its not an easy challenge [20:39:33] *** s0what has joined #postfix [20:39:42] <stockholm> slushpupie: ah, do you have inside contacts at hotmail? :-) [20:39:53] <slushpupie> no. none were needed [20:40:00] <slushpupie> if you do it correctly, it works [20:40:03] <slushpupie> but it takes effort [20:40:08] <stockholm> is that so? [20:40:28] <slushpupie> we had the most trouble with AOL, their rules are very strict [20:40:33] <stockholm> i try to get mail through to hotmail, and so far i dont succeed [20:40:51] <stockholm> we dont have mailinglists, but we send invites [20:40:56] <stockholm> not in bursts [20:41:04] <stockholm> well formed headers [20:41:08] *** havvg has joined #postfix [20:41:23] <stockholm> spf covered mailserver [20:41:53] <slushpupie> what hotmail and AOL do is check a lot of things- among them how bounces are handled, the number of bad addresses, etc [20:42:06] <slushpupie> they dont publish all the things they do (obviously) [20:42:07] <stockholm> slushpupie: if you would care to look at an example mail ... [20:42:15] <stockholm> right. [20:42:23] <stockholm> we accept bounces and handle them [20:42:27] <crazzter> any good suggestions why it might be dspam is delivering mails but is is not actually processing them? [20:42:39] <slushpupie> I could, but Ive been out of the game for over a year now, things change quickly in that arena [20:42:42] <stockholm> we have a very low bad-address rate [20:42:46] <devilbues> maybe I should reduce the rate of mails per second or something [20:43:13] <slushpupie> devilbues: does spamassassin tag your messages as spam? [20:44:12] <devilbues> no, but I send too many at the same time :) [20:44:23] <devilbues> my costumer is always in a hurry [20:44:33] <stockholm> slushpupie: here http://paste.debian.net/21879/ [20:44:35] <crazzter> no, it does not handle them at all. In the log it seems like it is accepting the mails and deliver them as it should. But there is absolutely nothing dspam-like in the headers [20:44:55] <crazzter> I can send and receive mails but it is like if dspam doesn't care about the content [20:45:39] <slushpupie> stockholm: off the bat, I would say the URL in your message looks very spam-like (to many filters, anyway). [20:46:09] <slushpupie> stockholm: you are also missing some basic contact info at the bottom (look at all the legimite mass mails that make it to hotmail, they all have contact info) [20:46:32] <pickcoder> devilbues: does each interface have a dfferent gateway? [20:46:34] <slushpupie> stockholm: you might also consider more personalization in the body of the message, include the name/email/etc to make it look less bulky [20:46:35] <stockholm> slushpupie: that is the cryptographic invite token... how could we make it less spammy? [20:47:07] *** ek has quit IRC [20:47:40] <slushpupie> stockholm: its just that your message is sparse, so the URL has more impact [20:47:46] *** devilbues has quit IRC [20:47:59] <stockholm> slushpupie: i see. ok [20:48:01] <pickcoder> hrm.. ok [20:48:16] * pickcoder notes that multi-wan routers can do load balancing [20:49:12] <slushpupie> stockholm: have you considered a function to turn that token into pesudo-words? [20:50:25] <slushpupie> stockholm: do *ALL* your invites get tagged as spam in hotmail? Or does it happen in burts? [20:50:28] <slushpupie> bursts [20:51:02] <stockholm> slushpupie: all are spam for them [20:51:09] <stockholm> 110% :-) [20:51:45] *** crazzter has left #postfix [20:52:09] <slushpupie> you might just trying sending yourself various versions of the message (change things around, etc) until you get something that dosnt look so much like spam [20:52:21] <slushpupie> because to be honest, that message would look like spam to me [20:52:35] <stockholm> :-/ [20:52:37] <slushpupie> do you have more info about the sender? [20:52:49] <slushpupie> full name, by chance? [20:53:09] <stockholm> no, we dont have that info [20:53:26] <stockholm> we try to be not a data hungry google like monster :-) [20:54:05] <stockholm> slushpupie: someone suggested we should use htlm mails [20:54:10] <stockholm> slushpupie: add pics etc [20:54:19] <stockholm> slushpupie: do you think that would help? [20:54:28] <slushpupie> yeah, that will shift the weight away from the URL [20:54:37] <stockholm> really. doh. [20:54:40] <pickcoder> offer text and HTML in two mime parts [20:54:57] <stockholm> ok [20:55:00] <slushpupie> you can try that, we had some issues with multi-part messages [20:55:10] <slushpupie> some hosts consider that spam [20:55:14] <slushpupie> never understood that [20:55:21] <pickcoder> most of our issues have been users reporting it as spam [20:55:28] <slushpupie> just make sure your images dont look anything like a tracking URL [20:55:37] <stockholm> ok [20:55:39] <pickcoder> if you get on the AOL feedback loop then your host's mail should be delivered [20:55:50] <pickcoder> just don't ignore the FBL requests [20:55:51] <slushpupie> yep, AOL gives out report cards [20:56:04] <stockholm> i dont think we have much aol mail at all. [20:56:08] <slushpupie> AOL is tricky to deal with, but if you work with them, its pretty good [20:56:09] <pickcoder> I got a few up front and then none since like 8 months ago [20:56:10] <stockholm> i did not see any, that is. [20:56:24] <pickcoder> hotmail is different story [20:56:40] <slushpupie> AOL was like 20% of our list. Hotmail around 15% [20:57:14] <pickcoder> www.wordtothewise.com [20:57:26] <pickcoder> seekwill must not be around... :) [20:58:02] <stockholm> our problem is that we dont do mailinglists but individual mails [20:58:25] <stockholm> otherwise we would have bought that service already [20:58:41] <pickcoder> I'd try a 2-part message test [20:58:47] <pickcoder> put the test first [20:58:51] <pickcoder> s/test/text [20:58:56] <stockholm> ok [20:59:09] <pickcoder> some filters are going to block it anyway because they're paranoid [20:59:17] <stockholm> :-) [21:00:01] <pickcoder> it probably wouldn't hurt to have some sort of "if you do not want to see these notices again, go <here>" caption at the bottom if you can offer invite blocks [21:00:03] *** deftunix has joined #postfix [21:00:31] <slushpupie> pickcoder: yep, I suggested that too.. I agree [21:00:49] <slushpupie> stockholm: you might consider getting an evite once, and inspecting their messages [21:01:00] <slushpupie> I think they have good hotmail penetration [21:01:11] <stockholm> evite? what is that? [21:01:12] * slushpupie wonders about that phrase a bit [21:01:30] <slushpupie> evite.com [21:01:36] <slushpupie> you can make party invitations online [21:01:47] <slushpupie> from the email side of things, very much like what you are doing [21:01:59] <stockholm> cool [21:02:20] <stockholm> great tip. [21:05:12] <deftunix> hi all, is possible with virtual delivery agent seting up warning message for user quota? [21:09:06] *** F6F has quit IRC [21:12:06] *** F6F has joined #postfix [21:12:15] <pickcoder> virtual_mailbox_limit [21:13:17] <pickcoder> !virtual_mailbox_limit [21:13:18] <knoba> pickcoder: "virtual_mailbox_limit" : a configuration parameter in the main.cf: The maximal size in bytes of an individual mailbox or maildir file. Specify a value of zero to disable the limit. [21:15:07] *** githogori has quit IRC [21:20:29] *** jeev has quit IRC [21:20:49] *** jeev has joined #postfix [21:33:03] *** githogori has joined #postfix [21:42:31] <skullone> has anyone received this error from deliving to a domain that uses Postini for spam filtering? : [21:42:40] <skullone> 451 Recipients not all at same mail host - psmtp [21:43:19] <skullone> the recipients are for the same domain... if they route to seperate mail servers, not sure why postini defers it [21:49:48] *** rouri has quit IRC [21:53:21] *** rouri has joined #postfix [21:54:48] *** sekhmet has quit IRC [21:58:19] *** githogori has quit IRC [21:58:23] *** SomethingISODD has joined #postfix [21:58:43] *** eanxgeek|laptop has quit IRC [21:58:44] <SomethingISODD> Hello all is there anyway to attach a footer to all email thats going out.. i am using post fix for my mail server [21:59:25] *** randra has joined #postfix [21:59:32] *** sekhmet has joined #postfix [21:59:45] *** eanxgeek has quit IRC [22:01:37] *** radius has quit IRC [22:01:52] *** radius has joined #postfix [22:02:13] *** githogori has joined #postfix [22:05:05] <deface> mailscanner [22:08:37] <SomethingISODD> deface do you happen to know why i am getting bad transport type: content_filter=filter: [22:09:20] <deface> bad main.cf [22:09:26] <SomethingISODD> this is what the line looks like -o content_filter=filter: [22:09:26] <SomethingISODD> filter unix - n n - - pipe [22:09:26] <SomethingISODD> flags=Rq user=filter argv=/etc/postfix/mailfilter.sh ${sender} ${recipient} [22:10:24] <SomethingISODD> anytime i add content_filter it always causes issues [22:11:05] *** pitakill has quit IRC [22:11:27] *** rouri has quit IRC [22:12:12] <deface> then dont add content_filter [22:12:49] <SomethingISODD> but everything i read says to do that to add a footer in. [22:19:21] *** Testmaster has joined #postfix [22:29:17] *** rcsu has quit IRC [22:32:11] *** sobriquet has joined #postfix [22:32:42] <sobriquet> hello all [22:32:47] <sobriquet> how's it going today? [22:33:03] *** deadpigeon has joined #postfix [22:34:29] <sobriquet> Here is my scenario: [22:34:57] <sobriquet> I have an ancient (read: pentium3) server that is being crushed under the weight of being an email server. [22:35:14] <sobriquet> The poor old machine runs at a load average of roughly 3 all the time [22:35:22] <sobriquet> I have a new server setup with postfix [22:35:44] <sobriquet> I would like to put up a "gateway" that would deliver any incoming mail to both machines [22:36:08] *** havvg has quit IRC [22:36:23] *** SomethingISODD has quit IRC [22:36:26] <sobriquet> I noticed that "transport" has some promising options [22:37:09] <sobriquet> would it be possible to specify two destinations for a domain? [22:37:42] <sobriquet> ie: example.com :[emailserver1.example.com],[emailserver2.example.com] [22:38:02] <sobriquet> I havent been able to find anyone who's tried this approach before [22:38:17] <sobriquet> this could also be a good approach at archiving email [22:39:21] <sobriquet> http://www.postfix.org/transport.5.html [22:41:40] *** quieteyes has joined #postfix [22:42:24] <Tykling> why would you want the same mail delivered to two servers ? [22:42:41] <Tykling> or do you mean in a load sharing fashion [22:43:08] <Tykling> because that can be accomplished simply by creating another mx record with the same priority as the existing one, for the new server [22:44:08] <seekwill> Tykling: That doesn't really do load balancing [22:44:33] <Tykling> works fine for me [22:44:37] <Tykling> across 6 servers [22:44:52] <Tykling> they all share the load pretty well [22:45:22] <Tykling> or actually, it's the same mx record but there is two a records, sorry [22:45:29] <Tykling> or 6 in my case [22:46:09] <Tykling> and when I have to do maintenance on a server I simply remove the a record pointing to that server and since I keep a low ttl the mail stops coming in pretty fast, I do my maintenance and add it back in [22:46:35] <seekwill> sobriquet: Can you provide a little more details on your setup? [22:46:46] <seekwill> sobriquet: Why not have your new server handle all the mail? [22:47:27] <Tykling> why not make them share the load and not have a single point of failure in only having one server ;) [22:48:26] <seekwill> Add the redundancy after you have a working system. [22:48:35] <seekwill> I don't think he's at that point yet [22:49:13] *** felix-da-catz is now known as felix-da-catz_zz [22:49:16] *** Saiko has quit IRC [22:51:31] <adaptr> Tykling: multiple MX records does nothing for load balancing [22:51:49] <Tykling> read the rest of what I said, one mx record, multiple a records [22:51:49] <adaptr> if it does in your case, then you have very bad network connectivity, or very bad machines [22:51:53] <adaptr> ah [22:51:55] <sobriquet> seekwill: Im not really interested in this being a permannt in-place solution [22:52:04] <sobriquet> I need to take down the old server, while testing the new one [22:52:20] <sobriquet> the old server cant really handle the load of doing anything more than it is doing now [22:52:33] <sobriquet> and I'd like to get some overlap before standing it up [22:52:34] <adaptr> Tykling: I'm sorry, I shall read on to the part where you have corrected all nonsense in the future [22:52:51] <sobriquet> we cant rsync the maildirs, because the back-end imap daemons are different [22:53:02] <sobriquet> we're going from qmail to postfix on our new server [22:53:18] <adaptr> and a maildir is somehow not a maildir [22:53:19] <adaptr> ? [22:53:20] <sobriquet> and Im terrified of standing up a new server in production with no overlap on the mail [22:53:30] <sobriquet> adaptr: no, they're not [22:53:33] <adaptr> sobriquet: the mail *store* is not redundant now, so ? [22:53:35] <sobriquet> make no assumptions [22:53:58] <adaptr> making the MTA redundant isn't going to change that [22:54:07] <sobriquet> no kidding. [22:54:18] <sobriquet> there are challenges to overcome here [22:54:36] <sobriquet> and I think that being able to deliver one email to two different MTAs at the same time is a valid solution [22:54:45] <cafuego> sobriquet: if you have imap, you can use imapsync. [22:54:50] <sobriquet> one that makes migration a beautifully simple thing [22:54:53] <Tykling> adaptr: please do :) [22:55:21] <sobriquet> cafuego: imap synch makes our old server crash due to overloading it [22:55:26] <adaptr> Tykling: can you give me the resolution in advance, then ? it'll save you from typing the errors, too [22:55:38] <sobriquet> :( [22:55:55] <cafuego> sobriquet: make sure normal users don't use the samer simultaneously and make it copy in small batches. [22:56:01] *** Tykling has left #postfix [22:56:13] <adaptr> sobriquet: always_bcc_maps [22:56:39] <adaptr> and put postfix in front [22:56:48] <adaptr> it will transaprently deliver a copy to the old MTA [22:57:06] <adaptr> or hack up a transport that duplicates everything [22:57:09] <cafuego> Sorry, I'm going to need your entropy for a while. [22:57:11] <adaptr> there are so many ways [22:57:19] <sobriquet> the point is that I have an UNTESTED postfix server, and a nearly beaten to death qmail setup [22:57:25] <sobriquet> on different machines [22:57:28] <adaptr> what about it is untested ? [22:57:38] <adaptr> postfix is one of the most stable servers in the world [22:57:51] <seekwill> I think he means tested in his setup... [22:58:11] <sobriquet> uhm, well... I have LDAP integration, as well as the fact that this particular server is implementing some new (to me) imap daemon (dovecot) [22:58:11] <adaptr> seekwill-- #for obviosity [22:58:14] <seekwill> :) [22:58:30] <cafuego> sobriquet: Do you do any odd mail processing or virtual mailbox stuff on the qmail box? [22:58:36] <seekwill> adaptr-- #for obviosity [22:59:30] <sobriquet> cafuego: yes, we've got all virtual users on qmail, as well as mailavenger (www.mailavenger.org) going on this machine [22:59:56] *** UQlev has joined #postfix [23:00:19] <sobriquet> " [23:00:24] <seekwill> sobriquet: Do you have RBLs? [23:00:29] <sobriquet> "this machine" is an old pentium3 server [23:00:31] <sobriquet> yes [23:00:32] <sobriquet> I do [23:00:36] <seekwill> ok [23:00:42] <cafuego> Weeeellll that doesn't seem horribly nonstandard [23:01:05] *** deftunix has quit IRC [23:01:21] <sobriquet> it's really not [23:01:31] <adaptr> apart from qmail, that is (cue horrible bwah bwah sound - ka-zam!) [23:01:50] <sobriquet> I just need to make sure that I can fall back on my current production server if something goes wrong with my shiny new postfix setup [23:01:51] <cafuego> adaptr-- #for obviosity [23:02:19] <adaptr> good point [23:03:13] <cafuego> AT a pinch you can firewall redirect port 25 on the postfix box to qmail. [23:03:31] <cafuego> and deal with moving the imap messages later - your end users can STILL access imap then anyway. [23:03:42] <seekwill> You don't have a real firewall in front of Postfix? [23:03:46] <adaptr> we need to migrate away about 18 domains from an aging sendmail setup in th enear future, and I will simply A. setup postfix as primary MX as its frontend, including RBL, B.copy over the current setup to a second postfix server, and C. switch the MXen so the backup MX does nothing but queueue [23:04:08] <cafuego> seekwill: I don't run a proprietary or bsd product as firewall, no. [23:04:11] <adaptr> it'll be seamless [23:04:23] <seekwill> Interesting.... [23:04:28] <adaptr> do you consider cisco proprietary in this sense ? [23:04:33] <cafuego> yes [23:04:51] <adaptr> oh down, seekwill , down! don't start hammering him right away, he'll know it's you! [23:05:06] <sobriquet> right [23:05:07] <seekwill> oh.. [23:05:10] <sobriquet> Im just chicken [23:05:13] *** cilquirm has quit IRC [23:05:17] <sobriquet> email is the lifeblood aroun dhere [23:05:41] <cafuego> you know, all the bad spammers hit the lowest prio MX server as hard as they can [23:06:02] <cafuego> er, higest prio number ;-) [23:06:35] <adaptr> zen will still keep 90% out, whichever MX they target [23:06:51] <cafuego> On which the MTA is iptables -p tcp --dport 25 -j DROP [23:07:19] <adaptr> such a waste of good spambait [23:07:29] <adaptr> why not honeypot it and reverse-ddos them ? [23:07:50] <cafuego> Sounds like a lot of work [23:08:31] <adaptr> so is explaining to my customers why their mail is destroyed when the primary MX is down... [23:08:31] <sobriquet> I wanted to set mailavenger (it's a scriptable mta) to auto add bad IPs to the iptables rules [23:08:48] <sobriquet> but my underling strongly objected to it [23:08:54] <sobriquet> and that just gave me an interesting idea [23:09:13] <cafuego> adaptr: The dead hole is the tertiary MX, the secondary works fine. [23:09:22] <adaptr> ah [23:09:37] <adaptr> that's rather sad, actually [23:10:15] <cafuego> what is, having three MXes? [23:11:09] <adaptr> having to explicitly protect your domain with a bogus MX just to stop some spammers [23:11:10] *** ek has joined #Postfix [23:11:31] <adaptr> and yes, as a corollary, having three MXen [23:12:15] <cafuego> adaptr: I don't *have* to [23:12:30] <adaptr> how many hits does it get ? [23:12:37] <cafuego> adaptr: few hundred a day [23:12:57] <cafuego> and mainly from owned windows machines in the same datacenter [23:13:02] <adaptr> heh [23:13:05] <adaptr> windows++ [23:13:10] <cafuego> isn't it [23:13:43] <cafuego> The main advantage is I can easily extract those IPs an feed them to the guys who run the thing [23:15:24] <cafuego> Debian must've fixed openssl, creating a 4096 bit dh file doesn't finish in under 2 seconds anymore... [23:17:17] *** m0f0x has joined #postfix [23:20:19] <sobriquet> so I guess the answer was that there is no way to make postfix relay a single email to two other hosts [23:20:35] <sobriquet> is that #postfix's final answer? [23:20:58] <adaptr> I already gave you two answers [23:21:13] <sobriquet> that was a yes/no question [23:21:19] <cafuego> sobriquet: I think he said there is any number of ways in which you can do that with postfix. [23:21:31] <sobriquet> I can come up with all kinds of answers to questions I didnt ask ;] [23:21:38] <adaptr> don;t prevaricate [23:22:18] <sobriquet> yeah [23:22:23] <sobriquet> always_bcc_map [23:22:25] <sobriquet> ty [23:22:37] <sobriquet> sory [23:22:41] <sobriquet> that was lost in the spew [23:22:50] <sobriquet> kinda hairy around here today [23:22:51] <sobriquet> thx [23:23:27] <sobriquet> the real answer is to host the mail back-end (maildirs) on another machine [23:23:32] <sobriquet> but you know [23:23:37] <sobriquet> that'd be like... too easy [23:23:53] <sobriquet> I inherited some stupid (and very broken) stuff in the last year [23:24:13] <sobriquet> the previous *nix admin was covering up his incompetence [23:24:26] <sobriquet> with a condescending attitude, and luck [23:24:39] <randra> how i can do to send all spam to /maildir/.spam , i`m using postfix, dovecot, sa, maillscanner , any can help? [23:25:01] <sobriquet> I was formerly the winblows admin, but having been thrust into learning A LOT in the last 6 mos [23:25:15] <adaptr> sobriquet: another is to insert your own transport for your domains, and tee the traffic there [23:25:18] <sobriquet> I do appreciate the help fellas, despite my somewhat adversarial attitude [23:25:51] <sobriquet> adaptr: what do you mean? [23:25:58] <sobriquet> like a transport handler? [23:26:03] <adaptr> !transport_maps [23:26:04] <knoba> adaptr: "transport_maps" : a configuration parameter in the main.cf: Optional lookup tables with mappings from recipient address to (message delivery transport, next-hop destination). See transport(5) for details. [23:26:29] <adaptr> yes, postfix is flexible enough to allow you to route each and every recipient or sender to a different external application [23:26:39] <sobriquet> right [23:26:43] <sobriquet> I was just looking at that [23:27:02] <adaptr> and transports are not mandatorily mail programs - they can be anything that talks SMTP or RFC2822 [23:27:13] <sobriquet> manpage is kinda sparse on that point [23:27:26] <adaptr> although, anything that talks SMTP or RFC2822 is by definition a mail program :) [23:27:29] <adaptr> sparse ? [23:27:33] <adaptr> www.postfix.org [23:27:41] <cafuego> I am a mail program? [23:27:43] <adaptr> hundreds of detailed descriptions [23:27:54] <adaptr> cafuego: no, you're emacs [23:28:06] <cafuego> TAKE THAT BACK!!!!@ [23:28:19] <adaptr> well, it talks SMTP [23:28:21] <lennard> please don't shout [23:28:21] <cafuego> (vim user ;-) [23:28:24] <lennard> it hurts my eyes [23:29:08] <sobriquet> I guess Imma have to dedicate some more time to figuring out how to implement this [23:29:52] <sobriquet> Im not dead-set on using postfix to do this task, I just thought it would be straight forward considering how simple it is to set up postfix to relay to a single host [23:30:48] *** dam85 has joined #postfix [23:30:51] <dam85> hello everybody [23:31:01] <dam85> i have a server with 2 websites [23:31:06] <adaptr> fail [23:31:12] * lennard ponders [23:31:14] <dam85> i'm using postfix to send emails [23:31:16] <lennard> I think I have one of those [23:33:26] <dam85> i have a problem, for example i have website1.com and website2.com with mail.website1.com and mail.website2.com in myhostname i have only mail.website1.com so when i send from the second website an email i see only mail.website1.com could i add also mail.website2.com to myhostname ? [23:34:10] <cafuego> why does it matter what the hostname is? [23:34:29] <seekwill> spam [23:34:36] <lennard> it dictates the identification in EHLO [23:35:44] <lennard> although when sending mail, the exact name isnt very important, as long as it's valid [23:35:44] <dam85> yes [23:35:44] <dam85> but when i sent an email from website2 i don't want to see mail.website1.com but mail.website2.com [23:35:44] <cafuego> dam85: I tend to use mail.unrelateddomain.com for the mail servers [23:35:44] <dam85> aah ok [23:35:52] <lennard> it's just not very reasonable to assign a whole lot of spam-points to mismatching domainname, since it would completely kill any kind of 'virtual hosting' [23:36:02] <lennard> just make sure its valid, and you'll be fine [23:36:05] <cafuego> dam85: Your mailr ecipients are unlikely to check the headers [23:36:12] <dam85> so could i put also mail.mydomains.com(for example) [23:36:19] <cafuego> dam85: yep [23:36:25] <cafuego> dam85: Does it receive as well as send? [23:36:33] <dam85> ah ok [23:36:37] <dam85> yes receive [23:37:06] <dam85> but i saw the headers and i found it [23:37:30] <dam85> but if is not important...okay! no problem :) [23:37:44] <cafuego> dam85: If you use the same mailserver name for all those domains, you make your life much easier when you migrate. [23:38:06] <dam85> ok [23:38:07] <dam85> perfect [23:38:22] <lennard> wow, I like this one already [23:38:36] <lennard> dam85: you're not the average silly person who doesn't want to listen, very good :) [23:39:05] <adaptr> now wait, wait, let's not give him the benefit of all doubts just yet... [23:40:28] <dam85> ?? [23:41:43] <dam85> sorry i don't understood [23:41:45] <adaptr> just my sense of humour kicking in, nothing to worry about [23:42:34] <lennard> dam85: its a compliment, just ignore it :) [23:42:46] *** seekwill has quit IRC [23:42:58] <cafuego> google "jaded" ;-) [23:43:14] <dam85> :) [23:43:23] <lennard> wait, thats a word? [23:43:48] <donald> Is it possible to make a server side disconnect after a 554 response? I know this is not RFC compliant but is it possible? [23:44:01] <cafuego> lennard: Wordnet seems to think so. [23:44:07] <lennard> hmm [23:44:12] <lennard> why did I not know this before [23:44:20] <lennard> it applies to me so very often :) [23:44:27] <cafuego> heh [23:44:34] <cafuego> You must be an IT professional. [23:44:36] <lennard> unless, ofcourse, there are nuances to it of which I'm not aware [23:44:43] <lennard> gee, how'd you guess [23:45:03] *** UQlev has quit IRC [23:49:14] *** loddafnir has quit IRC [23:52:46] <pickcoder> donald: not that I'm aware of [23:54:18] <lennard> if you'd really really really really really want it, and be satisfied with a really really really really really really really really really really ugly solution, you could do some iptables-magic I suppose (assuming linux, here) [23:54:38] *** karrotx has quit IRC [23:55:09] <donald> hmmmm... does a legitime server try to send a message over and over when it gets a 554 and after that a 421 code ? [23:55:41] <lennard> depends when it gets what [23:55:45] <donald> for example [23:55:51] <donald> 554: you are blacklisted [23:55:55] <donald> 421: too many errors [23:56:10] <donald> <disconnect> [23:56:36] <donald> so a disconnect after 554 would be better, isnt it? [23:56:45] <pickcoder> donald: I use fail2ban to block naughty clients [23:56:50] <jeev> said: 421 Service not available, closing transmission channel Grey listed. (in reply to end of DATA command) [23:56:51] <jeev> these turds [23:56:53] <jeev> are grey listing me? [23:56:54] <jeev> wow [23:57:21] <jduggan> strange that they greylist at end of data [23:57:21] <adaptr> how informative [23:57:23] <jduggan> ;o [23:57:36] <jeev> if it's grey listed [23:57:39] <jeev> it'll be in the queue, right [23:57:49] <donald> pickcoder: i will have a look at it. [23:58:44] <pickcoder> it's mostly to stop RBL-listed clients from constantly trying to send mail [23:59:09] <donald> ah ok. [23:59:10] <pickcoder> when they force a 554 or whatnot to be logged, fail2ban sets a DROP rule automatically for a specific time