Skip to content

Add possibility to overwrite system's gethostname() #2

@kakaska

Description

@kakaska

Would it be possible to add an option to overwrite the system hostname?
Sometimes the system hostname is just 1 word without dots however some mail servers require a fully-qualified hostname:

user@myhostname:~$ vrfy -d -h -n example@email.com
...
>>> EHLO myhostname
smtp phase EHLO wait
...
>>> MAIL From:<>
smtp phase MAIL wait
<<< 504 5.5.2 <myhostname>: Helo command rejected: need fully-qualified hostname
>>> RSET
smtp phase RSET wait
<<< 250 2.0.0 Ok
>>> QUIT
smtp phase QUIT wait
<<< 221 2.0.0 Bye
example@email.com ... Remote protocol error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions