config sendmail

2009-04-01 Thread Esmaeel Pashapouri
Hello list,
Having truble sending mail through my ISP.
I have freebsd 7.1 amd-64 generic installed.
With smart host defined for sendmail I get my mails returned
with unknown sender esma...@ca.inter.net.
My user name at ISP is epashapouri and smtp server does not require 
authentication. I added user epashapouri and mail gets out OK.
Is there a way to make sendmail send mail with the user name other than
login name?
Have read many documents I could find with google with no luck, tried 
masquerade_as and feature masquerade envelope with no luck.
Any sugestion from the list would be apreciated greatly.
Thank for taking the time and reading this.


esmaeel


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: config sendmail

2009-04-01 Thread Giorgos Keramidas
On Wed, 1 Apr 2009 16:57:34 -0400, Esmaeel Pashapouri 
epashapo...@ca.inter.net wrote:
 Hello list,
 Having truble sending mail through my ISP.

 I have freebsd 7.1 amd-64 generic installed.

 With smart host defined for sendmail I get my mails returned
 with unknown sender esma...@ca.inter.net.

 My user name at ISP is epashapouri and smtp server does not require
 authentication. I added user epashapouri and mail gets out OK.

 Is there a way to make sendmail send mail with the user name other than
 login name?

Yes.  What you want is called `genericstable'.

For an example of how I am using genericstable here', see an older
Usenet post I sent a few months ago:

  http://groups.google.com/group/comp.unix.bsd.freebsd.misc/msg/562dc23fca32c37c

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org