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
> On Fri, Sep 23, 2022 at 04:41:20PM -0700, Jeremy Hansen wrote: > > > I’m using sender_dependent_relayhost_maps. Is there an option to route a > > domain to nothing? > > > > @example.com /dev/null > > It is better to switch to: > > sender_depend

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 signature

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 ultimate

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 >> retrie

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 Recei

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 interpretatio

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
022 at 8:50 AM, @lbutlr (mailto:krem...@kreme.com)> wrote: > On 2022 May 19, at 12:56, Jeremy Hansen wrote: > > 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. > > Why does

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 bounc

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: mail.blah.com[X.X.X.11

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 > > Oops, the RHS should have been "joeuser" without a domain.

Re: Trying to wrap my head around reject_sender_login_mismatch

2016-10-03 Thread Jeremy Hansen
Thanks for the response. > On Oct 3, 2016, at 9:44 AM, Viktor Dukhovni > wrote: > > On Mon, Oct 03, 2016 at 11:35:54AM +0200, Niklaas Baudet von Gersdorff wrote: > >> For example, if I want to send email from n...@niklaas.eu from my >> account m...@niklaas.eu, I'd need the following entry in >

Trying to wrap my head around reject_sender_login_mismatch

2016-10-03 Thread Jeremy Hansen
I’m new to postfix. I’ve been using qmail for many years and decided it was time to move on. I’m running in to one issue: 553 5.7.1 : Sender address rejected: not owned by user user; from= to= In master.cf I had: -o smtpd_sender_restrictions=reject_sender_login_mismatch I’m trying to wrap m