spam, spf & swift

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
choubix
Forum Commoner
Posts: 42
Joined: Tue Nov 06, 2007 12:21 pm

spam, spf & swift

Post by choubix »

hello,

I think I managed to set up the Spf + domain correctly.
I'll send text + html messages too.

I just have a couple more questions with regards to spam:

- I received a feedback from auth-results@verifier.port25.com as per my Spf record. (you send an email to this address and you get a complete report on your SPF configuration, very handy). Apparently I failed the spamassassin test. any idea on how i can improve this please?

- I read on http://www.swiftmailer.org/wikidocs/v3/tips/spam that the connection had to send the IP address of the server and that it had to be configured in Apache. is it possible to get some more info on how to do that please?

In the followingcode:
Is it the right place for the declaration of the IP?
Is it the right syntax?

Code: Select all

$smtp = new Swift_Connection_SMTP("smtp.mydomain.com", "[ip.adress.here.no?]");

Where do I check whether my server is configured correctly and doesn't send "localhost" instead of my IP address?

have a good week end and thanks for your help!
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

That's the correct syntax yes.

To check if your SMTP server is identifying itself as localhost you used to be able to send an email to an address at this domain, then they reply with a bunch of information:

http://cbl.abuseat.org/

However, I can't find the relevant page any more. I'll have another look.
rsmarsha
Forum Contributor
Posts: 242
Joined: Tue Feb 08, 2005 4:06 am
Location: Leeds, England

Post by rsmarsha »

I too am in the process of setting up the SPF record, so would be interested if you do find the page.

Also i have :

Code: Select all

$swift =& new Swift(new Swift_Connection_SMTP("127.0.0.1"));
Should i change the ip to the server ip?
choubix
Forum Commoner
Posts: 42
Joined: Tue Nov 06, 2007 12:21 pm

Post by choubix »

127.0.0.1 means localhost means local machine. changing it for the IP address of the server would be more appropriate from what I understand of the FAQ.

Chris, is it something like that you are talking about?

http://www.mydigitallife.info/2007/08/0 ... and-valid/

where should I check??

thanks (on the example the IP address of the server appears a few times)

thanks!
Post Reply