Re: relay to /dev/null

2022-09-23 Thread Jeremy Hansen
Perfect. Thank you! -jeremy > On Friday, Sep 23, 2022 at 7:40 PM, Viktor Dukhovni > mailto:postfix-us...@dukhovni.org)> wrote: > On Fri, Sep 23, 2022 at 05:21:31PM -0700, Jeremy Hansen wrote: > > One question, if I had this in sender_dependent_relayhost_maps, what would >

Re: relay to /dev/null

2022-09-23 Thread Jeremy Hansen
One question, if I had this in sender_dependent_relayhost_maps, what would be the equivalent syntax for sender_dependent_default_transport_maps: @domain [127.0.0.1]:8500 Thanks! -jeremy > On Friday, Sep 23, 2022 at 4:55 PM, Viktor Dukhovni > mailto:postfix-us...@dukhovni.org)> wrote:

relay to /dev/null

2022-09-23 Thread Jeremy Hansen
I’m using sender_dependent_relayhost_maps. Is there an option to route a domain to nothing? @example.com /dev/null In there now, which of course results in an error, but also has the desired effect. What’s the graceful way to do this? Thanks! -jeremy signature.asc Description: PGP

Quarantining html email

2022-06-16 Thread Jeremy Hansen
Is there an established recipe or utility or filter I can configure to quarantine html emails? Bonus would be to process these emails to convert to a full image removing links and remote images from the quarantined email. I realize links would have to be pulled to generate the image but

Re: Mail looping issue

2022-05-21 Thread Jeremy Hansen
= So what am I breaking by not having localhost defined in mynetworks. I tested typical mail and it still delivers…. Hmm. Thanks! -jeremy > On May 21, 2022, at 10:32 PM, Jeremy Hansen wrote: > > > >> On May 21, 2022, at 10:06 PM, Nick Tait > <mailto:n...@tait.net.nz&

Re: Mail looping issue

2022-05-21 Thread Jeremy Hansen
> On May 21, 2022, at 10:06 PM, Nick Tait wrote: > > On 21/05/22 19:09, Jeremy Hansen wrote: >> Two MTAs, one is running Ciphermail. The ciphermail host relays mail to the >> “permanent home” MTA where mail gets delivered to users and dovecot runs for >> re

Re: Mail looping issue

2022-05-21 Thread Jeremy Hansen
> On May 21, 2022, at 4:26 PM, Wietse Venema wrote: > > Yes, you ave a mailer loop. > > mx1 Receive 7B34152BBDB (2326 bytes) from macbook > mx1 Deliver 7B34152BBDB to content filter, receive as B8C5452BBDF (4004 > bytes). > mx1 Deliver B8C5452BBDF to cmx01 as 4L4tdt0Fk8z2SSLv > > cmx01

Re: Mail looping issue

2022-05-21 Thread Jeremy Hansen
> On May 21, 2022, at 10:34 AM, Fred Morris wrote: > > On Sat, 21 May 2022, Viktor Dukhovni wrote: >> You don't have to accept such mail [...] >> >> Don't forward mail that for which the input MTA is expected to be the >> final destination. > > Maybe I'm misunderstanding, but my

Re: Mail looping issue

2022-05-21 Thread Jeremy Hansen
> On May 21, 2022, at 8:03 AM, Viktor Dukhovni > wrote: > > On Sat, May 21, 2022 at 12:09:37AM -0700, Jeremy Hansen wrote: > >> What I experience when the port forward is enabled is suddenly >> “things” out there are attempting to just email random addresses at &

Mail looping issue

2022-05-21 Thread Jeremy Hansen
flat out reject mail being sent to the aws domain pattern. Ciphermail host: http://skidrowstudios.com/mta/cmx01.txt Dovecot host: http://skidrowstudios.com/mta/mx1.txt Please let me know what other information is useful and I appreciate the help. Thank you! -jeremy > On Friday, May 20, 2

