May 23, 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 | 31

[00:00:15] *** _yam has quit IRC
[00:02:45] <hax> sysmonk: 'postconf mailbox_transport' is blank... so i guess that means its whatever the default is? and i'm guessing thats either 'maildrop' or the first thing defined in master.cf?
[00:03:44] <hax> or to anyone: i'm just curious how postfix knows what mail deliver to use, as there's like 5 different ones in master.cf
[00:04:40] *** xpoint has quit IRC
[00:04:44] *** hparker has joined #postfix
[00:04:56] *** DickensCider has quit IRC
[00:05:07] <hax> master.cf has 'maildrop', 'old-cyrus', 'cyrus', 'uucp', 'ifmail', and 'bsmtp'... but i think it's using maildrop by default?
[00:05:09] <sysmonk> hax: it uses local transport for local delivery, and virtual for virtual delivery
[00:05:36] <sysmonk> by default, it uses 'local', which puts the mail to /var/spool/mail/username
[00:05:52] <rob0> No, maildrop is not a default, it's just an example.
[00:06:01] <sysmonk> $mail_spool_directory/$username
[00:06:12] <hax> sysmonk: well, i defined virtual_mailbox_base = /home/vmail and thats where it's putting those things
[00:06:23] <hax> sysmonk: so it's not actually using any of those delivery systems listed in master.cf?
[00:06:35] <sysmonk> hax: you should pastebin your postconf -n
[00:06:50] <sysmonk> it's had to tell what you have configured now :)
[00:08:18] <hax> sure, sec
[00:08:30] *** Altay has joined #postfix
[00:08:31] <sysmonk> s/had/hard/
[00:10:04] <Altay> Hi... this maybe something easy, but I need some help. I need to allow sending mails to my local domain and to a specific domain outside my networx (ie example.com), rejecting any other destination.... is it possible?
[00:10:23] <hax> sysmonk: http://pastebin.ca/503500
[00:10:56] <hax> sysmonk: some of that likely isnt good information, like the sender_login_maps... i dont know what thats doing there, all thats going away in favor of mysql
[00:10:57] *** ikonia has joined #postfix
[00:11:00] <hax> sysmonk: just havent gotten it all done yet
[00:12:32] <ikonia> guys, I'm throwing myself on the mercy of the channel. My qmail server died today and I've had to migrate some users onto a spare box, my only real option for that box was postfix, I think I've got it setup and working ok, but I have a few glitches to setup and I'd like some second opinions on some of my config options
[00:12:34] *** AJ_Z0 has quit IRC
[00:12:50] <ikonia> I could really use the voice of experience as I'm learning as I go and to be honest, I'm short on time
[00:12:56] *** AJ_Z0 has joined #postfix
[00:12:59] * ikonia lays cards on table
[00:13:41] <sysmonk> hax: you use virtual_ stuff, so it uses virtual(8)
[00:14:49] <sysmonk> you have virtual_mailbox_base set up, and it prefixes the path where the mail should be put
[00:15:10] <hax> sysmonk: wow, unexpected, i didn't even know that was a delivery agent
[00:15:12] *** prebur has joined #postfix
[00:16:02] <hax> sysmonk: could i explicitly set mailbox_transport to 'virtual'? or would that not be correct?
[00:16:03] <sysmonk> um, that's a transport :)
[00:16:17] <sysmonk> hax: what do you want to achieve?
[00:16:25] <sysmonk> ikonia: just ask the question ...
[00:16:33] <hax> sysmonk: nothing that i'm not achieving already, i'm just trying to sort out what postfix is actually doing
[00:16:45] <ikonia> sysmonk: not so much a question but verification on my conifig
[00:16:47] <rob0> !mailbox_transport
[00:16:48] <knoba> rob0: 'mailbox_transport' : a configuration parameter in the main.cf: Optional message delivery transport that the local(8) delivery agent should use for mailbox delivery to all local recipients, whether or not they are found in the UNIX passwd database.
[00:17:05] <rob0> It's wrong.
[00:17:45] <Deep6> rob0 heya
[00:17:56] <sysmonk> ikonia: you'd need to pastebin it first :)
[00:18:05] <Deep6> rob0  can you advise me on my relocation issue?
[00:18:14] <rob0> Deep6: no
[00:18:31] <Deep6> it seems like a @domain catchall takes precidence over the relocation_map ?
[00:18:55] <ikonia> sysmonk: my primary failing at the moment is down to smtp security/usability and verfication from an external source that pop3 is working as the localhost test is fine
[00:18:59] <ikonia> sysmonk: just doing so now
[00:20:33] *** Altay has quit IRC
[00:20:50] <ikonia> sysmonk: http://pastebin.ca/503519
[00:22:16] <sysmonk> i don't like the idea of myhostname = localhost, but that should work too :)
[00:22:20] *** feross has quit IRC
[00:22:33] <sysmonk> seems innocent to me
[00:22:51] <ikonia> sysmonk: I did wonder about that myself, but as I understand it (I'm learning as I go on this) its due to the use of virtual domains, its better to have hostname as localhost
[00:23:03] <ikonia> sysmonk: I've never seen that idea on any other mail system though
[00:24:17] <sysmonk> anyway, everything else depends on the files (vmaps,vhosts), but at the first glance everything should work
[00:24:25] <sysmonk> rob0: what do you think?
[00:24:59] <ikonia> sysmonk: yup, ok that looks good to me also and it does appear to be "working"
[00:25:57] <rob0> think about what, "myhostname = localhost"? Any responsible site will reject anything which HELOs as "localhost".
[00:26:20] <ikonia> yup
[00:26:24] <ikonia> I can change that
[00:26:29] <sysmonk> rob0: but there's myorigin
[00:26:30] <ikonia> I'll also log that as feedback to the guide I used
[00:26:39] <ikonia> that didn't sit well with me either
[00:27:32] *** Spec is now known as x-spec-t
[00:27:55] <rob0> !myorigin
[00:27:56] <knoba> rob0: 'myorigin' : a configuration parameter in the main.cf: The default domain name that locally-posted mail appears to come from, and that locally posted mail is delivered to. The default $myhostname, which is fine for small sites. If you run a domain with multiple machines, you should (1) change this to $mydomain and (2) set up a domain-wide alias database that aliases each user to user at that dot users.mailhost.
[00:28:17] <ikonia> just done a quick telnet test and it does respond as "localhost"
[00:32:19] <ikonia> I'm assuming you'd agree that it would be wise to change it ?
[00:37:17] *** Mazon is now known as mazon
[00:37:38] *** kreg has quit IRC
[00:37:45] <ikonia> hello ?
[00:37:54] *** kreg has joined #postfix
[00:42:38] *** Lars_G has left #postfix
[00:44:00] *** nictuku has joined #postfix
[00:44:09] *** Deep6 has quit IRC
[00:47:00] <ikonia> ok, I think this is working fine now
[00:47:29] <ikonia> Is there anything else in addition to the config I've posted you'd advise me setting, I think I've got relaying covered ok
[00:47:46] <ikonia> I'd like to increase the number of allowed smtp connections, but I can't see a parameter for that
[01:00:13] *** ayeuu has quit IRC
[01:01:03] *** terje has joined #postfix
[01:01:31] <terje> hi there.. no matter what I do, when I send mail as root it goes out as root at localhost dot localdomain
[01:01:56] <terje> rather than what I've set as myorigin
[01:02:43] *** ikonia has quit IRC
[01:03:00] *** olinux has joined #postfix
[01:04:05] <olinux> i can "telnet localhost 25", but can't telnet that machine using it's lan ip, "telnet 10.0.1.33 25"
[01:04:13] <olinux> returns connection refused
[01:04:53] <olinux> port 25 is open
[01:06:04] *** raqamy has quit IRC
[01:08:54] *** raqamy has joined #postfix
[01:14:09] *** war has quit IRC
[01:14:31] <terje> aparently, it's not :)
[01:19:18] *** ikonia has joined #postfix
[01:19:54] <terje> alinux make sure your listening on all interfaces, by default it's localhost..
[01:20:48] *** ssquid has joined #postfix
[01:34:30] <rob0> !inet_interfaces
[01:34:31] <knoba> rob0: 'inet_interfaces' : a configuration parameter in the main.cf: The network interface addresses that this mail system receives mail on. By default, the software claims all active interfaces on the machine. The parameter also controls delivery of mail to user at [ip dot address]. If your server does not react to connection attempts on a certain interface you should check this setting.
[01:35:08] <rob0> The localhost "default" setting is not Postfix's default, it's what some distributions use.
[01:37:50] <rob0> terje, your /bin/mail (or whatever it uses) is a MUA. Postfix only sets the @$myorigin for unqualified mail. If your MUA says you're root at localhost dot localdomain, Postfix won't dispute that.
[01:45:47] <olinux> thanks terje it was interfaces
[01:52:19] *** fie has joined #postfix
[01:57:41] *** rmayorga has quit IRC
[01:58:44] *** rmayorga has joined #postfix
[02:02:29] *** rmayorga has quit IRC
[02:04:45] *** raqamy has quit IRC
[02:05:57] *** fujin has joined #postfix
[02:08:18] *** rmayorga has joined #postfix
[02:08:49] *** fiephonic has quit IRC
[03:06:16] *** cilly has quit IRC
[03:13:23] *** cilly has joined #postfix
[03:15:49] *** raqamy has joined #postfix
[03:24:46] *** killown has joined #postfix
[03:47:26] *** amrit|wrk is now known as amrit|bbl
[04:12:31] <hax> i'm trying to setup postfix to use pam, and my pam is failing... but when i check my logs, it says " SASL CRAM-MD5 authentication failed " ... shouldn't it be plaintext? and how can i tell postfix to only accept it as plaintext for pam?
[04:20:24] <hax> also, it's warning me about sasldb2, which makes no sense to me, since it's supposed to be using saslauthd... which is supposed to be using pam
[04:21:55] *** doomas has joined #postfix
[04:25:08] *** memic has quit IRC
[04:33:16] *** ceL_ has joined #postfix
[04:35:15] *** MauricioF has joined #postfix
[04:35:25] <MauricioF> hello people...
[04:35:39] *** doomas_ has quit IRC
[04:35:51] <MauricioF> i had a problem with SASL
[04:37:42] *** killown has quit IRC
[04:38:09] <hax> MauricioF: yeah, me too
[04:38:54] <MauricioF> i work with CentOS 4.4 postfix 2.3.4 cyrus-sasl2.1.19, and when i try in /etc/sysconfig/saslauthd MECH=sasldb
[04:39:24] <MauricioF> i get this msg
[04:39:25] <MauricioF> Starting saslauthd: saslauthd[28155] :set_auth_mech   : unknown authentication mechanism: sasldb
[04:40:04] <MauricioF> if i do saslauthd -v
[04:40:04] <MauricioF> saslauthd 2.1.19
[04:40:04] <MauricioF> authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap
[04:41:06] <MauricioF> somebody had a problem like this?
[04:45:14] <hax> MauricioF: not me, but i think i know what part of your problem is at least
[04:45:27] <hax> MauricioF: look in /usr/lib/sasl2/smtpd.conf
[04:45:50] <hax> MauricioF: also look in /etc/sysconfig/saslauthd
[04:45:57] <hax> MauricioF: it's probably using something it shouldn't be
[04:46:15] <hax> MauricioF: btw, i'm using centos4 too... where'd you get a postfix2.3 package? looks like 2.2 is the one that comes with it
[04:46:47] <MauricioF> pwcheck_method: saslauthd this is from /usr/lib/sasl2/smtpd.conf
[04:47:53] <MauricioF> i get the rpm on http://rpm.pbone.net/
[04:48:27] <MauricioF> r u usign sasldb to authenticated?
[04:48:40] <hax> MauricioF: i'm trying to use pam, but i'm failing
[04:49:09] <hax> MauricioF: my big plan was to use pam_mysql
[04:49:24] <MauricioF> jojo....i leave pam because i fighted too much
[04:50:12] <hax> heh
[04:50:33] <hax> MauricioF: well, check /etc/sysconfig/saslauthd for the MECH= line
[04:50:36] <MauricioF> do u have problem when use cyradm? i mean, with pam off course
[04:50:37] <hax> MauricioF: i think thats where your error is
[04:50:48] <hax> MauricioF: nah, i'm trying to use dovecot1.0 and postfix2.2
[04:51:30] <MauricioF> yes, i think is the problem, because i set MECH=sasldb
[04:51:44] <MauricioF> tell me one thing
[04:52:08] <MauricioF> if u run saslauthd -v
[04:52:19] <MauricioF> what u can get?
[04:56:16] <hax> saslauthd 2.1.19
[04:56:17] <hax> authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap
[04:58:14] <MauricioF> is the same that i get...:( oops...
[04:58:58] *** foo has left #postfix
[04:59:55] *** Motoko-chan has joined #postfix
[05:00:54] <hax> MauricioF: heh, i feel your pain
[05:03:21] <MauricioF> and...i don't know what i can do...i feel so bad...
[05:06:27] <MauricioF> hax: did u read this? http://www.redhat.com/archives/fedora-list/2004-December/msg06361.html
[05:10:00] <hax> MauricioF: well, i'm not actually using cyrus, but yeah, that's the pam_mysql technique i'm trying to use
[05:10:11] <hax> i wish i could figure out a way to turn up pam debugging and see wtf is going wrong
[05:10:35] <MauricioF> why do u choose dovecot?
[05:11:18] <hax> as far as i can tell, dovecout and courier are the only thing with maildir support
[05:11:21] <hax> and i want to use maildir
[05:11:28] <hax> cyrus uses something proprietary, and i dont want mbox either
[05:11:29] <MauricioF> i choose cyrus because i've an printed tutorial
[05:12:12] <hax> there's nothing wrong with cyrus, it's been said to scale better
[05:12:17] <hax> but i really need maildir support
[05:12:18] <MauricioF> oops...i didn't know...
[05:12:39] <MauricioF> ok i understand
[05:12:48] <MauricioF> where do u live?
[05:13:07] <hax> america, you?
[05:13:14] <MauricioF> USA?
[05:13:18] <hax> yeah
[05:13:25] <MauricioF> Tucuman, north of Argentina
[05:13:52] <MauricioF> which is your state?
[05:14:09] <hax> i'm on the east coast
[05:14:10] <MauricioF> do u know about my state?
[05:14:14] <hax> not at all
[05:14:15] <hax> heh
[05:15:19] *** cilly has quit IRC
[05:15:25] <MauricioF> here there is some info http://en.wikipedia.org/wiki/Tucuman
[05:21:34] *** xpoint has joined #postfix
[05:22:14] <hax> looks nice, but it's not making sasl work any better :P
[05:22:59] <MauricioF> hax: yeah...but...at this time can't think anymore...
[05:23:13] <MauricioF> have u jabber id?
[05:23:16] <hax> heh, yeah, i wish someone was around who had a clue
[05:23:17] <hax> nah
[05:23:18] *** rmayorga has quit IRC
[05:25:09] <MauricioF> yeah...but looks like everybody r sleeping...or doesn't interest our trouble
[05:25:40] <MauricioF> hax: don't use any IM?
[05:25:46] <hax> not really, just irc
[05:25:49] <hax> i'm always on though
[05:27:08] <MauricioF> ok, is my bed time, here are 12:27 am
[05:27:27] <hax> g'night
[05:27:50] <MauricioF> thx a lot, i hope can get solve!!
[05:29:00] <hax> yeah me too, heh
[05:29:42] *** MauricioF has left #postfix
[05:38:24] *** bob_sinclair has joined #postfix
[05:38:48] <bob_sinclair> is an entry in /etc/aliases like carl at domain dot com.au: carl valid ?
[05:40:04] *** magyar has quit IRC
[05:57:16] *** rmayorga has joined #postfix
[06:01:24] <bob_sinclair> maybe not
[06:01:25] *** bob_sinclair has quit IRC
[06:03:49] *** nictuku has quit IRC
[06:07:35] *** Motoko-chan has quit IRC
[06:11:44] *** Tino is now known as Tinozaure
[06:15:08] *** lkthomas has joined #postfix
[06:15:11] <lkthomas> hey guys
[06:15:31] <lkthomas> is there have a method to deal with outgoing forwarder ?
[06:16:11] <lkthomas> which means when a user send an email, it will keep a copy and forward to other email address which is defined by us
[06:16:37] <f3ew> virtual_alias_maps?
[06:17:41] <lkthomas> isn't that alias just for incoming mail ?
[06:18:45] <lkthomas> f3ew, I mean, when I send email to you by smtp, can I do auto forward as well ?
[06:21:09] <lkthomas> f3ew, ?
[06:21:39] *** xpoint has quit IRC
[06:26:40] <lkthomas> anyone still alive ?
[06:26:45] <f3ew> yes
[06:26:56] <f3ew> on outbound mail?
[06:27:04] *** Motoko-chan has joined #postfix
[06:27:05] <lkthomas> yeo
[06:27:05] <f3ew> you do the cc when the mail enters postfix
[06:27:13] <lkthomas> can I do that on server side ?
[06:32:10] <lkthomas> for outbound email, I should config on smtpd_sender_restrictions , am I correct ?
[06:32:54] <f3ew> sender_bcc_maps?
[06:34:06] *** killown has joined #postfix
[06:36:45] *** ek has quit IRC
[06:37:11] *** ek has joined #Postfix
[06:40:52] <f3ew> ??cheatsheet
[06:40:58] <f3ew> !cheatsheet
[06:40:58] <knoba> f3ew: 'cheatsheet' : http://jimsun.linxnet.com/misc/postfix-anti-UCE.txt : A HOWTO for pre-DATA spam control.
[06:44:35] <lkthomas> f3ew, does sender_bcc_maps support regexp ?
[06:44:46] <f3ew> yes
[06:54:39] <lkthomas> !/^(name1|name2|name3).domain1.com / test at domain dot com
[06:54:39] <knoba> lkthomas: Error: "/^(name1|name2|name3).domain1.com" is not a valid command.
[06:55:25] <lkthomas> does it means when name1 at domain1 dot com, name2 at domain1 dot com and name3 at domain1 dot com, it will bcc to test at domain dot com
[06:55:36] <f3ew> test it with postmap -q?
[06:56:03] <lkthomas> OH ?
[06:57:03] <lkthomas> postmap -q regexp:sender_bcc_maps  ?
[07:04:54] <lkthomas> ok, something interesting
[07:05:30] <lkthomas> how could I tell domain.com is not delivery in local but in other server ?
[07:07:50] <lkthomas> if I am using hash map, can I just use name1 at domain dot com smtp:[smtp.otherserver.com]test at domain dot com ?
[07:08:05] <lkthomas> I know it is wrong, but I would like to know how to get it working like this way
[07:10:21] <lkthomas> f3ew, any idea ?
[07:12:39] <lkthomas> or I have to combine sender_bcc_maps with transport_maps ?
[07:25:25] *** killown has quit IRC
[07:27:24] *** fujin has quit IRC
[07:27:52] *** danige has joined #postfix
[07:35:13] *** ek has quit IRC
[07:37:18] <lkthomas> ok, sender_bcc_maps will be ignore when transport map is running
[07:37:22] <lkthomas> how could I deal with it ?
[07:39:50] *** hparker has quit IRC
[07:40:09] *** hparker has joined #postfix
[07:42:34] <lkthomas> hparker, you there ?
[07:44:26] *** Motoko-chan has quit IRC
[07:45:06] *** Mavvie has quit IRC
[07:45:09] <hparker> lkthomas: Only slightly... nagios woke me up from sleeping in my recliner because of the connection loss
[07:46:06] <lkthomas> lol
[07:46:34] <hparker> Fortunately the laptop does a good job of holding me in place
[07:46:38] *** Mavvie has joined #postfix
[07:46:47] <lkthomas> hmm
[07:46:58] <lkthomas> hparker, I have a problem with sender_bcc_maps
[07:47:35] <hparker> Anything sent to user at example dot com gets BCC'd to user at example dot org
[07:47:51] <hparker> iirc
[07:48:16] <hparker> Anywho, logged out of everything, heading some where more comfortable.. Good luck
[07:48:21] *** hparker has quit IRC
[07:57:20] *** amrit|bbl is now known as amrit
[07:57:34] <lkthomas> ok
[07:57:39] <lkthomas> I think my sender_bcc_maps is working
[07:57:43] <lkthomas> a bit tricky
[08:00:04] *** bob_sinclair has joined #postfix
[08:00:31] <bob_sinclair> how can i make postfix or my system rollover the maillog so it starts a fresh new one?
[08:00:53] <snappy> That is usually the job of syslog.
[08:01:00] <snappy> oh wait, nevermind
[08:01:05] <snappy> logrotate i believe.
[08:01:14] <snappy> (on most linux machines anyways)
[08:02:40] <lkthomas> it is
[08:02:45] <lkthomas> or syslog
[08:04:35] *** SeJo is now known as OO11
[08:08:28] <bob_sinclair> ah yeah
[08:09:35] <bob_sinclair> anyone know how with syslogd?
[08:10:33] <f3ew> bob_sinclair, use logrotate
[08:10:55] <bob_sinclair> ok
[08:16:33] <bob_sinclair> that was hectic but worked thanks
[08:17:14] <bob_sinclair> well actually logrotate -f /var/log/mail didn't actually rolloever even though it parsed each line
[08:23:29] <many> didnt know /var/log/mail was a configfile
[08:24:23] <St3rnchen> moin
[08:26:21] *** frennkie has joined #postfix
[08:29:10] <bob_sinclair> i must of misread the man
[08:29:25] <bob_sinclair> yeah config file. man im a blonde
[08:29:28] <bob_sinclair> today
[08:33:53] *** drake4 has joined #postfix
[08:39:05] *** bob_sinclair has quit IRC
[08:43:05] *** cilly has joined #postfix
[08:45:17] *** lunaphyte_ has quit IRC
[08:48:54] *** flart has joined #postfix
[08:49:55] <flart> hi
[08:52:07] <flart> if i as mailserver send a "250 OK queued as foobar103429895..." after successful message transfer, the opposite site should send a "QUIT" immediatly... am i right?
[08:52:15] <f3ew> no
[08:52:43] <f3ew> connection caching, connection reuse, network latencies ...
[08:53:18] <flart> ok, forgot to say the connection is no more used after that transfer
[08:54:17] <flart> i have here some crappy appliances which keep the connection for at least 5 minutes up and don't send nothing over it
[08:54:29] <flart> more or less directly cabled to the mailserver
[08:54:39] *** GI_James has joined #postfix
[08:54:42] <f3ew> oh
[08:54:55] <many> well
[08:55:18] <flart> and the manufacturer thinks its acting rfc-conform
[08:55:30] <many> i'd say: it'd be nice to; however if the mailserver is its smarthost, why should it close the connection when it can still reuse it later
[08:55:55] <many> i'd consider it a bug when it keeps one used connection open and sends new mails via new sockets only
[08:56:05] <flart> the appliance delivers the mail to the server
[08:56:18] <flart> many: yep, we think the same here :)
[08:56:43] <flart> and yes, it does exactly like that
[08:56:54] <flart> so, afk. thx for input :)
[08:56:57] *** lunaphyte_ has joined #postfix
[08:57:10] *** Lap_64 has joined #postfix
[08:57:22] <many> flart: i guess you could tune some timeout value in postfix to kick the connection
[09:04:59] *** amrit is now known as amrit|zzz
[09:05:41] *** x-spec-t has quit IRC
[09:10:58] *** bostik_ has joined #postfix
[09:11:41] *** bostik has quit IRC
[09:12:47] *** rootsvr has joined #postfix
[09:12:58] *** GI_James has left #postfix
[09:14:16] *** rmayorga has quit IRC
[09:17:14] *** mazon is now known as Mazon
[09:20:05] *** rootsvr has quit IRC
[09:20:18] *** [miles] has joined #postfix
[09:39:54] *** cilly has quit IRC
[09:40:29] *** StyleWarz has joined #Postfix
[09:41:58] *** OO11 is now known as SeJo
[09:55:49] <flart> many: thats our solution at the moment ;)
[10:01:47] *** war has joined #postfix
[10:17:39] <many> heh, okay.
[10:26:34] *** echelog has joined #postfix
[10:26:39] *** Mazon has quit IRC
[10:40:59] *** enzo has joined #postfix
[10:41:02] <enzo> hi
[10:41:26] *** Martz|work has joined #postfix
[10:41:29] <enzo> i have a problem, my queue contains many messages, but they are not processed quickly
[10:42:08] <Martz|work> Hi, i've got a whitelist/blacklist file with a line "user at domain dot com REJECT" so that I can reject incoming email from a certain address, how can I do it silently? or how could I forward it to /dev/null
[10:42:11] *** pmjdebruijn has joined #postfix
[10:42:33] <enzo> maybe as there are many messages postfix tries to send, it doesn't send the other messages?
[10:42:39] *** af_ has joined #postfix
[10:42:40] <f3ew> use DISCARD
[10:42:55] <enzo> where f3ew ?
[10:43:16] <Martz|work> thanks f3ew, I'll try that :)
[10:44:02] <f3ew> that was for Martz|work
[10:44:13] <f3ew> enzo, the rest will be tried later
[10:44:31] <enzo> yes f3ew but how can i do to do that more quickly ?
[10:44:37] <Martz|work> works great! :)
[10:44:39] <Martz|work> ty
[10:44:43] <enzo> can i configure postfix to try to send much more messages ?
[10:45:24] <Martz|work> enzo: did you do a "postfix flush"? Will reset all the queue messages and attempt to deliver them all again
[10:47:31] <enzo> yes Martz|work but same thing, my queue is not empty
[10:47:42] <enzo> message from yesterday are in the queue, and not sent
[10:48:41] <enzo> in fact i've sent a newsletter, so i have a lot of mails sent from the same address
[10:48:51] <enzo> maybe i have to increase initial_destination_concurrency ?
[10:51:36] <Martz|work> well, what if they cannot be delivered?
[10:51:44] <Martz|work> postfix will keep them in the queue and keep retrying
[10:52:01] <Martz|work> and increase the retry time after each failure
[10:52:40] <Martz|work> i've used webmin in the past to manage the queue, and it will show why emails havent been delivered/for what reason etc
[10:52:49] <Martz|work> otherwise I cant help sorry! a complete n00b myself
[10:53:06] <enzo> yes i understand, but i don't want that the non delivered mails to forbid the good mails to be sent
[10:54:36] <Martz|work> they shouldn't be at all.
[10:55:23] <Martz|work> non delivered emails should have a retry time of say, 5 mins. New emails put into the queue should be sent out at the next available opportunity, afaik
[10:59:50] <SeJo> hey all, my postfix server relays all it's incoming mail to another smtp server. Once that server says the emailaddres doesn't exist normally postfix sends a report to the originator. Is there a way to not send a report, but just drop the mail?
[11:00:17] <enzo> one thing i don't understand, is that qshape gives low number of mails (24) but when i see mailq, i can see 500 mails waiting for delivery
[11:04:12] *** af_ has quit IRC
[11:05:46] *** Lap_64 has quit IRC
[11:06:05] *** rootsvr has joined #postfix
[11:06:54] *** Sp4rKy has left #postfix
[11:07:32] *** Lap_64 has joined #postfix
[11:10:51] *** hundfred has joined #postfix
[11:19:53] *** Zeit|awy has quit IRC
[11:22:38] *** mazon has joined #postfix
[11:24:45] *** mazon is now known as Mazon
[11:28:33] *** TheOutlander has joined #postfix
[11:36:51] *** sep__ has joined #postfix
[11:38:49] *** sep__ has quit IRC
[11:44:24] *** rokra has joined #postfix
[11:45:15] <rokra> WHat is good like imap server? I m trying cyrus , but it seems complciated and a big gazoline factory
[11:47:51] <Signum> dovecot
[11:47:54] <Habbie> rokra, courier and dovecot are popular choices
[11:48:03] *** prebur has quit IRC
[11:48:50] <Signum> rokra?
[11:49:01] <Habbie> Signum, ... :)
[11:51:32] *** prebur has joined #postfix
[11:57:31] *** TheOutlander has quit IRC
[11:57:33] *** knoba has quit IRC
[11:57:34] *** meandtheshell has quit IRC
[11:57:34] *** hax has quit IRC
[11:57:35] *** mathez has quit IRC
[11:57:35] *** koollman has quit IRC
[11:57:36] *** MidBSD has quit IRC
[11:57:36] *** blinx has quit IRC
[11:57:37] *** haroldp has quit IRC
[11:57:37] *** Ra1stlin has quit IRC
[11:57:39] *** Alumin has quit IRC
[11:57:39] *** eat_life has quit IRC
[11:57:39] *** jduggan has quit IRC
[11:57:39] *** chrisq has quit IRC
[11:57:39] *** flart has quit IRC
[11:57:40] *** megaTherion has quit IRC
[11:57:40] *** nitbix has quit IRC
[11:57:40] *** deemon has quit IRC
[11:57:41] *** mjoseph has quit IRC
[11:57:41] *** Zerberus has quit IRC
[11:57:41] *** nxvl has quit IRC
[11:57:41] *** shasta has quit IRC
[11:57:41] *** lysander has quit IRC
[11:57:42] *** cfreak has quit IRC
[11:57:42] *** mb__ has quit IRC
[11:58:08] *** TheOutlander has joined #postfix
[11:58:08] *** flart has joined #postfix
[11:58:08] *** knoba has joined #postfix
[11:58:08] *** meandtheshell has joined #postfix
[11:58:08] *** hax has joined #postfix
[11:58:08] *** mathez has joined #postfix
[11:58:08] *** koollman has joined #postfix
[11:58:08] *** MidBSD has joined #postfix
[11:58:08] *** blinx has joined #postfix
[11:58:08] *** Alumin has joined #postfix
[11:58:08] *** eat_life has joined #postfix
[11:58:08] *** megaTherion has joined #postfix
[11:58:08] *** shasta has joined #postfix
[11:58:08] *** jduggan has joined #postfix
[11:58:08] *** Zerberus has joined #postfix
[11:58:08] *** nitbix has joined #postfix
[11:58:08] *** mjoseph has joined #postfix
[11:58:09] *** lysander has joined #postfix
[11:58:09] *** nxvl has joined #postfix
[11:58:09] *** mb__ has joined #postfix
[11:58:09] *** cfreak has joined #postfix
[11:58:09] *** chrisq has joined #postfix
[11:58:09] *** haroldp has joined #postfix
[11:58:09] *** deemon has joined #postfix
[11:58:09] *** Ra1stlin has joined #postfix
[11:58:09] *** adf323 has quit IRC
[11:58:44] *** adf323 has joined #postfix
[12:05:25] *** olinux has quit IRC
[12:10:05] <rokra> Signum: yeap?
[12:10:23] <rokra> I m looking for dovecot
[12:12:12] *** mathez has quit IRC
[12:23:47] *** prebur has quit IRC
[12:34:23] *** prebur has joined #postfix
[12:35:13] *** raqamy has quit IRC
[12:40:47] *** cilly has joined #postfix
[12:56:48] *** noetik has joined #postfix
[13:02:13] *** cpm has joined #postfix
[13:04:41] *** danige has quit IRC
[13:04:43] *** pmjdebruijn has quit IRC
[13:04:59] *** rokra has quit IRC
[13:05:14] *** drake4 has quit IRC
[13:15:47] *** RedShift2 has joined #postfix
[13:15:50] <RedShift2> hi
[13:16:01] <RedShift2> is it still common for mails to be sent with \n instead of \r\n?
[13:21:12] <f3ew> no
[13:31:29] <Habbie> smtp is always \r\n
[13:34:59] *** Foxdie has joined #postfix
[13:36:42] <Foxdie> question, I've just compiled postfix for use with dspam as an SMTP relay, I've started postfix okay but when I telnet to port 25 it connects but postfix doesn't respond with the usual 220, it's like I'm connected to a black hole, any ideas?
[13:38:07] <Foxdie> my postconf -n is at http://pastebin.ca/504971
[13:38:10] <f3ew> logs?
[13:39:26] <Foxdie> not sure where postfix stores its logs
[13:39:51] <Foxdie> does it dump into /var/log/maillog ?
[13:40:24] <Foxdie> ahh yes, it seems it does, ay 23 12:44:33 spambloq postfix/smtpd[13629]: warning: connect #7 to subsystem /var/spool/postfix/private/proxymap: No such file or directory
[13:40:30] <Foxdie> guessing I need to create that folder :)
[13:41:19] <Foxdie> maybe not, already there with dspam entries, a little confused here
[13:43:53] <Foxdie> ahh I fixed it, I'd commented out the proxymap line in master.cf
[13:47:01] *** noetik has quit IRC
[13:47:14] *** cutmasta has joined #postfix
[13:57:06] *** thrawn has joined #postfix
[13:57:37] *** master_o1_master has joined #postfix
[14:02:35] *** _matt has joined #postfix
[14:07:23] *** thrawn has quit IRC
[14:08:33] *** rootsvr has quit IRC
[14:09:34] *** mastachand has joined #postfix
[14:09:52] *** master_of_master has quit IRC
[14:12:28] *** mathez has joined #postfix
[14:16:38] *** rootsvr has joined #postfix
[14:29:26] *** Zborg has quit IRC
[14:31:03] *** Zborg has joined #postfix
[14:33:32] *** RedShift2 has quit IRC
[14:38:44] *** noetik has joined #postfix
[14:40:02] *** cutmasta has quit IRC
[14:43:44] *** mooky has joined #postfix
[14:45:40] <mooky> Could someone explain (breifly) how to manage aliases/forwards in postfix with regard to virtual domains. eg. similar to a .forward file so that user at host dot com will forward/alias to real_user at host dot com
[14:46:41] <f3ew> virtual_alias_maps
[14:46:42] <f3ew> !virtual_alias_maps
[14:46:43] <knoba> f3ew: 'virtual_alias_maps' : a configuration parameter in the main.cf: Optional lookup tables that alias specific mail addresses or domains to other local or remote address. The table format and lookups are documented in virtual(5).
[14:46:57] <mooky> f3ew: hello my indian friend !
[14:47:17] <mooky> f3ew: thank you vew much
[14:48:24] <mooky> f3ew: very long time no see
[14:48:43] * f3ew is still around
[14:48:59] <mooky> I've just not been in a covnersation/channel with you for over a year now
[14:49:04] *** mooky is now known as mr_darky
[14:49:23] <Lap_64> mr_darky,  f3ew  always around
[14:49:55] <mr_darky> yes, I see that, but I've not seen him for a long time, more so because I don't normally use postfix so rarley adventure into ehre
[14:50:20] <f3ew> yeah
[14:50:28] <f3ew> I moved off Y! ages ago
[14:50:33] <mr_darky> as did I
[14:50:38] <mr_darky> hence our paths not crossing
[14:50:57] <mr_darky> its very nice to see you (apologies for off topic)
[14:51:04] *** cilly has quit IRC
[14:51:05] <mr_darky> I used to have some excellent discussions with you
[14:51:57] * f3ew remembers a little Sendmail issue
[14:52:08] <f3ew>  /usr being set to 600
[14:52:09] <mr_darky> yes, we've chatted on sendmail before
[14:52:16] <mr_darky> don't know about that
[14:52:51] <f3ew> yeah, you had to get me to shell in and look arouns
[14:52:54] <f3ew> around
[14:53:13] <Lap_64> w00ha
[14:53:14] <mr_darky> Hmmm I think you maybe mixed up on that one, as I've never given out shell access to anyone
[14:53:25] <Lap_64> lols
[14:53:29] <f3ew> Hmmm,
[14:53:39] <Lap_64> f3ew, grepl logs mooky
[14:53:42] <f3ew> that was three or four years ago
[14:53:53] <mr_darky> ahhhh I've not been using mooky long
[14:53:54] <f3ew> Lap_64, this is ancient history
[14:54:07] <Lap_64> oh ok
[14:54:08] <mr_darky> mr_darky was taken so I picked a nick and registed it
[14:54:21] <mr_darky> mooky was free
[14:54:43] *** cilly has joined #postfix
[14:56:23] <Lap_64> f3ew, http://www.ussg.iu.edu/hypermail/linux/kernel/0610.0/0725.html
[14:56:27] <Lap_64> f3ew,  did you post that ?
[14:59:10] *** rootsvr has quit IRC
[15:00:44] *** hparker has joined #postfix
[15:02:02] <f3ew> yes
[15:02:06] *** henriknj has joined #postfix
[15:02:33] <cpm> hmmm
[15:06:31] <Foxdie> now I really am baffled at this: May 23 14:07:12 spambloq postfix/qmgr[14073]: warning: connect to transport dspam;: No such file or directory
[15:06:57] <Foxdie> but it's exactly where it needs to be, I've checked and triple checked the paths and lines in main.cf
[15:07:02] <Foxdie> and master.cf
[15:07:13] *** Trollinator has joined #postfix
[15:07:25] *** noetik has quit IRC
[15:08:49] <Trollinator> can somebody tell me where postfix looks for the kerberos keytab file?
[15:11:27] <f3ew> Foxdie chroot?
[15:11:36] <f3ew> permissions on the spcket?
[15:12:27] <Foxdie> which socket, the /tmp/dspam one?
[15:19:49] <f3ew> yes
[15:22:46] <Foxdie> owner root, group mail. postfix is a member of the group mail
[15:23:09] <Foxdie> and the permissions for the file indicate that group members can access it
[15:23:12] *** pmjdebruijn has joined #postfix
[15:28:47] *** aukjan|gone is now known as aukjan
[15:30:42] *** raqamy has joined #postfix
[15:40:36] *** aukjan is now known as aukjan|gone
[15:40:54] *** aukjan|gone is now known as aukjan_
[15:46:43] *** Zeit|idle has joined #postfix
[15:55:44] *** aukjan_ is now known as aukjan
[16:04:02] *** aukjan is now known as aukjan|gone
[16:04:52] *** rmayorga has joined #postfix
[16:05:14] <Foxdie> any suggestions please f3ew?
[16:05:57] *** TheOutlander has quit IRC
[16:08:36] <f3ew> chroot?
[16:17:59] *** Trollinator has quit IRC
[16:18:26] *** mrivera has joined #postfix
[16:20:17] *** enzo has quit IRC
[16:22:43] <Foxdie> chroot?
[16:23:03] <Foxdie> what do you mean by that?
[16:23:09] <f3ew> !chroot
[16:23:10] <knoba> f3ew: Error: "chroot" is not a valid command.
[16:23:13] <f3ew> !master
[16:23:14] <knoba> f3ew: Error: "master" is not a valid command.
[16:23:22] <f3ew> see master.cf, 5th column
[16:23:59] <Foxdie> for which command am I altering this for? dspam or another?
[16:24:16] *** cVsup has joined #postfix
[16:24:44] <cVsup> Hi. I need my postfix connect in other smtp for send mails
[16:24:49] <cVsup> somebody can help me?
[16:25:03] <cpm> !submission
[16:25:03] <knoba> cpm: Error: "submission" is not a valid command.
[16:25:10] <cpm> get a clue knoba!
[16:25:55] <Foxdie> :)
[16:26:06] <Foxdie> !help
[16:26:07] <knoba> Foxdie: (help [<plugin>] [<command>]) -- This command gives a useful description of what <command> does. <plugin> is only necessary if the command is in more than one plugin.
[16:26:23] <hparker> Master... Submission... kinky...
[16:26:30] <Foxdie> hparker: I was trying not to say it
[16:26:50] <hparker> heh
[16:29:03] *** Mazon is now known as mazon
[16:33:27] *** memic has joined #postfix
[16:43:49] *** Bronsky has joined #postfix
[16:52:23] <Foxdie> okay, I set chroot to Y f3ew, still got the same issue
[16:53:52] <cVsup> how make postfix connect in other mta to send emails?
[16:55:14] <Foxdie> cVsup: take a look at master.cf in /etc/postfix
[16:55:21] <Foxdie> there's some examples at the bottom
[16:55:51] <cVsup> Foxdie, you can show example?
[16:57:50] <Foxdie> well I am a beginner at postfix myself, I wouldn't be able to give a good example :)
[17:02:48] *** pmjdebruijn has quit IRC
[17:08:08] <cpm> Foxdie, read this document http://www.maawg.org/port25
[17:13:04] *** Lap_64 has quit IRC
[17:14:57] *** gpled has joined #postfix
[17:16:31] <gpled> iv noticed that postfix/cleanup dates are wrong in my maillog.  any idea why?
[17:18:26] *** prebur has quit IRC
[17:18:27] <rob0> If the offset is equal to your offset from UTC, I bet it's chroot.
[17:20:53] <Foxdie> cpm: what am I looking at there cpm?
[17:22:34] <Foxdie> its a document outlining some security suggestions regarding smtp servers by the looks of it
[17:23:12] <rob0> hparker: Today's my last work day, tomorrow I get mileage to go home.
[17:24:00] <hparker> rob0: What happened to TX?
[17:25:28] <rob0> It manages not to slide into the Gulf ...
[17:25:34] <hparker> lol
[17:25:36] <rob0> ... because Oklahoma sucks.
[17:25:43] <hparker> ugh.. :P
[17:25:59] <rob0> Not sure if I'm going to get an offer. I did not get that one.
[17:29:13] *** jduggan has quit IRC
[17:34:38] *** bertrand^ has joined #postfix
[17:37:43] <cpm> Foxdie, sorry, that was really for cVsup
[17:38:30] *** [miles] has quit IRC
[17:40:24] *** prebur has joined #postfix
[17:48:39] *** stefanb has joined #postfix
[17:49:19] <stefanb> Hello all :)
[17:50:25] <stefanb> I just tried to configure postfix with yast on suse 10.1 and I want to do masquerading and dont get it to work
[17:50:36] <stefanb> Can someone help me?
[17:52:36] <stefanb> I always have in mail header host.domain.tld and I want to change this cause this a hostname from a data processing centre
[17:53:13] <stefanb> so how I can it work that there is my wish domain in mail header configuring with yast
[17:53:25] <stefanb> or should I do configuring by hand?
[17:53:46] *** mvv has joined #postfix
[17:56:45] <Roobarb-Work> stefanb: paste an example
[17:56:56] <Roobarb-Work> stefanb: *of what it looks like now
[18:04:02] *** olinux has joined #postfix
[18:04:51] <stefanb> I will do it tomorrow cause I have to go home now ...
[18:05:44] <stefanb> So let us see us tomorrow :)
[18:07:35] <bertrand^> hey
[18:08:18] <bertrand^> is there some docs about setting up postfix 2.3, Cyrus SASL and a SQL backend?
[18:08:34] <bertrand^> i'm in the trouble looking for what's wrong for me
[18:13:14] <mr_darky> what is the default number of smtp connections available from postfix. Is this figure controllable ?
[18:15:03] <mr_darky> also is there a default limit on the number of "to" address that can be in a mail under a default postfix config ?
[18:15:11] <mr_darky> (apologies if thats explained badly)
[18:15:47] <Habbie> mr_darky, your first question is answered in master.cf
[18:15:54] <Habbie> for the second one, i don't think there is a default limit
[18:16:04] <mr_darky> Habbie: thank you
[18:16:46] <mr_darky> Habbie: ahhh I see it in master.cf
[18:16:54] *** gpled has left #postfix
[18:17:01] <mr_darky> I assume its the "maxproc" parameter
[18:17:04] <Habbie> yes
[18:17:09] <mr_darky> perfect
[18:17:16] <Habbie> a bit higher in the file that's explained
[18:17:20] *** mastachand has quit IRC
[18:17:49] <mr_darky> can't see any explainations in the default packaged with ubuntu
[18:17:59] <mr_darky> thats not important thoug
[18:18:00] <mr_darky> though
[18:18:11] <Habbie> no 'Max procs:' section in the comments in master.cf?
[18:18:21] <mr_darky> ahhh yes
[18:18:22] <mr_darky> sorry
[18:18:25] <mr_darky> I missunderstood
[18:18:27] <mr_darky> there is a table header
[18:18:34] <mr_darky> commented out to show the columns meaning
[18:18:57] <mr_darky> interesting the default appears to be 100 which should be enough for my use
[18:19:10] <bertrand^> i missed MySQL support for PAM it seems: /lib/security/pam_mysql.so
[18:20:51] <mr_darky> I'm trying to send a mail out using outlook 2003 with say 40 people in the "to" list and its postfix appears to be refusing connection. I initially wondered if it needed more smtp connections available, or if there is a rule that limits the ammount of people in the "to" field (can't see anything in the docs to suggest there is)
[18:20:59] <mr_darky> is there anything else that could be limiting it ?
[18:21:07] <mr_darky> something that I'm missing
[18:21:09] *** _matt has quit IRC
[18:21:15] <Habbie> mr_darky, did you configure postfix to allow relaying from your workstation?
[18:21:24] <mr_darky> Habbie yup, I can send out mail - no problems
[18:21:31] <mr_darky> just this one with a few "to" people in it
[18:21:32] <Habbie> don't know offhand then
[18:21:37] <mr_darky> hence my investigation
[18:21:43] <mr_darky> Habbie: yeah, its a bit unusual
[18:21:57] <Habbie> oh
[18:21:59] <Habbie> the default limit is 50
[18:22:14] <Habbie> no, wait
[18:22:18] <Habbie> that's on the outgoing side
[18:22:28] <mr_darky> Habbie thats right - outgoing
[18:22:35] <mr_darky> I'm trying to hit my smtp server to send out mails
[18:22:40] <mr_darky> so thats classed as outgoing
[18:22:43] <mr_darky> Habbie: where did you see that ?
[18:22:52] <Habbie> man 5 postconf, or postconf | less
[18:24:09] *** thrbd has joined #postfix
[18:24:10] <mr_darky> looking
[18:25:17] <rob0> WWJD? JWRTFsyslog.
[18:25:21] *** killown has joined #postfix
[18:25:46] <Habbie> :)
[18:25:56] <mr_darky> default_destination_recipient_limit
[18:26:10] <mr_darky> I assume thats the paramter you where looking at
[18:26:10] <Habbie> i don't think that's it, mr_darky
[18:26:12] <Habbie> but i'm not entirely sure
[18:26:13] <mr_darky> ooh ok
[18:26:22] <mr_darky> what makes you think thats not it ?
[18:26:25] <mr_darky> (just curious)
[18:26:47] <rob0> What I mean: why are we guessing about recipient limits? Why not look in the LOGS and see what really happened?
[18:26:52] <Habbie> rob0, i agree
[18:26:56] <Habbie> mr_darky, the description in the manpage
[18:27:09] <Habbie> mr_darky, what rob0 says, check the logs before we speculate any further :)
[18:27:10] <mr_darky> rob0: I can't see anything in the logs that suggests it
[18:27:15] <mr_darky> bad typing
[18:27:24] <mr_darky> suggests its being rejected but outlook is borking on connecting
[18:27:35] <rob0> What was logged when Outhouse tried to send?
[18:28:03] <rob0> Then that might be outside Postfix altogether.
[18:28:31] <mr_darky> rob0: outhouse ? - apologies, I'm still getting my head around postfix/process as this box was an emergency build
[18:28:57] <Habbie> he meant outlook
[18:29:06] <rob0> oh sorry, yes, outlook
[18:29:08] <cVsup> cpm, wassup
[18:29:11] <mr_darky> oooh sorry
[18:29:25] <mr_darky> the error from outlook was server refused connection
[18:29:39] *** simmerz has joined #postfix
[18:29:46] <mr_darky> I'm reasonably confident this isn't an outlook issue due to the fact that this wasn't a problem on qmail on the old box
[18:29:51] <mr_darky> (thats not to say thats certain though)
[18:30:27] <rob0> I'm not asking what Outwhatever says. What does Postfix say?
[18:30:30] <simmerz> is there any reason why a message rejected as having NUL content would not show at all in the logfiles?
[18:30:44] <mr_darky> rob0 I actually can't see it connecting/refusing in postfix
[18:30:53] *** Dalios`` has joined #postfix
[18:31:08] <mr_darky> I'm trawling the logs now
[18:31:29] *** unclecameron has joined #postfix
[18:31:35] <rob0> Then it must not be getting to Postfix. Find out where it IS going. Firewall?
[18:31:55] <mr_darky> rob0 I would agree with that, more so if other messages where not being accepted fine
[18:32:10] <mr_darky> rob0: firewall is open on the internal network, I'm probably missing the logging message
[18:32:25] <Dalios``> Hi. I am getting an unusual error when I try to run postfix
[18:32:28] <Dalios``> Starting Postfix Mail Transport Agent: postfixrm: cannot remove `etc/localtime': Permission denied
[18:32:28] <Dalios``> chmod: changing permissions of `etc/localtime': Operation not permitted
[18:32:45] <Dalios``> /etc/localtime is on a read-only mount
[18:33:04] <Dalios``> my question is... why does postfix need to remove this file?
[18:33:11] <rob0> Dalios``, your OS has given you a wrapper script which doesn't work right. Perhaps an OS bug.
[18:33:28] <Habbie> probably this attempted rm or chmod is within a chroot, though
[18:33:51] <Dalios``> yes.. within a chroot, and that mountpoint is read-only
[18:34:09] <Dalios``> rob0, Thanks. Let me look into it
[18:34:11] <Habbie> if that mountpoint is read only, how do you expect postfix to manage, for example, a queue?
[18:34:21] <rob0> Obviously the script expects to be able to remove etc/localtime .
[18:34:44] <Dalios``> Habbie, the queue dir is a different mountpoint, which has read/write perms
[18:34:49] <Habbie> Dalios``, ah, i see
[18:35:32] <mr_darky> Habbie, rob0 I'll pick this up at a later point when the user having problems is around again and I can clear the logs to verify the exact connection issue. Thank you for your time, I appricaite its frustrating when someone is new to an application and working under a tight timescale
[18:35:43] <Habbie> mr_darky, good luck
[18:36:08] <Dalios``> rob0, it does look like a bug in the init wrapper script. Thanks for the information!
[18:37:57] <rob0> mr_darky: I call it "Outhouse" because it is by far the worst MUA in common use. Its error messages are bad, features are broken ...
[18:38:18] <mr_darky> rob0 I have no disagreement on that statement
[18:39:23] * cpm sends rob0 to the outhouse
[18:39:35] <cVsup> somebody know how make with that the postfix connect in other postfix server for send my mails?
[18:39:47] <mr_darky> do you mean relaying ?
[18:40:20] <cVsup> yes
[18:40:36] <mr_darky> there is a relay_host parameter in the main.cf
[18:40:37] <cVsup> my postfix using ip randomico
[18:40:38] <mr_darky> I'll grab it for you
[18:40:47] <mr_darky> ip randomico ?
[18:41:12] <cVsup> yes
[18:41:13] <cVsup> no-ip.com
[18:41:43] <mr_darky> not sure what you mean by that
[18:41:47] <mr_darky> is that your domain name ?
[18:42:07] <Habbie> no-ip.com is for dynamic DNS
[18:42:10] <Habbie> when your IP is not static
[18:42:15] <mr_darky> mail server on dynamic IP ?
[18:42:18] <mr_darky> doesn't sound great
[18:42:28] <Habbie> correct
[18:42:28] <cVsup> Habbie, yes
[18:42:42] <cVsup> mr_darky, yes
[18:42:58] <cVsup> my ip is dynamic ip
[18:43:16] <mr_darky> don't think I'd like to be involved in running a mail server on a dynamic IP as relaying could be a problem, and its most likley used for spam
[18:45:04] <cVsup> mr_darky, i need authentication
[18:45:09] <cVsup> in relay
[18:45:42] *** sepski has joined #postfix
[18:49:17] *** StyleWarz has quit IRC
[18:50:14] *** simmerz has quit IRC
[18:52:18] *** mr_darky has quit IRC
[19:00:40] *** AJ__Z0 has joined #postfix
[19:01:55] *** AJ_Z0 has quit IRC
[19:02:27] *** AJ__Z0 is now known as AJ_Z0
[19:05:14] *** matju has joined #postfix
[19:05:29] <matju> is Postfix only logging inbound mail or i am missing something?
[19:06:34] <matju> i would like to get Postfix to give me a list of all outgoing email because i need to figure out how my postfix server gets abused.
[19:06:58] <cpm> you're missing something, given those options
[19:07:07] <matju> what does the log line for an outbound message look like? i could grep for something in my /var/log
[19:08:07] <matju> what i'm using might be old SuSE defaults actually. (I'm using another OS now, but with essentially the same config files)
[19:08:32] <matju> except /etc/postfix/postfix-script is the one from Debian 4
[19:09:20] <rob0> $DATE postfix/smtp[$$]
[19:09:29] <rob0> (outgoing message)
[19:11:01] <cpm> there is no difference between inbound and outbound, just the relay address, so look for any line that a to= a status= and a relay= that does NOT have your ip address in it, perhaps
[19:11:05] <matju> rob0, ok, so it's "smtpd" for receive vs "smtp" for send?
[19:11:10] <cpm> or doesn't have a rob0 in it
[19:12:17] <matju> my machine does not relay for anyone except local addresses, does that make it simpler to figure out?
[19:12:55] * cpm sighs
[19:13:09] <matju> except ~/.forward of course
[19:13:12] * hparker wold look for localhost entries if there's a web server allowed to use it
[19:13:17] <cpm> all machines relay
[19:13:24] <cpm> or rather, MTAs relay
[19:13:29] <cpm> that's how it works.
[19:14:14] <matju> cpm: i don't know what's the relationship between you and rob0 but if you're trying to tell me something about him you should be more explicit.
[19:14:41] *** mazon is now known as Mazon
[19:15:16] *** thrbd has quit IRC
[19:15:24] <cpm> cat /path/to/maillog | grep 'to=' | grep 'status='
[19:16:17] <matju> cpm, i don't know what you mean by "all machines relay". which kinds of relaying? my machine is not an open relay for smtp.
[19:16:55] <cpm> why are you arguing with me? and have you done as instructed yet?
[19:18:03] *** devdas has joined #postfix
[19:19:00] <cpm> cat /path/to/maillog | grep 'to=' | grep 'status='
[19:19:34] *** Ryushin has joined #postfix
[19:19:40] <cpm> then add  a | grep -v 'anything that looks like you' and what you'll be left with will be an outbound delivery line
[19:20:11] <bertrand^> testsaslauthd -s smtpd -u john.doe -p ***** works
[19:20:28] <bertrand^> but when using my mail client, postfix logs this:
[19:20:35] <bertrand^> postfix/smtpd[11512]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
[19:20:49] <bertrand^> Google don't find somethgin usefull for me. Any idea?
[19:21:01] <matju> cpm, ah, i thought you were saying that the first two greps would be sufficient, so i was trying to figure out why it wouldn't work for me
[19:21:27] <bertrand^> testsaslauthd -s smtp  -u john.doe -p ***** works, too
[19:25:18] <matju> cpm, if i ask questions it's because i want to understand. i'd like to think that people who answer my requests would enjoy it if i'd learn something instead of just copy-pasting solutions.
[19:26:46] *** Bronsky is now known as Bronsky_taff
[19:27:30] *** eltech has quit IRC
[19:27:45] * rob0 places a whoopie cushion on cpm's chair
[19:28:01] *** eltech has joined #postfix
[19:32:01] <devdas> cpm: "outbound"?
[19:32:06] <devdas> In that grep above?
[19:32:44] <devdas> If the questioner wanted mail sent out of the host, then a grep for 'postfix\/.mtp ' would surely help?
[19:33:03] <devdas> bertrand^: saslauthd <> auxprop
[19:33:28] <devdas> matju: Please keep in mind that a lot of questions *ARE* answered in TFM
[19:33:40] *** jduggan has joined #postfix
[19:33:54] *** kreg has quit IRC
[19:34:40] <bertrand^> devdas, pwcheck_method: saslauthd
[19:34:40] <bertrand^> mech_list: LOGIN
[19:34:49] *** matju has left #postfix
[19:35:50] <devdas> the error is from auxprop though
[19:36:21] <bertrand^> cat /etc/postfix/sasl/smtpd.conf
[19:36:21] <bertrand^> pwcheck_method: saslauthd
[19:36:21] <bertrand^> mech_list: LOGIN
[19:36:29] <bertrand^> i wonder where it finds about auxprop
[19:36:48] <bertrand^> anyhow, if auxprop works better, i wouldn't mind changing
[19:37:12] *** Mazon is now known as mazon
[19:38:56] <bertrand^> devdas, apt-get remove libsasl2-modules-sql
[19:39:07] <bertrand^> and now, postfix/smtpd[12040]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
[19:39:14] <bertrand^> looks way better for me
[19:43:18] <bertrand^> postfix added to sasl group and it seems to work perfectly
[19:43:52] <bertrand^> either the libsasl2-modules-sql debian package is broken, either it needs to be configured once installed
[19:50:04] *** mrivera has quit IRC
[19:55:48] *** AJ__Z0 has joined #postfix
[19:56:28] *** AJ_Z0 has quit IRC
[19:57:16] *** AJ__Z0 is now known as AJ_Z0
[19:59:38] *** killown has quit IRC
[20:06:02] *** kokoko1 has joined #postfix
[20:06:04] <kokoko1> hi
[20:06:22] <kokoko1> can someone help me with configuring postfix as backup mx
[20:07:42] <kokoko1> i have put relay_domains = $mydestination mydomain.org in main.cf
[20:07:44] <kokoko1> and also ..
[20:07:54] <kokoko1> smtpd_recipient_restrictions = permit_mynetworks check_relay_domains
[20:08:24] <kokoko1> while testing by stopping the primary and sending email , the mail bounce back to sender
[20:08:35] <kokoko1> with too many hop error :-S
[20:09:23] <many> can you paste the bounce to some pastebin?
[20:09:35] <many> !pastebin
[20:09:35] <knoba> many: 'pastebin' : a way to paste larger amounts of text so that other people can read it. Try http://www.rafb.net/paste/ or http://paste.debian.net/ - Do not forget to tell us the URL where you pasted it.
[20:11:05] *** hemry has joined #postfix
[20:14:20] *** mrivera has joined #postfix
[20:15:45] *** devdas has quit IRC
[20:19:33] <rob0> !too_many_hops
[20:19:33] <knoba> rob0: Error: "too_many_hops" is not a valid command.
[20:21:16] <rob0> !learn too_many_hops as In brewing, it means you should add more barley. In Postfix it means you have a mail routing loop. No machine in the loop considers itself the final destination for the looping mail.
[20:21:36] <Habbie> hehe
[20:22:07] <many> !loop
[20:22:08] <knoba> many: Error: "loop" is not a valid command.
[20:22:11] <many> !mailloop
[20:22:11] <knoba> many: Error: "mailloop" is not a valid command.
[20:22:11] <rob0> check_relay_domains is deprecated. "reject_unauth_destination" is better.
[20:22:25] <many> i thought there was something already defined
[20:22:49] <rob0> $mydestination should not be listed in relay_domains.
[20:22:55] *** unclecameron has quit IRC
[20:22:58] *** bertrand^ has quit IRC
[20:23:08] <rob0> many might be thinking about !loopback
[20:23:21] <many> !loopback
[20:23:21] <knoba> many: '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
[20:23:26] <many> right
[20:23:37] <many> its not the same, true to :)
[20:23:40] <many> too
[20:24:00] <kokoko1> smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination
[20:24:30] <many> rob0: what does relay_domains do exactly, that its enough voodoo to run on a secMX?
[20:24:46] <kokoko1> Okay Error: too many hops (in reply to end of DATA command) now gone
[20:24:50] <many> it must disable deliver_by_mx
[20:24:51] <rob0> kokoko1, fix your loop. Your upstream relay thinks you should handle that mail.
[20:25:14] <rob0> !address_classes
[20:25:15] <knoba> rob0: Error: "address_classes" is not a valid command.
[20:25:17] <rob0> !address_class
[20:25:17] <knoba> rob0: Error: "address_class" is not a valid command.
[20:25:18] <kokoko1> actaully this backup-mx was using some other host as relayhost
[20:25:22] <many> too many hops in reply to end of data???
[20:25:40] <many> that'd mean postfix figured that before accepting the mail
[20:25:40] <kokoko1> rob0, but still mails not holding in backup-mx queue :(
[20:25:43] *** mazon is now known as Mazon
[20:25:54] *** amrit|zzz is now known as amrit|wrk
[20:25:58] <kokoko1> and not getting bounce back even
[20:26:22] <many> rob0: i read the address classes document, but i didnt fully understand it
[20:26:44] <rob0> !learn address_classes as http://www.postfix.org/ADDRESS_CLASS_README.html describes how Postfix deals with different classes of addresses: local, relay, virtual alias, virtual mailbox, and Internet.
[20:26:50] <many> and i (cluelessly) doubt relay_domains and relayhost works that smart together, either.
[20:27:05] <rob0> many, basically yes, relay_domains are for being a secondary MX.
[20:27:10] * cpm wonders what devdas has done with our f3ew
[20:27:19] *** rmayorga has quit IRC
[20:27:22] <rob0> or ... you're the MX but the mailboxes are elsewhere.
[20:27:41] <many> rob0: how does it know where to deliver the domains without explicit transport:next_hop?
[20:27:49] * cpm is the postmaster, but rob0 is elsewhere
[20:28:08] <rob0> Zackly. You either use transport_maps or DNS trickery.
[20:28:32] <kokoko1> in my case after commenting the entry relayhost , i am not getting bounce back but still email not holding in backpu-mx queue
[20:28:58] <kokoko1> i have only two directives in main.cf for making postfix backup-mx for primary-mx
[20:29:12] <rob0> dig cpm.localdomain. @localhost | grep -q SERVFAIL
[20:29:51] <many> yeah, i used explicit transports for secMXs until now, didnt even know relaydomains existed
[20:30:47] <many> actually iam just wondering why relay_domains wouldnt deliver to itself again, because after all it self is listed as IN MX
[20:31:10] <kokoko1> Anything for me?
[20:31:36] <kokoko1> its very easy to do this backup-mx using sendmail duno why its pita in postfix
[20:32:02] <rob0> many, you can use DNS "views" to show something different from the global DNS to your select network.
[20:32:27] <many> rob0: uhm. you'd need views to use relay_domains for secmx?
[20:32:44] <rob0> no, I said views *or* transport_maps.
[20:32:51] <many> or otherwise put, you need to hide its own MX entry to use relay_domains
[20:33:09] * kokoko1 wonders he started some sort of class over here
[20:33:13] <many> no
[20:33:23] <many> iam just wondering and rob0 doesnt understand me :)
[20:33:30] <cpm> kokoko1, doing backup-mx isn't difficult, but it is usually a very large mistake
[20:33:32] * many takes another glance at the docs
[20:34:08] <kokoko1> cpm, only need to configure one in *case* primary goes down.
[20:35:05] <kokoko1> cpm, google giving different postfix configuations while searching for backup mx using postfix
[20:35:13] <cpm> no, the primary can go down for as long as 5 days, and you shouldn't loose any mail. The only a secondary does, it attract a huge amount of spam, and end run most of your anti spam proceedures
[20:35:45] <kokoko1> cpm, we are not running any sort os anti spam , virus even on primary :-S
[20:35:51] <kokoko1> so this is not our concern
[20:36:11] <kokoko1> all i want backup-mx hold emails in queue in case primary goes down.
[20:36:15] <cpm> as email queue for the primary will be delivered as trusted when the primary comes back up. And a great deal of that email will never have been sent to the primary in the first place, as spammers are all too aware that secondaries are much better targets
[20:37:03] *** Bronsky_taff has quit IRC
[20:37:04] <cpm> again, unless you think your primary will be down for more than 5 days, it shouldn't be a concern
[20:37:43] <kokoko1> primary never get down in last 2 years for more then 5 minutes.
[20:37:54] <cpm> then there is no reason for a backup mx
[20:38:10] <kokoko1> cpm, you telling me postfix is not ready for backp-mx
[20:38:13] <cpm> I'm quite serious, the only folks who make good use of backup mx are spammers
[20:38:25] <cpm> no, I'm telling you that running a backup mx is a mistake
[20:38:48] <kokoko1> cpm, you wiling to help me with backup-mx?
[20:39:05] <kokoko1> y or n will be enough for me
[20:39:40] <cpm> no. it's bad practice.
[20:39:52] <kokoko1> leave the practice alone.
[20:40:16] <cpm> http://www.postfix.org/STANDARD_CONFIGURATION_README.html#backup
[20:40:19] <kokoko1> runing a mail server is also not a good practice too, just PITA
[20:40:29] <cpm> thats all there is to it.
[20:41:05] <kokoko1>  user1 at the dot backed-up.domain.tld   x
[20:41:05] <kokoko1> 16     user2 at the dot backed-up.domain.tld   x
[20:41:10] *** Fr0zen_ has joined #postfix
[20:41:18] <kokoko1> i cant do this for 10k+ emails ids
[20:42:01] <kokoko1> relay_recipient_maps = hash:/etc/postfix/relay_recipients <-- this is useless in large envrioment
[20:42:41] *** Fr0zen_ has left #postfix
[20:45:16] <cpm> you don't need to do that. Just set the relay_domains on the backup, and the relay: for the transport on the main, then sit back and watch the mail flow
[20:45:58] <cpm> you can leave recipent maps out.
[20:47:34] <kokoko1> cpm, from main your mean primary?
[20:47:43] <cpm> what will happen is, since you can't check for valid recipients on the backup, which the spammers will target, is that you will start backscattering the internet with bounces, once the dictionary attacks hit your primary
[20:47:55] <cpm> yes, by main, I mean primary
[20:48:42] <cpm> I wish I could express what a bad idea it is to do this.
[20:49:42] <kokoko1> cpm, i have no other choice its boss who is asking me to configure backup-mx :-S
[20:50:29] <kokoko1> cpm, i have already line 5 , 6, 7 on backup and primary is working fine (test machine for single few email ids domain)
[20:50:45] <kokoko1> still backup-mx not holding emails in q
[20:51:15] <many> the only times i couldve use a secondary mx, the dns was down then too and the hosts couldnt resolve any of the mxes anymore
[20:51:18] <many> such is life.
[20:51:21] <many> ohwell
[20:52:01] *** alecs has joined #postfix
[20:52:34] <alecs> hi there !
[20:52:51] <alecs> does anyone knows what is domain kkey signature ?
[20:52:54] <many> anyway, i still dont grasp how relay_domains works.  the example docs never mention that one needs to hide its own IN MX record for the backup mx.  so postfix must recognize its own ip/hostname in IN MX...?
[20:53:18] *** Ryushin has quit IRC
[20:54:00] *** k31th has left #postfix
[20:57:29] * alecs please highlight me
[20:58:29] *** hoodow has left #postfix
[20:59:51] <cpm> kokoko1, check your logs for  B8CDB244E6 on the backup
[21:00:00] <kokoko1> k
[21:01:25] <kokoko1> cpm, pasting in pm
[21:01:36] <cpm> k
[21:01:58] <cpm> k
[21:02:16] <cpm> your primary isn't allowing the backup to connect.
[21:02:29] <kokoko1> cpm, coz postfix is down on primary
[21:02:41] <kokoko1> for testing
[21:02:57] <cpm> k, then it's working as far as we know.
[21:03:09] <cpm> we'll know more when the primary comes up.
[21:03:10] <kokoko1> mailq not shwoing any queue
[21:03:27] <cpm> the logs clearly show status deferred
[21:03:32] <kokoko1> yep
[21:03:41] <cpm> qshape deferred shows what?
[21:03:48] <many> . o O ( relayhost )
[21:04:19] <kokoko1> xxxxxi.org  3  0  1  0  1  1   0   0   0    0     0
[21:04:53] <cpm> k, so there are 3 in the queue for xxxxxi.org
[21:05:14] <cpm> I think it's working
[21:05:34] <kokoko1> cpm, why mailq not showing it?
[21:05:40] <cpm> dunno,
[21:05:55] * cpm is no mailq ninja
[21:06:01] <kokoko1> hehe
[21:07:34] <cpm> as I recall, mailq is from my sendmail days, qshape might be the better tool for postfix, as it's a postfix tool
[21:08:10] <kokoko1> cpm, right i'll try to get useto myself with qshape :)
[21:08:26] <kokoko1> your help very much appreciated.
[21:08:33] <cpm> qshape is pretty powerful, as postfix handles it's queues quite differently
[21:08:43] <cpm> well, you are certainly welcome.
[21:09:26] <cpm> also look at postqueue
[21:09:44] <many> mh
[21:09:53] <cpm> postqueue -p is mailq-ish
[21:10:01] <many> kokoko1: how did you install postfix?
[21:10:32] <kokoko1> many, hmm by first rpm -e sendmail and then using yum install postfix
[21:10:35] <kokoko1> i thinks
[21:10:36] *** Ryushin has joined #postfix
[21:11:23] <many> i wonder if your mailq program does not access the postfix queue
[21:11:28] <many> which mailq
[21:11:33] <many> which qshape
[21:11:36] <kokoko1> postqueue -p working and showing queue
[21:11:42] <cpm> k
[21:11:59] <kokoko1>  /usr/bin/mailq
[21:12:02] <many> i would guess the mailq binary is a remniscant of your sendmail installation
[21:12:06] <kokoko1>  /usr/sbin/qshape
[21:12:36] <kokoko1> output of postqueue -p is identtical to mailq
[21:13:00] <many> your system is a mysterium to me then :)
[21:13:06] *** cVsup has left #postfix
[21:13:11] <kokoko1> lol
[21:13:38] <kokoko1> okay need to configure a domain, talk to your ppl later
[21:13:46] <cpm> have fun
[21:15:46] <kokoko1> one last thing, how much time backup-mx will try to resent /flash its queue for primary?
[21:15:58] <kokoko1> i just started the test primray
[21:16:12] <kokoko1> wonders when backup-mx will found it alive.
[21:16:51] <cpm> postqueue -f will flush the queue, if you are impatient.
[21:17:14] <kokoko1> na ima not impatient
[21:17:21] <cpm> ahh, just do it anyway
[21:17:36] <kokoko1> Just asking when backup-mx will try agian?
[21:17:56] <kokoko1> :)
[21:18:01] *** rmayorga has joined #postfix
[21:18:20] *** crichardson has left #postfix
[21:18:54] <many> i think the retry algorithm is nonlinear
[21:19:50] *** killown has joined #postfix
[21:20:19] *** sunspec has joined #postfix
[21:21:00] <cpm> in a few minutes :)
[21:21:17] <cpm> kokoko1, I don't know.
[21:21:42] <kokoko1> right got two and i thinks postmaster's one bounce back :)
[21:23:02] <sunspec> Hi, what is the minimum postfix configuration i need to let a website that uses the php mail function actually send the mail out? Can i just configure transport.
[21:23:47] <kokoko1> cpm, is it possible to use a file or hash instead of typing each domain in main.cf relay_domains = $mydestination 1 2 3 4 .?
[21:24:10] *** evilstrike has joined #postfix
[21:24:30] <cpm> kokoko1, I keep it all in a mysql database
[21:24:35] <evilstrike> hey, has anyone ever seen  "The server responded: 4.7.1 Spam message initialization failure - client - network" and knows what can cause this?
[21:27:43] <Dominian> evilstrike: Do you use a policy service for spam/greylisting/
[21:28:52] <evilstrike> i use spamassassin
[21:29:11] <Dominian> Where is the error coming from?
[21:29:20] <Dominian> is it coming frmo your server or a server that ou are trying to deliver to?
[21:29:35] <Dominian> and you have checked your logs I"m assuming.
[21:30:14] <evilstrike> this is what im seeing in the logs
[21:30:15] <evilstrike> BAF7118012: to=<hwangken at netscape dot net>, relay=relais.videotron.ca[24.201.245.36], delay=1, status=deferred (host relais.videotron.ca[24.201.245.36] said: 452 4.7.1 Spam filter message initialization failure - client - network: hwangken at netscape dot net)
[21:30:28] <evilstrike> but I dont know where it is comming from
[21:30:49] <evilstrike> this happens when people send me mail to my postfix server
[21:31:08] <evilstrike> but it only happens to a few emails
[21:32:31] *** sunspec has left #postfix
[21:33:15] <evilstrike> according to the message what is relais.videotron.ca that gave the error or was it the error relais.videotron.ca received from my mail server?
[21:33:30] <evilstrike> is it relais.videotron.ca*
[21:35:12] *** Spec has joined #postfix
[21:36:08] <many> youre sending to that host
[21:36:33] <many> the host relais.videotron.ca is giving your mta this error
[21:40:24] <evilstrike> ok so that would possible be a problem with relais.videotronc.a?
[21:40:35] <evilstrike> having issues with their spam filter?
[21:41:16] <Dominian> no.. I would say that hwangken at netscape dot net is being flagged as spam
[21:41:57] <evilstrike> woulnt it say something like rejected:reason spam and not initialization failure?
[21:42:40] <Dominian> dunno.. depends on how they have their system configured.
[21:43:11] <evilstrike> thats not really helpfull as an error message to explain that its spam though
[21:43:18] <evilstrike> videotron.ca is an ISP by the way
[21:43:21] <Dominian> well, tell them.
[21:43:24] <Dominian> :)
[21:43:24] <evilstrike> lol
[21:43:25] *** kokoko1 has left #postfix
[21:46:52] <many> no need to 452 spam
[21:47:45] *** killown has quit IRC
[21:48:00] <evilstrike> ?
[21:48:16] <Dominian> Well, I'm still getting the hang of all those damn status codes
[21:48:37] <many> 4xx means temporary
[21:49:09] <many> if your mta recognizes spam, itll do alot of things
[21:49:31] <many> but not temporary defer from a remote mta
[21:49:50] <many> cause thatll mean to rescan it later
[21:50:20] <evilstrike> its putting it in the queue?
[21:50:27] <many> which is a waste of your own resources
[21:50:36] <many> no
[21:50:41] *** killown has joined #postfix
[21:56:44] <many> evilstrike: think 4xx as "i cannot accept the mail now, please try to send it later"
[21:57:00] <many> contrary to 5xx which means "i will not accept this mail at any time"
[21:57:12] <many> or 2xx which means "i did accept the mail, you can forget about it"
[21:57:59] *** Bracki has joined #postfix
[21:58:04] *** cpm has quit IRC
[21:58:19] <Bracki> this may sound stupid: how can i find which MDA i'm using?
[22:00:27] <Bracki> Does postfix provide it's own?
[22:01:22] <many> postconf mailbox_command
[22:01:30] <evilstrike> many: allright cool thx,  Im checking with the support from the ISP to see if they have any problems
[22:02:27] <Bracki> many: you meant me?
[22:05:39] <many> yes
[22:09:15] <many> Bracki: issue postconf mailbox_command, if that returns empty output, issue postconf mail_spool_directoy
[22:11:05] *** mrivera has quit IRC
[22:13:29] *** Schockwelle has joined #postfix
[22:13:57] *** Schockwelle has left #postfix
[22:13:58] *** Schockwelle has joined #postfix
[22:14:03] <Schockwelle> hi guys
[22:14:10] <Schockwelle> ca anybody help me please
[22:14:12] <Bracki> mailspool is /var/mail
[22:14:21] <Schockwelle> i would like to bind postfix to one ip
[22:14:24] <Bracki> does that mean that no MDA is configured?
[22:14:29] <Schockwelle> i set the interface
[22:14:38] <Schockwelle> but i have an error in my logifile
[22:14:46] <Schockwelle> May 23 22:11:29 golli amavis[2353]: (!) DENIED ACCESS from IP xx.xx.xx.xx, policy bank ''
[22:15:01] <Schockwelle> i don't know...
[22:15:10] <Schockwelle> sorry for my english - i try it ;)
[22:15:16] <many> Bracki: i think so.
[22:15:38] <many> Bracki: ich bin mir aber nicht sicher ob postfix selbst delivern kann.
[22:15:49] *** stefanb has quit IRC
[22:16:04] *** stefanb has joined #postfix
[22:16:15] <Bracki> well somehow the mail arrives...
[22:17:01] <many> ls -l /var/spool/mail/$USER
[22:22:41] *** stefanb has quit IRC
[22:22:57] *** stefan__ has joined #postfix
[22:23:19] <Schockwelle> kann man amavis an eine bestimmte ip binden?
[22:24:06] *** magnet_ has joined #postfix
[22:24:19] * many wouldnt know
[22:26:01] <evilstrike> Many: I contacted the ISP and they were in fact having issues with their mail servers
[22:26:07] <many> :)
[22:26:23] <evilstrike> they didnt believe me at first though
[22:26:26] <evilstrike> hehe
[22:36:19] *** pirho has joined #postfix
[22:38:03] *** magnet has quit IRC
[22:46:17] *** frennkie has quit IRC
[22:47:10] *** hemry has quit IRC
[22:50:54] <hax> could someone help me figure out how to debug my authentication problems? i'm trying to use pam, and it's "not working", but i'm not sure where to go from here
[22:59:33] <Dalios``> hi. Is there a configuration parmeter in postfix that forces it to query dns as opposed to checking the local hosts file?
[23:02:35] *** fujin has joined #postfix
[23:05:05] <snappy> Dalios``: I guess if you chroot it you can provide a blank hosts file.
[23:12:44] <Dalios``> snappy, sorry.. I meant the other way around. My mind is muddled today.  Postfix isnt looking at the hosts file at all
[23:13:04] <Dalios``> it queries the DNS for something that isnt there
[23:13:13] <Dalios``> while it exists in the hosts file
[23:13:32] *** meandtheshell has quit IRC
[23:13:33] <snappy> the order is defined usually in nsswitch.conf
[23:13:44] <snappy> sometimes /etc/host.conf
[23:14:26] *** evilstrike has quit IRC
[23:15:04] <Dalios``> both are correctly configured
[23:16:04] <snappy> beats me then, probably some option you can mess with in master.cf
[23:16:29] <snappy> then again...
[23:16:55] <snappy> why would postfix query a hosts file?
[23:17:06] <snappy> you can't specify MX records in a hosts file.
[23:17:40] <Dalios``> I want it to access a custom service via inet
[23:18:22] <Dalios``> that custom service translates to a specific IP in the hosts file
[23:18:46] <Dalios``> Im using a custom main.cf that refers to this service
[23:19:03] <Dalios``> and each host on which postfix is installed points to a different address
[23:19:17] <Dalios``> since this entry is already present in the hosts file
[23:19:20] <Dalios``> I thought of using it
[23:21:05] <Dalios``> Im also using a custom Queue directory. The moment I change it to the default queue directory, postfix starts to read the hosts file. I cant fathom how the two are related, but evidently, they are
[23:29:14] *** pirho has quit IRC
[23:31:40] *** pirho has joined #postfix
[23:32:37] <Dalios``> ahhh.... found it.... postfix actually refers to a copy of the hosts file found in $queuedirectory/etc/hosts :)
[23:33:05] <Dalios``> if that file is missing, then postfix does dns lookups only!
[23:35:13] <many> thats only because its chrooted, postfix, or for that case, the resolver library thinks, it reads /etc/hosts
[23:35:24] *** x-ip has joined #postfix
[23:39:03] <Dalios``> yeah.. im running a chrooted environment
[23:42:05] <x-ip> great, u got sex :D
[23:51:22] *** pirho has quit IRC

top