October 9, 2008  
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:45] *** githogori has quit IRC
[00:01:03] *** fl0pp has joined #postfix
[00:02:59] *** githogori has joined #postfix
[00:03:47] <fl0pp> hi! i have set up postfix with a mysql-backend for users,forwardings and transports... everythings seems to work except of forwardings... i get a bounce with "unknown users", even if it it in the forwarding-list... any idea where to start?
[00:04:06] *** hparker has quit IRC
[00:05:47] <deface> fl0pp: postmap -q <user> mysql:/etc/postfix/path/to/file.cf
[00:06:38] <deface> so - postmap -q postmaster mysql:/etc/postfix/mysql/virtual_alias_maps.cf
[00:08:07] <deface> if it doesnt return properly, you've either got your forwardings messed, or your mysql query is off
[00:08:42] <fl0pp> postmap -q test@* mysql:/etc/postfix/mysql-virtual_forwardings.cf returns "marius@*"
[00:08:59] <fl0pp> so thats ok
[00:11:01] <deface> fl0pp: postconf -n | grep alias_maps
[00:11:19] <vice-versa> is the asterisk a mung, cuz postfix doesn't do wildcard expansion
[00:11:34] <fl0pp> * = my domain
[00:11:56] *** cichlid02 has quit IRC
[00:12:20] <fl0pp> $ postconf -n | grep alias_maps
[00:12:20] <fl0pp> alias_maps = hash:/etc/aliases
[00:12:20] <fl0pp> proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
[00:12:20] <fl0pp> virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
[00:13:05] <rob0> So you're trying to virtual alias to another virtual alias that doesn't exist? Paste the SINGLE LINE from the log of the unknown user rejection.
[00:13:12] <rob0> !unknown_virtual
[00:13:12] <knoba> rob0: "unknown_virtual" : \"User unknown in virtual $X table\" means that the recipient domain was found in $virtual_$X_domains but the username@domain was not found in $virtual_$X_maps. ("$X" can be either alias or mailbox .)
[00:14:47] <vice-versa> hey rob0
[00:14:58] <rob0> howdy v-v
[00:15:00] <vice-versa> where you been hiding?
[00:15:05] <rob0> Florida
[00:15:11] <vice-versa> nice
[00:15:18] <rob0> yup it was
[00:15:33] <higuita> gpled: yes, the regexp for .ro is /\.ro/
[00:15:57] <rob0> um, \.ro$ maybe
[00:16:09] <gpled> higuita: thanks
[00:16:24] <fl0pp> Oct  9 00:15:23 *** postfix/virtual[29351]: 74F47828130: to=<test@*>, relay=virtual, delay=0.1, delays=0.03/0.02/0/0.05, dsn=5.1.1, status=bounced (unknown user: "test@*")
[00:16:42] <rob0> And that will magically match if the sender was sitting in Romania. :)
[00:16:44] <higuita> rob0: he doesnt say here the file is
[00:17:29] <rob0> relay=virtual says that the hidden domain name was in virtual_mailbox_domains
[00:17:30] <higuita> nor if its the body_checks, header_checks, sender, recipient, etc :)
[00:17:39] <gpled> i want to say, reject all mail from .ro domain to user abc at example dot com .  thinking i should do this with smtpd_restriction_classes
[00:17:52] <gpled> is there a nicer way to do this?
[00:19:09] <rob0> Not all Romanian senders use @example.ro addresses. Nor do they always relay through clients with .ro reverse DNS.
[00:19:37] <fl0pp> could i get some more info than the log-file... any debugging or something, why it returns "user unknown"?
[00:19:38] <higuita> humm... if you allow it to be delivered, filter it in procmail or something, but we still dont know what you really want to do :)
[00:23:38] <Ernest0x> what's the way to restrict a specific local user from sending mail to a specific address?
[00:24:54] <deface> you guys sound like the mail police
[00:24:55] <rob0> Ern has to specify what "local user" means and how said user is sending said mail.
[00:25:24] *** ejer has quit IRC
[00:27:05] *** barnie has quit IRC
[00:27:13] *** barnie has joined #postfix
[00:28:26] <Ernest0x> rob0, I' m not sure about how they send mails, but some local users (users of the postfix host, without shell) send mails all the time to specific addresses and I want to stop them
[00:29:57] <deface> police
[00:30:52] <Ernest0x> they are spamming to some addresses of which some do not exist and bounce while others block the my postfix host for spamming attempts
[00:32:48] *** gpled has left #postfix
[00:33:04] *** seekwill has quit IRC
[00:34:55] <Ernest0x> I' have tried smtpd_sender_restrictions (in respect to MAIL FROM) but these don't work, since mail from local users is not passed though smtpd, but through pickup daemon
[00:35:48] <lunaphyte> Ernest0x: pick another way to define these users besides the word "local".
[00:36:56] <Ernest0x> lunaphyte, what's the correct word?
[00:37:02] <Ernest0x> system users?
[00:38:00] *** BuenGenio_ has joined #postfix
[00:39:37] <higuita> Ernest0x: he meant in setting up the users, so they cant send via local delivery, force then to use smtp, just like everyone else
[00:40:03] <higuita> with sasl, you can enforce the from, and even without it, you can apply rules
[00:40:43] <Ernest0x> is there an example somewhere
[00:40:54] <Ernest0x> I' have tried what you said before
[00:41:04] *** skyweb has joined #postfix
[00:41:20] <Ernest0x> to remove permit_mynetworks, but without success
[00:42:59] <higuita> that can only work if they arent doing local delivery to the pickup daemon...
[00:43:48] <higuita> this is your main problem, they are abusing your system, so you need to take then out of the system and place then in "external" user, without shell/mail/sendmail commands
[00:46:50] *** spikyjt has quit IRC
[00:47:38] <lunaphyte> no, i meant in your effort to describe "local users" to us, pick a different term.  or better yet, just show some log entries relevant to what you're describing.
[00:48:14] <lunaphyte> these are unix users on the same computer as is running the postfix?
[00:48:42] <Ernest0x> lunaphyte, yes
[00:48:52] <Ernest0x> but they have no shell
[00:49:14] <Ernest0x> maybe they send though some php mail
[00:49:19] <Ernest0x> through*
[00:49:23] <lunaphyte> logs dude, logs.
[00:49:40] <vice-versa> !relevant
[00:49:40] <Ernest0x> ok
[00:49:41] <knoba> vice-versa: "relevant" : Please pastebin the relevant mail log excerpts for your issue. See the !logs channel factoid if you do not know where your mail logs are located. See the !pastebin channel factoid if you do not know what a pastebin is.
[00:52:17] <lunaphyte> there was another one i noticed the other day - what was it?
[00:53:51] <Ernest0x> please take a look here: http://pastebin.com/d7ab0fe27
[00:54:16] <lunaphyte> ah
[00:54:20] <lunaphyte> !error report
[00:54:20] <knoba> lunaphyte: "error report" : show a relevant log entry and postconf -n. Do not flood the channel. Do not obfuscate.
[00:55:39] <Ernest0x> user kt is sending all the time to kostastz at technicalpress dot gr
[00:56:01] <Ernest0x> as a result mail system for technicalpress.gr blocks my server
[00:56:52] *** BuenGenio has quit IRC
[01:00:45] *** havvg has quit IRC
[01:07:22] *** jdrake has joined #postfix
[01:08:20] <jdrake> Logwatch has reported this:  2836258 bytes transferred; 44 messages sent; 44 messages removed from queue  and I know for sure that this wasn't me, and root only sent 12 messages. What is the quickest way to determine where they were going?
[01:11:17] <higuita> Ernest0x: who is the user uid=1252 ?
[01:12:03] <vice-versa> jdrake: check your logs
[01:12:05] <higuita> cat /var/log/maillog (or mail.log, mail.info. or even message, check your /etc/syslogd.conf)
[01:12:06] <lunaphyte> my guess is www-data or apache
[01:12:30] <higuita> yep, i would guess that also :)
[01:12:34] *** niki has joined #postfix
[01:12:58] <lunaphyte> although, it would be a bit surprising if that user had a uid above 1000.
[01:12:58] *** Zeit|awy has joined #postfix
[01:13:07] <Ernest0x> higuita, user kt
[01:13:33] <higuita> ok, what what app is he using that can send emails?
[01:13:55] <Ernest0x> there is a php-based webmail
[01:14:07] <lunaphyte> what software?
[01:14:09] <Ernest0x> a squirrelmail one
[01:14:33] <lunaphyte> is it configured to submit mail via sendmail(8) or via smtp?
[01:14:41] <Ernest0x> via smtp
[01:14:56] *** BuenGenio has joined #postfix
[01:15:30] <higuita> have you check the webserver logs to see where the requests came from for that user, to see if they come from really that user or from someone in russia (or china, or what ever)
[01:15:36] <higuita> Ernest0x: no, via sendmail, the uid shows that
[01:15:54] <higuita>  postfix/pickup[7174]: 13BC02077983: uid=1252 from=<kt>
[01:16:05] <Ernest0x> higuita, then he is not using the webmail but something else
[01:16:28] <lunaphyte> Ernest0x: why do you have unix users rather than virtual users?
[01:16:30] <higuita> sendmail is putting the email in the pickup folder
[01:16:51] <higuita> as all emails look like spam, i suspect that someone found a hole in your system and is abusing it
[01:17:20] <lunaphyte> Ernest0x: turn off your webserver and see if it stops.
[01:17:30] <higuita> check the apache logs to see how (and where) is the email being sent
[01:17:37] <higuita> that also is a good idea :)
[01:17:52] <Ernest0x> ok, thanks
[01:18:18] <lunaphyte> and consider using virtual users rather than unix users.
[01:18:55] <Ernest0x> lunaphyte, these users are stored in ldap
[01:19:13] <lunaphyte> dude...
[01:19:14] <Ernest0x> and I connect ldap with pam
[01:19:37] <lunaphyte> you know postfix can talk directly to ldap, right?
[01:20:05] <Ernest0x> yes
[01:23:53] *** donspaulding has joined #postfix
[01:24:51] *** hparker has joined #postfix
[01:25:58] <lunaphyte> well, if uid 1252 is kt, then somehow a process owned by kt is submitting mail via sendmail, or is perhaps abusing maildrop or postdrop, if your permissions are lax.
[01:28:47] <Ernest0x> I turned off the webserver, but I still see the same
[01:30:30] <Ernest0x> xm...
[01:31:00] *** xpoint has quit IRC
[01:31:01] <Ernest0x> lunaphyte, I see that in 'ps aux' output
[01:31:42] <Ernest0x> a I now understand...
[01:32:06] <Ernest0x> I have created my own delivery script that uses sendmail
[01:32:28] <Ernest0x> I'm using "mail_command"
[01:32:44] <higuita> probably full of holes :)
[01:33:13] *** BuenGenio_ has quit IRC
[01:33:26] <Ernest0x> probably :P
[01:34:33] <Ernest0x> thank you :)
[01:38:26] *** BuenGenio has quit IRC
[01:38:31] <Ernest0x> can I tell sendmail to send via my smtpd?
[01:40:42] <higuita> no
[01:41:10] <higuita> that is a script with netcat maybe
[01:43:03] <donspaulding> it seems as though Postfix is rewriting the FROM header of some locally-sent emails to root@localhost, even though append_at_myorigin = yes.... What am I doing wrong?
[01:44:42] *** alienbrain has quit IRC
[01:50:09] <higuita> donspaulding:  postconf myorigin
[01:50:30] <higuita> this is what are you appending
[01:51:06] <donspaulding> myorigin = /etc/mailname
[01:51:34] <donspaulding> # cat /etc/mailname
[01:51:34] <donspaulding> mydomain.com
[01:53:18] <higuita> have you done the "postconf myorigin" to confirm that what you think you configured is really getting loaded?
[01:53:43] <donspaulding> yeah, sorry, just didn't paste the command, that was the result at the prompt, not from the main.cf file
[01:54:00] *** jtsigma has quit IRC
[01:55:00] <higuita> ok, you have reload the server after changing the mailnal, correct (or wait a minute for it to auto-reload)
[01:55:18] *** madrescher has quit IRC
[01:55:55] <higuita> are you sending via mail/sendmail  command, or something like mutt or pine (that can be configured to use a different email)
[01:56:17] <donspaulding> higuita: yeah, I actually didn't change /etc/mailname, it was already correct.
[01:57:14] <donspaulding> I don't know what command its using, my app is calling a function, which is using python to send the mail.
[01:57:26] <donspaulding> (python is calling postfix, just not sure how)
[02:01:07] <higuita> try to send a email using the mail command, if its send with @mydomain.com, then postfix is fine and its your app that is forcing the @localhost
[02:03:49] *** Famic has quit IRC
[02:04:39] *** fl0pp has quit IRC
[02:05:46] *** Tykling has left #postfix
[02:16:13] *** pitakill has joined #postfix
[02:32:22] *** googlah has quit IRC
[02:35:17] *** Fallenou has quit IRC
[02:36:55] *** Ernest0x has quit IRC
[02:38:57] *** skyweb has quit IRC
[02:54:53] <stainer> hi
[02:55:30] <vice-versa> lo
[02:55:56] <stainer> what should I read if I want to have postfix handle 2 dyndns hostnames on my server? ex. xxxx.dydns.org and bbbb.dyndns.net
[02:56:14] <stainer> <--- good at following directions
[02:56:45] <vice-versa> define what 'handle' means to you
[02:57:25] <stainer> I have one configured, and I am sending and receiving. I would like to add another, that I can send and recieve from also.
[02:57:54] <vice-versa> !virtual
[02:57:55] <knoba> vice-versa: "virtual" : a way to configure additional domains and user accounts (that do not need to exist in your /etc/passwd). See: http://www.postfix.org/VIRTUAL_README.html
[02:58:39] *** pirho has quit IRC
[02:58:41] <stainer> I was looking at that and I wanted to make sure, thanks
[02:59:46] <stainer> I'll see if I cant break it :)
[03:01:27] <stainer> question - I don't use mysql, but I may have 3-5 accounts. Should I move to that, or does it make a difference?
[03:06:43] <vice-versa> the main advantage to having sql based virtual configuration is with administration. If you only have a few users it may not be worth the effort
[03:07:38] *** googlah has joined #Postfix
[03:08:05] <vice-versa> it's still available as an option to you later
[03:12:29] *** dft has joined #postfix
[03:14:00] *** ming_zym has joined #postfix
[03:22:35] *** cilly has joined #postfix
[03:25:20] *** amrit|wrk is now known as amrit|afk
[03:30:22] *** githogori has quit IRC
[03:38:46] <stainer> vice: I just added the extra domain to mydestination, works just great. Thanks!
[03:45:05] *** king_crimson has joined #postfix
[03:45:08] <king_crimson> hi there
[03:45:34] <king_crimson> i have postfix set up, and i can send mail however when trying to send a message from a gmail account to my server i get a 550 error
[03:45:47] <king_crimson> i'm assuming postfix isn't configured to accept remote mail? i'm just not sure how to go about fixing that. i'm new to it.
[03:46:47] <king_crimson> can't find any helpful info on google
[03:55:39] <growltiger> !mydestination
[03:55:40] <knoba> growltiger: "mydestination" : a configuration parameter in the main.cf: The list of domains that Postfix delivers via the $local_transport mail delivery transport. By default, mail is given to the Postfix local(8) delivery agent that looks up all recipients in /etc/passwd and /etc/aliases, or their equivalents.
[03:59:46] *** [shg] has joined #postfix
[04:04:06] <king_crimson> yes, that was already set properly
[04:04:17] <king_crimson> i checked that already... so i'm a bit stumped
[04:04:47] <king_crimson> Technical details of permanent failure:
[04:04:47] <king_crimson> Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 sorry, mail to that recipient is not accepted (#5.7.1) (state 14).
[04:05:12] <rob0> That is not a Postfix error message.
[04:05:42] <king_crimson> well, a 550 is an SMTP-generated error though.
[04:05:44] <rob0> !no_logs
[04:05:44] <knoba> rob0: "no_logs" : Nothing in your Postfix logs commonly means one of two things: either your syslogd is broken (try restarting it), or the connections are not coming to your server. Check your firewall/networking and the DNS for the domain in question.
[04:06:25] <king_crimson> the DNS is good, i can telnet in using my domain name.
[04:06:37] <rob0> what is the domain?
[04:06:44] <king_crimson> rubbermallet.org
[04:06:55] <king_crimson> oh wait
[04:07:01] <king_crimson> you know what? i think i know the issue.
[04:07:04] <king_crimson> sorry guys
[04:07:09] <rob0> rubbermallet.org.       3600    IN      MX      0 smtp.secureserver.net.
[04:07:16] <rob0> Godaddy hosts your mail
[04:07:33] <king_crimson> rubbermallet.org itself is hosted by godaddy, but i have a subdomain home.rubbermallet.org pointing to my house
[04:07:34] <king_crimson> yep
[04:07:36] <king_crimson> thanks
[04:07:42] <king_crimson> i will fix that and see what happens
[04:07:51] * king_crimson facepalm
[04:11:31] *** Juspion has joined #postfix
[04:12:00] <king_crimson> ok no errors this time, but i haven't received a mail yet.
[04:12:11] <king_crimson> list
[04:12:11] <king_crimson> +OK 0 messages:
[04:12:11] <king_crimson> .
[04:12:34] <king_crimson> ah now i got an err
[04:12:53] <rob0> cached DNS records, if you sent through gmail again
[04:13:00] <king_crimson> can you check the domain again? maybe the DNS didn't update yet.
[04:13:14] <king_crimson> usually godaddy is pretty fast with DNS updates, but i didn't realize gmail cached it
[04:13:50] <rob0> $ dig rubbermallet.org. mx @ns17.domaincontrol.com. # still showing old mx
[04:14:11] <king_crimson> ok, i'll give it a few minutes thanks
[04:14:28] <king_crimson> i got the same
[04:15:05] <king_crimson> i actually have postfix/dovecot/mysql set up here on an old 486. i'm surprised how fast it is.
[04:15:15] <king_crimson> i figure it's enough for an email server
[04:17:05] <[shg]>  warning: valid_hostname: numeric hostname: 208-43-85-112
[04:17:20] <[shg]> postfix/virtual gives me that error
[04:18:55] <king_crimson> you have to use a hostname not an IP i believe... the other guys would be the experts though
[04:20:36] <[shg]> Yeah, I understand but the postfix/virtual is what I'm curious about
[04:20:40] <[shg]> How to i set the hostname for that.
[04:21:02] <[shg]> I have the myhostname set to a qualified host and if i wanted an ip i could [ip.ad.dr.ess] but I do have a host
[04:23:23] <[shg]> I really wish someone knew about this.
[04:23:27] *** mavrick61 has quit IRC
[04:23:34] <[shg]> A couple of weeks and I've been researching but getting the same results over and over.
[04:24:35] *** mavrick61 has joined #postfix
[04:27:45] <king_crimson> hmm when i tried to send a message to myself as mike at rubbermallet dot org from that account i get
[04:27:46] <king_crimson> Requested action aborted: error in processing
[04:27:46] <king_crimson> 451 4.3.0 <mike at rubbermallet dot org>: Temporary lookup failure
[04:27:56] *** tombar_ has joined #postfix
[04:34:56] *** tombar_ has quit IRC
[04:36:57] *** Haris1 has joined #postfix
[04:37:39] *** CrazyFoam has joined #postfix
[04:45:03] *** tombar has quit IRC
[04:45:34] *** githogori has joined #postfix
[04:50:32] *** Juspion has quit IRC
[05:02:43] *** goldfischli has joined #postfix
[05:04:43] *** cilly has quit IRC
[05:18:27] *** goldfisc1li has quit IRC
[05:38:40] <lunaphyte> [shg]: what are you trying to do?
[05:45:04] <rob0> (and, why are you using verbose logs?)
[05:45:08] <rob0> !verbose
[05:45:09] <knoba> rob0: "verbose" : You probably do not need verbose logging, but in rare cases the extra detail can assist in debugging. To set verbose logging add a -v after the command name (such as smtpd) in master.cf, then 'postfix reload' after that.
[06:00:49] *** m1n3s6 has joined #postfix
[06:07:08] *** _bt has quit IRC
[06:07:39] *** _bt has joined #postfix
[06:24:03] *** issackelly has joined #postfix
[06:24:41] *** Gokee2 has quit IRC
[06:26:15] <issackelly> I've written a detailed post on the Ubuntu forums, but I need help configuring my server.  Receiving mail works, but accessing IMAP from outside doesn't.  Does anyone have any diagnostic tools?  I'm using postfix and courier-imap some details and config files here: http://ubuntuforums.org/showthread.php?p=5932804#post5932804
[06:33:05] *** dorijan has joined #postfix
[06:33:37] *** dorijan__ has quit IRC
[06:48:36] *** Verilium has quit IRC
[06:48:47] <deface> warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
[06:52:05] <f3ew> issackelly firewall?
[06:52:56] <f3ew> Is Postfix delivering where Courier expects it?
[06:55:11] *** niki has quit IRC
[06:57:01] *** growltiger_ has joined #postfix
[06:59:24] *** magyar has quit IRC
[07:12:09] *** growltiger has quit IRC
[07:14:17] *** magyar has joined #postfix
[07:14:24] *** Haris1 has left #postfix
[07:14:29] *** jeffspeff has joined #postfix
[07:30:02] *** shinao1 has quit IRC
[07:31:13] *** shinao1 has joined #postfix
[07:45:07] *** magyar has quit IRC
[07:45:14] *** magyar has joined #postfix
[07:59:44] <issackelly> f3ew: firewall seems ok, physical firewall is disabled, and EC2's permissions are set correctly.  How do I check where courier is looking? Squirrelmail works correctly, but another webmail (atmail) fails.
[08:06:44] *** hparker has quit IRC
[08:08:10] *** Motoko-chan has joined #postfix
[08:08:11] *** weedar has joined #postfix
[08:16:13] *** F6F has joined #postfix
[08:17:11] *** madrescher has joined #postfix
[08:17:45] *** BuenGenio has joined #postfix
[08:22:14] *** Knoedel2 has joined #postfix
[08:23:06] *** king_crimson has left #postfix
[08:31:50] *** BuenGenio has quit IRC
[08:32:14] *** amrit|afk is now known as amrit
[08:33:20] *** sophokles has joined #postfix
[08:35:19] *** jeffspeff has quit IRC
[08:39:35] *** phnord has joined #postfix
[08:42:26] <f3ew> issackelly @mail config issue then
[08:43:51] *** jeffspeff has joined #postfix
[08:50:32] *** weedar has quit IRC
[08:59:56] *** jeffspeff has quit IRC
[09:00:00] *** cichlid02 has joined #postfix
[09:19:44] *** cilly has joined #postfix
[09:20:30] *** pitakill has quit IRC
[09:24:36] *** Knoedel2 is now known as |_Knoedel_|
[09:29:31] *** magyar has quit IRC
[09:38:36] *** cichlid02 has quit IRC
[09:38:41] *** madrescher has quit IRC
[09:41:00] *** magyar has joined #postfix
[09:42:24] *** Motoko-chan has quit IRC
[09:46:45] *** dragonheart has joined #postfix
[09:49:35] *** dragonheart has quit IRC
[09:50:45] *** sophokles has quit IRC
[09:55:51] *** dragonheart has joined #postfix
[09:56:39] *** war9407 has joined #postfix
[09:59:12] *** hendry has quit IRC
[10:12:30] *** shinao1 has quit IRC
[10:13:25] *** cilly has quit IRC
[10:20:48] *** shinao1 has joined #postfix
[10:21:46] *** rmayorga has quit IRC
[10:23:01] *** sophokles has joined #postfix
[10:27:10] *** Fallenou has joined #postfix
[10:31:55] *** F6F has quit IRC
[10:34:44] *** madrescher has joined #postfix
[10:36:00] *** ATA_Dark_Shadow has joined #postfix
[10:44:52] *** cpm has joined #postfix
[10:54:11] *** tm-afk has quit IRC
[11:08:32] *** tm-30740-exa has joined #postfix
[11:19:26] *** magyar has quit IRC
[11:43:03] *** amrit is now known as amrit|zzz
[11:49:48] *** pirho has joined #postfix
[11:49:54] *** |_Knoedel_| has quit IRC
[12:05:20] *** magyar has joined #postfix
[12:06:50] *** |_Knoedel_| has joined #postfix
[12:10:35] *** neonoe_ has quit IRC
[12:10:38] *** neonoe_ has joined #postfix
[12:21:34] *** donspaulding has quit IRC
[12:24:21] *** Severed_Head_Of_ has joined #postfix
[12:39:31] *** growltiger_ has quit IRC
[12:43:22] *** ming_zym has quit IRC
[12:50:51] *** freqmod_qu has joined #postfix
[12:52:18] <freqmod_qu> Does anybody know if/how sendmail (from postfix) can send to multiple recipients?
[12:56:48] *** cilly has joined #postfix
[12:56:53] <cpm> umm, sure.
[12:57:26] <cpm>  /bin/mail -s "whatever" address1 at domain dot tld address2 at domain dot tld address3 at domain dot tld
[13:00:08] *** rmayorga has joined #postfix
[13:02:27] *** azk1 has joined #postfix
[13:02:39] <azk1> hi all
[13:03:19] *** m1n3s6 has quit IRC
[13:04:21] <azk1> i have a lot of mail queued actually due to a network outage, i can see the queue with "postqueue -p" and there's one mail that i'd like to retrieve inside this list. is there a way to do so?
[13:04:50] <Roobarb> azk1: "retrieve" ?
[13:05:08] <Roobarb> you mean see its contents?
[13:05:16] <azk1> dump it into a file or whatever
[13:05:19] <azk1> Roobarb: yes
[13:05:20] <Roobarb> postcat
[13:07:11] <azk1> thank you Roobarb this works fine
[13:07:21] <azk1> have a good day
[13:07:23] *** azk1 has quit IRC
[13:08:32] *** wdp has joined #postfix
[13:08:40] <wdp> hello
[13:08:45] <wdp> i wanna allow the vrfy command for a list of ip's
[13:08:46] <wdp> how?
[13:08:56] <wdp> (for any other ip it should be disabled)
[13:11:48] <dragonheart> the only way i can think of is putting a new smtpd service on a different port and putting the disable_vrfy_command=no as an option in master.cf. that and do firewall rules or client_restrictiosn there too.
[13:12:07] <dragonheart> i don't know if this will work though.
[13:38:21] * Roobarb wonders why you'd want to enable vrfy anyway
[13:40:23] *** cos has quit IRC
[13:42:14] *** rmayorga has quit IRC
[13:43:15] <dragonheart> true - relay/local_recipent_maps are much better (wdp)
[13:44:01] <cpm> quite so
[13:59:21] *** dragonheart has quit IRC
[14:06:56] *** milligan_ has joined #postfix
[14:07:29] <milligan_> Is it possible to limit the amount of emails a user can send pr minute/hour or similar? I'm thinking to prevent damage in the case a user gets infected by a virus or similar.
[14:07:59] <jduggan> can do it with a policy daemon
[14:08:05] <jduggan> www.policyd.org
[14:08:15] <jduggan> see #policyd for help
[14:08:17] <jduggan> ;]
[14:10:38] <milligan_> There is no way of doing it in postfix itself?
[14:10:59] *** dft has quit IRC
[14:12:27] <milligan_> And what about user monitoring? Are there any tools that let me check how many e-mails each user/domain has sent pr hour, day, week, month etc ?
[14:12:41] <jduggan> check against teh db..
[14:12:44] <cpm> !pflogsumm
[14:12:44] <knoba> cpm: "pflogsumm" : a perl script to analyse your mail log file and generate nice reports. See: http://jimsun.linxnet.com/postfix_contrib.html (metalog users see the !mpflogsumm factoid)
[14:14:07] <milligan_> nice cpm .... thanks :)
[14:14:12] <cpm> yw
[14:16:04] *** ATA_Dark_Shadow has quit IRC
[14:19:00] <milligan_> that tool is pimp.
[14:27:03] *** aksn has joined #postfix
[14:27:14] <aksn> hi all
[14:27:25] <aksn> I'm using a third party mail server, and I'm sure my mails are being watched; is there any way to detect this? any clue, reference, or even point to the correct channel would be appreciated. thanks
[14:28:36] <jelly> aksn: there is no way to detect this, unless the third party is extremely incompetent
[14:29:08] *** dorijan has quit IRC
[14:29:13] <rimad> being watched?
[14:29:25] <rimad> why would anyone "watch" your emails
[14:29:35] <aksn> they really could be extremely incompetent
[14:30:11] <aksn> it's not my enterprise, it's a "partner" which is not being very friendly
[14:30:26] *** cilly has quit IRC
[14:32:31] * vice-versa would use URI bait
[14:35:25] *** mark-use has joined #postfix
[14:35:41] <aksn> vice-versa, interesting option..
[14:36:40] <Trengo> dont use them if you dont trust them?
[14:44:06] *** azka has joined #postfix
[14:47:03] <azka> hi again
[14:48:08] <azka> i have some "delivery temporarily suspended: Host or domain not found. Name service error [...]" errors when i do "postfix -p". I've checked /etc/resolv.conf and it seems ok. Do you have an idea what leads to this error?
[14:49:04] *** Toerkeium has quit IRC
[14:50:05] *** rmayorga has joined #postfix
[14:51:46] <aksn> Trengo, that would be the best option, but I need to receive in that account
[14:53:07] <Trengo> aksn i dont understand
[14:53:20] <Roobarb> aksn: you can't tell they're doing it, but you could starting encrypting everything so stop them seeing anything
[14:53:21] <aksn> jelly, any alternative apart prom URI bait, in case they are extremely incompetent? ;-P
[14:54:08] <jelly> aksn: taunting!
[14:54:14] <aksn> Roobarb, yes, that's my last option, but I'd also like to f**k them..
[14:54:48] <jelly> aksn: switch to gpg signed+encrypted mail, and create a web of trust using offline channels
[14:56:07] <jelly> aksn: mail is transported over insecure channels anyway, so you can pretty much always assume someone is reading it (or might read it if they wanted to)
[14:57:06] <aksn> jelly, yes, you're right...
[14:57:38] <aksn> I will try uri bait (I think they are really incompetent) and otherwise I will have to resign and encrypt mail
[14:57:55] <aksn> thanks a lot for your help to everybody
[14:58:31] <jelly> uri bait = html + transparent 1x1 gifs? :-)
[14:59:02] <jelly> or hidden iframes or whatever people use for tracking these days
[15:01:26] <aksn> jelly, that's it, I was thinking on a common image, but a transparent one will make it better :)
[15:01:57] <jelly> aksn: http://en.wikipedia.org/wiki/Web_bug
[15:02:39] <aksn> jelly, perfect, thanks!
[15:04:12] <issackelly> I've written a detailed post on the Ubuntu forums, but I need help configuring my server.  Receiving mail works, but accessing IMAP from outside doesn't.  Does anyone have any diagnostic tools?  I'm using postfix and courier-imap some details and config files here: http://ubuntuforums.org/showthread.php?p=5932804#post5932804
[15:04:20] <jelly> aksn: the references seem promising, eg. http://freedom-to-tinker.com/blog/felten/email-tracking-it-gets-worse
[15:04:25] *** pingouin has joined #postfix
[15:06:41] <issackelly> one person (f3ew) thought that it was a client config issue, but I really don't think so
[15:07:31] <jelly> issackelly: um, accessing IMAP isn't really a postfix issue
[15:08:25] * f3ew points out that squirrelmail works, but @mail does not
[15:08:33] <jelly> issackelly: off the top of my head, I'd say to inspect the firewall and imap server configurations.
[15:08:39] <aksn> jelly, readnotify seems easy and good :-)
[15:08:47] <issackelly> jelly: I understand, but I don't really know where else to look for help
[15:09:19] <issackelly> f3ew: is there a chance that squirrelmail is reading the mbox directly?
[15:09:32] <jelly> issackelly: none
[15:10:26] <jelly> issackelly: it might be accessing the imap server on the localhost address, thus bypassing any firewalls (be it local iptables rules or your DMZ firewall)
[15:11:40] <issackelly> yeah.  I'm using a pre-config'd image, and squirrelmail was built it.  Atmail asks for a host and squirrelmail doesnt.  I use 'localhost' for atmail and it doesn't work either
[15:13:13] <f3ew> issackelly none at all
[15:13:35] <f3ew> See your squirrelmail config.php
[15:14:54] *** mark-use has quit IRC
[15:15:29] <jelly> issackelly: after you confirm that the IMAP server is really listening on the correct outside IP, look for firewall problems
[15:16:34] <jelly> issackelly: #ubuntu or ##linux ought to have some idea; I'm not sure what is this channel policy on offtopic issues
[15:16:41] *** pingouin has quit IRC
[15:16:47] *** pingouin has joined #postfix
[15:17:18] <issackelly> ok, thanks, I'll quit
[15:24:00] <stockholm> how can i make sure a box receives mail on both interfaces and sends mails to all but one domain out through eth1 och all else through eth0?
[15:32:57] *** xpoint has joined #postfix
[15:34:55] *** |_Knoedel_ has joined #postfix
[15:35:32] *** |_Knoedel_| has quit IRC
[15:38:56] *** f3ew has quit IRC
[15:44:14] *** mark-use has joined #postfix
[15:47:49] *** gpled has joined #postfix
[15:51:31] *** Hibbelharry has joined #postfix
[15:57:19] <Hibbelharry> hi people. i'm just setting up a centos box for the first time and got a problem. ldap lookups don't seem to work. queries to ldap like postmap -q me at here dot com ldap:/etc/postfix/transports.cf just return no results for anthing i try. what might be wrong ?
[15:58:23] *** _r1_ has joined #postfix
[15:58:25] <_r1_> hi
[15:59:10] <xpoint> Hibbelharry, http://tldp.org/HOWTO/LDAP-HOWTO/
[15:59:12] <_r1_> which rules can be author of this : "[...]<desktop>: Helo command rejected: Host not found; [...]" ?
[16:00:06] <xpoint> _r1_, /topic
[16:00:06] <_r1_> I have this for helo : smtpd_helo_required = yes
[16:00:41] <_r1_> xpoint: which part ?...
[16:00:56] <xpoint> postconf -n on pastebin
[16:02:25] *** layon has joined #postfix
[16:02:55] *** jwit_ is now known as jwit
[16:02:58] <_r1_> http://pastebin.com/m19d729ad
[16:04:16] <xpoint> http://msforums.ph/forums/t/36479.aspx
[16:05:13] *** hparker has joined #postfix
[16:05:14] <xpoint> reject_invalid_hostname
[16:05:52] <_r1_> ok. (I don't see my problem in url you gave me) thanks.
[16:06:22] <xpoint> same reject
[16:06:56] <xpoint> remove reject_invalid_hostname
[16:07:00] <_r1_> but infcat, why he log about "helo/ehlo" error ?
[16:07:13] <xpoint> tjis is a helo restriction if i remember
[16:07:16] <_r1_> xpoint: yes that's done tanks, I'm looking to understand :)
[16:08:08] <_r1_> mmm actually I don't use helo restriction at this moment.
[16:08:16] <_r1_> will see
[16:08:24] <xpoint> add permit_mynetworks if it reject from localhost
[16:08:58] <_r1_> in helo restriction you mean ?
[16:09:08] <xpoint> remember postfix restrictions is top down order, first match wins over later restrictions
[16:09:14] <layon> Hi, it is posible to restrict sender (mail from)  according to the network source (LAN or Internet)?
[16:09:45] <_r1_> layon: cf "permit_mynetwarks" :)
[16:10:29] <_r1_> xpoint: but infact I still have the problem with "permit_my_network" in helo restriction and without "reject_invalid_hostname" in any restriction
[16:10:29] <xpoint> make postfix open relay to any ip with mynetworks=0.0.0.0/0 :)
[16:11:45] <_r1_> damn I don't understand this helo error message
[16:13:44] <xpoint> dont mangle output from postconf -n, you did as i see it
[16:14:14] <xpoint> and its have debian stupid defaults in main.cf
[16:14:25] <layon> _r1_, I need to restrict senders from my LAN (192.168.0.0/24) send mails ONLY from my domain (mydomain.com).
[16:14:46] <xpoint> layon, so make them use smtp auth
[16:15:22] <gpled> layon: this might be what your looking for: http://www.postfix.org/RESTRICTION_CLASS_README.html
[16:15:57] <xpoint> and do mynetworks=127.0.0.0/8 !192.168.0.0/16 wanip
[16:16:42] *** danbeck has joined #postfix
[16:17:06] <_r1_> xpoint: what are debian default that's so stupid ? :)
[16:17:19] <xpoint> _r1_, all
[16:17:25] <_r1_> hah
[16:17:28] <_r1_> :)
[16:17:28] *** cilly has joined #postfix
[16:18:07] <_r1_> any idea about my helo matter with this conf ?
[16:18:11] <xpoint> _r1_, best start with empty main.cf and change later what is not good with the defauls in postconf -d
[16:18:33] <_r1_> I agree, infact this is not my server
[16:18:45] <_r1_> (and it's in production)
[16:19:05] <_r1_> so I just have to found this rule :)
[16:19:16] <_r1_> I'll recheck all a second time thanks.
[16:19:31] <xpoint> its not productive to make errors
[16:20:17] <_r1_> maybe but I'm not allowed to change everything.
[16:20:35] <xpoint> then ask for better jobs
[16:22:43] <_r1_> ?*
[16:22:57] <_r1_> that's a weird reaction.
[16:23:15] <_r1_> I have a good job, just some difficult clients, like everyone.
[16:24:26] <vice-versa> _r1_: you should remove sbl-xbl.spamhaus.org and cbl.abuseat.org from your rbl checks as they are both included in zen.spamhaus.org
[16:25:16] <_r1_> vice-versa: ok
[16:26:40] <_r1_> w
[16:26:43] <_r1_> oups
[16:27:42] <xpoint> zen.spamhaus.org=127.0.0.10 to match pbl , there is olso a 11
[16:28:09] <xpoint> postfix cache pr zone not pr result
[16:28:30] <xpoint> so using one zone makes more cached
[16:29:57] *** sophokles has quit IRC
[16:31:30] *** shinao1 has quit IRC
[16:39:35] *** wdp has quit IRC
[16:40:25] *** wdp has joined #postfix
[16:40:35] *** f3ew has joined #postfix
[16:40:50] <solarce> f3ew: :o
[16:41:25] * f3ew is here
[16:44:47] *** phlax has quit IRC
[16:51:57] *** mark-use has quit IRC
[16:54:04] *** shinao1 has joined #postfix
[16:59:38] *** mark-use has joined #postfix
[17:00:07] *** |_Knoedel_ has quit IRC
[17:01:25] *** hparker has quit IRC
[17:11:53] *** mattx86 has joined #postfix
[17:21:07] <mofino> if I have a catchall in virtual_aliases, and real mailboxes in virtual_mailbox, will the catchall override the mailboxes?
[17:22:32] <Dominian> mailboxes usually over ride the catchall
[17:22:38] <Dominian> as they should be checked first before the alias table
[17:22:46] <mofino> are you sure?
[17:23:45] <Dominian> I'm pretty sure
[17:24:08] <Dominian> in my setup.. I've had catchalls.. as soon as you add a real mail box.. the mailboxes take priority over the catchall alias.
[17:24:09] <mofino> so if you configure a domain for both alias and mailboxes, mailbox will check first?
[17:24:18] <Dominian> should
[17:24:18] <mofino> in virtual?
[17:24:22] <Dominian> at least in my setup it does
[17:24:28] <Dominian> yea.. my setup is all virtual
[17:24:36] <mofino> my setup is not doing that
[17:24:41] <mofino> it's ignoring mailboxes
[17:24:46] <mofino> are you doing anything special?
[17:24:58] <Dominian> wiki.slackadelic.com
[17:25:03] <Dominian> look at the mailserver tutorial
[17:25:07] <Dominian> that's pretty much how I built it
[17:25:14] <Dominian> and thats the tutorial I wrote during the installation
[17:25:45] <mofino> what version?
[17:26:01] <mofino> some of your directives don't even exist
[17:26:03] <mofino> 'virtual_mailbox_extended'
[17:26:40] <deface> mofino: postconf
[17:26:44] <deface> shows you all options
[17:26:52] <mofino> right
[17:26:52] <deface> just cause its not in your main.cf, doesnt mean they dont exist
[17:26:53] <Dominian> mofino: uhhh its newer postfix
[17:27:05] <mofino> deface, i'm on the site
[17:27:07] <Dominian> I'm running postfix 2.5.0 right now
[17:27:20] *** madrescher has quit IRC
[17:27:20] <mofino> and no
[17:27:24] <Dominian> and the tutorial tells you what version of postfix was using when writing it
[17:27:26] <mofino> that directive does not exist
[17:27:36] <deface> virtual_maildir_extended = no
[17:27:38] <mofino> i'm running 2.5.2
[17:27:45] <deface> ahh, maildir
[17:27:59] <mofino> i don't have that option
[17:28:23] <deface> yeah, misread the maildir
[17:28:24] <mofino> anyway, setup looks identical
[17:28:33] *** madrescher has joined #postfix
[17:28:47] <Dominian> well apparently virtual_mailbox_extended did exist
[17:28:54] <Dominian> or my setup would be fscked right now don't you think?
[17:28:59] <mofino> maybe
[17:29:01] <mofino> i have no idea
[17:29:10] <mofino> all i know is, it's not on the site, and it's not in my postconf
[17:29:26] <deface> no, the option just wouldnt be read in
[17:29:43] <deface> you can make them up, doesnt mean it'll be used
[17:29:58] <Dominian> however.. that.. is an older version of virtual_maildir_extended I believe.. its for quota
[17:30:09] <Dominian> deface: No.. I got that setting from documentation somewhere
[17:30:18] <mofino> well you didn't
[17:30:21] <stockholm> how can i make sure a box receives mail on both interfaces and sends mails to all but one domain out through eth1 och all  else through eth0?
[17:30:44] <mofino> so what can i do here
[17:30:50] <mofino> it's using aliases first and fucking everything up
[17:30:50] <Dominian> mofino: then figure it out on your own chief
[17:31:00] <mofino> sigh
[17:31:10] <Dominian> If its not the right option tell me what is
[17:31:11] <mofino> back to qmail....
[17:31:13] * Dominian shrugs
[17:31:18] <mofino> Dominian, it does NOT EXIST
[17:31:20] <mofino> jesus man
[17:31:31] <mofino> postconf |grep virtual_mailbox_extended
[17:31:40] <Dominian> I didn't say it did exist you twit
[17:31:48] <mofino> well you implied it did
[17:31:55] <Dominian> I got it from documentation you idiot
[17:31:59] <mofino> where?
[17:32:04] <mofino> http://www.postfix.org/postconf.5.html has nothing
[17:32:06] <vice-versa> !vda
[17:32:07] <knoba> vice-versa: "vda" : a patch for Postfix that adds quota functionality (see http://vda.sf.net)
[17:32:10] <mofino> and is current to 2.6
[17:32:15] <Dominian> vice-versa: thank you
[17:32:15] <mofino> figures...
[17:32:18] <mofino> hahah
[17:32:22] <Dominian> however
[17:32:25] <Dominian> I don't use the vda patch
[17:32:38] <Dominian> so my tutorial is out of date.. time to updatei t
[17:32:49] <Dominian> mofino: that's all you had to say.
[17:32:55] <mofino> what?
[17:32:56] <Dominian> Instead of talking to me like I'm some dumbass.
[17:33:04] <mofino> huh?
[17:33:12] <brd> Dominian: everyone should be used to it
[17:33:16] <mofino> dude, i told you like six times, the directive doesn't exist
[17:33:17] <brd> lol
[17:34:10] <mofino> anyway, none of this solves my problem
[17:34:21] <Dominian> mofino: that's not the point..
[17:34:34] <Dominian> I completely forgot that stuff was in that tutorial for the vda patch.. which of course I don't use
[17:34:36] *** ndonegan has joined #postfix
[17:34:42] <mofino> ....
[17:34:49] <Dominian> it needs to come out because the quotas are done via dovecot anyway
[17:34:52] <mofino> anyway, does anyone know what the deal is with virtual look-ups?
[17:35:27] <mofino> it's expanding aliases before mailboxes for me
[17:35:30] <ndonegan> Is there any command for create the files needed in a chroot? I know postfix -c /etc/postfix.alt check will create the directories, but what about the files within them?
[17:39:19] *** pitakill has joined #postfix
[17:40:39] <mofino> Dominian, are you positive your configuration looks up mailboxes first?
[17:43:59] <Dominian> mofino: yes sir
[17:44:01] <Dominian> mofino: and sorry i went off
[17:44:15] <Dominian> mofino: I went back and re-read what you said.. you weren't being a dick.. I was mis-interpreting your intentions
[17:45:19] <mofino> ok
[17:45:32] <mofino> are you specifying the catch-all in the alias or mailbox map?
[17:45:40] <mofino> i noticed it can be done in either
[17:45:44] <mofino> i'm doing it in the alias map
[17:47:43] <mofino> it really looks like postfix uses aliases first
[17:47:54] <mofino> which, to me, seems backwards...
[17:48:27] <Dominian> dunno give me a bit to go through and find out
[17:48:42] *** cilly has quit IRC
[17:49:41] <mofino> please
[17:49:42] <mofino> thank you
[17:54:53] <Dominian> hmm..
[17:55:04] <Dominian> have you tried using postmap against your calls to see what is hitting first?
[17:55:57] <mofino> it's hitting alias first
[17:56:06] <mofino> thats's where my catchall is being expanded
[17:56:18] <Dominian> hrm
[17:56:19] <mofino> legit mailbox mails are going to the catchall
[17:56:27] <mofino> instead of using the mailbox maps
[17:56:52] <Dominian> do you have virtual_alias_maps and alias_maps defined?
[17:56:59] <mofino> no alias_maps
[17:56:59] *** Tykling has joined #postfix
[17:57:01] <mofino> all virtual
[17:57:03] <mofino> 100%
[17:57:05] <Dominian> I think I had that same issue until I defined alias_maps to use the same virtual_alias_maps call..
[17:57:12] <mofino> ohhh???
[17:57:26] <Dominian> virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
[17:57:37] <Dominian> alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
[17:57:44] <mofino> ok i'll try
[17:57:47] <Dominian> I believe.. I don't remember
[17:57:49] <Dominian> its been a while
[17:57:51] <mofino> yeah
[17:58:18] <Dominian> alias_maps determines what alias maps the local delivery agent uses iirc
[17:59:13] <mofino> yeah i mean, that doesn't add uip
[17:59:21] <mofino> where are the catch-alls in your config though?
[17:59:26] <Dominian> ummm
[17:59:28] <mofino> in the alias table or the mailbox table?
[17:59:38] <Dominian> let me look.. I dunno if I have any other catchalls..
[18:00:25] <mofino> i may use some hackery to get around this
[18:00:38] <mofino> instead of having to do major changes to our delivery sub-system
[18:00:38] <Dominian> let me add a catchall to one of my domains
[18:00:39] <Dominian> wait one
[18:00:42] <mofino> sure
[18:00:44] <mofino> be cautious ;)
[18:00:50] <Dominian> ok I found one.
[18:00:52] <Dominian> nah
[18:00:53] <Dominian> no worries
[18:00:56] <mofino> sweet!
[18:01:14] <mofino> so where is it defined?
[18:01:19] <Dominian> looks like my catchall is defined in the alias table
[18:01:23] <mofino> !
[18:01:27] <mofino> hmmmm
[18:01:42] <mofino> and do you have mailboxes configured for that domain as well?
[18:01:53] <Dominian> I'm still lookin'
[18:01:55] <mofino> thanks
[18:02:03] <Dominian> mofino: no I don't..unfortunately
[18:02:06] <mofino> ahh damn
[18:02:09] <mofino> ok
[18:02:13] *** xemacs has quit IRC
[18:02:13] <Dominian> I can change that really quickly though
[18:02:21] <mofino> yeah, that would be wonderful, thanks
[18:03:04] *** Bombo_ has joined #postfix
[18:03:06] <mofino> reminds me to put this on the list of things to test when making major mail changes
[18:03:10] <mofino> heh
[18:03:11] <Dominian> so what your saying is the catch all gets nailed before the mailbox..
[18:03:16] <mofino> yes sir
[18:03:20] <Dominian> so I have tester at domain dot tld
[18:03:26] <Dominian> and a catchall for domain.tld going to anotherdomain.tld
[18:03:29] <mofino> ok
[18:03:44] <Dominian> So basically if I sent an dmeail with tester at domain dot tld on your setup.. the catchall would kick in and grab it and send it to anotherdomain.tld?
[18:03:51] <mofino> exactly
[18:03:54] <Dominian> ok hang on
[18:04:03] *** xemacs has joined #postfix
[18:04:05] <mofino> at least that's what the customers are saying and the logs are confirming
[18:04:26] *** Thorn has quit IRC
[18:04:38] * Dominian sends the test email from an offsite email account
[18:05:05] <mofino> "BBCDC1C3216: to=<ea at mcyeates dot com>, orig_to=<tlavigne at mcyeates dot com>", that orig_to is a mailbox, but it's being forced into the catchall (the to)
[18:05:21] <Dominian> it worked fo rme...
[18:05:30] <Dominian> Oct  9 12:05:45 cyberslack postfix/virtual[8485]: F0E005883A: to=<test at slackwaregallery dot org>, relay=virtual, delay=13, delays=13/0.04/0/0.03, dsn=2.0.0, status=sent (delivered to maildir)
[18:05:39] <Dominian> went throughw ithout an issue
[18:05:46] <mofino> motherfuck, alright
[18:06:06] <mofino> and you are positive that catchall is an alias?
[18:06:28] <Dominian> yes sir
[18:06:31] <mofino> man
[18:06:34] <mofino> i don't get it... alright.
[18:06:52] *** Thorn has joined #postfix
[18:06:57] <mofino> i'll try your alias_maps suggestion
[18:06:59] <Dominian> @slackwaregallery.org           | anotheremail at someotherdomain dot tld   | slackwaregallery.org | 2008-02-29 00:50:49 | 2008-02-29 00:50:49
[18:07:09] <mofino> yeah
[18:07:21] <Dominian> let me see how calls are being done...
[18:07:30] <Dominian> I'm not sure how its processing the maps.. or in what order to tell yout he truth
[18:08:36] <Dominian> hrm
[18:09:17] <Dominian> now that's interesting...
[18:09:30] <Dominian> postmap -q @slackwaregallery.org mysql:/etc/postfix/mysql_virtual_alias_maps.cf
[18:09:37] <Dominian> returns the correct forwarding address for that catchall
[18:09:42] <Dominian>  postmap -q test at slackwaregallery dot org mysql:/etc/postfix/mysql_virtual_alias_maps.cf
[18:09:47] <Dominian> returns the correct email address
[18:09:50] <Dominian> let me try something else
[18:10:14] <Dominian> querying for anything other than @slackwaregallery.org or test at slackwaregallery dot org returns nothing
[18:10:43] <mofino> sec, sorry, testing here too
[18:10:49] <Dominian> go for it
[18:10:54] <Dominian> brb in a few.. I need to eat something hehe
[18:10:59] *** cafuego has quit IRC
[18:12:02] <Dominian> ok nevermind... I'm not hungry hehe
[18:12:48] *** cilly has joined #postfix
[18:13:24] <mofino> postmap -q only grabs keys from the db
[18:13:30] <mofino> not really going to tell you anything
[18:14:15] *** Bombo has quit IRC
[18:14:16] *** Bombo_ is now known as Bombo
[18:15:12] <Dominian> mofino: well it'll give you an idea of what is going on
[18:15:29] <Dominian> mofino: basically postmap -q for a mailbox that you know exists.. what does it return when you query the alias table?
[18:15:44] <Dominian> keep in mind that EVERYTHING should be in the alias table.. catchalls.. mailboxes.. etc
[18:15:55] <Dominian> alias table getting hit first.. makes sense now that I think about it
[18:16:07] <Dominian> because if you query the catchall.. it should return the forwarded address
[18:16:19] <Dominian> if you query a email account that exists it should return that address again
[18:17:17] <mofino> ok
[18:17:21] <Dominian> if its not.. then I'ds ay either the call is wrong...
[18:17:23] <mofino> one huge difference is my delivery is pipe
[18:17:27] <Dominian> or something with the table structure is funky
[18:17:28] <mofino> and i think that's the issue
[18:17:31] <Dominian> ahhhh
[18:17:34] <f3ew> mofino catchalls?
[18:17:35] <Dominian> yeah I use the virtual transport to deliver
[18:17:41] <mofino> Dominian, aye
[18:17:43] <f3ew> Lookups are recursive
[18:17:44] <mofino> son of a bitch
[18:17:49] <mofino> another bug in pipe
[18:17:53] <Dominian> mofino: switch it to use virtual and see what happens :P
[18:17:58] <mofino> Dominian, can't
[18:18:04] <mofino> but that's the issue
[18:18:06] <Dominian> like I said.. if the postmap -q returns properly.. then its something else
[18:18:08] <f3ew> So if you have a catchall, you need to ensure that every address which is not going to the catchall has an entry which returns itself
[18:18:12] <mofino> jesus fucking christ that's BAD
[18:18:18] <mofino> completely inconsistent behaviour
[18:18:29] <Dominian> f3ew: Well, his queries work it seems.. but "pipe" is the problem
[18:18:31] <f3ew> No, it's exactly consistent
[18:18:34] <Dominian> mofino: Why do you ahve to use pipe anyway?
[18:18:42] <mofino> f3ew, you dont understand the problem, and it's not
[18:18:43] <f3ew> foo at example dot com -> bar at exmaple dot com
[18:18:53] <mofino> Dominian, we have a custom delivery system
[18:18:57] <Dominian> oh
[18:19:04] *** alex_alex has quit IRC
[18:19:26] <mofino> f3ew, an alias based catchall is overriding valid mailboxes in pipe(8) context
[18:19:32] <Dominian> well thanks again for pointing out that vda patch crap.. I wish I could remember why I stuck it in there.. because mysetup does all quota checks via dovecot
[18:19:41] <mofino> Dominian, heh
[18:19:47] <mofino> Dominian, that was vice-versa
[18:19:48] <f3ew> mofino, do you have non catchall aliases mapped to themselves?
[18:20:03] <mofino> f3ew, no one catchall alias, and the rest are legit mailboxes
[18:20:05] *** Jimi_ has joined #postfix
[18:20:17] <mofino> f3ew, Dominian tested the behaviour when the transport is virtual, and it functions properly
[18:20:28] <mofino> in pipe, it does not
[18:20:35] <mofino> the catchall takes priority over the mailboxes
[18:20:47] <Jimi_> I have an alias that I need to use that has a long list of email addresses, like 50. Is it possible to seperate these from a new line? if I do it , delimited it takes up a whole line and there is a lot of scrolling.
[18:20:57] * f3ew sighs
[18:20:59] <Dominian> mofino: wait
[18:21:01] <f3ew> !catchall
[18:21:02] <knoba> f3ew: "catchall" : Sending all emails for non-existing users in domain to a special account. See man 5 virtual for the @domain syntax, which applies in virtual_*_maps and relay_recipient_maps. For local(8) delivery, unset local_recipient_maps and see luser_relay. WARNING: catchalls are rarely a good idea. Spammers will abuse them.
[18:21:03] <Dominian> mofino: no.. somethng is wrong
[18:21:17] <Dominian> mofino: I have entries for real mailboxes as well as other cathcalls in my alias table
[18:21:19] <f3ew> foo at example dot com -> bar at example dot com
[18:21:22] <Jimi_> f3ew: me?
[18:21:29] <Dominian> because in the aspect... everything is an alias.
[18:21:32] <f3ew> bar at example dot com -> @example.com
[18:21:36] <Dominian> mofino: f3ew is on to comething
[18:21:37] <f3ew> _ALWAYS_ works
[18:21:43] <mofino> what?
[18:21:48] <f3ew> Dominian, it's a catchall FAQ
[18:21:49] <mofino> you need aliases for REAL mailboxes?
[18:21:54] <Dominian> f3ew: yeah
[18:21:58] <f3ew> If you have a catchall
[18:22:02] <mofino> huh?
[18:22:05] <f3ew> you have to stop the recursion
[18:22:08] <mofino> hahaha
[18:22:10] <Dominian> mofino: the reason I have no issue.. I use postfixadmin to create everything hehe
[18:22:11] <mofino> what a joke
[18:22:27] <mofino> such illogical behaviour
[18:22:29] <Dominian> by default.. postfix admin does the alias table updates etc for me
[18:22:30] <f3ew> so if you don't want bar at example dot com to go to the catchall, setup an alias bar at example dot com -> bar at example dot com
[18:22:36] <mofino> jesus christ
[18:22:38] <Dominian> aye
[18:22:40] <mofino> WHAT A MESS
[18:22:42] <f3ew> How is that illogical?
[18:22:42] <Dominian> mofino: that's my bad.. I forgot about that
[18:22:44] <Dominian> mess?
[18:22:47] <mofino> my lord, i'm serious
[18:22:48] <Dominian> qmail is a mess :P
[18:22:49] <f3ew> Catchalls _ARE_ a mess
[18:22:51] <mofino> no
[18:22:53] <mofino> no
[18:22:54] <f3ew> qmail is worse
[18:22:57] <mofino> laf
[18:22:57] <Dominian> heh
[18:22:59] <mofino> you have no idea
[18:23:02] <Dominian> qmail ftl!
[18:23:05] <mofino> guys, seriously
[18:23:07] <Dominian> oh yes I do.. I've used qmail
[18:23:10] <Dominian> I hated it
[18:23:11] <mofino> i've used qmail for almost 10 years
[18:23:27] <mofino> and it is coherent and consistent
[18:23:31] <mofino> please trust my word on this
[18:23:40] <mofino> i HAVE the experience
[18:23:49] <mofino> and coming to postfix, i see tons of illogical behaviours
[18:24:05] <mofino> i have had to make many changes to our system to "hack it" to postfix
[18:24:14] <mofino> due to these logical missteps
[18:24:26] <mofino> and alias to itself is RETARDED
[18:24:32] <mofino> plain and simple
[18:24:42] <Jimi_> Can aliases span multiple lines?
[18:24:46] <mofino> the address is already defined in the mailbox map, this should be enough
[18:24:49] <mofino> Jimi_, no
[18:24:58] <mofino> Jimi_, keep everything on one line for sanity
[18:25:17] <Jimi_> mofino: I have an alias that is 50 addresses long, and it always breaks, and i have to go in and move everything to one line after adding a new entry
[18:25:26] <mofino> Jimi_, get a better editor
[18:25:57] <mofino> jimi, why are you asking this question in #qmail
[18:27:49] <mofino> i'm going to move the catchall to mailbox
[18:27:55] <mofino> since alias lookups are done first
[18:28:40] *** seekwill has joined #postfix
[18:30:41] <f3ew> Jimi_, yes
[18:30:47] <f3ew> just indent the next line
[18:30:56] <mofino> oh, then nevermind
[18:31:04] *** blackflag has quit IRC
[18:31:14] <mofino> f3ew, so you actually think this is reasonable behaviour, alias to itself?
[18:31:31] <mofino> seems like a hack
[18:31:42] <f3ew> mofino, the recursion is reasonable behaviour, aliasing to itself is a hack to break recursion
[18:31:55] <mofino> but there's a mailbox defined
[18:32:00] <mofino> that should break the recursion
[18:32:01] <f3ew> but fairly sensible, given simplicity
[18:32:12] <mofino> s/simplicity/stupidity/
[18:33:02] <f3ew> virtual_alias_maps (used by smtpd(8)) override virtual_mailbox_maps (used by smtpd(8) and virtual_transport, usually virtual(8))
[18:33:13] <f3ew> aliases are recursive
[18:33:25] <Dominian> mofino: You could just writey our sql query to circumvent that.. possibly
[18:33:26] <f3ew> when querying aliases, mailbox maps are not being looked at
[18:33:38] <mofino> f3ew, obviously
[18:33:39] <Jimi_> thanks f3ew , so as long as i indent each new line, it is fine? or, only good for the first one?
[18:33:43] *** cilly has quit IRC
[18:33:48] <f3ew> Jimi_, each line
[18:33:52] <Jimi_> thanks
[18:33:53] *** Jimi_ has left #postfix
[18:34:00] <f3ew> initial whitespace makes the next line a continuation of the previous one
[18:34:13] <mofino> ahh ok, didn't realize that applied to maps
[18:34:27] <mofino> (multi-line values)
[18:34:55] <f3ew> It applies everywhere
[18:35:11] <f3ew> headers, main.cf, master.cf, lookup tables ...
[18:35:11] <mofino> i realize it's in everything else
[18:35:23] <mofino> hashes, i didn't think would do that
[18:35:25] <f3ew> It's consistent :P
[18:35:29] <jduggan> lol
[18:35:33] <mofino> one thing so far ;)
[18:35:55] <mofino> i mean. postfix is great, i'm *trying* to switch to it
[18:36:03] <mofino> just, it has it's strange issues.
[18:36:26] *** mark-use has quit IRC
[18:36:30] <jelly> considering where you're coming from, strange issues shouldn't be an issue :->
[18:36:33] *** alex_alex has joined #postfix
[18:36:44] <Dominian> mofino: keep in mind you're used to qmail
[18:36:47] <Dominian> heh
[18:36:48] <mofino> i know qmail like the back of my hand
[18:36:54] <mofino> it does not suffer from these problems
[18:36:54] <Dominian> So what you think is odd..we find normal
[18:37:01] <zaarg> WOOOO HOOOOO
[18:37:09] <mofino> it suffers from age
[18:37:10] <sysmonk> evening earthlings
[18:37:11] <mofino> and djb
[18:37:19] <Dominian> qmail suffers from a lot more than age...
[18:37:28] <sysmonk> qmail doesn't suffer
[18:37:33] <sysmonk> only people who use qmail suffer
[18:37:35] <Dominian> you have no choice but to patch the crap out of it to bring it up to today's RFC compliance...
[18:37:36] <mofino> all depends on who you ask
[18:37:41] <rob0> Yes! Go to qmail and solve all your Postfix problems!
[18:37:44] <mofino> Dominian, that's age?
[18:37:46] <sysmonk> hehe
[18:37:49] <Dominian> mofino: to me it is
[18:37:56] <zaarg> we use qmail on all our production servers
[18:38:00] <zaarg> they need upgrading soon
[18:38:01] <zaarg> \o/
[18:38:01] <f3ew> [devdas@devdas-b ~]$ /usr/sbin/postmap -q foo hash:/tmp/foo
[18:38:02] <f3ew> bar baz qux
[18:38:02] <f3ew> [devdas@devdas-b ~]$ cat /tmp/foo
[18:38:02] <f3ew> foo:    bar
[18:38:02] <f3ew>         baz
[18:38:02] <f3ew>         qux
[18:38:04] * cpm solves the rob0 problem
[18:38:08] <mofino> yes f3ew...
[18:38:23] <sysmonk> qmail rocks! it's a really nice weapon, you just install it on your enemy's server
[18:38:28] <Dominian> heh
[18:38:29] <f3ew> hehe
[18:38:30] <mofino> boring
[18:38:33] <mofino> you guys have NO clue
[18:38:34] *** aksn has quit IRC
[18:38:44] <mofino> all bash, no reason
[18:38:49] <f3ew> mofino, I have been fixing qmail problems with Postfix here
[18:38:56] <Dominian> I do have clue.. I've used qmail..
[18:38:57] <jelly> sysmonk: and they'll get instant 3x troughput and 100x backscatter generation features
[18:39:00] <sysmonk> zaarg: what? qmail has updates? you mean adding a few more patches to those 50+ you have already? :)
[18:39:02] <mofino> what are they?  lack of decent smtpd?
[18:39:03] <mofino> heh
[18:39:03] <Dominian> whichi s why i went back to postfix ..
[18:39:07] <wdp> <sysmonk> qmail rocks! it's a really nice weapon, you just install it on your enemy's server
[18:39:13] <wdp> i should use that as a signature somewhere
[18:39:17] <mofino> obvisouly qmail is from 1997
[18:39:21] <Dominian> mofino: I don't like the idea of having to install daemontools for one...
[18:39:28] <sysmonk> hehe
[18:39:30] <mofino> Dominian hahah, completely baseless
[18:39:36] <Dominian> how is that baseless?
[18:39:38] * sysmonk ignores mofino, so i don't even see those bumblings
[18:39:44] <Dominian> Why do I have to install daemontools to run a mail server?
[18:39:48] <zaarg> sysmonk: it will most likely mean migrating to another program (probably postfix)
[18:39:50] <Dominian> that's pointless
[18:39:52] <mofino> you don't get it...
[18:39:55] <Dominian> sure I do
[18:40:01] <mofino> and frankly i'm not going to explain it
[18:40:03] <zaarg> but i'm not looking forward to dealing with the exisitng qmail mess
[18:40:05] <sysmonk> zaarg: good :)
[18:40:06] <mofino> lrn2unix
[18:40:17] <Dominian> mofino: You sound like djb frankly ;)
[18:40:26] <sysmonk> zaarg: you didn't have to install the qmail_mess.diff
[18:40:28] <gpled> sysmonk: lol
[18:40:31] <mofino> Dominian, djb is a very smart man
[18:40:37] <Dominian> didn't say he wasn't
[18:40:41] <sysmonk> er, woops, that's in the base install of qmail ;/
[18:40:41] <mofino> he's just a poor software dev
[18:40:49] <zaarg> hehe
[18:41:05] <mofino> tinydns is an example of this as well
[18:41:06] <Dominian> but trying to "convert" an avid postfix user to qmail thinking.. will be impossible no matter how you explain it
[18:41:14] <mofino> there is nothing to explain
[18:41:15] <sysmonk> my collegues have 10-20 servers with qmail, they cry every day
[18:41:23] <sysmonk> poor co-workers ;/
[18:41:26] <gpled> sysmonk: hey, i might have found a source for real vino grapes :)
[18:41:46] <sysmonk> gpled: nice, and i've found a source of cheap apple juice
[18:41:47] <mofino> i understand postfix mostly, and it's got ISSUES
[18:41:53] <gpled> sysmonk: lol
[18:41:57] <sysmonk> ~0.3$ for liter
[18:42:00] <mofino> the interesting thing is, postfix fans refuse to acknowledge them
[18:42:17] <jelly> Dominian: I use both and they both have nice and less nice things.
[18:42:23] <mofino> postfix doesn't even shut down cleanly!
[18:42:24] <gpled> sysmonk: you have like, 50 days left?
[18:42:32] <Dominian> jelly: I don't se ethe point of running two different MTA's
[18:42:39] <Dominian> jelly: name something qmail can do that postfix can't do
[18:42:41] <sysmonk> i won't be making any vine this year anymore, but if this year it'll be good i'll do ~100 liters next year
[18:42:52] <Dominian> mofino: eh? shuts down fine for me
[18:42:58] <jelly> Dominian: push 200 mails/s on crappy hardware
[18:43:00] <mofino> Dominian, i have evidence of unclean shutdowns
[18:43:07] <mofino> Dominian, very easy to reproduce.
[18:43:09] <sysmonk> gpled: i don't count days. i just see when it stops
[18:43:14] *** Jimi_ has joined #postfix
[18:43:29] <Dominian> mofino: you mean during transactions then postfix stop :?
[18:43:34] <mofino> Dominian, exactly
[18:43:35] <Jimi_> Is it possible to do a mysql_query to pull in the aliases instead? like alias: = mysql_fetch_array($foo)...
[18:43:36] <sysmonk> gpled: the baloon way doesn't show you when it stops to make ... emmm.. don't know the name for that
[18:43:37] <deface> mofino: go back to qmail then, and quit wasting our buffers w/ rambling
[18:43:38] <gpled> sysmonk: so you have clear container and just watch for bubbles?
[18:43:50] <mofino> deface, i'm moving to postfix, but ok
[18:43:52] <sysmonk> Jimi_: no, but you can have a sql database of aliases
[18:43:55] <sysmonk> !sql
[18:43:55] <knoba> sysmonk: Error: "sql" is not a valid command.
[18:43:57] <sysmonk> !mysql
[18:43:58] <knoba> sysmonk: "mysql" : http://www.postfix.org/MYSQL_README.html is helpful in configuring postfix to talk to a mysql server.
[18:44:14] <sysmonk> gpled: i can hear the bubbles
[18:44:17] <gpled> lol
[18:44:18] <Dominian> mofino: I've not noticed any problems with that.. so not sure how that is an issue unless it is service effecting.
[18:44:21] <sysmonk> gpled: i'm serious
[18:44:22] <gpled> smell them too ?
[18:44:34] <mofino> Dominian, it results in duplicates, nothing serious
[18:44:36] <sysmonk> gpled: not that much now, but for the first ~5 days - HELL YES
[18:44:42] <sysmonk> i was almost drunk because of the smell :)
[18:44:46] <gpled> lol
[18:45:15] <Jimi_> sysmonk: Thanks. I am running Centos's version. Is there a way to tell if it was compiled with the correct features?
[18:45:26] <sysmonk> Jimi_: yes, postconf -m
[18:45:38] <gpled> Jimi_: what version of centos?
[18:45:38] <seekwill> sysmonk -m
[18:45:49] <sysmonk> seekwill--
[18:45:52] <Jimi_> gpled: 5
[18:46:03] <zaarg> sysmonk --help
[18:46:05] <sysmonk> seekwill not my friend anymore, seekwill doesn't give me his secret information
[18:46:10] <seekwill> :(
[18:46:18] <gpled> Jimi_: how do you like 5?  im running 4.7
[18:46:21] <sysmonk> bad seekwill, bad!
[18:46:24] <seekwill> You just said I'd lose my "bestest in the hole wide welrd" status
[18:46:44] <Jimi_> gpled: Its ok, about the same as any other RPM distro. Do you use postfix+mysql?
[18:46:54] <Jimi_> I do not see a module for mysql in the postconf -m
[18:46:58] <gpled> Jimi_: nope
[18:47:10] * cpm gives sysmonk all of his secrets
[18:47:11] <jelly> Dominian: to be honest, my peaks are around 100-150 mail/s.  I'd keep qmail if the commercial antispam we use worked with it natively, and if it wasn't such a backscatter whore
[18:47:28] <gpled> Jimi_: have you run into any perl trouble?
[18:47:39] <Dominian> jelly: I know quite a few people who have more than that per second on postfix systems.. that do just fine..
[18:47:46] <Jimi_> gpled: What kind? I had some dependency errors when I mixed cpan + yum
[18:47:55] <Dominian> but if you're running a mailserver on crappy hardware... that's a fail in itself especially if you are doing that many transactions...
[18:47:59] <jelly> Dominian: I'd like to see their hardware
[18:48:36] <jelly> "crappy" is relative, in this case it means 2004 P4 machines
[18:48:43] <gpled> Jimi_: what having trouble with perl  5.10.0 and spamassassin
[18:49:00] <gpled> Jimi_: what/was
[18:49:32] <gpled> lol, reading and typing, bad combo
[18:49:42] <Jimi_> hmm, i dont see any postfix-mysql packages in the repos
[18:50:21] <gpled> Jimi_: on my next box, im going to used postfix from source
[18:50:33] <Jimi_> I wish I had done that.
[18:50:35] <Jimi_> :(
[18:51:02] <gpled> Jimi_: yah, i get tired of hearing why rh is so far behind on postfix
[18:51:18] <gpled> funny how they still push sendmail
[18:51:21] <Jimi_> yeah
[18:51:23] <Jimi_> lol
[18:51:24] <gpled> think its a $$ thing
[18:51:52] *** shinao1 has quit IRC
[18:51:53] <jelly> they do provide postfix packages, which also means support
[18:52:05] <sysmonk> woot support?
[18:52:06] <sysmonk> ;)
[18:52:36] <sysmonk> did i hear somebody singing hare_krishna?
[18:52:44] <jelly> well, it does depend on your contract level now doesn't it
[18:53:15] *** cilly has joined #postfix
[18:53:49] <sysmonk> sure it does, you pay me - i help you! :)
[18:54:01] <Jimi_> damn
[18:54:02] <zaarg> for only $500 per month you get access to an exclusive phone line where you can talk to incomptent people to make your problem even worse
[18:54:03] <sysmonk> you pay me more - i help you less^Wmore too
[18:54:03] <sysmonk> ;)
[18:54:07] <Jimi_> I guess I have to download the centos source
[18:54:09] <jelly> sysmonk: the context was rh
[18:54:28] <sysmonk> jelly: i can change a nick to rh too
[18:54:31] <sysmonk> ;P
[18:54:40] <sysmonk> zaarg: isn't that usual ?
[18:54:58] <zaarg> oh, it's usual.
[18:55:05] <zaarg> that's how these peeople make their money.
[18:55:16] <jelly> sysmonk: I don't hire consultants who can't follow context :->
[18:55:21] <zaarg> if everything just worked, where would they be?
[18:55:48] <sysmonk> jelly: i don't need employers who don't understand jokes :P
[18:56:20] <jelly> so we have an understanding!
[18:56:32] <sysmonk> zaarg: we have a contract with one company for support, when we contact their helpdesk we specifically ask for one of three guys who KNOW the stuff
[18:56:36] <sysmonk> not the rest 27 guys
[18:56:37] <sysmonk> ;)
[18:56:45] <zaarg> hehehehehe
[18:57:46] <zaarg> i hate it when support people bark up the wrong tree.
[18:57:54] *** Tykling has left #postfix
[18:58:11] <zaarg> and you have to explain to them that's /really/ not going to help.
[18:58:35] <zaarg> but you follow their advice anyway, do wht they ask, only for them to reply "huh?"
[18:58:39] *** phnord has quit IRC
[19:00:12] <deface> if i have -  reject_non_fqdn_hostname enabled, how do you bypass localhost
[19:00:39] <deface> NOQUEUE: reject: RCPT from zeus.fluxlabs.net[127.0.0.1]: 404 4.5.2 <localhost>: Helo command rejected: need fully-qualified hostname;
[19:00:49] <zaarg> bypass_localhost=true
[19:00:56] <sysmonk> zaarg: hehehe
[19:01:02] <sysmonk> zaarg: i remember a phone call to my ISP
[19:01:16] *** githogori has quit IRC
[19:01:21] <sysmonk> zaarg: my network was down that day, so i called their tech support and told them to fix it
[19:01:33] <sysmonk> and they said it's something on my side, and that i have to reboot my router
[19:01:50] <sysmonk> i said it's REALLY not a problem on my router, i know it, i mange it, i..
[19:02:02] <sysmonk> they said that it's still a problem on my side and that i HAVE TO reboot it
[19:02:05] <seekwill> i... rebooted three times already
[19:02:08] <deface> zaarg: no option
[19:02:26] <sysmonk> i said ok, i will. i just went to make some tea, and made them wait till i 'reboot' the router
[19:02:37] <sysmonk> after a minute or so i told them i did reboot and it still doesn't work
[19:02:46] <sysmonk> they fixed it in a minute after that
[19:02:51] *** carl- has joined #postfix
[19:02:57] <jduggan> they have procedures they must follow
[19:03:07] <jduggan> most support staff dont know shit, they just follow procedure
[19:03:10] <seekwill> We tell our people to reboot all the time. At least three times
[19:03:27] <seekwill> That's why our company hires support engineers :P
[19:03:30] <sysmonk> jduggan: our helpdesk tries to know their stuff atleast a bit
[19:03:46] <jduggan> sysmonk: same here, but bigger ISP's just have drones at helpcenters
[19:03:54] *** shinao1 has joined #postfix
[19:04:08] <sysmonk> true
[19:06:02] <zaarg> sysmonk: heheehehe
[19:06:06] <zaarg> yeah, sounsd familiar
[19:06:16] <jduggan> we have like 3 ISP's here running full bgp to them, everytime i call the front desk of the one transit and ask to be put to a noc engineer, they raise my details and think i'm an adsl/broadband customer, when i tell them i have a gigabit circuit from them they've no idea where to put my call, its frustrating and happens everytime
[19:06:19] <zaarg> deface: that's because i made it up. sorry.
[19:06:27] <deface> lol
[19:08:57] <sysmonk> jduggan: same here :)
[19:09:25] <sysmonk> i have rip at home with my ISP and after changing routers they always forget about me
[19:09:39] <sysmonk> as i'm the only one from private customers who has rip
[19:10:20] *** UQlev has joined #postfix
[19:10:35] <jduggan> ah
[19:10:39] <zaarg> next time i call my isp i'm going to tell them i invented dsl.
[19:10:45] <zaarg> (i didn't really btw.)
[19:13:48] <lunaphyte_> better off telling them you invented lsd.
[19:16:00] <sysmonk> yeah, they'll atleast understand what that is
[19:17:53] <lunaphyte_> deface: tell whatever is submitting mail to postfix on the loopback interface to use a real hostname.
[19:20:28] <deface> it was mailscanner
[19:20:32] *** growltiger_ has joined #postfix
[19:20:33] <deface> releasing from quarantine
[19:20:47] <deface> i just moved the permit_mynetworks up in order of checks
[19:22:47] <lunaphyte_> check_client_access
[19:23:20] <sysmonk> check_pron_access
[19:23:22] <sysmonk> mmmm :)
[19:23:25] *** madrescher has quit IRC
[19:23:46] <deface> check_client_access pcre:/etc/postfix/hash/client_checks.pcre
[19:24:25] <mofino> solved
[19:25:41] <mofino> aliases: catchall removed, mailboxes: @domain.com #, uid_map: @domain.com 1, gid_map: @domain.com 1, transports: domain.com catchall:dest_email,dest_email
[19:25:44] <sysmonk> fail, pcre isn't a hash, why is it in hash directory? :P
[19:25:47] *** solarce has left #postfix
[19:26:04] <mofino> master.cf: catchall : /usr/sbin/sendmail -f ${sender} ${nexthop}
[19:26:12] <mofino> no bullshit required
[19:30:44] *** amrit|zzz is now known as amrit|wrk
[19:32:00] *** metalman has joined #postfix
[19:34:54] *** gregor2005 has joined #postfix
[19:35:01] <metalman> I have a postfix-dovecot-LDAP setup with virtual users working well. I've been given a list of accounts that need to both deliver to the rcpt virtual user and forward to another address based on an attr from LDAP. How do I configure such a two-step delivery rule in postfix?
[19:35:36] *** Severed_Head_Of_ has quit IRC
[19:36:39] *** blackflag has joined #postfix
[19:37:44] <gregor2005> hi, can i configure postfix to send eg. over smtp.server.com when a outgoing mail are send from user at server dot com and over if it doesn't come from @server.com it send over a default smtp server???
[19:39:23] *** Severed_Head_Of_ has joined #postfix
[19:44:16] *** Severed_Head_Of_ is now known as growltiger
[19:44:22] <metalman> So I understand how to deliver mail to virtual users and use virtual aliases based on LDAP attributes, but how can I do both actions on incoming message
[19:44:27] <sysmonk> !sender_dependant_relayhost_maps
[19:44:28] <knoba> sysmonk: Error: "sender_dependant_relayhost_maps" is not a valid command.
[19:44:39] <sysmonk> !sender_dependent_relayhost_maps
[19:44:40] <knoba> sysmonk: "sender_dependent_relayhost_maps" : a configuration directive in main.cf for sender based message routing. See http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps
[19:44:43] <sysmonk> growltiger: ^^
[19:44:58] <gregor2005> ah
[19:45:28] <sysmonk> metalman: you have to make your query return both the original email + where to send the copy, i.e. user at domain dot com should return user at domain dot com,somebodyelse@somewhere.com
[19:45:42] <sysmonk> metalman: but i don't know how to do that with ldap... so it's up to you :)
[19:46:16] <sysmonk> or you can alter the ldap attr to store the original mail of the user too
[19:46:20] <metalman> sysmonk: ok, so if I make my ldap search return a comma-separated list instead of one address, postfix will know that it needs to then forward to both?
[19:46:43] <sysmonk> metalman: er, i'm talking about aliases ofcourse
[19:46:47] <sysmonk> and yes, it will send to both
[19:47:41] <metalman> mmkay
[19:51:54] <metalman> let's say info at foo dot org and user at foo dot org are both virtual users with maildirs on the local postfix server. Normally the postfix-ldap query for info at foo dot org will return '/var/vmail/foo.org/info' and postfix will know to delivery the mail there. but I need to tell postfix to both delivery to '/var/vmail/foo.org/info' AND send to user at foo dot org. So action #1 is a maildir delivery and action #2 is a virtual user lookup for user at foo dot org which may be a maildir or
[19:52:01] <metalman> does that make sense?
[19:54:15] <metalman> those seem like different mapping styles to me (virtual mailbox vs. virtual alias) and thus in need of two different actions
[19:57:22] *** growltiger_ has quit IRC
[19:57:41] <lunaphyte_> do it with flat files first, then transition your lookup maps to ldap.
[19:58:10] <lunaphyte_> kldload
[19:58:13] <lunaphyte_> oopsies
[20:00:06] *** denis_ has joined #postfix
[20:01:35] <metalman> lunaphyte_: given the above example, which information would go into the file, and which into LDAP, and how do I tell postfix to do two seperate lookups on a rcpt of this type?
[20:02:07] <lunaphyte_> !virtual_alias_maps
[20:02:07] <knoba> lunaphyte_: "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).
[20:02:34] *** cilly has quit IRC
[20:03:32] *** githogori has joined #postfix
[20:04:00] *** Zeit|awy_ has joined #postfix
[20:05:06] <Jimi_> hmm
[20:05:22] <Jimi_> Anyone have experience removing centos postfix and dependencies and compiling from source?
[20:06:02] *** pitakill has quit IRC
[20:06:29] <Jimi_> Or, does anyone know if you have read aliases from an external file in /etc/aliases like foo: /var/aliases/foo.txt
[20:08:00] *** Verilium has joined #postfix
[20:09:13] *** zamba has joined #postfix
[20:09:54] <zamba> i tried asking in #spamassassin, but received no answer so far.. i'm trying to figure out what the different tests in spamassassin mean (yeah, i've checked their web page on the matter) and, more importantly, how to fix them..
[20:10:06] *** Zeit|awy has quit IRC
[20:10:25] <zamba> the headers are in http://pastebin.com/m3a51e2c3
[20:11:00] <zamba> i'm aware this is not the perfect channel for this kind of question, but you're my last hope (tm)
[20:16:23] <metalman> lunaphyte_: sure, I'm currently using virtual_alias_maps to lookup aliases in LDAP. postfix grabs the alias from LDAP and delivers to the target maildir. But in this case I need postfix to grab and deliver to an alias but also deliver to the maildir of the original rcpt and not just give up at the alias as usual
[20:18:21] <metalman> I need postfix translate like this:  rcpt=info at foo dot org --> maildir:/var/vmail/foo.org/info AND user at foo dot org
[20:19:03] <metalman> under normal circumstances it gives up after the first successful mapping
[20:20:59] <gregor2005> sysmonk: can i combine sender_dependent_relayhost_maps with transport_maps ?
[20:22:10] *** higuita has quit IRC
[20:24:22] *** havvg has joined #postfix
[20:27:04] *** colesterol_dog is now known as m0f0x
[20:28:46] *** ndonegan has left #postfix
[20:32:29] *** issackelly has quit IRC
[20:52:58] *** denis_ has quit IRC
[21:00:10] *** mohshami has joined #postfix
[21:00:54] <mohshami> hey guys, I know this is the wrong list, but I can't find a solution anywhere, if someone used mailman, how do I set a list to be unmoderated? no matter what I do I still have to approve every message
[21:01:31] <Jimi_> Cool, I have postfix + mysql now for centos
[21:01:52] <Jimi_> Does the alias_maps go in /etc/aliases or in master.cf?
[21:02:27] <mohshami> main.cf
[21:03:24] <Jimi_> Thanks
[21:03:37] <Jimi_> It is giving me a termporary lookup users
[21:03:54] <mohshami> can you show me the exact error message please?
[21:04:25] <Jimi_> 451 4.3.0 <jfreeman at localhost dot localdomain>: Temporary lookup failure
[21:04:25] <Jimi_> jfreeman at localhost dot localdomain... Deferred: 451 4.3.0 <jfreeman at localhost dot localdomain>: Temporary lookup failure
[21:04:28] <Jimi_> 554 5.5.1 Error: no valid recipients
[21:04:54] <mohshami> postconf -n
[21:04:59] <mohshami> and post that in pastebin please
[21:06:38] <Jimi_> http://pastebin.ca/1223929
[21:08:29] <mohshami> maybe your mysql config is incorrect
[21:08:42] <Jimi_> Want to see it?
[21:08:53] <mohshami> postmap -q jfreeman at localhost dot localdomain mysql:/etc/postfix/mysql-aliases.cf
[21:09:35] <Jimi_> oh
[21:09:42] <Jimi_> It is trying to use localhost mysql, not remote.
[21:09:58] <mohshami> can I see your mysql-aliases.conf?
[21:10:41] *** denis_ has joined #postfix
[21:11:03] <Jimi_> http://pastebin.ca/1223935
[21:11:07] <Jimi_> I replaced real values with xxx
[21:12:01] <mohshami> it's been a while since I wrote config for mysql
[21:12:12] <mohshami> can you do the query from the command line?
[21:12:53] <Jimi_> yeah
[21:12:55] <Jimi_> oh
[21:12:59] <Jimi_> its hostS not host
[21:13:22] <mohshami> ok, let's try it
[21:13:39] <Jimi_> command line returned with no errors. not sure if the email is going to come through or not.
[21:14:19] <mohshami> mysql -e 'SELECT concat(username,' at xxx dot com') FROM users where username="jfreeman"'
[21:15:01] <gregor2005> can i combine sender_dependent_relayhost_maps with transport_maps ?
[21:15:17] <Jimi_> mohshami: sweet
[21:15:21] <Jimi_> mohshami: i just got it :) thanks
[21:15:27] <mohshami> :)
[21:15:29] <mohshami> glad to help
[21:15:44] <Jimi_> mohshami: so, what if there are multiple users that equal jfreeman, it will send to all of them right?
[21:16:12] <mohshami> I think it shouldn't
[21:16:28] <Jimi_> I am trying to make a distribution list without using mailman
[21:16:49] <mohshami> I remember a couple of years back I tried to create an alias called all
[21:17:04] <mohshami> now that I think of it I don't remember if it worked or not
[21:17:32] <zaarg> http://www.grimmemennesker.dk/ugly-people-396.htm
[21:17:33] <Jimi_> heh
[21:17:41] <zaarg> sorry, wrong channel
[21:17:42] <mohshami> try it for a single user first, the try to expand
[21:17:49] <Jimi_> foo: foo,bar,baz in /etc/aliases works like that though
[21:17:54] <Jimi_> Works for single user, I just got the test email.
[21:19:20] <mohshami> the thing is, in mysql it won't return foo,bar,baz
[21:19:41] <mohshami> it would return something different
[21:20:33] <mohshami> why don't you want to use mailman btw?
[21:21:36] <Dominian> mailman works fine with postfix
[21:21:55] <Jimi_> Sure, but it is difficult to set-up.
[21:22:02] <mohshami> not really
[21:22:07] <mohshami> the documentation is bad
[21:22:11] <Jimi_> And I dont want to have a subscribe/unsubscribe proccess..
[21:22:13] <mohshami> but it's easy
[21:22:29] <mohshami> if I'm not mistaken you can block that or something
[21:22:33] <Dominian> uhhh
[21:22:38] <Dominian> setting up mailman to work with postfix is cake
[21:22:39] <Jimi_> I just want it to pull the information from a database, so as soon as a new hire comes, they are immediately in the alias
[21:22:46] *** BuenGenio has joined #postfix
[21:24:02] <mohshami> is this an internal only list?
[21:24:05] <Jimi_> Yes
[21:24:33] <Jimi_> Just a small insurance company. But we have new hires and fires all of the time. Takes forever to append them and delete them from /etc/aliases
[21:25:32] <mohshami> hmm
[21:25:51] <mohshami> it's been a looooooooooooong time since I've done postfix+mysql I can't remember anything of the top of my mind
[21:25:54] <Jimi_> then I get people complaining they never received a company-wide email, etc..
[21:26:00] <mohshami> do you have AD at the office?
[21:26:05] <Jimi_> oh, its because i forgot to create an entry
[21:26:06] <Jimi_> AD?
[21:26:22] <mohshami> *cough* Active Directory *cough*
[21:26:30] <Jimi_> I'm not sure what that is.
[21:26:47] <mohshami> Microsoft active directory
[21:26:52] <mohshami> for user management?
[21:26:59] <Jimi_> Oh, we do not use microsoft products in the office.
[21:27:11] <mohshami> good for you
[21:27:21] <mohshami> I was given the task of migrating away from microsoft
[21:27:36] <mohshami> but everyone is against it
[21:28:00] <Jimi_> I didn't give them a choice. I dont see a point in paying for a license.
[21:28:10] <mohshami> me neither
[21:28:14] <mohshami> even for desktops?
[21:29:04] <Jimi_> Nope, we use thin clients.
[21:29:24] <mohshami> cool
[21:29:25] <Jimi_> They connect to 3 linux virtual servers.
[21:29:25] <mohshami> brb
[21:29:27] <Jimi_> k
[21:29:42] <Jimi_> hmm, postfix only sent 1 email even though there are 3 entries in the table.
[21:33:10] <mohshami> yes, as I said, it doesn't return foo,bar,baz, it returns foo
[21:35:18] <stockholm> where do the postfix developers hang on irc?
[21:35:37] <stockholm> i seem to have a tricky mail routing question
[21:36:38] *** mohshami has quit IRC
[21:36:45] <stockholm> i look for a way to get postfix to send out mails to one domain via eth0 and all the other domains via eth1
[21:37:31] <stockholm> or i could even live with that it listened on both eth1 och eth0 but sends mail only on eth1
[21:38:28] *** cilly has joined #postfix
[21:40:55] <Jimi_> hmm
[21:41:22] <Jimi_> I bet I could just have 1 table with the aliasname as the username, and the email address as foo,bar,baz, so its returns all 3
[21:42:18] *** cpm has quit IRC
[21:43:34] <Jimi_> hmm
[21:43:44] <Jimi_> I might have to buckle down and just read the mailman configuration.
[21:50:06] *** zaarg is now known as yaarg
[21:51:20] <lunaphyte_> i feel like i'm coming down with a case of logizomechanophobia.
[21:52:07] <sysmonk> wtfphobia?
[21:52:39] <lunaphyte_> :)
[21:56:30] <lunaphyte_> the one phobia we should all have.
[21:56:45] *** nonsequitir_ has joined #postfix
[21:57:02] <sysmonk> and don't we?
[22:03:39] *** BuenGenio has quit IRC
[22:06:02] *** plugwash has joined #postfix
[22:06:34] *** yaarg has left #postfix
[22:07:03] <plugwash> what is the easiest way to tell postfix I want to reject mail for certain users even though the user exists? Can it be done form the aliases file?
[22:07:30] <shasta> !check_recipient_access
[22:07:31] <knoba> shasta: "check_recipient_access" : Search the specified access(5) database for the resolved RCPT TO address, domain, parent domains, or localpart@, and execute the corresponding action.
[22:07:37] <shasta> plugwash, ^^^^
[22:09:32] *** denis_ has quit IRC
[22:11:57] <goldfischli> g guitar hero cheats
[22:12:13] <goldfischli> whoops wrong channel
[22:16:10] <stockholm> how do i satisfy this warning? 2008-10-09T20:12:45.000+00:00 smtp-001.lon.spotify.net postfix/local[5810]: warning: dict_nis_init: NIS domain name not set - NIS lookups disab
[22:16:50] <stockholm> does it really mean nis as in yellow pages???
[22:16:58] <stockholm> i dont have that.
[22:19:43] <Signum> stockholm: Try "postconf | grep nis". By default Postfix has some NIS lookups IIRC.
[22:20:15] <Signum> stockholm: e.g. "alias_maps = hash:/etc/aliases, nis:mail.aliases"
[22:26:12] <plugwash> how exactly does the recepiant restrictions work? does it go down the list of restrictions until something matches
[22:27:36] *** UQlev has quit IRC
[22:27:41] <Signum> plugwash: exactly like that. similar to firewall rules.
[22:29:51] *** Kyoshiro has joined #postfix
[22:29:55] <Kyoshiro> hi
[22:29:56] *** carl- has quit IRC
[22:30:46] <Kyoshiro> I've got these messages about each hour in my logs http://pastebin.com/m1c1cdf35
[22:31:18] 
[22:31:28] <Kyoshiro> but that's not a good idea to do so...
[22:31:35] *** jelly-home has joined #postfix
[22:31:57] <Kyoshiro> I'd like to know if these errors mean I've lost email ie. mail was rejected or not
[22:32:09] <Kyoshiro> I'm using mysql tables for virtual hosting btw :p
[22:32:43] <Signum> Kyoshiro: you probably didn't lose mail. in such a case postfix just rejects emails with a 4xx error.
[22:33:05] <Kyoshiro> ok
[22:33:12] <Signum> Kyoshiro: MySQL has an annoying habit for dropping connections after 8 hours. So if you get emails very rarely you may run into this problem.
[22:33:16] <Kyoshiro> so the client would retry later
[22:33:24] <Kyoshiro> ok
[22:33:26] <Kyoshiro> it's on the MX2 :)
[22:33:56] <Kyoshiro> but what's strange is that I've got plenty mails on it
[22:34:10] <Kyoshiro> every minute there's an incoming mail
[22:34:14] <Kyoshiro> at leasr
[22:34:17] <Kyoshiro> least
[22:34:43] * jelly-home forgot how to get to knoba's database.  Again.
[22:34:47] *** Thorn has quit IRC
[22:34:50] <Jimi_> Dominian: I just installed mailman from centos rpms, but I am mising the genaliases file in bin/
[22:34:53] *** edoceo has joined #postfix
[22:35:30] <edoceo> I'm moving my clients from one Postfix machine to another,
[22:35:55] <Signum> !tell jelly-home factoids
[22:35:55] <edoceo> On server A I was going to use relay_domains to have it push messages to ServerB while I wait for MX records to update.
[22:35:56] <knoba> Signum: Error: No factoid matches that key.
[22:36:02] <Signum> erm...
[22:36:03] <edoceo> Is that the right approach?
[22:36:07] <Signum> !tell jelly-home knoa
[22:36:08] <knoba> Signum: Error: No factoid matches that key.
[22:36:09] <Signum> !tell jelly-home knoba
[22:36:09] <knoba> jelly-home: -> "knoba" : an informational bot in this channel (see http://workaround.org/f=postfix)
[22:36:13] <Kyoshiro> but ok if these are temporary errors I'll ignore them :)
[22:36:27] <Kyoshiro> thanks Signum
[22:36:38] <jelly-home> Signum: that works, thanks
[22:37:04] <Signum> Kyoshiro: Honestly it was one of the reasons I switched to PostgreSQL. I can't seriously work with a DBMS that drops my connections and doesn't allow that crap to be turned off.
[22:39:05] <plugwash> hmm, it seems that such a rule will have to either match by complete email address or will match all email addresses. I really want it to match for all local domains but not for mail going on to other servers :/
[22:40:17] <Kyoshiro> hehe Signum :)
[22:40:36] <Kyoshiro> In fine, I think I'll switch to ldap
[22:40:49] <Kyoshiro> so I suppose there won't be issues anymore :)
[22:40:57] <Kyoshiro> at least not like this :)
[22:46:42] <jelly-home> that's what she said
[22:47:13] <mofino> back on postfix, yay
[22:49:56] *** edoceo has left #postfix
[22:50:41] <stockholm> how can i masquerade_domains if i send from a host blah.net and relay on a host blahmail.com? mails should look like they came from blahmail.com
[23:01:44] *** Zeit|awy_ has quit IRC
[23:03:45] *** Jimi_ has quit IRC
[23:04:59] *** cilly has quit IRC
[23:06:24] *** cilly has joined #postfix
[23:09:42] *** Hibbelharry has left #postfix
[23:17:49] *** layon has quit IRC
[23:25:16] *** tombar has joined #postfix
[23:28:03] *** cilly has quit IRC
[23:28:06] *** pickcoder has joined #postfix
[23:35:18] *** cilly has joined #postfix
[23:39:37] *** havvg has quit IRC
[23:45:25] *** nonsequitir_ has quit IRC
[23:47:56] *** F6F has joined #postfix
[23:48:34] *** [Gandhi] has joined #postfix
[23:53:24] *** niki has joined #postfix
[23:53:46] *** solarce has joined #postfix
[23:54:16] *** cilly has quit IRC
[23:54:20] <solarce> I'm using logreport/lire to generate reports from /var/log/maillog, in the Sender Domain, any idea what the localhost domain would be caused by?
[23:54:58] *** shinao1 has quit IRC
[23:57:19] <deface> postmaster/root

top