Mail looping issue

2022-05-19 Thread Jeremy Hansen
I’m trying to do a ssh port forward of port 25 from my local mta to an aws node so my mta doesn’t have to be directly on the routable internet. I’m seeing an interesting problem due to the fact that aws ip’s are so heavily probed. When a prober tries sending email to @, the mail tries to

Re: will this break DMARC?

2021-08-12 Thread Jeremy T. Bouse
The DMARC record itself looks fine and valid; however, the issue is going to be whether your SPF and DKIM records alignment. I suspect the issue will be in the alignment and the OP didn't provide those details to be able to evaluate. On Thu, Aug 12, 2021 at 11:47 PM Benny Pedersen wrote: > On

RE: Checking my understanding of TLS-related settings, and a possible feature request

2020-07-02 Thread Jeremy Banks
apps have a suitable configuration option to use a non-standard port for smtp With regards to a possible smtpd_tls_policy_maps option, i must defer to more knowledgeable people. regards! Max Am 11.06.20 um 18:22 schrieb Jeremy Banks: Hello, At my job, we use Postfix as our email setup

Checking my understanding of TLS-related settings, and a possible feature request

2020-06-11 Thread Jeremy Banks
while making exceptions for my legacy applications? Failing that, is it possible to add an smtpd_tls_policy_maps feature, such that one could set a general smtpd TLS policy in main.cf using smtpd_tls_protocols, and then specific exceptions in one's smtpd_tls_policy_maps? Regards, Jeremy Banks 1

Re: PostgreSQL+Postfix inquiry

2017-01-30 Thread Jeremy T. Bouse
On 1/30/2017 10:27 AM, Wietse Venema wrote: > Viktor Dukhovni: >>> On Jan 30, 2017, at 8:57 AM, Jeremy T. Bouse <jeremy.bo...@undergrid.net> >>> wrote: >>> >>> I also found when >>> testing with 'postmap -q' I had to include the PGPASSFILE

Re: PostgreSQL+Postfix inquiry

2017-01-30 Thread Jeremy T. Bouse
On 1/29/2017 6:41 AM, Christoph Moench-Tegeder wrote: > ## Jeremy T. Bouse (jeremy.bo...@undergrid.net): > >> Everything is working fine... So with the PGPASSFILE set in >> import_environment and I've confirmed through procfs that it is in the >> environ file for

Re: PostgreSQL+Postfix inquiry

2017-01-28 Thread Jeremy T. Bouse
On 1/28/2017 6:10 PM, Wietse Venema wrote: > Jeremy T. Bouse: > [ Charset windows-1252 converted... ] >> On 1/28/2017 12:16 PM, Wietse Venema wrote: >>> Sorry about that, I should have written 'import_environment'. That >>> setting controls what Postfix uses internal

Re: PostgreSQL+Postfix inquiry

2017-01-28 Thread Jeremy T. Bouse
On 1/28/2017 12:16 PM, Wietse Venema wrote: > Sorry about that, I should have written 'import_environment'. That > setting controls what Postfix uses internally, including in its > pgsql client. > > Wietse Okay so am I doing something wrong here... I've got the following in my main.cf:

Re: PostgreSQL+Postfix inquiry

2017-01-28 Thread Jeremy T. Bouse
On 1/27/2017 11:41 PM, Viktor Dukhovni wrote: >> On Jan 27, 2017, at 6:37 PM, Jeremy T. Bouse <jeremy.bo...@undergrid.net> >> wrote: >> >> I tried to set up a PGPASSFILE >> that I 'chmod 0600' and 'chown postfix' then added the >> export_

Re: PostgreSQL+Postfix inquiry

2017-01-27 Thread Jeremy T. Bouse
On 1/27/2017 7:03 AM, Wietse Venema wrote: > Jeremy T. Bouse: >>> https://www.postgresql.org/docs/current/static/libpq-pgservice.html >>> https://www.postgresql.org/docs/current/static/libpq-connect.html >>> https://www.postgresql.org/docs/current/static/libpq-pgpa

