Got qmail working, but I cannot forward to gmail

I have qmail working and accepting email and forwarding mail appropriately except when I want to forward mail to my gmail account–forwarding to all other accounts seems to work well.

Messages are simply never recieved, no bounce, no nothing. Is there some sort of trick or header doctoring I have to do to make my mail actually make it to my gmail inbox?

2 Replies

What does your log say right after you send a message to your qmail account? Check /var/log/qmail/send/current.

@4000000042c4735b1fefb284 status: local 0/10 remote 0/20 @4000000042c4737d23e37a24 new msg 140738 @4000000042c4737d23e3f724 info msg 140738: bytes 994 from <blah@miscdomain.net> qp 18756 uid 201 @4000000042c4737d31335834 starting delivery 1: msg 140738 to local my-domain.net-me@my-domain.net @4000000042c4737d314f63e4 status: local 1/10 remote 0/20 @4000000042c4737e14cd1c84 new msg 141184 @4000000042c4737e14cd9984 info msg 141184: bytes 1098 from <blah@miscdomain.net> qp 18775 uid 89 @4000000042c4737e20aeef8c starting delivery 2: msg 141184 to remote me@gmail.com @4000000042c4737e20af8014 status: local 1/10 remote 1/20 @4000000042c4737e24476c14 new msg 141190 @4000000042c4737e2447f0e4 info msg 141190: bytes 1098 from <blah@miscdomain.net> qp 18786 uid 89 @4000000042c4737e3670f16c starting delivery 3: msg 141190 to remote @mail.my-domain.net @4000000042c4737e367162b4 status: local 1/10 remote 2/20 @4000000042c4737e3672703c delivery 1: success: did_0+0+1/ @4000000042c4737e36733774 status: local 0/10 remote 2/20 @4000000042c4737e3674067c end msg 140738 @4000000042c4737e3a8456cc delivery 3: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_i n_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/ @4000000042c4737e3a851e04 status: local 0/10 remote 1/20 @4000000042c4737f0a06d754 bounce msg 141190 qp 18799 @4000000042c4737f0a07583c end msg 141190 @4000000042c4737f0aa2e874 new msg 141185 @4000000042c4737f0aad8734 info msg 141185: bytes 1743 from <> qp 18799 uid 206 @4000000042c4737f1439b23c starting delivery 4: msg 141185 to remote blah@miscdomain.net @4000000042c4737f144cb184 status: local 0/10 remote 2/20 @4000000042c4737f2b56f68c delivery 2: success: (me@gmail.com)_64.233.185.114_accepted_message./Remote_host_said:_250_2. 0.0_OK_1120170869_g9si446485wra/ @4000000042c4737f2b57ae24 status: local 0/10 remote 1/20 @4000000042c4737f2b5869a4 end msg 141184 @4000000042c473800d958bf4 delivery 4: success: (blah@miscdomain.net)_209.225.8.224_accepted_message./Remote_host_said:_250_ok:__Mes sage_1197538440_accepted/ @4000000042c473800d9610c4 status: local 0/10 remote 0/20 @4000000042c473800d96820c end msg 141185</blah@miscdomain.net></blah@miscdomain.net></blah@miscdomain.net>

But now for some reason, I'm getting mail on my gmail account. shrug

It could be that I was originating the mail from my gmail account and sending it to my own server which bounces it right back to gmail–gmail must be dropping it because it was sent from the same gmail account originally.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct