Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 133735

Summary: Qmail-r16 outgoing patch is somewhat useless
Product: Gentoo Linux Reporter: Gerardo Arceri <elfarto>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gerardo Arceri 2006-05-18 15:44:30 UTC
The new outgoingip patch in qmail is somewhat useless since it requires an A record for the sender domain to be pointing to an IP out the outgoing mail server for it to work, we use the following dns setup for all our hosting servers (almost 1000 domains)
domain.com A X.X.X.X
www.domain.com CNAME domain.com
smtp.domain.com CNAME domain.com
....

and i believe that many hosting companies use this format.
Like i said the outgoinip patch implemented in gentoo -r16 ebuild is not useful when you use a smtp server that's not located on the same ip as the httpd in our case.
What we need is either a patch that uses a controlfile to read the domain/outgoingip pair like:
http://www.rno-consultores.com/mail/qmail/qmail-1.03_outgoingips.patch

But with the functionality of a default host in case that there is no match on the list the smtp outgoing ip is set to a specified ip address like the default smtproute (:X.X.X.X) instead of setting it to the primary IP of the server.
Comment 1 Gerardo Arceri 2006-05-18 15:45:39 UTC

*** This bug has been marked as a duplicate of 133726 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-05-18 15:51:32 UTC
.