Re: PostgreSQL+Postfix inquiry

2017-01-27 Thread Jeremy T. Bouse
On 1/27/2017 7:03 AM, Wietse Venema wrote: > Jeremy T. Bouse: >>> https://www.postgresql.org/docs/current/static/libpq-pgservice.html >>> https://www.postgresql.org/docs/current/static/libpq-connect.html >>> https://www.postgresql.org/docs/current/static/libpq-pgpa

Re: PostgreSQL+Postfix inquiry

2017-01-26 Thread Jeremy T. Bouse
On 1/26/2017 3:58 AM, Christoph Moench-Tegeder wrote: > ## Jeremy T. Bouse (jeremy.bo...@undergrid.net): > >> I've been using PostgreSQL, and MySQL in the past, to hold virtual user >> information for my Postfix server. The only thing that has bothered me >> is every *sql_

Re: PostgreSQL+Postfix inquiry

2017-01-26 Thread Jeremy T. Bouse
On 1/26/2017 2:15 AM, Patrick Ben Koetter wrote: > * Jeremy T. Bouse <jeremy.bo...@undergrid.net>: >> I'm going ahead and asking here as I've been searching and haven't >> found any information... >> >> I've been using PostgreSQL, and MySQL in the past, to

PostgreSQL+Postfix inquiry

2017-01-25 Thread Jeremy T. Bouse
I'm going ahead and asking here as I've been searching and haven't found any information... I've been using PostgreSQL, and MySQL in the past, to hold virtual user information for my Postfix server. The only thing that has bothered me is every *sql_*.cf file I had to setup had to have the

Invalid argument on remote SMTP servers

2017-01-12 Thread Jeremy Hansen
I have a mail server behind a NAT/Firewall. This mail server was set up to move away a publicly facing mail server. I can’t figure out why this is happening. Incoming mail is working fine but trying to send mail outbound from this mail server is resulting in this error:

Re: Trying to wrap my head around reject_sender_login_mismatch

2016-10-03 Thread Jeremy Hansen
> On Oct 3, 2016, at 11:57 AM, Viktor Dukhovni > wrote: > > >> On Oct 3, 2016, at 2:55 PM, Viktor Dukhovni >> wrote: >> >> It should not be surprising that the correct key/value pair is: >> >> joeu...@foo.com joeu...@foo.com > >

Re: Trying to wrap my head around reject_sender_login_mismatch

2016-10-03 Thread Jeremy Hansen
sername is just say “joeuser” which is a local unix account on the server and the email address I’m using is joeu...@foo.com, I would need joeuser joeu...@foo.com in smtpd_sender_login_maps? Does this make sense? Thank you -jeremy > >> If I use reject_sender_login_mismatch witho

Trying to wrap my head around reject_sender_login_mismatch

2016-10-03 Thread Jeremy Hansen
u...@mail.foo.com so it’s a catchall for the foo.com domain to forward all mail to a local unix account user If I remove -o smtpd_sender_restrictions=reject_sender_login_mismatch all works fine, but I want to understand what I’m doing wrong. Thank you -jeremy

Re: Complaints due to helo restrictions

2016-09-13 Thread Jeremy T. Bouse
On 9/13/2016 1:16 PM, Nikolaos Milas wrote: > Hello, > > We are running postfix v2.11.0 on CentOS 6.8 as a gateway server and > we have recently imposed helo restrictions. > > Few servers have problems sending us mail due to the helo restrictions: > > Sep 8 09:35:37 mailgw1 postfix/smtpd[18791]:

check_client_access won't check hostname.

2016-09-11 Thread Jeremy
Hi I'm administering an old server using Postfix v2.5.6 and have trouble with a "check_client_access" rule. I'm trying to whitelist another system (operating on a dynamic IP address which is blocked by an RBL) by including its domain in a hash table. I have access to both systems to test.

Discard mail for local user

2015-10-26 Thread jeremy
I want to discard mail for a local user but I've read the docs and I'm not quite sure exactly how I should go about this. I'm operating a virtual domain environment and have addresses mapped to local user accounts. I have a "noreply" account which is setup to receive messages from numerous

Good morning, request for help

2015-09-15 Thread Collins, Jeremy
rictions = check_sender_access > hash:/etc/postfix/sender_access, permit > > sender_access: > localdomain REJECT > .localdomainREJECT It seems simple enough but it still lets my test emails go through and they show up in my inbox as "From root@labbox.localdomain" I'v

Looking for pointers to assist me

2015-08-23 Thread Jeremy T. Bouse
I've had my Postfix mail server running for several years now using Postfixadmin to manage the database tables holding my virtual mailbox information for domains I'm hosting mail from. It's become time to move this mail server so I'm having to rebuild it and I'm wanting to put the mailboxes

Re: Looking for pointers to assist me

2015-08-23 Thread Jeremy T. Bouse
On 8/23/2015 12:33 PM, Robert Schetterer wrote: Am 23.08.2015 um 18:15 schrieb Jeremy T. Bouse: I've had my Postfix mail server running for several years now using Postfixadmin to manage the database tables holding my virtual mailbox information for domains I'm hosting mail from. It's

Filtering Outgoing mail - Was: [OT - Renaming Attachments]

2015-02-03 Thread Jeremy Bowen
On Tue, 3 Feb 2015 17:06:14 +1300 Jeremy Bowen jer...@smartpoint.co.nz wrote: From here it looks like I need to initially add the following lines to master.cf: filterunix - n n - 10 pipe flags=Rq user=filter null_sender= argv=/usr/local/bin/myscript

OT - Renaming Attachments

2015-02-02 Thread Jeremy Bowen
This one is a bit off-topic however I'm hoping that someone has come across something similar and can point me in the right direction. I would like to try to intercept certain outgoing emails which have an attachment matching a particular set of criteria and then, on-the-fly, rename the

Re: OT - Renaming Attachments

2015-02-02 Thread Jeremy Bowen
On Mon, 02 Feb 2015 14:42:47 -0600 Noel Jones njo...@megan.vbhcs.org wrote: On 2/2/2015 2:28 PM, Jeremy Bowen wrote: I would like to try to intercept certain outgoing emails which have an attachment matching a particular set of criteria and then, on-the-fly, rename the attachment

Re: OT - Renaming Attachments

2015-02-02 Thread Jeremy Bowen
On Tue, 3 Feb 2015 11:21:17 +1300 Jeremy Bowen jer...@smartpoint.co.nz wrote: I think I can do what I need to accomplish more accurately efficiently with sed and procmail. I'm just not quite sure how I would go about configuring postfix to make this operate on outgoing mail. Any advice ? OK

Virtual Domain Hosting integrated with GNU Mailman

2014-06-24 Thread Jeremy Bowen
First up, please see the output from postconf -n appended below. I have just had to quickly rebuild a failed server and get it back into production. I have got basic functionality up and running but I've had to reconstruct the configuration as backups were incomplete (yeah I know!) It is now

Attachment decoder (slightly O/T)

2014-03-27 Thread Jeremy Bowen
Just a quick request for advice on filtering incoming email. About 12+ years ago on a system which has long since retired, I remember having a problem with WINMAIL.DAT attachments in emails. The solution used some combination of tools which, from memory, included things like tnefclean and

Re: Domains without MX Records

2013-10-12 Thread Jeremy T. Bouse
Sounds like you're trying to send email to a host that is possibly greylisting. On 13.10.2013 00:10, Roman Gelfand wrote: sorry about this. I guess it has nothing to do with mx records. It is the remote server telling me their server is not able to accept mail. On Sun, Oct 13, 2013 at 12:04

Re: SSL Certificates

2012-11-23 Thread Jeremy T. Bouse
I use StartCOM (http://www.startcom.org/) for all my SSL certificate needs. I've had no problem with the certificates generated and signed through them working with Postfix installations. On 23.11.2012 20:46, The Doctor wrote: I was wondering who is the best CA Cert for Postfix? -- Member -

Simple mailing list

2012-11-06 Thread Jeremy Bowen
Hi all I have a virtual alias which currently forwards to a list of email addresses however this is getting unwieldy. (This is one address amongst a bunch of other virtual aliases on multiple virtual domains). virtual_alias_maps = hash:/etc/postfix/virtual eg. /etc/postfix/virtual contains:

How to manage 2 banners/greetings through postscreen, content filter, and after-filter SMTP on 1 server?

2011-04-11 Thread jeremy . alsten
with a greeting or banner of its own? Jeremy Alsten

Re: How to manage 2 banners/greetings through postscreen, content filter, and after-filter SMTP on 1 server?

2011-04-11 Thread jeremy . alsten
it this way? If the answer's yes, I guess I got to get those banners right. Thanks again. Jeremy Alsten

Re: How to manage 2 banners/greetings through postscreen, content filter, and after-filter SMTP on 1 server?

2011-04-11 Thread jeremy . alsten
records and then proper A and PTR record for each host that will handle email. If that's wrong, then like you said that saves me some pain. Now that you mentioned it, I'm just looking at the SMTP RFC I found to see if it says anything about it. Thanks. Jeremy Alsten

Re: How to manage 2 banners/greetings through postscreen, content filter, and after-filter SMTP on 1 server?

2011-04-11 Thread jeremy . alsten
too, and go bark up a different tree. Thanks again to everybody who was nice helpful. Good bye. Jeremy Alsten

What are the right users groups to use for spampd clamav when used with PostFix?

2011-04-10 Thread jeremy . alsten
to get mail moving around using different combinations, but really can't figure out what the safest combination is. Any pointers to share? Jeremy Alsten

To install a PostFix-based mailserver with Content Filters do I need to have multiple servers?

2011-04-07 Thread jeremy . alsten
with some pointers and figure out what to do with that diagram I think I'd be off to the races. I'd appreciate any help. Jeremy Alsten

Re: To install a PostFix-based mailserver with Content Filters do I need to have multiple servers?

2011-04-07 Thread jeremy . alsten
multiple processes running on it. So how many PostFix's, or these Instances of it, do I need to install to just get what I want to do done? If I'm looking in the wrong places, that'd be good to know. Thanks for your time and help. Jeremy Alsten

Re: To install a PostFix-based mailserver with Content Filters do I need to have multiple servers?

2011-04-07 Thread jeremy . alsten
server or instance then? I mean you only have one master.cf and one main.cf for your setup? Do you use that PostScreen application that's built into PostFix too? Would that go in the same configuration files too? Thanks one more time. Jeremy Alsten

Re: To install a PostFix-based mailserver with Content Filters do I need to have multiple servers?

2011-04-07 Thread jeremy . alsten
will be good too. Jeremy Alsten

Virtual Domains

2010-10-11 Thread Jeremy Bowen
setgid_group = postdrop unknown_local_recipient_reject_code = 550 virtual_alias_domains = virtual1.com virtual2.com virtual_alias_maps = hash:/etc/postfix/virtual = my /etc/postfix/virtual file looks like this: @example.com jeremy j

Re: Virtual Domains

2010-10-11 Thread Jeremy Bowen
On 10/11/2010, Victor Duchovni victor.ducho...@morganstanley.com wrote: Avoid confusing yourself with localpart-only addresses on the RHS of address lookup tables. Given your myorigin setting, Make that: @example.com jer...@example.com j...@virtual1.com j...@example.com

Rejecting Unknown Local Recipients issue

2010-02-16 Thread Jeremy Brooking
what I am supposed to be placing there. Please help me. regards, Jeremy Brooking Below is the contents of main.cf: smtpd_banner = $myhostname biff = no append_dot_mydomain = no delay_warning_time = 4h # # Defaults # myhostname

Problem with recipient verification

2009-11-15 Thread Jeremy Bowen
Hi I'm running Postfix v2.5.6 which I compiled myself from unmodified sources. (postconf -d appended below) I have a small server handling 5 domains and I'm having trouble with one of my virtual domains wrt recipient verification. Mail to 4 of the domains behaves correctly and is either

Re: Problem with recipient verification

2009-11-15 Thread Jeremy Bowen
Eero Volotinen wrote: Jeremy Bowen wrote: Hi I'm running Postfix v2.5.6 which I compiled myself from unmodified sources. (postconf -d appended below) I have a small server handling 5 domains and I'm having trouble with one of my virtual domains wrt recipient verification. Why you even

Re: Problem with recipient verification

2009-11-15 Thread Jeremy Bowen
Barney Desmond wrote: 2009/11/15 Jeremy Bowen jer...@smartpoint.co.nz: I'm running Postfix v2.5.6 which I compiled myself from unmodified sources. (postconf -d appended below) Anyway, you need to post the output of `postconf -n` (settings that are non-default) - read the help

Re: Problem with recipient verification

2009-11-15 Thread Jeremy Bowen
I have a prolem with the new domain I added to the server and it is this new domain which is doing verification probes to my ISP. So, you need to add that domain to mydestination= parameter? It's added to my vdomains file as per: virtual_mailbox_domains = /etc/postfix/vdomains (And Yes, I've

Re: Problem with recipient verification

2009-11-15 Thread Jeremy Bowen
On 11/15/2009, (Wietse Venema) wie...@porcupine.org wrote: If you specify /etc/postfix/vdomains then postmap is not required, and some parts of Postfix never find out that the file has changed until postfix reload. postmap is required with, for example, hash:/etc/postfix/vdomains instead of

Re: Problem with recipient verification

2009-11-15 Thread Jeremy Bowen
On 11/15/2009, Eero Volotinen eero.voloti...@iki.fi wrote: virtual_mailbox_domains ($virtual_mailbox_maps) Postfix is final destination for the specified list of domains; mail is delivered via the $vir- tual_transport mail delivery transport.

Re: Problem with recipient verification

2009-11-15 Thread Jeremy Bowen
On 11/15/2009, Jeremy Bowen jer...@smartpoint.co.nz wrote: On 11/15/2009, (Wietse Venema) wie...@porcupine.org wrote: You configured one domain in a different manner than the four domains. To convince yourself, you could add a sixth domain (such as example.com) and see how Postfix tries to handle

Re: Problem with recipient verification

2009-11-15 Thread Jeremy Bowen
. Added t...@example.com jeremy to /etc/postfix/virtual and t...@example.com OK to /etc/postfix/vmailbox Ran postmap virtual, postmap vmailbox, postfix reload Tested a message to t...@example.com Accepted OK and delivered to my mailbox. Tested a message to bo...@example.com got a: 550 5.1.1 bo

Looking for advice on setting up a mailing list

2009-03-12 Thread Jeremy Nicoll
How do I go about setting up something where the to field shows the address of the list but is still delivered to each individual user? I'm also wondering how I preserve the original message id and reply-to-id (or whatever that header was called).

Re: Looking for advice on setting up a mailing list

2009-03-12 Thread Jeremy Nicoll
. I am learning this so that I can integrate things more tightly into client projects. I am capable, if you would please point me in the right direction as I'm not that experienced with Postfix yet. On 3/12/09 11:10 AM, Brian Evans wrote: Jeremy Nicoll wrote: How do I go about setting up